aboutsummaryrefslogtreecommitdiff
path: root/m4
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
commit7100bf740c62df84e25afc60c5f5b8b34c441362 (patch)
tree4a4a47cc87bc8b0948db799580c1efa3d3400cab /m4
parentf8190440e9a574dfabbeafe6752cf91ad02270fe (diff)
Don't add -framework OS X option to CPPFLAGS1.6.0
It is only necessary in LDFLAGS and adding it to CPPFLAGS causes warnings.
Diffstat (limited to 'm4')
-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