[Genabel-commits] r1825 - pkg/OmicABELnoMM

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Sep 12 10:04:45 CEST 2014


Author: lckarssen
Date: 2014-09-12 10:04:44 +0200 (Fri, 12 Sep 2014)
New Revision: 1825

Modified:
   pkg/OmicABELnoMM/configure.ac
Log:
Fixed mixed up brackets in an AC_SEARCH_LIBS() call in OmicABELnoMM's configure.ac. Now ./configure runs as intended and without the error message:
    ./configure: line 5002: printf: write error: Bad file descriptor

Also removed two dupliced spaces in AC_MSG calls.


Modified: pkg/OmicABELnoMM/configure.ac
===================================================================
--- pkg/OmicABELnoMM/configure.ac	2014-09-12 07:50:47 UTC (rev 1824)
+++ pkg/OmicABELnoMM/configure.ac	2014-09-12 08:04:44 UTC (rev 1825)
@@ -54,21 +54,23 @@
 AC_SEARCH_LIBS([__iso_c_binding_c_f_pointer_l4],[gfortran])
 
 # ACML
-AC_SEARCH_LIBS(dgemm, acml_mp,[found_blas=1 AM_CXXFLAGS="-D_acml_ $AM_CXXFLAGS"], [
-   AC_MSG_NOTICE([NOT using AMD the ACML  library],[-lgfortran])
-])
+AC_SEARCH_LIBS(dgemm, acml_mp,
+   [found_blas=1 AM_CXXFLAGS="-D_acml_ $AM_CXXFLAGS"],
+   [AC_MSG_NOTICE([NOT using AMD the ACML  library])],
+   [-lgfortran]
+)
 
 
 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_MSG_ERROR([OpenBLAS library NOT found])
    ])
    #Lapack
    AC_SEARCH_LIBS([LAPACKE_sgeqrf], [lapack, lapacke], [], [
       AC_MSG_ERROR([Unable to find a Lapack library])
    ])
-   AC_MSG_NOTICE([Using OpenBLAS  library])
+   AC_MSG_NOTICE([Using OpenBLAS library])
 fi
 
 



More information about the Genabel-commits mailing list