[Genabel-commits] r1880 - pkg/OmicABELnoMM

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Oct 30 20:32:15 CET 2014


Author: lckarssen
Date: 2014-10-30 20:32:15 +0100 (Thu, 30 Oct 2014)
New Revision: 1880

Modified:
   pkg/OmicABELnoMM/configure.ac
Log:
Use the proper way to assign CPPFLAGS in configure.ac, see http://stackoverflow.com/questions/20230827/how-to-set-include-paths-with-autotools




Modified: pkg/OmicABELnoMM/configure.ac
===================================================================
--- pkg/OmicABELnoMM/configure.ac	2014-10-30 17:34:04 UTC (rev 1879)
+++ pkg/OmicABELnoMM/configure.ac	2014-10-30 19:32:15 UTC (rev 1880)
@@ -126,8 +126,8 @@
       [location of the Boost math headers, defaults to /usr/include/boost/]
       )
     ],
-   [CPPFLAGS+=" -I${withval}"],
-   [CPPFLAGS+=' -I/usr/include/boost/']
+   [AC_SUBST(CPPFLAGS, "$CPPFLAGS -I${withval}")],
+   [AC_SUBST(CPPFLAGS, "$CPPFLAGS -I/usr/include/boost/")]
 )
 
 # Check for the Boost Math header files; this uses a compile check, so



More information about the Genabel-commits mailing list