Fix moc detection
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 22 Jul 2010 14:45:06 +0000 (17:45 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 22 Jul 2010 14:45:06 +0000 (17:45 +0300)
configure.ac

index 649890c..111c7f8 100644 (file)
@@ -3890,10 +3890,10 @@ AS_IF([test "${enable_qt4}" != "no"], [
     ALIASES="${ALIASES} qvlc"
 
     AC_LANG_PUSH([C++])
-    CPPFLAGS_save="${CXXFLAGS}"
+    CPPFLAGS_save="${CPPFLAGS}"
 
     AC_MSG_CHECKING([whether Qt uses X11])
-    CPPFLAGS="${CXXFLAGS} ${QT4_CFLAGS}"
+    CPPFLAGS="${CPPFLAGS} ${QT4_CFLAGS}"
     AC_PREPROC_IFELSE([
 #include <QWidget>
 #if !defined (Q_WS_X11)