[Flac-dev] [PATCH] ogg import fix
Enrico Weigelt
weigelt at metux.de
Thu Jul 27 16:05:14 PDT 2006
Hi folks,
this patch fixes libogg import to go via pkg-config.
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact at metux.de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------
-------------- next part --------------
diff -ruN flac-1.1.2.orig/configure.in flac-1.1.2/configure.in
--- flac-1.1.2.orig/configure.in Thu Jul 27 03:05:57 2006
+++ flac-1.1.2/configure.in Thu Jul 27 03:13:25 2006
@@ -151,7 +151,12 @@
fi
dnl check for ogg library
-XIPH_PATH_OGG(have_ogg=yes, AC_MSG_WARN([*** Ogg development enviroment not installed - Ogg support will not be built]))
+PKG_CHECK_MODULES(OGG,
+ [ogg vorbis],
+ [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)
More information about the Flac-dev
mailing list