glib configure CYGWIN (PATCH)



AC_CYGWIN is obsolete and causes errors with newer versions of autoconf, as
the replacement definition invokes AC_CANONICAL_HOST which has already be
done earlier in configure.in. It seems that it's sole purpose here is to
help AC_EXEEXT by setting CYGWIN=yes|no. CYGWIN isn't used anywhere in the
code. AC_EXEEXT itself is obsolete as AC_PROG_CC already sets EXEEXT for
you, therefore I think we can just get rid of both lines.

The two Makefile.am patches just change += to = and avoid a warning.

Cheers,

Patrick

Index: configure.in
===================================================================
RCS file: /cvs/gnome/glib/configure.in,v
retrieving revision 1.354
diff -u -r1.354 configure.in
--- configure.in	20 May 2003 21:17:35 -0000	1.354
+++ configure.in	28 May 2003 11:18:13 -0000
@@ -297,9 +297,6 @@
   fi
 fi
 
-AC_CYGWIN
-AC_EXEEXT
-
 # define a MAINT-like variable REBUILD which is set if Perl
 # and awk are found, so autogenerated sources can be rebuilt
 AC_PROG_AWK
Index: docs/reference/glib/Makefile.am
===================================================================
RCS file: /cvs/gnome/glib/docs/reference/glib/Makefile.am,v
retrieving revision 1.41
diff -u -r1.41 Makefile.am
--- docs/reference/glib/Makefile.am	4 Mar 2003 10:10:21 -0000	1.41
+++ docs/reference/glib/Makefile.am	28 May 2003 11:18:13 -0000
@@ -57,7 +57,7 @@
 include $(top_srcdir)/gtk-doc.make
 
 # Other files to distribute
-EXTRA_DIST +=				\
+EXTRA_DIST =				\
 	mainloop-states.fig		\
 	mainloop-states.png		\
 	mainloop-states.eps		\
Index: docs/reference/gobject/Makefile.am
===================================================================
RCS file: /cvs/gnome/glib/docs/reference/gobject/Makefile.am,v
retrieving revision 1.27
diff -u -r1.27 Makefile.am
--- docs/reference/gobject/Makefile.am	4 Mar 2003 10:10:26 -0000	1.27
+++ docs/reference/gobject/Makefile.am	28 May 2003 11:18:14 -0000
@@ -36,4 +36,4 @@
 include $(top_srcdir)/gtk-doc.make
 
 # Other files to distribute
-EXTRA_DIST += version.xml.in
+EXTRA_DIST = version.xml.in



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