Re: [Easytag-mailing] EasyTAG 0.30.1 has been released! (Developing Version)



Hi Jerome,

Please consider this patch. It incorporates the fix you just sent me, but it also includes a change my me: Better handling of the configure flags. Previously, "./configure --enable-ogg" would have disabled ogg. By not setting this variable manually (letting autoconf do the work), we can make it work for both --enable and --disable without any conditional checking :)

This is needed for the Gentoo package system (portage) as it will send arguments such as --enable-ogg.

Remember to run autoconf.

Daniel

Jérôme Couderc wrote:
Hi Daniel,

Here is a patch that fixes the problem...

Regards,
Jerome
--- easytag-0.30.1/configure.in	2004-01-31 23:18:05.000000000 +0000
+++ easytag-0.30.1-dsd/configure.in	2004-03-24 17:12:52.492701816 +0000
@@ -33,12 +33,12 @@
 dnl Configure switches.
 dnl -------------------------------
 AC_ARG_ENABLE(ogg,
-              AC_HELP_STRING([--disable-ogg], [Disable support of Ogg Vorbis files (default=enabled)]),
-              enable_ogg=no, enable_ogg=yes)
+              AC_HELP_STRING([--disable-ogg], [Disable support for Ogg Vorbis files (default=enabled)]),
+              , enable_ogg=yes)
 
 AC_ARG_ENABLE(flac,
-              AC_HELP_STRING([--disable-flac],[Disable support of FLAC files (default=enabled)]),
-              enable_flac=no, enable_flac=yes)
+              AC_HELP_STRING([--disable-flac],[Disable support for FLAC files (default=enabled)]),
+              , enable_flac=yes)
 
 
 dnl -------------------------------
@@ -85,6 +85,7 @@
 dnl check for system libflac
 if test "x$enable_flac" = "xyes"; then
     dnl Library required for flac files, if not found 'enable_flac' is disabled
+    AC_CHECK_LIB(m, cos) dnl Patch from Christian Weisgerber
     AC_CHECK_LIB(FLAC, FLAC__metadata_simple_iterator_new, , enable_flac=no)
     dnl AM_PATH_LIBFLAC(enable_flac="yes",enable_flac="no")
 fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]