diff --git a/configure b/configure index ac9fa68..fcdc725 100755 --- a/configure +++ b/configure @@ -2359,6 +2359,10 @@ esac +if test -n "$GCC"; then + CFLAGS="-Wall $CFLAGS" +fi + ac_config_files="$ac_config_files Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure diff --git a/configure.in b/configure.in index aafedfc..4498b86 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl -dnl "$Id: configure.in,v 1.1 2003/06/03 19:46:30 mike Exp $" +dnl "$Id: configure.in,v 1.2 2003/06/04 00:30:04 mike Exp $" dnl dnl Configuration script for mini-XML, a small XML-like file parsing library. dnl @@ -37,9 +37,14 @@ esac AC_SUBST(ARFLAGS) +dnl Add -Wall for GCC... +if test -n "$GCC"; then + CFLAGS="-Wall $CFLAGS" +fi + dnl Output the makefile... AC_OUTPUT(Makefile) dnl -dnl End of "$Id: configure.in,v 1.1 2003/06/03 19:46:30 mike Exp $". +dnl End of "$Id: configure.in,v 1.2 2003/06/04 00:30:04 mike Exp $". dnl diff --git a/mxml.h b/mxml.h index a954393..3e8547b 100644 --- a/mxml.h +++ b/mxml.h @@ -1,5 +1,5 @@ /* - * "$Id: mxml.h,v 1.2 2003/06/03 20:24:28 mike Exp $" + * "$Id: mxml.h,v 1.3 2003/06/04 00:30:04 mike Exp $" * * Header file for mini-XML, a small XML-like file parsing library. * @@ -30,6 +30,7 @@ # include # include # include +# include /* @@ -132,5 +133,5 @@ extern mxml_node_t *mxmlWalkPrev(mxml_node_t *node, mxml_node_t *top); /* - * End of "$Id: mxml.h,v 1.2 2003/06/03 20:24:28 mike Exp $". + * End of "$Id: mxml.h,v 1.3 2003/06/04 00:30:04 mike Exp $". */