summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--acinclude.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index f50253b7..91c61eb9 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