aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 6 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 94e2d8b..b618654 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,9 +17,9 @@ AC_ARG_WITH([core-foundation],
if test x"$enable_debug" == "xyes" ; then
- CFLAGS="${CFLAGS} -g -O0"
+ my_CFLAGS="-g -O0"
else
- CFLAGS="${CFLAGS} -O2"
+ my_CFLAGS="-O2"
fi
if test x"$enable_debug_output" == "xyes" ; then
@@ -31,7 +31,10 @@ if test x"$with_core_foundation" == "xyes" ; then
LDFLAGS="${LDFLAGS} -framework CoreFoundation"
fi
-CFLAGS="${CFLAGS} -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=25"
+my_CPPFLAGS="-D_REENTRANT -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=25"
+my_CFLAGS="$my_CFLAGS -Wall"
+AC_SUBST([my_CPPFLAGS])
+AC_SUBST([my_CFLAGS])
# Check for xattrs
AC_CHECK_FUNCS([setxattr getxattr listxattr removexattr])