* configure.in: Don't substitute the values of TCL_SRC_DIR and
authorJim Blandy <jimb@red-bean.com>
Wed, 4 Sep 1996 06:34:23 +0000 (06:34 +0000)
committerJim Blandy <jimb@red-bean.com>
Wed, 4 Sep 1996 06:34:23 +0000 (06:34 +0000)
TK_SRC_DIR; they're not relevant any more.

* Makefile.in (CC): Don't list -Wall here; it's a GCC-specific flag.
* configure.in: Instead, put it in CFLAGS here, iff we're using GCC.

libguile/configure
libguile/configure.in

index c7164c3..3784c4a 100755 (executable)
@@ -1824,6 +1824,10 @@ test "x$FD_SETTER" != x && cat >> confdefs.h <<\EOF
 EOF
 
 
+## If we're using GCC, ask for aggressive warnings.
+case "$GCC" in
+  yes ) CFLAGS="$CFLAGS -Wall -Wpointer-arith" ;;
+esac
 
 cat >> confdefs.h <<EOF
 #define GUILE_MAJOR_VERSION "$GUILE_MAJOR_VERSION"
index ecd62f4..7a05a56 100644 (file)
@@ -112,6 +112,10 @@ dnl
 
 test "x$FD_SETTER" != x && AC_DEFINE(HAVE_FD_SETTER)
 
+## If we're using GCC, ask for aggressive warnings.
+case "$GCC" in
+  yes ) CFLAGS="$CFLAGS -Wall -Wpointer-arith" ;;
+esac
 
 AC_DEFINE_UNQUOTED(GUILE_MAJOR_VERSION, "$GUILE_MAJOR_VERSION")
 AC_DEFINE_UNQUOTED(GUILE_MINOR_VERSION, "$GUILE_MINOR_VERSION")
@@ -121,8 +125,6 @@ AC_SUBST(CFLAGS)
 AC_SUBST(LDFLAGS)
 AC_SUBST(LIBOBJS)
 AC_SUBST(FD_SETTER)
-AC_SUBST(TCL_SRC_DIR)
-AC_SUBST(TK_SRC_DIR)
 AC_SUBST(XINCLUDES)
 AC_SUBST(GUILE_MAJOR_VERSION)
 AC_SUBST(GUILE_MINOR_VERSION)