Re: [gnome-love] libglade, Gtk+, GNU autotools tutorial



In order for "make distcheck" to succeed, "src/libgladeTest.gladep"
needs to be copied along with the ones listed in the table.

Here is an patch that corrects a few issues that I encountered when I
ran autoreconf with the "--warnings=all" option.

diff --recursive --unified LibgladeTest-1.01~/configure.ac LibgladeTest-1.01/configure.ac
--- LibgladeTest-1.01~/configure.ac     2004-07-07 18:29:47.000000000 -0400
+++ LibgladeTest-1.01/configure.ac      2004-07-07 19:16:01.000000000 -0400
@@ -4,7 +4,7 @@
 AC_CONFIG_HEADER(config.h)
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 AC_ISC_POSIX
-AM_PROG_CC_STDC
+AC_PROG_CC
 AC_HEADER_STDC
 AC_PROG_CC
 AC_PROG_RANLIB
diff --recursive --unified LibgladeTest-1.01~/src/Makefile.am LibgladeTest-1.01/src/Makefile.am
--- LibgladeTest-1.01~/src/Makefile.am  2004-07-07 18:29:47.000000000 -0400
+++ LibgladeTest-1.01/src/Makefile.am   2004-07-07 19:16:01.000000000 -0400
@@ -1,6 +1,6 @@
 EXTRA_DIST = libgladeTest.gladep
 dist_data_DATA = libgladeTest.glade
-INCLUDES = @PACKAGE_CFLAGS@ -DPACKAGE_DATA_DIR=\""$(datadir)"\"
+AM_CPPFLAGS = @PACKAGE_CFLAGS@ -DPACKAGE_DATA_DIR=\""$(datadir)"\"
 bin_PROGRAMS = libgladeTest
 libgladeTest_SOURCES = main.c callbacks.c callbacks.h
 libgladeTest_LDADD = @PACKAGE_LIBS@

Attachment: signature.asc
Description: This is a digitally signed message part



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