[Genabel-commits] r1826 - pkg/OmicABELnoMM

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Sep 12 10:08:05 CEST 2014


Author: lckarssen
Date: 2014-09-12 10:08:05 +0200 (Fri, 12 Sep 2014)
New Revision: 1826

Modified:
   pkg/OmicABELnoMM/configure.ac
Log:
In OmicABELnoMM's configure.ac: Changed the code layout of the AC_SEARCH_LIBS() calls that I hadn't changed in the previous commit (r1825) so that they are more readable. No functional changes.


Modified: pkg/OmicABELnoMM/configure.ac
===================================================================
--- pkg/OmicABELnoMM/configure.ac	2014-09-12 08:04:44 UTC (rev 1825)
+++ pkg/OmicABELnoMM/configure.ac	2014-09-12 08:08:05 UTC (rev 1826)
@@ -41,9 +41,9 @@
 AM_CXXFLAGS="-static -O3 -I../libs/include -I./libs/include $AM_CXXFLAGS"
 # Checks for libraries.
 # pthread library
-AC_SEARCH_LIBS([pthread_mutex_init], [pthread], [], [
-   AC_MSG_ERROR([Make sure pthread is available on the system])
-])
+AC_SEARCH_LIBS([pthread_mutex_init], [pthread], [],
+   [AC_MSG_ERROR([Make sure pthread is available on the system])]
+)
 
 if test -z "$LDFLAGS"; then
    LDFLAGS="-L./libs/lib -L../libs/lib"
@@ -63,13 +63,15 @@
 
 if test "$found_blas" -eq 0; then
    # Openblas
-   AC_SEARCH_LIBS([cblas_sgemm], [openblas], [AM_CXXFLAGS="$AM_CXXFLAGS -D_openblas_"], [
-      AC_MSG_ERROR([OpenBLAS library NOT found])
-   ])
+   AC_SEARCH_LIBS([cblas_sgemm], [openblas],
+      [AM_CXXFLAGS="$AM_CXXFLAGS -D_openblas_"],
+      [AC_MSG_ERROR([OpenBLAS library NOT found])]
+   )
    #Lapack
-   AC_SEARCH_LIBS([LAPACKE_sgeqrf], [lapack, lapacke], [], [
-      AC_MSG_ERROR([Unable to find a Lapack library])
-   ])
+   AC_SEARCH_LIBS([LAPACKE_sgeqrf], [lapack, lapacke],
+      [],
+      [AC_MSG_ERROR([Unable to find a Lapack library])]
+   )
    AC_MSG_NOTICE([Using OpenBLAS library])
 fi
 



More information about the Genabel-commits mailing list