--- rpl/Attic/configure 2010/08/09 13:52:12 1.33 +++ rpl/Attic/configure 2010/08/13 21:02:18 1.34 @@ -610,6 +610,7 @@ GSL UNITS READLINE NCURSES +IPV6 SEMUN SEMAPHORES_SYSV SEMAPHORES_NOMMES @@ -6923,6 +6924,17 @@ else fi +ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" " +#include + +" +if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then : + IPV6=-DIPV6 +else + IPV6=-UIPV6 +fi + + if test "$CYGWIN" != yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } @@ -8907,25 +8919,6 @@ done - -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" - - - # Check whether --with-openssl_arch was given. if test "${with_openssl_arch+set}" = set; then : withval=$with_openssl_arch; @@ -8935,7 +8928,7 @@ fi if test $(uname) = "OS/2"; then - (cd tools/$OPENSSL && os2/OS2-EMX.cmd) + bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd" else if test "x$with_openssl_arch" = xnone; then (cd tools/$OPENSSL && ./config) @@ -8950,6 +8943,25 @@ else 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 | \ @@ -9040,6 +9052,16 @@ case $OS in C_STANDARD=-std=gnu99 break ;; + Interix) + EXPORT_DYNAMIC=-Wl,--export-all-symbols + NESTED_FUNCTIONS= + SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES + SEMAPHORES_SYSV=-USEMAPHORES_SYSV + ac_configure_args="$ac_configure_args --with-readline=builtin \ + --disable-shared --enable-static" + C_STANDARD=-std=gnu99 + break;; + AIX) EXPORT_DYNAMIC=-Wl,--export-dynamic NESTED_FUNCTIONS= @@ -9053,7 +9075,7 @@ case $OS in OS/2) MALLOC= OS=OS2 - FINAL_ENCODING=UTF-8 + FINAL_ENCODING=CP850 NESTED_FUNCTIONS= EXPORT_DYNAMIC=-Zmap SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES @@ -9077,6 +9099,7 @@ esac +