From 4c7cf165dfe9cae732de45fcd0d95585bf9cf60f Mon Sep 17 00:00:00 2001 From: Jens Vollinga Date: Mon, 4 Jul 2005 20:43:22 +0000 Subject: [PATCH] Modernized configuration files [A.Sheplyakov]. --- AUTHORS | 2 +- INSTALL | 7 +++-- autogen.sh | 79 ------------------------------------------------------ 3 files changed, 6 insertions(+), 82 deletions(-) delete mode 100755 autogen.sh diff --git a/AUTHORS b/AUTHORS index 2dec6304..2bb33380 100644 --- a/AUTHORS +++ b/AUTHORS @@ -10,7 +10,7 @@ Contributors of patches ----------------------- Roberto Bagnara, Chris Dams, Do Hoang Son, Vladimir Kisil, Markus Nullmeier, -Pearu Peterson, Benedikt Pluemper, Ben Sapp, Stefan Weinzierl. +Pearu Peterson, Benedikt Pluemper, Ben Sapp, Alexei Sheplyakov, Stefan Weinzierl. (Please send email if you think you were forgotten.) diff --git a/INSTALL b/INSTALL index 038ae762..95919a7b 100644 --- a/INSTALL +++ b/INSTALL @@ -11,12 +11,15 @@ use the same compiler you compiled CLN with because of differing name-mangling schemes. Known to work with: - - Linux on x86, Alpha and Sparc using GCC 3.0.x, 3.1 and 3.2. + - Linux on x86, Alpha and Sparc using GCC 3.x and 4.0. Known not to work with: - GCC 2.96 or earlier because proper exception and standard library support is missing there. +If you install from CVS, you also need GNU autoconf (>=2.52) and +automake (>=1.4) to be installed. + INSTALLATION ============ @@ -34,7 +37,7 @@ To install from CVS: [enter "anoncvs" as the password] $ cvs -d :pserver:anoncvs@cvsthep.physik.uni-mainz.de:/home/cvs co GiNaC $ cd GiNaC - $ ./autogen.sh + $ autoreconf -i $ make [become root if necessary] # make install diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index 801264e6..00000000 --- a/autogen.sh +++ /dev/null @@ -1,79 +0,0 @@ -#! /bin/sh -# Run this to generate all the initial makefiles, etc. -# This was lifted from the Gimp, and adapted slightly by -# Christian Bauer. - -DIE=0 - -PROG=GiNaC - -# Check how echo works in this /bin/sh -case `echo -n` in --n) _echo_n= _echo_c='\c';; -*) _echo_n=-n _echo_c=;; -esac - -(autoconf --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "You must have autoconf installed to compile $PROG." - echo "Download the appropriate package for your distribution," - echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" - DIE=1 -} - -(libtoolize --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "You must have libtool installed to compile $PROG." - echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.4.tar.gz" - echo "(or a newer version if it is available)" - DIE=1 -} - -(automake --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "You must have automake installed to compile $PROG." - echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.4.tar.gz" - echo "(or a newer version if it is available)" - DIE=1 -} - -(aclocal --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: Missing aclocal. The version of automake" - echo "installed doesn't appear recent enough." - echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.4.tar.gz" - echo "(or a newer version if it is available)" - DIE=1 -} - -if test "$DIE" -eq 1; then - exit 1 -fi - -aclocalinclude="$ACLOCAL_FLAGS"; \ -(echo $_echo_n " + Running aclocal: $_echo_c"; \ - aclocal $aclocalinclude; \ - echo "done.") && \ -(echo $_echo_n " + Running libtoolize: $_echo_c"; \ - libtoolize --force --copy >/dev/null 2>&1; \ - echo "done.") && \ -(echo $_echo_n " + Running autoheader: $_echo_c"; \ - autoheader; \ - echo "done.") && \ -(echo $_echo_n " + Running automake: $_echo_c"; \ - automake --gnu --add-missing --copy; \ - echo "done.") && \ -(echo $_echo_n " + Running autoconf: $_echo_c"; \ - autoconf; \ - echo "done.") - -rm -f config.cache - -if [ x"$NO_CONFIGURE" = "x" ]; then - echo " + Running 'configure $@':" - if [ -z "$*" ]; then - echo " ** If you wish to pass arguments to ./configure, please" - echo " ** specify them on the command line." - fi - ./configure "$@" -fi -- 2.44.0