[xiph-commits] r14831 - trunk/vorbis

erikd at svn.xiph.org erikd at svn.xiph.org
Sat May 3 16:13:19 PDT 2008


Author: erikd
Date: 2008-05-03 16:13:19 -0700 (Sat, 03 May 2008)
New Revision: 14831

Modified:
   trunk/vorbis/configure.ac
Log:
Remove redundant (and incorrect when cross compiling) check for pkg-config.

Modified: trunk/vorbis/configure.ac
===================================================================
--- trunk/vorbis/configure.ac	2008-05-03 21:07:38 UTC (rev 14830)
+++ trunk/vorbis/configure.ac	2008-05-03 23:13:19 UTC (rev 14831)
@@ -203,13 +203,7 @@
 AC_CHECK_LIB(pthread, pthread_create, pthread_lib="-lpthread", :)
 
 HAVE_OGG=no
-dnl first check through pkg-config
-dnl check for pkg-config itself so we don't try the m4 macro without pkg-config
-AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes)
-if test "x$HAVE_PKG_CONFIG" = "xyes"
-then
-  PKG_CHECK_MODULES(OGG, ogg >= 1.0, HAVE_OGG=yes, HAVE_OGG=no)
-fi
+PKG_CHECK_MODULES(OGG, ogg >= 1.0, HAVE_OGG=yes, HAVE_OGG=no)
 if test "x$HAVE_OGG" = "xno"
 then
   dnl fall back to the old school test



More information about the commits mailing list