Commit aae423c6 authored by daniel_e's avatar daniel_e
Browse files

Enable Bourne shell posix mode if possible, and export WARNINGS=all in

* autogen.sh: Enable Bourne shell posix mode if possible, and
export WARNINGS=all in order to get auto* diagnostic messages.

* src/Makefile.am: Replace deprecated variables INCLUDES and LIBS
with regexxer_CPPFLAGS and regexxer_LDADD.
parent fb5d5cf1
2002-12-15 Daniel Elstner <daniel.elstner@gmx.net>
* autogen.sh: Enable Bourne shell posix mode if possible, and
export WARNINGS=all in order to get auto* diagnostic messages.
* src/Makefile.am: Replace deprecated variables INCLUDES and LIBS
with regexxer_CPPFLAGS and regexxer_LDADD.
2002-12-15 Daniel Elstner <daniel.elstner@gmx.net>
* macros/cxx.m4: Get rid of all deprecated autoconf constructs.
......
......@@ -19,6 +19,18 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Be Bourne compatible. (stolen from autoconf)
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
emulate sh
NULLCMD=:
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"$@"}'='"$@"'
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
set -o posix
fi
PROJECT=regexxer
srcdir=`dirname "$0"`
......@@ -56,6 +68,9 @@ rm -f config.guess config.sub depcomp install-sh missing mkinstalldirs
rm -f config.cache acconfig.h
rm -rf autom4te.cache
WARNINGS=all
export WARNINGS
echo "$aclocal $ACLOCAL_FLAGS"
"$aclocal" $ACLOCAL_FLAGS || exit 1
......
......@@ -66,6 +66,6 @@ DEFS = @DEFS@ \
-DGTK_DISABLE_DEPRECATED \
-DREGEXXER_DATADIR=\""$(datadir)"\"
INCLUDES = -I$(top_builddir) -I$(top_srcdir) $(PCRE_CFLAGS) $(GTKMM_CFLAGS)
LIBS = $(PCRE_LIBS) $(GTKMM_LIBS)
regexxer_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) $(PCRE_CFLAGS) $(GTKMM_CFLAGS)
regexxer_LDADD = $(PCRE_LIBS) $(GTKMM_LIBS)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment