summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-08-29 08:57:14 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-08-29 08:57:14 +0000
commitba10061a5a679a17765a6546160311642d696b71 (patch)
treed855c3a45791b652ec08c601c99a2dac94491250
parente3fcb1d801a37d4e7ff2ab061278230d43f16147 (diff)
downloadgst-plugins-bad-ba10061a5a679a17765a6546160311642d696b71.tar.gz
gst-plugins-bad-ba10061a5a679a17765a6546160311642d696b71.tar.bz2
gst-plugins-bad-ba10061a5a679a17765a6546160311642d696b71.zip
configure.ac: Fix CFLAGS and LIBS for the apexsink.
Original commit message from CVS: * configure.ac: Fix CFLAGS and LIBS for the apexsink.
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac12
2 files changed, 13 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 829fdac3..8c76c3a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+
+ * configure.ac:
+ Fix CFLAGS and LIBS for the apexsink.
+
2008-08-28 Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
* sys/winks/ksvideohelpers.c (ks_video_media_type_free):
diff --git a/configure.ac b/configure.ac
index b24c3ad9..a1701960 100644
--- a/configure.ac
+++ b/configure.ac
@@ -446,12 +446,12 @@ int main(void)
# Try to use $ssldir/lib if it exists, otherwise
# $ssldir
if test -d "$ssldir/lib" ; then
- APEXSINK_LIBS="-L$ssldir/lib $saved_LDFLAGS"
+ APEXSINK_LIBS="-L$ssldir/lib $LDFLAGS"
if test ! -z "$need_dash_r" ; then
APEXSINK_LIBS="-R$ssldir/lib $LDFLAGS"
fi
else
- APEXSINK_LDFLAGS="-L$ssldir $saved_LDFLAGS"
+ APEXSINK_LDFLAGS="-L$ssldir $LDFLAGS"
if test ! -z "$need_dash_r" ; then
APEXSINK_LIBS="-R$ssldir $LDFLAGS"
fi
@@ -459,13 +459,17 @@ int main(void)
# Try to use $ssldir/include if it exists, otherwise
# $ssldir
if test -d "$ssldir/include" ; then
- APEXSINK_CFLAGS="-I$ssldir/include $saved_CPPFLAGS"
+ APEXSINK_CFLAGS="-I$ssldir/include $CPPFLAGS"
else
- APEXSINK_CFLAGS="-I$ssldir $saved_CPPFLAGS"
+ APEXSINK_CFLAGS="-I$ssldir $CPPFLAGS"
fi
fi
fi
APEXSINK_LIBS="$APEXSINK_LIBS $LIBS"
+ AC_SUBST(APEXSINK_LIBS)
+ AC_SUBST(APEXSINK_CFLAGS)
+ CPPFLAGS="$saved_CPPFLAGS"
+ LDFLAGS="$saved_LDFLAGS"
LIBS="$saved_LIBS"
])