patch-configure 698 B

123456789101112131415161718192021222324252627
  1. $OpenBSD: patch-configure,v 1.8 2014/11/03 04:29:05 bcallah Exp $
  2. Set AUDACIOUS_{CFLAGS,LIBS} only after the end of all plugin checks.
  3. This fixes some of the autoconf checks as the LIBS variable is being
  4. polluted very early on, breaking most of the checks using AC_CHECK_LIB.
  5. --- configure.orig Thu Oct 16 20:01:40 2014
  6. +++ configure Sat Nov 1 19:44:28 2014
  7. @@ -8098,8 +8098,6 @@ $as_echo "yes" >&6; }
  8. fi
  9. -CPPFLAGS="$CPPFLAGS $AUDACIOUS_CFLAGS"
  10. -LIBS="$LIBS $AUDACIOUS_LIBS"
  11. @@ -12594,6 +12592,8 @@ as_fn_error ()
  12. as_fn_exit $as_status
  13. } # as_fn_error
  14. +CPPFLAGS="$CPPFLAGS $AUDACIOUS_CFLAGS"
  15. +LIBS="$LIBS $AUDACIOUS_LIBS"
  16. # as_fn_set_status STATUS
  17. # -----------------------