Skip to content

Instantly share code, notes, and snippets.

@crrodriguez
Created July 13, 2013 00:59
Show Gist options
  • Save crrodriguez/5988928 to your computer and use it in GitHub Desktop.
Save crrodriguez/5988928 to your computer and use it in GitHub Desktop.
diff --git a/configure.ac b/configure.ac
index 0f5365b..725db46 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,8 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_LANG([C])
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
AM_PROG_CC_C_O
AC_PROG_CXX
AC_PROG_SED
@@ -331,8 +332,8 @@ if test -n "$PKG_CONFIG" ; then
HAVE_EXTERNAL_LIBS=1
enable_external_libs=yes
- EXTERNAL_CFLAGS="$FLAC_CFLAGS $OGG_CFLAGS $VORBISENC_CFLAGS $SPEEX_CFLAGS"
- EXTERNAL_LIBS="$FLAC_LIBS $VORBISENC_LIBS $SPEEX_LIBS"
+ EXTERNAL_CFLAGS="$FLAC_CFLAGS $OGG_CFLAGS $VORBIS_CFLAGS $VORBISENC_CFLAGS $SPEEX_CFLAGS"
+ EXTERNAL_LIBS="$FLAC_LIBS $OGG_LIBS $VORBIS_LIBS $VORBISENC_LIBS $SPEEX_LIBS "
else
echo
AC_MSG_WARN([[*** One or more of the external libraries (ie libflac, libogg and]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment