X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=a6b5525b012854a5185879009529c93d4d4dd25e;hb=00949f4fa56dc4e1a7d4ea1972d7492d80880b2c;hp=e38fae1e4d0b0af1063553d3d0e255edc1cb30f1;hpb=062356283e3de7e2da9b488853e1f4381a3e5267;p=mmh diff --git a/configure.ac b/configure.ac index e38fae1..a6b5525 100644 --- a/configure.ac +++ b/configure.ac @@ -389,9 +389,8 @@ dnl before system header files. AS_CASE(["$host_os"], [linux*], [# Like DEFS, but doesn't get stomped on by configure when using config.h: - test -z "$OURDEFS" && OURDEFS="-D_GNU_SOURCE" \ - || OURDEFS="$OURDEFS -D_GNU_SOURCE"]) -AC_SUBST(OURDEFS) + AS_IF([test -z "$CPPFLAGS"],[CPPFLAGS="-D_GNU_SOURCE"], + [CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"])]) AC_HEADER_STDC AC_HEADER_TIOCGWINSZ @@ -740,7 +739,7 @@ host os : ${host} compiler : ${CC} compiler flags : ${CFLAGS} linker flags : ${LDFLAGS} -definitions : ${OURDEFS} +preprocessor flags : ${CPPFLAGS} source code location : ${srcdir} binary install path : ${nmhbin} library install path : ${nmhlib}