fixed for autotools for mandrake

This commit is contained in:
mes5k 2004-04-26 15:18:08 +00:00
parent f5e9803006
commit 5683b590ce
4 changed files with 19 additions and 7 deletions

View File

@ -1,4 +1,3 @@
SUBDIRS = src include examples docs tests
CXXFLAGS = -Wall

View File

@ -1,6 +1,19 @@
#!/bin/bash
aclocal -I config
autoconf
autoheader
automake -a
echo "Using autotools versions:"
if [[ -e autoconf-2.5x && -e automake-1.7 ]]
then
autoconf-2.5x --version | grep autoconf
automake-1.7 --version | grep automake
aclocal-1.7 -I config
autoconf-2.5x
autoheader-2.5x
automake-1.7 -a
else
autoconf --version | grep autoconf
automake --version | grep automake
aclocal -I config
autoconf
autoheader
automake -a
fi

View File

@ -15,4 +15,4 @@ test5_LDADD = $(top_builddir)/src/libtclap.a
INCLUDES = -I$(top_builddir)/include
CXXFLAGS = -Wall
AM_CXXFLAGS = -Wall

View File

@ -5,4 +5,4 @@ libtclap_a_SOURCES = Arg.cpp CmdLine.cpp SwitchArg.cpp XorHandler.cpp
INCLUDES = -I$(top_srcdir)/include
CXXFLAGS = -Wall
AM_CXXFLAGS = -Wall