mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-10 04:41:57 -04:00
fixed for autotools for mandrake
This commit is contained in:
parent
f5e9803006
commit
5683b590ce
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
SUBDIRS = src include examples docs tests
|
SUBDIRS = src include examples docs tests
|
||||||
|
|
||||||
CXXFLAGS = -Wall
|
|
||||||
|
13
autotools.sh
13
autotools.sh
@ -1,6 +1,19 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
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
|
aclocal -I config
|
||||||
autoconf
|
autoconf
|
||||||
autoheader
|
autoheader
|
||||||
automake -a
|
automake -a
|
||||||
|
fi
|
||||||
|
@ -15,4 +15,4 @@ test5_LDADD = $(top_builddir)/src/libtclap.a
|
|||||||
|
|
||||||
INCLUDES = -I$(top_builddir)/include
|
INCLUDES = -I$(top_builddir)/include
|
||||||
|
|
||||||
CXXFLAGS = -Wall
|
AM_CXXFLAGS = -Wall
|
||||||
|
@ -5,4 +5,4 @@ libtclap_a_SOURCES = Arg.cpp CmdLine.cpp SwitchArg.cpp XorHandler.cpp
|
|||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/include
|
INCLUDES = -I$(top_srcdir)/include
|
||||||
|
|
||||||
CXXFLAGS = -Wall
|
AM_CXXFLAGS = -Wall
|
||||||
|
Loading…
x
Reference in New Issue
Block a user