]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix calling convention for PKG_CHECK_MOD_VERSION
authorMichael Jerris <mike@jerris.com>
Fri, 21 Feb 2014 23:10:52 +0000 (18:10 -0500)
committerMichael Jerris <mike@jerris.com>
Fri, 21 Feb 2014 23:10:52 +0000 (18:10 -0500)
libs/libsndfile/configure.ac

index 022066091dcbe7d8a7b6bc6147179b34b8d9a367..002a6024d49b63bc5b2b7c8c8688bd08a383a05a 100644 (file)
@@ -295,8 +295,6 @@ HAVE_EXTERNAL_LIBS=0
 EXTERNAL_CFLAGS=""
 EXTERNAL_LIBS=""
 
-enable_external_libs=no
-
 # Check for pkg-config outside the if statement.
 PKG_PROG_PKG_CONFIG
 m4_ifdef([PKG_INSTALLDIR], [PKG_INSTALLDIR], AC_SUBST([pkgconfigdir], ${libdir}/pkgconfig))
@@ -305,15 +303,15 @@ if test -n "$PKG_CONFIG" ; then
        if test x$enable_external_libs = xno ; then
                AC_MSG_WARN([[*** External libs (FLAC, Ogg, Vorbis) disabled. ***]])
        else
-               PKG_CHECK_MOD_VERSION(FLAC, flac >= 1.2.1, ac_cv_flac=yes, ac_cv_flac=no)
+               PKG_CHECK_MOD_VERSION([FLAC], flac >= 1.2.1, ac_cv_flac=yes, ac_cv_flac=no)
 
                # Make sure the FLAC_CFLAGS value is sane.
                FLAC_CFLAGS=`echo $FLAC_CFLAGS | $SED "s|include/FLAC|include|"`
 
-               PKG_CHECK_MOD_VERSION(OGG, ogg >= 1.1.3, ac_cv_ogg=yes, ac_cv_ogg=no)
+               PKG_CHECK_MOD_VERSION([OGG], ogg >= 1.1.3, ac_cv_ogg=yes, ac_cv_ogg=no)
 
                if test x$enable_experimental = xyes ; then
-                       PKG_CHECK_MOD_VERSION(SPEEX, speex >= 1.2, ac_cv_speex=yes, ac_cv_speex=no)
+                       PKG_CHECK_MOD_VERSION([SPEEX], speex >= 1.2, ac_cv_speex=yes, ac_cv_speex=no)
                else
                        SPEEX_CFLAGS=""
                        SPEEX_LIBS=""
@@ -322,8 +320,8 @@ if test -n "$PKG_CONFIG" ; then
                # Vorbis versions earlier than 1.2.3 have bugs that cause the libsndfile
                # test suite to fail on MIPS, PowerPC and others.
                # See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549899
-               PKG_CHECK_MOD_VERSION(VORBIS, vorbis >= 1.2.3, ac_cv_vorbis=yes, ac_cv_vorbis=no)
-               PKG_CHECK_MOD_VERSION(VORBISENC, vorbisenc >= 1.2.3, ac_cv_vorbisenc=yes, ac_cv_vorbisenc=no)
+               PKG_CHECK_MOD_VERSION([VORBIS], vorbis >= 1.2.3, ac_cv_vorbis=yes, ac_cv_vorbis=no)
+               PKG_CHECK_MOD_VERSION([VORBISENC], vorbisenc >= 1.2.3, ac_cv_vorbisenc=yes, ac_cv_vorbisenc=no)
                enable_external_libs=yes
                fi