From 63961efefd454ca69dcabae3e23ea9b548238e93 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 3 Oct 2011 18:02:08 +0200 Subject: Don't add -framework OS X option to CPPFLAGS It is only necessary in LDFLAGS and adding it to CPPFLAGS causes warnings. --- m4/libqt.m4 | 4 ---- 1 file changed, 4 deletions(-) (limited to 'm4') 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 -- cgit v1.1