summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2002-06-28 23:45:08 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2002-06-28 23:45:08 +0000
commit4991290bbbeac4e53c954ad1a9e46c205068bc4c (patch)
tree063e7dcbe838436f20913c78ed4662eb59104043 /configure.in
parent90dff44b56d571a33815440b880aed5168621c96 (diff)
downloadflac-4991290bbbeac4e53c954ad1a9e46c205068bc4c.tar.gz
check for ogg using AM_PATH_OGG from ogg.m4
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 1f260da1..a6bb7b1f 100644
--- a/configure.in
+++ b/configure.in
@@ -93,9 +93,7 @@ if test x$use_3dnow = xtrue ; then
AC_DEFINE(FLAC__USE_3DNOW)
fi
-AC_CHECK_LIB(ogg, ogg_stream_init,
- [LIBS="$LIBS -logg"; have_ogg=yes],
- [AC_MSG_WARN([*** Ogg development enviroment not installed - ogg support will not be built])])
+AM_PATH_OGG(have_ogg=yes, AC_MSG_WARN([*** Ogg development enviroment not installed - Ogg support will not be built]))
AM_CONDITIONAL(FLaC__HAS_OGG, [test x$have_ogg = xyes])
if test x$have_ogg = xyes ; then
AC_DEFINE(FLAC__HAS_OGG)