From f4ef96a34d55b656915a1931b52584bf952edd80 Mon Sep 17 00:00:00 2001 From: erikd Date: Sat, 3 May 2008 23:13:19 +0000 Subject: [PATCH] Remove redundant (and incorrect when cross compiling) check for pkg-config. svn path=/trunk/vorbis/; revision=14831 --- configure.ac | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index e8de533..c5d2964 100644 --- a/configure.ac +++ b/configure.ac @@ -203,13 +203,7 @@ AC_CHECK_LIB(m, cos, VORBIS_LIBS="-lm", VORBIS_LIBS="") 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 -- 2.7.4