From: Jochen S. <jos...@us...> - 2004-10-17 22:27:09
|
Update of /cvsroot/darkeyetool/det In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2991 Modified Files: .cvsignore configure Added Files: bootstrap wxwin.m4 Makefile.am configure.in Log Message: - Bugfixes - Autotools-Unterstützung. Index: .cvsignore =================================================================== RCS file: /cvsroot/darkeyetool/det/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- .cvsignore 28 Apr 2004 20:05:17 -0000 1.1 +++ .cvsignore 17 Oct 2004 22:26:55 -0000 1.2 @@ -5,4 +5,25 @@ builder detconfig.xml data.xdi -data~.xdi +dsa_docs +autom4te.cache +.libs +.deps +mkinstalldirs +missing +Makefile.in +ltmain.sh +.cdtproject +.in +.project +6! +aclocal.m4 +config.guess +config.log +config.status +config.sub +*~.xdi +configure +depcomp +install-sh +libtool --- NEW FILE: Makefile.am --- INCLUDES = -I./src -I./src/dsa -I./src/gui -I./src/guihtml/icons -I./res $(WX_CXXFLAGS) bin_PROGRAMS = vcreate det vcreate_SOURCES = src/vcreate.cpp vcreate_LDFLAGS = $(STLPORT_LDFLAGS) vcreate_LDADD = $(STLPORT_LIBS) CLEANFILES = src/detVer.cpp BUILT_SOURCES = src/detVer.cpp src/detVer.cpp: vcreate ./vcreate doc: doxygen det_LDADD = $(WX_LIBS) $(XERCESC_LIBS) $(STLPORT_LIBS) det_LDFLAGS = $(XERCESC_LDFLAGS) $(STLPORT_LDFLAGS) det_SOURCES = \ src/det.cpp \ src/detconfig.cpp \ src/detVer.cpp \ src/LaderXerces.cpp \ src/Log.cpp \ src/PersistenzManagerXerces.cpp \ src/Update.cpp \ src/dsa/AbgeleiteterWert.cpp \ src/dsa/Charakteristikum.cpp \ src/dsa/Definition.cpp \ src/dsa/Eigenschaft.cpp \ src/dsa/Hole.cpp \ src/dsa/Kampftechnik.cpp \ src/dsa/Kultur.cpp \ src/dsa/Modifikator.cpp \ src/dsa/NDSABasis.cpp \ src/dsa/NDSAUtil.cpp \ src/dsa/PersistenzManager.cpp \ src/dsa/Person.cpp \ src/dsa/PersonenKomponente.cpp \ src/dsa/PersonHandler.cpp \ src/dsa/PersonHandlerGenerator.cpp \ src/dsa/Profession.cpp \ src/dsa/Rasse.cpp \ src/dsa/Regeln.cpp \ src/dsa/Sonderfertigkeit.cpp \ src/dsa/SpracheSchrift.cpp \ src/dsa/Talent.cpp \ src/dsa/Texte.cpp \ src/dsa/Voraussetzung.cpp \ src/dsa/Wuerfel.cpp \ src/dsa/Zauber.cpp \ src/gui/CharakteristikumGUIwx.cpp \ src/gui/CharakteristikumSchlechteEigenschaftGUIwx.cpp \ src/gui/detExport.cpp \ src/gui/detImport.cpp \ src/gui/HoleGUIwx.cpp \ src/gui/InfoGUIwx.cpp \ src/gui/KampftechnikGUIwx.cpp \ src/gui/KonstantenGUIwx.cpp \ src/gui/KulturGUIwx.cpp \ src/gui/PersonGUIGeneratorHelferwx.cpp \ src/gui/PersonGUIKulturwx.cpp \ src/gui/PersonGUIPersonenKomponentewx.cpp \ src/gui/PersonGUIProfessionwx.cpp \ src/gui/PersonGUIRassewx.cpp \ src/gui/PersonGUIVerarbeitenwx.cpp \ src/gui/PersonGUIwx.cpp \ src/gui/PersonGUIZauberwx.cpp \ src/gui/ProfessionGUIwx.cpp \ src/gui/ProfessionGUISpruechewx.cpp \ src/gui/RasseGUIwx.cpp \ src/gui/SonderfertigkeitGUIwx.cpp \ src/gui/SonderfertigkeitWaffenloserKampfstilGUIwx.cpp \ src/gui/SonderfertigkeitWaffenloseSonderfertigkeitGUIwx.cpp \ src/gui/SonderfertigkeitZaubertanzGUIwx.cpp \ src/gui/SpracheSchriftGUIwx.cpp \ src/gui/TalentGUIwx.cpp \ src/gui/ZauberGUIwx.cpp Index: configure =================================================================== RCS file: /cvsroot/darkeyetool/det/configure,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- configure 9 Apr 2004 07:47:09 -0000 1.6 +++ configure 17 Oct 2004 22:26:55 -0000 1.7 @@ -1,106 +1,21075 @@ -#!/bin/sh +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.59 for DET 1.33.0. +# +# Copyright (C) 2003 Free Software Foundation, Inc. +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## [...21113 lines suppressed...] +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || { (exit 1); exit 1; } +fi + + --- NEW FILE: wxwin.m4 --- dnl --------------------------------------------------------------------------- dnl Macros for wxWidgets detection. Typically used in configure.in as: dnl dnl AC_ARG_ENABLE(...) dnl AC_ARG_WITH(...) dnl ... dnl AM_OPTIONS_WXCONFIG dnl ... dnl ... dnl AM_PATH_WXCONFIG(2.3.4, wxWin=1) dnl if test "$wxWin" != 1; then dnl AC_MSG_ERROR([ dnl wxWidgets must be installed on your system dnl but wx-config script couldn't be found. dnl dnl Please check that wx-config is in path, the directory dnl where wxWidgets libraries are installed (returned by dnl 'wx-config --libs' command) is in LD_LIBRARY_PATH or dnl equivalent variable and wxWidgets version is 2.3.4 or above. dnl ]) dnl fi dnl CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" dnl CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" dnl CFLAGS="$CFLAGS $WX_CFLAGS_ONLY" dnl dnl LDFLAGS="$LDFLAGS $WX_LIBS" dnl --------------------------------------------------------------------------- dnl --------------------------------------------------------------------------- dnl AM_OPTIONS_WXCONFIG dnl dnl adds support for --wx-prefix, --wx-exec-prefix and --wx-config dnl command line options dnl --------------------------------------------------------------------------- AC_DEFUN(AM_OPTIONS_WXCONFIG, [ AC_ARG_WITH(wx-prefix, [ --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)], wx_config_prefix="$withval", wx_config_prefix="") AC_ARG_WITH(wx-exec-prefix,[ --with-wx-exec-prefix=PREFIX Exec prefix where wxWidgets is installed (optional)], wx_config_exec_prefix="$withval", wx_config_exec_prefix="") AC_ARG_WITH(wx-config,[ --with-wx-config=CONFIG wx-config script to use (optional)], wx_config_name="$withval", wx_config_name="") ]) dnl --------------------------------------------------------------------------- dnl AM_OPTIONS_WXBASECONFIG dnl dnl adds support for --wx-prefix, --wx-exec-prefix and --wx-config dnl command line options dnl --------------------------------------------------------------------------- AC_DEFUN(AM_OPTIONS_WXBASECONFIG, [ AC_ARG_WITH(wxbase-prefix, [ --with-wxbase-prefix=PREFIX Prefix where wxWidgets base is installed (optional)], wxbase_config_prefix="$withval", wxbase_config_prefix="") AC_ARG_WITH(wxbase-exec-prefix,[ --with-wxbase-exec-prefix=PREFIX Exec prefix where wxWidgetsbase is installed (optional)], wxbase_config_exec_prefix="$withval", wxbase_config_exec_prefix="") AC_ARG_WITH(wxbase-config,[ --with-wxbase-config=CONFIG wxbase-config script to use (optional)], wxbase_config_name="$withval", wxbase_config_name="") ]) dnl --------------------------------------------------------------------------- dnl AM_PATH_WXCONFIG(VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) dnl dnl Test for wxWidgets, and define WX_C*FLAGS, WX_LIBS and WX_LIBS_STATIC dnl (the latter is for static linking against wxWidgets). Set WX_CONFIG_NAME dnl environment variable to override the default name of the wx-config script dnl to use. Set WX_CONFIG_PATH to specify the full path to wx-config - in this dnl case the macro won't even waste time on tests for its existence. dnl --------------------------------------------------------------------------- dnl dnl Get the cflags and libraries from the wx-config script dnl AC_DEFUN(AM_PATH_WXCONFIG, [ AC_REQUIRE([AC_PROG_AWK]) dnl do we have wx-config name: it can be wx-config or wxd-config or ... if test x${WX_CONFIG_NAME+set} != xset ; then WX_CONFIG_NAME=wx-config fi if test "x$wx_config_name" != x ; then WX_CONFIG_NAME="$wx_config_name" fi dnl deal with optional prefixes if test x$wx_config_exec_prefix != x ; then wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix" WX_LOOKUP_PATH="$wx_config_exec_prefix/bin" fi if test x$wx_config_prefix != x ; then wx_config_args="$wx_config_args --prefix=$wx_config_prefix" WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin" fi dnl don't search the PATH if WX_CONFIG_NAME is absolute filename if test -x "$WX_CONFIG_NAME" ; then AC_MSG_CHECKING(for wx-config) WX_CONFIG_PATH="$WX_CONFIG_NAME" AC_MSG_RESULT($WX_CONFIG_PATH) else AC_PATH_PROG(WX_CONFIG_PATH, $WX_CONFIG_NAME, no, "$WX_LOOKUP_PATH:$PATH") fi if test "$WX_CONFIG_PATH" != "no" ; then WX_VERSION="" no_wx="" min_wx_version=ifelse([$1], ,2.4.2,$1) AC_MSG_CHECKING(for wxWidgets version >= $min_wx_version) WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args" WX_VERSION=`$WX_CONFIG_WITH_ARGS --version` vers=`echo $WX_VERSION | $AWK 'BEGIN { FS = "."; } { printf "% d", ([$]1 * 1000 + [$]2) * 1000 + [$]3;}'` minvers=`echo $min_wx_version | $AWK 'BEGIN { FS = "."; } { printf "% d", ([$]1 * 1000 + [$]2) * 1000 + [$]3;}'` if test -n "$vers" && test "$vers" -ge $minvers; then WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs` WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs` dnl we have CPPFLAGS included in CFLAGS included in CXXFLAGS WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags` WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags` WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags` WX_CFLAGS_ONLY=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"` WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"` else no_wx=yes fi if test "x$no_wx" = x ; then AC_MSG_RESULT(yes (version $WX_VERSION)) ifelse([$2], , :, [$2]) else if test "x$WX_VERSION" = x; then dnl no wx-config at all AC_MSG_RESULT(no) else AC_MSG_RESULT(no (version $WX_VERSION is not new enough)) fi WX_CFLAGS="" WX_CPPFLAGS="" WX_CXXFLAGS="" WX_LIBS="" WX_LIBS_STATIC="" ifelse([$3], , :, [$3]) AC_MSG_ERROR([ Please check that wx-config is in path, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is new enough. Or this might also be a bug in our configure. Please try again with --with-wx-config=/usr/bin/wx-config (replace /usr/bin/wx-config with a valid path to your wx-config) * Note: Most probably, either one of the above aren't correct, you don't have wxGTK installed, or are missing wxGTK-devel (or equivalent) package. ]) fi fi AC_SUBST(WX_CPPFLAGS) AC_SUBST(WX_CFLAGS) AC_SUBST(WX_CXXFLAGS) AC_SUBST(WX_CFLAGS_ONLY) AC_SUBST(WX_CXXFLAGS_ONLY) AC_SUBST(WX_LIBS) AC_SUBST(WX_LIBS_STATIC) AC_SUBST(WX_VERSION) dnl Now checking if it is a 2.5 or more version dnl Then take wx-config itself if test "$vers" -ge 2005000; then AC_MSG_WARN(wxWidgets >=2.5.0: Using wx-config --libs=base,net) WXBASE_CONFIG_NAME=$WX_CONFIG_NAME WXBASE_CONFIG_WITH_ARGS=$WX_CONFIG_WITH_ARGS WXBASE_LIBS=`$WXBASE_CONFIG_WITH_ARGS --libs=base,net` WXBASE_LIBS_STATIC=`$WXBASE_CONFIG_WITH_ARGS --static --libs=base,net` dnl we have CPPFLAGS included in CFLAGS included in CXXFLAGS WXBASE_CPPFLAGS=`$WXBASE_CONFIG_WITH_ARGS --cppflags` WXBASE_CXXFLAGS=`$WXBASE_CONFIG_WITH_ARGS --cxxflags` WXBASE_CFLAGS=`$WXBASE_CONFIG_WITH_ARGS --cflags` WXBASE_CFLAGS_ONLY=`echo $WXBASE_CFLAGS | sed "s@^$WXBASE_CPPFLAGS *@@"` WXBASE_CXXFLAGS_ONLY=`echo $WXBASE_CXXFLAGS | sed "s@^$WXBASE_CFLAGS *@@"` WXBASE24FOUND=0 WXBASE25FOUND=1 AC_SUBST(WXBASE_CPPFLAGS) AC_SUBST(WXBASE_CFLAGS) AC_SUBST(WXBASE_CXXFLAGS) AC_SUBST(WXBASE_CFLAGS_ONLY) AC_SUBST(WXBASE_CXXFLAGS_ONLY) AC_SUBST(WXBASE_LIBS) AC_SUBST(WXBASE_LIBS_STATIC) AC_SUBST(WXBASE_VERSION) else dnl For wx < 2.5.0, looking for wxbase-config dnl do we have wxbase-config name: it can be wxbase-config or wxd-config or ... if test x${WXBASE_CONFIG_NAME+set} != xset ; then WXBASE_CONFIG_NAME=wxbase-2.4-config fi if test "x$wxbase_config_name" != x ; then WXBASE_CONFIG_NAME="$wxbase_config_name" fi dnl deal with optional prefixes if test x$wxbase_config_exec_prefix != x ; then wxbase_config_args="$wxbase_config_args --exec-prefix=$wxbase_config_exec_prefix" WXBASE_LOOKUP_PATH="$wxbase_config_exec_prefix/bin" fi if test x$wxbase_config_prefix != x ; then wxbase_config_args="$wxbase_config_args --prefix=$wxbase_config_prefix" WXBASE_LOOKUP_PATH="$WXBASE_LOOKUP_PATH:$wxbase_config_prefix/bin" fi dnl don't search the PATH if WXBASE_CONFIG_NAME is absolute filename if test -x "$WXBASE_CONFIG_NAME" ; then AC_MSG_CHECKING(for wxbase-config) WXBASE_CONFIG_PATH="$WXBASE_CONFIG_NAME" AC_MSG_RESULT($WXBASE_CONFIG_PATH) else AC_PATH_PROG(WXBASE_CONFIG_PATH, $WXBASE_CONFIG_NAME, no, "$WXBASE_LOOKUP_PATH:$PATH") fi if test "$WXBASE_CONFIG_PATH" != "no" ; then WXBASE_VERSION="" no_wxbase="" min_wxbase_version=ifelse([$1], ,2.4.2,$1) AC_MSG_CHECKING(for wxWidgets base version >= $min_wxbase_version) WXBASE_CONFIG_WITH_ARGS="$WXBASE_CONFIG_PATH $wxbase_config_args" WXBASE_VERSION=`$WXBASE_CONFIG_WITH_ARGS --version` vers=`echo $WXBASE_VERSION | $AWK 'BEGIN { FS = "."; } { printf "% d", ([$]1 * 1000 + [$]2) * 1000 + [$]3;}'` minvers=`echo $min_wxbase_version | $AWK 'BEGIN { FS = "."; } { printf "% d", ([$]1 * 1000 + [$]2) * 1000 + [$]3;}'` if test -n "$vers" && test "$vers" -ge $minvers; then WXBASE24FOUND=1 WXBASE25FOUND=0 WXBASE_LIBS=`$WXBASE_CONFIG_WITH_ARGS --libs` WXBASE_LIBS_STATIC=`$WXBASE_CONFIG_WITH_ARGS --static --libs` dnl we have CPPFLAGS included in CFLAGS included in CXXFLAGS WXBASE_CPPFLAGS=`$WXBASE_CONFIG_WITH_ARGS --cppflags` WXBASE_CXXFLAGS=`$WXBASE_CONFIG_WITH_ARGS --cxxflags` WXBASE_CFLAGS=`$WXBASE_CONFIG_WITH_ARGS --cflags` WXBASE_CFLAGS_ONLY=`echo $WXBASE_CFLAGS | sed "s@^$WXBASE_CPPFLAGS *@@"` WXBASE_CXXFLAGS_ONLY=`echo $WXBASE_CXXFLAGS | sed "s@^$WXBASE_CFLAGS *@@"` else no_wxbase=yes fi if test "x$no_wxbase" = x ; then AC_MSG_RESULT(yes (version $WXBASE_VERSION)) ifelse([$2], , :, [$2]) else if test "x$WXBASE_VERSION" = x; then dnl no wxbase-config at all AC_MSG_RESULT(no) else AC_MSG_RESULT(no (version $WXBASE_VERSION is not new enough)) fi WXBASE24FOUND=0 WXBASE25FOUND=0 WXBASE_CFLAGS="" WXBASE_CPPFLAGS="" WXBASE_CXXFLAGS="" WXBASE_LIBS="" WXBASE_LIBS_STATIC="" ifelse([$3], , :, [$3]) AC_MSG_NOTICE([ WARNING: A usable libwx_base was not found. This is not needed for compiling aMule, but it is for compiling amulecmd. If you have no wxbase, amulecmd will be linked against wxgtk, thus removing all the non-graphical client meaning at all. Please check that wxbase-2.X-config is in path, the directory where wxWidgets base libraries are installed (returned by 'wxbase-2.X-config --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets base version is new enough. Or this might also be that your wxbase-config has other name. Please try again with --with-wxbase-config=/usr/bin/wxbase-config (replace /usr/bin/wxbase-config with a valid path to your wxbase-config) * Note: Most probably, either one of the above aren't correct, you don't have wxbase installed, or are missing wxbase-devel (or equivalent) package. ]) fi fi AC_SUBST(WXBASE_CPPFLAGS) AC_SUBST(WXBASE_CFLAGS) AC_SUBST(WXBASE_CXXFLAGS) AC_SUBST(WXBASE_CFLAGS_ONLY) AC_SUBST(WXBASE_CXXFLAGS_ONLY) AC_SUBST(WXBASE_LIBS) AC_SUBST(WXBASE_LIBS_STATIC) AC_SUBST(WXBASE_VERSION) fi ]) --- NEW FILE: configure.in --- AC_PREREQ(2.50) AC_INIT(DET, 1.33.0) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE([1.6.1 foreign no-installinfo no-installman subdir-objects]) dnl Check for programs AC_LANG([C++]) AC_PROG_CC AC_PROG_CXX AC_PROG_INSTALL AM_PROG_LIBTOOL dnl GCC ersion check if test x$GCC = xyes; then AC_MSG_CHECKING([version 3.x of gcc]) if test -n "`$CC --version 2>&1|grep '3.'`"; then AC_DEFINE(EXT_HASH, 1, Use old STL hash options) AC_DEFINE(GCC_3_1, 1, 3.x GCC version) AC_MSG_RESULT(yes); else AC_MSG_RESULT(no) fi fi # ***** DEBUGGING AC_ARG_ENABLE(debug,[ --enable-debug enable debugging [default=no]]) if test "$enable_debug" = "yes"; then CXXFLAGS=" $CXXFLAGS -g -D_DEBUG" else CXXFLAGS=" $CXXFLAGS -O2 " fi # *** XERCES-C AC_ARG_WITH(xercesc, [ --with-xercesc=path compile with xercesc path], xercesc_path="$withval", xercesc_path="/usr") AC_CHECK_LIB(xerces-c, main, [ AC_MSG_CHECKING(for Xerces-C location) if test -f "$xercesc_path/lib/libxerces-c.so"; then AC_MSG_RESULT([found in $xercesc_path]) XERCESC_LIBS=" -lxerces-c " XERCESC_LDFLAGS=" -L$xercesc_path/lib " CXXFLAGS=" $CXXFLAGS -I$xercesc_path/include " else AC_MSG_RESULT([not found in $xercesc_path]) fi ], [AC_MSG_ERROR([cannot find the libxerces library])], [-lpthread] ) # *** WxGTK AM_OPTIONS_WXCONFIG AM_PATH_WXCONFIG(2.4.0) # *** STLPORT AC_ARG_WITH(stlport, [ --with-stlport=path compile with stlport path], stlport_path="$withval", stlport_path="/usr") AC_CHECK_LIB(stlport, main, [ AC_MSG_CHECKING(for STLPORT location) if test -f "$stlport_path/lib/libstlport.so"; then AC_MSG_RESULT(found in $stlport_path) STLPORT_LIBS=" -lstlport " STLPORT_LDFLAGS=" -L$stlport_path/lib " CXXFLAGS=" -I$stlport_path/include $CXXFLAGS " else AC_MSG_RESULT(not found in $stlport_path); fi ]) dnl Other stuff we need AC_CHECK_FUNC(snprintf, AC_DEFINE(HAVE_SNPRINTF,,snprintf)) AC_CHECK_FUNC(vsnprintf, AC_DEFINE(HAVE_VSNPRINTF,1,vsnprintf)) AC_CHECK_PROG(HAVE_DOXYGEN_PROG, doxygen, `which doxygen`, false) AC_CHECK_LIB(pthread, pthread_create) AC_SUBST(WX_LIBS) AC_SUBST(WX_CXXFLAGS) AC_SUBST(XERCESC_LIBS) AC_SUBST(XERCESC_LDFLAGS) AC_SUBST(STLPORT_LIBS) AC_SUBST(STLPORT_LDFLAGS) dnl Create the makefiles AC_CONFIG_FILES([Makefile]) AC_OUTPUT --- NEW FILE: bootstrap --- #!/bin/sh # Check for proper versions of autotools # We require: # - autoconf 2.50+ # - automake 1.6+ # - libtool 1.4+ # Deal with some gentoo-specific issues export WANT_AUTOMAKE='1.7' export WANT_AUTOCONF_2_5=1 ## Using prereq in autoconf rather than here, mostly for the debian systems at ## this point if test -z "`autoconf --version 2>&1|head -n 1|egrep '2.5'`"; then echo "Autoconf 2.50 or above is required. Aborting build..."; exit 1; fi if test -z "`automake --version 2>&1|head -n 1|egrep '1.[6-9]'`"; then echo "Automake 1.6 or above is required. Aborting build..."; exit 1; fi if test -z "`libtool --version 2>&1|head -n 1|egrep '1.[4-5]'`"; then echo "Libtool 1.4 or above is required. Aborting build..."; exit 1; fi echo "Bootstrap..." # Fire up autotools libtoolize --force && aclocal $ACLOCAL_FLAGS && automake --include-deps --add-missing --foreign && autoconf && ./configure $@ |