--- rpl/Attic/configure.in 2010/07/31 10:34:15 1.31 +++ rpl/Attic/configure.in 2010/08/06 15:27:41 1.32 @@ -15,7 +15,7 @@ GPP=gpp-2.24 GNUPLOT=gnuplot-4.4.0 FILE=file-5.03 ICONV=libiconv-1.13.1 -SQLITE=sqlite-3.7.0 +SQLITE=sqlite-3.7.0.1 OPENSSL=openssl-1.0.0a dnl Checks for C compiler @@ -277,6 +277,7 @@ fi if test ! -d "$srcdir"/tools/$SQLITE; then gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \ (cd "$srcdir/tools" && tar -xf -) + (cd "$srcdir/tools"/$SQLITE && gunzip -c ../$SQLITE.diff.gz | patch -p1) fi if test ! -d tools/$OPENSSL; then gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \ @@ -774,8 +775,6 @@ AC_FUNC_VPRINTF AC_CHECK_FUNCS(ftime getcwd putenv select strcspn strdup \ strerror strspn strstr strtod) -ac_configure_args="$ac_configure_args --with-readline=builtin --disable-shared --enable-static" - AC_CONFIG_SUBDIRS(tools/$NCURSES) AC_CONFIG_SUBDIRS(tools/$READLINE) AC_CONFIG_SUBDIRS(tools/$GSL) @@ -790,16 +789,20 @@ AC_ARG_WITH(openssl_arch, [ --with-openssl-arch=ARCH specify os and compiler for openssl (ARCH or list)], [], [with_openssl_arch=none]) -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) - AC_MSG_ERROR([OS/COMP informations are required!]) -elif test "x$with_openssl_arch" = xlist; then - (cd tools/$OPENSSL && ./Configure) - AC_MSG_ERROR([Please specify OS and Architecture]) +if test $(uname) = "OS/2"; then + (cd tools/$OPENSSL && os2/OS2-EMX.cmd) else - (cd tools/$OPENSSL && ./Configure $with_openssl_arch) + 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) + AC_MSG_ERROR([OS/COMP informations are required!]) + elif test "x$with_openssl_arch" = xlist; then + (cd tools/$OPENSSL && ./Configure) + AC_MSG_ERROR([Please specify OS and Architecture]) + else + (cd tools/$OPENSSL && ./Configure $with_openssl_arch) + fi fi if test "$MYGNUPLOT" = "yes"; then @@ -871,28 +874,47 @@ DATE=$(env LC_ALL=C date +'%A %x, %X %Z' case $OS in Darwin) - EXPORT_DYNAMIC=-flat_namespace + EXPORT_DYNAMIC=-Wl,-flat_namespace NESTED_FUNCTIONS=-fnested-functions SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING" + ac_configure_args="$ac_configure_args --with-readline=builtin \ + --disable-shared --enable-static" break ;; - Cygwin) - EXPORT_DYNAMIC=--export-all-symbols + Cygwin) + EXPORT_DYNAMIC=-Wl,--export-all-symbols NESTED_FUNCTIONS= SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES + ac_configure_args="$ac_configure_args --with-readline=builtin \ + --disable-shared --enable-static" break ;; - AIX) - EXPORT_DYNAMIC=--export-dynamic + AIX) + EXPORT_DYNAMIC=-Wl,--export-dynamic NESTED_FUNCTIONS= SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES + ac_configure_args="$ac_configure_args --with-readline=builtin \ + --disable-shared --enable-static" break ;; + OS/2) + MALLOC= + OS=OS2 + FINAL_ENCODING=UTF-8 + NESTED_FUNCTIONS= + EXPORT_DYNAMIC=-Zmap + SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES + ac_configure_args="$ac_configure_args --without-readline \ + --without-cairo --disable-shared --enable-static" + break;; + *) - EXPORT_DYNAMIC=--export-dynamic + EXPORT_DYNAMIC=-Wl,--export-dynamic NESTED_FUNCTIONS= SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES + ac_configure_args="$ac_configure_args --with-readline=builtin \ + --disable-shared --enable-static" break ;; esac