2012-08-23 10:28:19 -04:00
|
|
|
$OpenBSD: patch-configure,v 1.17 2012/08/23 14:28:19 dcoppa Exp $
|
2010-04-09 07:39:33 -04:00
|
|
|
|
|
|
|
Don't reset CPPFLAGS...stupid configure.
|
|
|
|
|
2012-08-23 10:28:19 -04:00
|
|
|
--- configure.orig Wed Aug 1 04:05:16 2012
|
|
|
|
+++ configure Tue Aug 21 23:04:08 2012
|
|
|
|
@@ -9747,7 +9747,7 @@ if test x$enable_aac = xyes; then
|
2010-04-09 07:39:33 -04:00
|
|
|
oldcppflags=$CPPFLAGS
|
2012-08-23 10:28:19 -04:00
|
|
|
CFLAGS="$CFLAGS $FAAD_CFLAGS -I."
|
|
|
|
LIBS="$LIBS $FAAD_LIBS"
|
2010-04-09 07:39:33 -04:00
|
|
|
- CPPFLAGS=$CFLAGS
|
|
|
|
+ CPPFLAGS="$CPPFLAGS $CFLAGS"
|
|
|
|
ac_fn_c_check_header_mongrel "$LINENO" "faad.h" "ac_cv_header_faad_h" "$ac_includes_default"
|
2011-10-30 07:46:18 -04:00
|
|
|
if test "x$ac_cv_header_faad_h" = xyes; then :
|
2010-04-09 07:39:33 -04:00
|
|
|
|
2012-08-23 10:28:19 -04:00
|
|
|
@@ -10011,7 +10011,7 @@ if test x$enable_aac = xyes; then
|
2010-04-09 07:39:33 -04:00
|
|
|
oldcppflags=$CPPFLAGS
|
2012-08-23 10:28:19 -04:00
|
|
|
CFLAGS="$CFLAGS $FAAD_CFLAGS -Werror"
|
|
|
|
LIBS="$LIBS $FAAD_LIBS"
|
2010-04-09 07:39:33 -04:00
|
|
|
- CPPFLAGS=$CFLAGS
|
|
|
|
+ CPPFLAGS="$CPPFLAGS $CFLAGS"
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libfaad headers" >&5
|
|
|
|
$as_echo_n "checking for broken libfaad headers... " >&6; }
|
2012-08-23 10:28:19 -04:00
|
|
|
@@ -10057,7 +10057,7 @@ if test x$enable_aac = xyes; then
|
2010-04-09 07:39:33 -04:00
|
|
|
oldcppflags=$CPPFLAGS
|
|
|
|
CFLAGS="$CFLAGS $FAAD_CFLAGS"
|
|
|
|
LIBS="$LIBS $FAAD_LIBS $MP4FF_LIBS"
|
|
|
|
- CPPFLAGS=$CFLAGS
|
|
|
|
+ CPPFLAGS="$CPPFLAGS $CFLAGS"
|
|
|
|
|
|
|
|
ac_fn_c_check_header_mongrel "$LINENO" "mp4ff.h" "ac_cv_header_mp4ff_h" "$ac_includes_default"
|
2011-10-30 07:46:18 -04:00
|
|
|
if test "x$ac_cv_header_mp4ff_h" = xyes; then :
|