Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/speex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-07-24 23:45:09 +0400
committerTristan Matthews <le.businessman@gmail.com>2014-07-25 01:04:44 +0400
commite1b1eeabce815283c5bbc42016a9d6a11eda2866 (patch)
tree82b4992217fb5432d682f8fc551019e786f90fd0 /configure.ac
parentf351061ddf340d7459dfd78e79e5083d6df11a39 (diff)
build: Use pkgconf macros to check for ogg presence
And make the selection not automagic. Unbreaks cross-building w/out ogg. Signed-off-by: Tristan Matthews <le.businessman@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 1 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index aef09cb..87b523c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -108,9 +108,7 @@ CFLAGS="$SAVE_CFLAGS"
AC_MSG_RESULT($has_visibility)
AC_CHECK_HEADERS(sys/soundcard.h sys/audioio.h)
-
-XIPH_PATH_OGG([src="src"], [src=""])
-AC_SUBST(src)
+PKG_HAVE_WITH_MODULES([OGG], [ogg])
LT_LIB_M
@@ -344,11 +342,4 @@ AC_CONFIG_HEADERS([config.h])
AC_OUTPUT
-
-if test "x$src" = "x"; then
-echo "**IMPORTANT**"
-echo "You don't seem to have the development package for libogg (libogg-devel) installed. Only the Speex library (libspeex) will be built (no encoder/decoder executable)"
-echo "You can download libogg from http://downloads.xiph.org/releases/ogg/"
-fi
-
echo "Type \"make; make install\" to compile and install Speex";