diff options
author | Ali Sabil <ali.sabil@gmail.com> | 2007-05-10 06:35:31 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2007-05-10 06:35:31 +0000 |
commit | 2a8b70f736eb9ed758f78313cd0c24b295bc58b6 (patch) | |
tree | 9d987e9d8530628005ce2056fbceef33597c2b0a | |
parent | b09d59da796d33bad50ddaca33e96d343b8e145a (diff) | |
download | gst-plugins-bad-2a8b70f736eb9ed758f78313cd0c24b295bc58b6.tar.gz gst-plugins-bad-2a8b70f736eb9ed758f78313cd0c24b295bc58b6.tar.bz2 gst-plugins-bad-2a8b70f736eb9ed758f78313cd0c24b295bc58b6.zip |
configure.ac: Save and restore CFLAGS for OpenGL check. Fixes #437260.
Original commit message from CVS:
Patch by: Ali Sabil <ali.sabil@gmail.com>
* configure.ac:
Save and restore CFLAGS for OpenGL check. Fixes #437260.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2007-05-10 Stefan Kost <ensonic@users.sf.net> + + Patch by: Ali Sabil <ali.sabil@gmail.com> + + * configure.ac: + Save and restore CFLAGS for OpenGL check. Fixes #437260. + + 2007-05-09 Sebastien Moutte <sebastien@moutte.net> * docs/plugins/gst-plugins-bad-plugins.args: diff --git a/configure.ac b/configure.ac index 7ec0f7ef..e783a4b8 100644 --- a/configure.ac +++ b/configure.ac @@ -290,6 +290,7 @@ dnl OpenGL translit(dnm, m, l) AM_CONDITIONAL(USE_OPENGL, true) AG_GST_CHECK_X save_CPPFLAGS="$CPPFLAGS" +save_CFLAGS="$CFLAGS" save_LIBS="$LIBS" CPPFLAGS="$CPPFLAGS $X_CFLAGS" LIBS="$LIBS $X_LIBS" @@ -298,6 +299,7 @@ AG_GST_CHECK_FEATURE(OPENGL, [Open GL], glsink, [ GL/gl.h, HAVE_OPENGL="yes", HAVE_OPENGL="no") ]) CPPFLAGS="$save_CPPFLAGS" +CFLAGS="$save_CFLAGS" LIBS="$save_LIBS" dnl Check for X11 @@ -1084,6 +1086,7 @@ dnl *** output files *** dnl po/Makefile.in + AC_CONFIG_FILES( Makefile gst-plugins-bad.spec |