--- rpl/Attic/configure 2010/03/25 17:33:14 1.13 +++ rpl/Attic/configure 2010/04/07 07:16:10 1.15 @@ -768,6 +768,7 @@ enable_profile enable_final_run_path with_mysql with_postgresql +with_openssl_arch ' ac_precious_vars='build_alias host_alias @@ -1438,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 @@ -3199,13 +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.22 -OPENSSL=openssl-0.9.8m +SQLITE=sqlite-3.6.23.1 +OPENSSL=openssl-1.0.0 ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -6061,7 +6063,7 @@ if test ! -d "$srcdir"/tools/$SQLITE; th fi if test ! -d tools/$OPENSSL; then gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \ - (cd tools && tar -xf - && cd $OPENSSL && ./config) + (cd tools && tar -xf -) fi # Extract the first word of "libtoolize", so it can be a program name with args. @@ -9028,7 +9030,27 @@ subdirs="$subdirs tools/$ICONV" subdirs="$subdirs tools/$SQLITE" -tools/$OPENSSL/config + + +# 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