[Nautilus-list] [Fwd: autoconf compatibility fix]



I accidentally sent this one to the wrong list (sorry about that). It is a 3 line configure.in fix I committed that allows nautilus to build with newer autoconf releases.

James.
--- Begin Message --- I have been going through the gnome 2.0 packages attempting to build them with autoconf-2.53 and automake-1.6, and ran into a small problem when compiling nautilus.

Some of the lines in the configure.in file have superfluous semicolons on the end (which aren't necessary for shell code). Unfortunately, the macros in the newer autoconf/automake seem to add a few extra newlines, so some of these semicolons end up on a line by themselves, which is a shell syntax error.

I checked in the following patch (with ChangeLog):

Index: configure.in
===================================================================
RCS file: /cvs/gnome/nautilus/configure.in,v
retrieving revision 1.427
retrieving revision 1.428
diff -u -p -r1.427 -r1.428
--- configure.in    11 Mar 2002 01:57:15 -0000    1.427
+++ configure.in    11 Mar 2002 13:15:14 -0000    1.428
@@ -130,10 +130,10 @@ dnl ====================================

dnl cdda

-AM_CONDITIONAL(HAVE_CDDA, false);
+AM_CONDITIONAL(HAVE_CDDA, false)
AC_CHECK_HEADERS(cdda_interface.h cdda_paranoia.h, [
-    CDDA_LIBS="-lcdda_paranoia -lcdda_interface";
-    AM_CONDITIONAL(HAVE_CDDA, true);
+    CDDA_LIBS="-lcdda_paranoia -lcdda_interface"
+    AM_CONDITIONAL(HAVE_CDDA, true)
    ])

dnl ==========================================================================

This lets nautilus be compiled with newer auto* tools, while not breaking compiles with older auto*.

James.

--
Email: james daa com au
WWW:   http://www.daa.com.au/~james/



--- End Message ---


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