From: Alex Smith Date: Thu, 2 Sep 2010 19:51:45 +0000 (+0100) Subject: Turn on Automake warnings, and fix bugs found by them X-Git-Tag: 0.29~41^2~19 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=619360ea050dfbca8428a24a08fe4d1b81616084;p=intercal.git Turn on Automake warnings, and fix bugs found by them --- diff --git a/buildaux/Makefile.am b/buildaux/Makefile.am index d65603b..a97286d 100644 --- a/buildaux/Makefile.am +++ b/buildaux/Makefile.am @@ -74,8 +74,8 @@ oil$(EXEEXT_FOR_BUILD): oil-oil.c bconfig.h $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) $(CFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o oil$(EXEEXT_FOR_BUILD) oil-oil.c $(LIBS_FOR_BUILD) bin2c$(EXEEXT_FOR_BUILD): src/bin2c.c bconfig.h $(CC_FOR_BUILD) $(DEFAULT_INCLUDES) $(INCLUDES) $(CFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o bin2c$(EXEEXT_FOR_BUILD) `test -f 'src/bin2c.c' || echo '$(srcdir)/'`src/bin2c.c $(LIBS_FOR_BUILD) -oil: -bin2c: +oil$(EXEEXT): +bin2c$(EXEEXT): # Optional libraries are in lib_LIBRARIES, but with a null build rule. lib_LIBRARIES = libick.a libickmt.a libickec.a libyuk.a libick_ecto_b98.a @@ -199,8 +199,6 @@ doc/ick.txt: doc/ick.txi # The build system itself is included in the makefile; tell Automake # about my tweaking. -$(top_srcdir)/configure: $(am__configure_deps) - cd $(top_srcdir) && $(AUTOCONF) $(top_srcdir)/buildaux/buildconfig: $(top_srcdir)/buildaux/buildconfig.ac $(top_srcdir)/src/bconfigh.in cd $(top_srcdir) && $(AUTOCONF) buildaux/buildconfig.ac > buildaux/buildconfig chmod a+x $(top_srcdir)/buildaux/buildconfig diff --git a/configure.ac b/configure.ac index c5a9425..543c12e 100644 --- a/configure.ac +++ b/configure.ac @@ -8,7 +8,7 @@ AC_CONFIG_SRCDIR([src/abcess.h]) AC_CONFIG_HEADER([config.h:src/configh.in]) AC_CONFIG_AUX_DIR([buildaux]) AM_INIT_AUTOMAKE([foreign dist-bzip2 dist-lzma tar-pax check-news - no-texinfo.tex]) + no-texinfo.tex -Wall -Wno-override]) dnl Information about this version of INTERCAL. PACKAGE_VERSION=0.29