a7c8b0c261
Tested by landry@, edd@ and Abel Abraham Camarillo Ojeda.
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
$OpenBSD: patch-configure,v 1.17 2012/08/23 14:28:19 dcoppa Exp $
|
|
|
|
Don't reset CPPFLAGS...stupid configure.
|
|
|
|
--- 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
|
|
oldcppflags=$CPPFLAGS
|
|
CFLAGS="$CFLAGS $FAAD_CFLAGS -I."
|
|
LIBS="$LIBS $FAAD_LIBS"
|
|
- CPPFLAGS=$CFLAGS
|
|
+ CPPFLAGS="$CPPFLAGS $CFLAGS"
|
|
ac_fn_c_check_header_mongrel "$LINENO" "faad.h" "ac_cv_header_faad_h" "$ac_includes_default"
|
|
if test "x$ac_cv_header_faad_h" = xyes; then :
|
|
|
|
@@ -10011,7 +10011,7 @@ if test x$enable_aac = xyes; then
|
|
oldcppflags=$CPPFLAGS
|
|
CFLAGS="$CFLAGS $FAAD_CFLAGS -Werror"
|
|
LIBS="$LIBS $FAAD_LIBS"
|
|
- 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; }
|
|
@@ -10057,7 +10057,7 @@ if test x$enable_aac = xyes; then
|
|
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"
|
|
if test "x$ac_cv_header_mp4ff_h" = xyes; then :
|