projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
With the fixing of the bug that caused CPPFLAGS to get tromped on, remove
[mmh]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
e38fae1
..
a6b5525
100644
(file)
--- 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:
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
AC_HEADER_STDC
AC_HEADER_TIOCGWINSZ
@@
-740,7
+739,7
@@
host os : ${host}
compiler : ${CC}
compiler flags : ${CFLAGS}
linker flags : ${LDFLAGS}
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}
source code location : ${srcdir}
binary install path : ${nmhbin}
library install path : ${nmhlib}