--- rpl/Attic/configure 2011/06/21 15:26:26 1.59 +++ rpl/Attic/configure 2011/09/08 15:24:23 1.75 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for rpl 4.1.0.prerelease.2. +# Generated by GNU Autoconf 2.68 for rpl 4.1.3. # # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -557,8 +557,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='rpl' PACKAGE_TARNAME='rpl' -PACKAGE_VERSION='4.1.0.prerelease.2' -PACKAGE_STRING='rpl 4.1.0.prerelease.2' +PACKAGE_VERSION='4.1.3' +PACKAGE_STRING='rpl 4.1.3' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -624,6 +624,7 @@ GSL UNITS READLINE NCURSES +ELF BSH_PATH BROKEN_SIGINFO IPV6 @@ -634,6 +635,7 @@ NESTED_FUNCTIONS EXPORT_DYNAMIC C_STANDARD OS +HOST GNUPLOT_COMPILATION subdirs EGREP @@ -666,6 +668,9 @@ RANLIB LN_S RUNPATH PROFILAGE +LIBRPLCAS +RPLCAS +ABI X_EXTRA_LIBS X_LIBS X_PRE_LIBS @@ -778,6 +783,9 @@ ac_user_opts=' enable_option_checking enable_dependency_tracking with_x +with_32bits_abi +with_64bits_abi +with_rplcas enable_optimization enable_sysv_semaphores enable_full_static @@ -813,15 +821,15 @@ FC FCFLAGS XMKMF CPP' -ac_subdirs_all='tools/$NCURSES +ac_subdirs_all='tools/$GNUPLOT +tools/$NCURSES tools/$READLINE tools/$GSL tools/$GPP tools/$FILE tools/$ICONV tools/$SQLITE -tools/$UNITS -tools/$GNUPLOT' +tools/$UNITS' # Initialize some variables set by options. ac_init_help= @@ -1363,7 +1371,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures rpl 4.1.0.prerelease.2 to adapt to many kinds of systems. +\`configure' configures rpl 4.1.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1438,7 +1446,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of rpl 4.1.0.prerelease.2:";; + short | recursive ) echo "Configuration of rpl 4.1.3:";; esac cat <<\_ACEOF @@ -1466,6 +1474,9 @@ Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-x use the X Window System + --with-32bits-abi force 32bits ABI (multilib) + --with-64bits-abi force 64bits ABI (multilib) + --with-rplcas compile rplcas (default=no) --with-mysql=PATH specify directory for installed mysql --with-postgresql=PATH specify directory for installed postgresql --with-bourne-shell=PATH specify path for OS/2 bourne shell @@ -1554,7 +1565,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -rpl configure 4.1.0.prerelease.2 +rpl configure 4.1.3 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -2265,7 +2276,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by rpl $as_me 4.1.0.prerelease.2, which was +It was created by rpl $as_me 4.1.3, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -3191,7 +3202,7 @@ fi # Define the identity of the package. PACKAGE='rpl' - VERSION='4.1.0.prerelease.2' + VERSION='4.1.3' cat >>confdefs.h <<_ACEOF @@ -3239,19 +3250,19 @@ NCURSES=ncurses-5.9 READLINE=readline-6.2 UNITS=units-1.88 GSL=gsl-1.15 -GPP=gpp-2.24 +GPP=gpp-3.0 GNUPLOT=gnuplot-4.4.3 FILE=file-5.03 ICONV=libiconv-1.13.1 -SQLITE=sqlite-3.7.6.3 -OPENSSL=openssl-1.0.0d +SQLITE=sqlite-3.7.7.1 +OPENSSL=openssl-1.0.0e -GMP=gmp-5.0.1 +GMP=gmp-5.0.2 MPFR=mpfr-3.0.1 NTL=ntl-5.5.2 COCOA=CoCoALib-0.9943 PARI=pari-2.3.5 -GIAC=giac-0.9.2 +GIAC=giac-0.9.3 ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -4580,10 +4591,30 @@ fi -if test "$GXX" != yes; then +if test "$CXX" != "g++"; then as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5 fi +if test x"$CXX" != x""; then + GCC_VERSION_MAJEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \ + awk -F. '{ printf("%s", $1);}'` + GCC_VERSION_MINEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \ + awk -F. '{ printf("%s", $2);}'` + if test $GCC_VERSION_MAJEURE -ge 5; then + OPTIMISATION_GXX=-O3 + else + if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then + OPTIMISATION_GXX=-O3 + else + if test $GCC_VERSION_MAJEURE -ge 3; then + OPTIMISATION_GXX=-O2 + else + as_fn_error $? "Cannot find decent or recent g++ (g++-4.3 or better)!" "$LINENO" 5 + fi + fi + fi +fi + ac_ext=f ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' @@ -5866,24 +5897,88 @@ if test "$ac_x_libraries" != "no"; then fi fi + +# Check whether --with-32bits-abi was given. +if test "${with_32bits_abi+set}" = set; then : + withval=$with_32bits_abi; +if test "$with-32bits-abi" = "no"; then + ABI= +else + ABI=-m32 +fi +else + + ABI= + + +fi + + +if test x$ABI = x; then + +# Check whether --with-64bits-abi was given. +if test "${with_64bits_abi+set}" = set; then : + withval=$with_64bits_abi; +if test "$with-64bits-abi" = "no"; then + ABI= +else + ABI=-m64 +fi +else + + ABI= + + +fi + +fi + +LDFLAGS="$LDFLAGS $ABI" + + +# Check whether --with-rplcas was given. +if test "${with_rplcas+set}" = set; then : + withval=$with_rplcas; +if test "$with-rplcas" = "no"; then + RPLCAS=-URPLCAS + LIBRPLCAS= +else + RPLCAS=-DRPLCAS + LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a +fi +else + + RPLCAS=-URPLCAS + LIBRPLCAS= + + +fi + + + + + + # Check whether --enable-optimization was given. if test "${enable_optimization+set}" = set; then : enableval=$enable_optimization; if test "$enableval" = "no"; then - CFLAGS= - FFLAGS= - CXXFLAGS= - FCFLAGS= -else - CFLAGS="$CFLAGS $enable_optimization" - FFLAGS="$FFLAGS $enable_optimization" - FCFLAGS="$FCFLAGS $enable_optimization" + CFLAGS=$ABI + FFLAGS=$ABI + CXXFLAGS=$ABI + FCFLAGS=$ABI +else + CFLAGS="$CFLAGS $ABI $enable_optimization" + FFLAGS="$FFLAGS $ABI $enable_optimization" + CXXFLAGS="$CXXFLAGS $ABI $enable_optimization" + FCFLAGS="$FCFLAGS $ABI $enable_optimization" fi else - CFLAGS="$CFLAGS $OPTIMISATION_C" - FFLAGS="$FFLAGS $OPTIMISATION_F" - FCFLAGS="$FCFLAGS $OPTIMISATION_F" + CFLAGS="$CFLAGS $ABI $OPTIMISATION_C" + FFLAGS="$FFLAGS $ABI $OPTIMISATION_F" + CXXFLAGS="$CXXFLAGS $ABI $OPTIMISATION_CXX" + FCFLAGS="$FCFLAGS $ABI $OPTIMISATION_F" fi @@ -9114,7 +9209,7 @@ if test $(uname) = "OS/2"; then bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd" else if test "x$with_openssl_arch" = xnone; then - (cd tools/$OPENSSL && ./config) + (cd tools/$OPENSSL && ./config no-asm) elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then (cd tools/$OPENSSL && ./Configure) as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5 @@ -9122,35 +9217,18 @@ else (cd tools/$OPENSSL && ./Configure) as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5 else - (cd tools/$OPENSSL && ./Configure $with_openssl_arch) + (cd tools/$OPENSSL && ./Configure no-asm $with_openssl_arch) fi fi - - -subdirs="$subdirs tools/$NCURSES" - -subdirs="$subdirs tools/$READLINE" - -subdirs="$subdirs tools/$GSL" - -subdirs="$subdirs tools/$GPP" - -subdirs="$subdirs tools/$FILE" - -subdirs="$subdirs tools/$ICONV" - -subdirs="$subdirs tools/$SQLITE" - -subdirs="$subdirs tools/$UNITS" - - if test "$MYGNUPLOT" = "yes"; then if test ! -d "$srcdir"/tools/$GNUPLOT; then gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \ (cd "$srcdir/tools" && tar -xf -) fi - subdirs="$subdirs tools/$GNUPLOT" + + +subdirs="$subdirs tools/$GNUPLOT" GNUPLOT_COMPILATION=$GNUPLOT else @@ -9159,6 +9237,9 @@ fi +HOST=$host + + case $host_cpu in i?86) @@ -9222,8 +9303,12 @@ case $OS in IPCS_SYSV=-UIPCS_SYSV CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING" ac_configure_args="$ac_configure_args --with-readline=builtin \ - --disable-shared --enable-static --enable-threads" + --disable-shared --enable-static --enable-threads \ + CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ + FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ + LDFLAGS=\"$LDFLAGS\"" C_STANDARD=-std=gnu99 + ELF= break ;; Cygwin) @@ -9232,8 +9317,12 @@ case $OS in SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES IPCS_SYSV=-UIPCS_SYSV ac_configure_args="$ac_configure_args --with-readline=builtin \ - --disable-shared --enable-static --enable-threads" + --disable-shared --enable-static --enable-threads \ + CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ + FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ + LDFLAGS=\"$LDFLAGS\"" C_STANDARD=-std=gnu99 + ELF= break ;; Interix) @@ -9242,8 +9331,12 @@ case $OS in SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES IPCS_SYSV=-UIPCS_SYSV ac_configure_args="$ac_configure_args --with-readline=builtin \ - --disable-shared --enable-static --enable-threads" + --disable-shared --enable-static --enable-threads \ + CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ + FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ + LDFLAGS=\"$LDFLAGS\"" C_STANDARD=-std=gnu99 + ELF= break;; AIX) @@ -9252,8 +9345,12 @@ case $OS in SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES IPCS_SYSV=-UIPCS_SYSV ac_configure_args="$ac_configure_args --with-readline=builtin \ - --disable-shared --enable-static --enable-threads" + --disable-shared --enable-static --enable-threads \ + CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ + FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ + LDFLAGS=\"$LDFLAGS\"" C_STANDARD=-std=gnu99 + ELF= break ;; OS/2) @@ -9267,8 +9364,12 @@ case $OS in IPCS_SYSV=-DIPCS_SYSV ac_configure_args="$ac_configure_args --without-readline \ --without-cairo --disable-shared --enable-static \ - --enable-threads" + --enable-threads \ + CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ + FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ + LDFLAGS=\"$LDFLAGS\"" C_STANDARD= + ELF= break;; OpenBSD) @@ -9280,8 +9381,12 @@ case $OS in SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES IPCS_SYSV=-DIPCS_SYSV ac_configure_args="$ac_configure_args --with-readline=builtin \ - --disable-shared --enable-static --enable-threads" + --disable-shared --enable-static --enable-threads \ + CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ + FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ + LDFLAGS=\"$LDFLAGS\"" C_STANDARD=-std=gnu99 + ELF= break;; SunOS) @@ -9296,9 +9401,35 @@ case $OS in fi ac_configure_args="$ac_configure_args --with-readline=builtin \ - --disable-shared --enable-static --enable-threads" + --disable-shared --enable-static --enable-threads \ + CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ + FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ + LDFLAGS=\"$LDFLAGS\"" C_STANDARD=-std=gnu99 MALLOC=-lumem + ELF= + break ;; + + NetBSD) + EXPORT_DYNAMIC=-Wl,--export-dynamic + NESTED_FUNCTIONS= + SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES + + if test $IPCS_SYSV = no; then + IPCS_SYSV=-UIPCS_SYSV + else + IPCS_SYSV=-DIPCS_SYSV + fi + + ac_configure_args="$ac_configure_args --with-readline=builtin \ + --disable-shared --enable-static --enable-threads \ + CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ + FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ + LDFLAGS=\"$LDFLAGS\"" + C_STANDARD=-std=gnu99 + GCCBIN=`which gcc` + GCCLIB=`dirname $GCCBIN`/../lib + ELF="-Wl,-R/usr/pkg/lib -Wl,-R$GCCLIB" break ;; *) @@ -9313,8 +9444,12 @@ case $OS in fi ac_configure_args="$ac_configure_args --with-readline=builtin \ - --disable-shared --enable-static --enable-threads" + --disable-shared --enable-static --enable-threads \ + CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ + FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ + LDFLAGS=\"$LDFLAGS\"" C_STANDARD=-std=gnu99 + ELF= break ;; esac @@ -9356,6 +9491,25 @@ esac + + +subdirs="$subdirs tools/$NCURSES" + +subdirs="$subdirs tools/$READLINE" + +subdirs="$subdirs tools/$GSL" + +subdirs="$subdirs tools/$GPP" + +subdirs="$subdirs tools/$FILE" + +subdirs="$subdirs tools/$ICONV" + +subdirs="$subdirs tools/$SQLITE" + +subdirs="$subdirs tools/$UNITS" + + ac_config_files="$ac_config_files Makefile" ac_config_files="$ac_config_files COPYING" @@ -9952,7 +10106,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by rpl $as_me 4.1.0.prerelease.2, which was +This file was extended by rpl $as_me 4.1.3, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -10018,7 +10172,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -rpl config.status 4.1.0.prerelease.2 +rpl config.status 4.1.3 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\"