aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-10-03 18:02:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-10-03 18:02:08 +0200
commit63961efefd454ca69dcabae3e23ea9b548238e93 (patch)
treea731c7614bf45458d1dea9d2c8d7c67d73feb683
parent4badd80039b3dd47ae67d5016dc0a585afb6a696 (diff)
Don't add -framework OS X option to CPPFLAGS1.6.01.6
It is only necessary in LDFLAGS and adding it to CPPFLAGS causes warnings.
-rw-r--r--m4/libqt.m44
1 files changed, 0 insertions, 4 deletions
diff --git a/m4/libqt.m4 b/m4/libqt.m4
index bb7ffa5..a094643 100644
--- a/m4/libqt.m4
+++ b/m4/libqt.m4
@@ -67,10 +67,7 @@ fi
#
if test x"$libqt_found" = xno; then
- save_CPPFLAGS="$CPPFLAGS"
save_LIBS="$LIBS"
-
- CPPFLAGS="$CPPFLAGS -framework QtCore"
LIBS="-framework QtCore $LIBS"
CXX_LIBTOOL_LINK_IFELSE(
@@ -91,7 +88,6 @@ libqt_found=yes
])
if test x"$libqt_found" = xno; then
- CPPFLAGS="$save_CPPFLAGS"
LIBS="$save_LIBS"
fi
fi