--- rpl/Attic/configure 2010/03/01 14:48:13 1.7 +++ rpl/Attic/configure 2010/04/07 13:44:59 1.16 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.65 for rpl 4.0.11. +# Generated by GNU Autoconf 2.65 for rpl 4.0.14. # # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -549,8 +549,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='rpl' PACKAGE_TARNAME='rpl' -PACKAGE_VERSION='4.0.11' -PACKAGE_STRING='rpl 4.0.11' +PACKAGE_VERSION='4.0.14' +PACKAGE_STRING='rpl 4.0.14' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -598,6 +598,8 @@ LTLIBOBJS LIBOBJS DATE_FR FINAL_ENCODING +OPENSSL +SQLITE ICONV FILE GNUPLOT @@ -607,6 +609,7 @@ UNITS READLINE NCURSES LIBMTMALLOC +OS GNUPLOT_COMPILATION subdirs EGREP @@ -765,6 +768,7 @@ enable_profile enable_final_run_path with_mysql with_postgresql +with_openssl_arch ' ac_precious_vars='build_alias host_alias @@ -790,6 +794,7 @@ tools/$GSL tools/$GPP tools/$FILE tools/$ICONV +tools/$SQLITE tools/$GNUPLOT' # Initialize some variables set by options. @@ -1331,7 +1336,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.0.11 to adapt to many kinds of systems. +\`configure' configures rpl 4.0.14 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1406,7 +1411,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of rpl 4.0.11:";; + short | recursive ) echo "Configuration of rpl 4.0.14:";; esac cat <<\_ACEOF @@ -1434,6 +1439,7 @@ Optional Packages: --with-x use the X Window System --with-mysql=PATH specify directory for installed mysql --with-postgresql=PATH specify directory for installed postgresql + --with-openssl-arch=ARCH specify os and compiler for openssl (ARCH or list) Some influential environment variables: CC C compiler command @@ -1518,7 +1524,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -rpl configure 4.0.11 +rpl configure 4.0.14 generated by GNU Autoconf 2.65 Copyright (C) 2009 Free Software Foundation, Inc. @@ -2229,7 +2235,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.0.11, which was +It was created by rpl $as_me 4.0.14, which was generated by GNU Autoconf 2.65. Invocation command line was $ $0 $@ @@ -3148,7 +3154,7 @@ fi # Define the identity of the package. PACKAGE='rpl' - VERSION='4.0.11' + VERSION='4.0.14' cat >>confdefs.h <<_ACEOF @@ -3195,11 +3201,13 @@ ac_config_headers="$ac_config_headers rp NCURSES=ncurses-5.7-20100206 READLINE=readline-6.1 UNITS=units-1.87 -GSL=gsl-1.13 +GSL=gsl-1.14 GPP=gpp-2.24 -GNUPLOT=gnuplot-4.2.6 +GNUPLOT=gnuplot-4.4.0 FILE=file-5.03 ICONV=libiconv-1.13.1 +SQLITE=sqlite-3.6.23.1 +OPENSSL=openssl-1.0.0 ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -5832,13 +5840,13 @@ if test "${enable_final_encoding+set}" = enableval=$enable_final_encoding; if test "$enableval" = "no"; then FINAL_ENCODING="\$(shell locale charmap | \ - awk '/=/ { print \$\$3;} !/=/ { print \$\$1;}')" + \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')" else FINAL_ENCODING="$enable_final_encoding" fi else FINAL_ENCODING="\$(shell locale charmap | \ - awk '/=/ { print \$\$3;} !/=/ { print \$\$1;}')" + \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')" fi @@ -6034,18 +6042,14 @@ fi if test ! -d "$srcdir"/tools/$FILE; then gunzip -c "$srcdir"/tools/$FILE.tar.gz | \ (cd "$srcdir/tools" && tar -xf - ) + TMP=$(mktemp) (cd "$srcdir/tools"/$FILE && gunzip -c ../$FILE.diff.gz | patch -p1) - sed 's/libmagic/librplfile/g' "$srcdir"/tools/$FILE/src/Makefile.am > \ - "$srcdir"/tools/$FILE/src/Makefile.am2 - sed 's/^bin_PROGRAMS = file/bin_PROGRAMS = rplfile/g' \ - "$srcdir"/tools/$FILE/src/Makefile.am2 | \ + sed 's/libmagic/librplfile/g' "$srcdir"/tools/$FILE/src/Makefile.am > $TMP + sed 's/^bin_PROGRAMS = file/bin_PROGRAMS = rplfile/g' $TMP | \ sed 's/^file_/rplfile_/g' > \ "$srcdir"/tools/$FILE/src/Makefile.am - \rm -f "$srcdir"/tools/$FILE/src/Makefile.am2 - sed 's/file$/rplfile/g' "$srcdir"/tools/$FILE/magic/Makefile.am > \ - "$srcdir"/tools/$FILE/magic/Makefile.am2 - \mv -f "$srcdir"/tools/$FILE/magic/Makefile.am2 \ - "$srcdir"/tools/$FILE/magic/Makefile.am + sed 's/file$/rplfile/g' "$srcdir"/tools/$FILE/magic/Makefile.am > $TMP + \mv -f $TMP "$srcdir"/tools/$FILE/magic/Makefile.am (cd "$srcdir"/tools/$FILE && libtoolize --copy --force \ && aclocal && automake -af && autoconf); fi @@ -6053,6 +6057,14 @@ if test ! -d "$srcdir"/tools/$ICONV; the gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \ (cd "$srcdir/tools" && tar -xf -) fi +if test ! -d "$srcdir"/tools/$SQLITE; then + gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \ + (cd "$srcdir/tools" && tar -xf -) +fi +if test ! -d tools/$OPENSSL; then + gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \ + (cd tools && tar -xf -) +fi # Extract the first word of "libtoolize", so it can be a program name with args. set dummy libtoolize; ac_word=$2 @@ -6378,8 +6390,8 @@ else fi -# Extract the first word of "awk", so it can be a program name with args. -set dummy awk; ac_word=$2 +# Extract the first word of "nawk", so it can be a program name with args. +set dummy nawk; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if test "${ac_cv_prog_AWK+set}" = set; then : @@ -6417,7 +6429,7 @@ fi if test "$AWK" = no; then - as_fn_error "Can not find awk !" "$LINENO" 5 + as_fn_error "Can not find nawk !" "$LINENO" 5 fi # Extract the first word of "sed", so it can be a program name with args. @@ -9016,6 +9028,29 @@ subdirs="$subdirs tools/$FILE" subdirs="$subdirs tools/$ICONV" +subdirs="$subdirs tools/$SQLITE" + + + +# Check whether --with-openssl_arch was given. +if test "${with_openssl_arch+set}" = set; then : + withval=$with_openssl_arch; +else + with_openssl_arch=none +fi + + +if test "x$with_openssl_arch" = xnone; then + (cd tools/$OPENSSL && ./config) +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 +elif test "x$with_openssl_arch" = xlist; then + (cd tools/$OPENSSL && ./Configure) + as_fn_error "Please specify OS and Architecture" "$LINENO" 5 +else + (cd tools/$OPENSSL && ./Configure $with_openssl_arch) +fi if test "$MYGNUPLOT" = "yes"; then if test ! -d "$srcdir"/tools/$GNUPLOT; then @@ -9063,6 +9098,24 @@ case $host_cpu in esac +case $host_os in + + cygwin*) + OS=Cygwin + break ;; + + interix*) + OS=Interix + break ;; + + *) + OS=$(uname) + break ;; + +esac + + + DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z') DATE=$(env LC_ALL=C date +'%A %x, %X %Z') @@ -9091,6 +9144,8 @@ fi + + ac_config_files="$ac_config_files Makefile" ac_config_files="$ac_config_files COPYING" @@ -9117,6 +9172,8 @@ ac_config_files="$ac_config_files rpltag ac_config_files="$ac_config_files rpliconv/Makefile" +ac_config_files="$ac_config_files rplsums/Makefile" + ac_config_files="$ac_config_files lapack/lapack/Makefile" ac_config_files="$ac_config_files lapack/blas/Makefile" @@ -9668,7 +9725,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.0.11, which was +This file was extended by rpl $as_me 4.0.14, which was generated by GNU Autoconf 2.65. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -9734,7 +9791,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.0.11 +rpl config.status 4.0.14 configured by $0, generated by GNU Autoconf 2.65, with options \\"\$ac_cs_config\\" @@ -9872,6 +9929,7 @@ do "scripts/rpllink") CONFIG_FILES="$CONFIG_FILES scripts/rpllink" ;; "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;; "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;; + "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;; "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;; "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;; "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;