summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-08-13 12:34:54 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-08-13 12:34:54 +0000
commit083f0466ab9b77d6320f91dcca315860da1a54b2 (patch)
treebb3d42e5688175a24c62b285a6154fc35b26fb37
parentea6bf1beea4d3fcc98e2e940e940735a5a0b3c5e (diff)
Don't override CFLAGS
-rw-r--r--acinclude.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index eaeb4ffc..2f1077ea 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -17,7 +17,9 @@ AC_DEFUN([AC_PROG_CC_PIE], [
AC_DEFUN([AC_INIT_BLUEZ], [
AC_PREFIX_DEFAULT(/usr)
- CFLAGS="-Wall -O2"
+ if (test "${CFLAGS}" = ""); then
+ CFLAGS="-Wall -O2"
+ fi
if (test "${prefix}" = "NONE"); then
dnl no prefix and no sysconfdir, so default to /etc