mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
Add explicit check for <artsc.h>, in case artsc-config lies to us.
Original commit message from CVS: Add explicit check for <artsc.h>, in case artsc-config lies to us.
This commit is contained in:
parent
b61552c33f
commit
29098cb20f
1 changed files with 9 additions and 1 deletions
10
configure.in
10
configure.in
|
@ -219,7 +219,15 @@ if test x$ARTSC_CONFIG = xno; then
|
|||
else
|
||||
ARTSC_LIBS=`artsc-config --libs`
|
||||
ARTSC_CFLAGS=`artsc-config --cflags`
|
||||
HAVE_ARTSC=yes
|
||||
dnl AC_CHECK_HEADER uses CPPFLAGS, but not CFLAGS.
|
||||
dnl Assume only suitable flags result from artsc-config --cflags
|
||||
artsc_save_CPPFLAGS=$CPPFLAGS
|
||||
CPPFLAGS="$CPPFLAGS $ARTSC_CFLAGS"
|
||||
AC_CHECK_HEADER(artsc.h,
|
||||
HAVE_ARTSC=yes,
|
||||
HAVE_ARTSC=no
|
||||
)
|
||||
CPPFLAGS=$artsc_save_CPPFLAGS
|
||||
fi
|
||||
AC_SUBST(ARTSC_LIBS)
|
||||
AC_SUBST(ARTSC_CFLAGS)
|
||||
|
|
Loading…
Reference in a new issue