From: erikd Date: Sat, 3 May 2008 23:13:19 +0000 (+0000) Subject: Remove redundant (and incorrect when cross compiling) check for pkg-config. X-Git-Tag: v1.3.3~227 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4ef96a34d55b656915a1931b52584bf952edd80;p=platform%2Fupstream%2Flibvorbis.git Remove redundant (and incorrect when cross compiling) check for pkg-config. svn path=/trunk/vorbis/; revision=14831 --- 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