--- rpl/Attic/configure 2011/10/03 15:57:51 1.88 +++ rpl/Attic/configure 2011/11/26 10:01:23 1.95 @@ -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.4. +# Generated by GNU Autoconf 2.68 for rpl 4.1.5. # # # 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.4' -PACKAGE_STRING='rpl 4.1.4' +PACKAGE_VERSION='4.1.5' +PACKAGE_STRING='rpl 4.1.5' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -639,6 +639,9 @@ SEMAPHORES_NOMMES NESTED_FUNCTIONS EXPORT_DYNAMIC C_STANDARD +LIB_PREFIX +WHOLE_LIB2 +WHOLE_LIB1 OS HOST GNUPLOT_COMPILATION @@ -673,6 +676,8 @@ LN_S RUNPATH PROFILAGE subdirs +PSELECT +SHARED_MEMORY LIBRPLCAS RPLCAS ABI @@ -711,6 +716,8 @@ CPPFLAGS LDFLAGS CFLAGS CC +AM_BACKSLASH +AM_DEFAULT_VERBOSITY am__untar am__tar AMTAR @@ -787,10 +794,12 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +enable_silent_rules enable_dependency_tracking with_x with_32bits_abi with_64bits_abi +enable_recursive with_rpltools enable_rplcas enable_optimization @@ -1381,7 +1390,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.4 to adapt to many kinds of systems. +\`configure' configures rpl 4.1.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1456,7 +1465,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of rpl 4.1.4:";; + short | recursive ) echo "Configuration of rpl 4.1.5:";; esac cat <<\_ACEOF @@ -1464,8 +1473,11 @@ Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-silent-rules less verbose build output (undo: `make V=1') + --disable-silent-rules verbose build output (undo: `make V=0') --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors + --enable-recursive recursive configuration (default=yes) --enable-rplcas compile rplcas (default=no) --enable-optimization set compiler flags [default=environment variables -O3] --enable-sysv-ipcs use SystemV IPC functions [default=guessed] @@ -1576,7 +1588,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -rpl configure 4.1.4 +rpl configure 4.1.5 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -2287,7 +2299,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.4, which was +It was created by rpl $as_me 4.1.5, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -3191,6 +3203,18 @@ else fi rmdir .tst 2>/dev/null +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in +yes) AM_DEFAULT_VERBOSITY=0;; +no) AM_DEFAULT_VERBOSITY=1;; +*) AM_DEFAULT_VERBOSITY=1;; +esac +AM_BACKSLASH='\' + if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." @@ -3213,7 +3237,7 @@ fi # Define the identity of the package. PACKAGE='rpl' - VERSION='4.1.4' + VERSION='4.1.5' cat >>confdefs.h <<_ACEOF @@ -3253,6 +3277,18 @@ am__tar='${AMTAR} chof - "$$tardir"'; am +# Check whether --enable-silent-rules was given. +if test "${enable_silent_rules+set}" = set; then : + enableval=$enable_silent_rules; +fi + +case $enable_silent_rules in +yes) AM_DEFAULT_VERBOSITY=0;; +no) AM_DEFAULT_VERBOSITY=1;; +*) AM_DEFAULT_VERBOSITY=0;; +esac +AM_BACKSLASH='\' + ac_config_headers="$ac_config_headers rplconfig.h" @@ -3265,7 +3301,7 @@ GPP=gpp-3.0 GNUPLOT=gnuplot-4.4.3 FILE=file-5.03 ICONV=libiconv-1.13.1 -SQLITE=sqlite-3.7.8 +SQLITE=sqlite-3.7.9 OPENSSL=openssl-1.0.0e OPENMOTIF=openmotif-2.3.3 LIBXPM=libXpm-3.5.9 @@ -3276,7 +3312,7 @@ MPFR=mpfr-3.0.1 NTL=ntl-5.5.2 COCOA=CoCoALib-0.9943 PARI=pari-2.5.0 -GIAC=giac-0.9.3 +GIAC=giac-0.9.5 ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -5949,6 +5985,22 @@ fi LDFLAGS="$LDFLAGS $ABI" +# Check whether --enable-recursive was given. +if test "${enable_recursive+set}" = set; then : + enableval=$enable_recursive; +if test "$enableval" = "yes"; then + RECURSIVE=yes +else + RECURSIVE=no +fi +else + + RECURSIVE=yes + + +fi + + # Check whether --with-rpltools was given. if test "${with_rpltools+set}" = set; then : @@ -6016,6 +6068,67 @@ else fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable shared memory" >&5 +$as_echo_n "checking for usable shared memory... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +int +main () +{ + return(0); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + SHARED_MEMORY=-DSHARED_MEMORY; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + SHARED_MEMORY=-USHARED_MEMORY; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pselect" >&5 +$as_echo_n "checking for pselect... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #include + #include + #include + +int +main () +{ + + struct timespec tv; + fd_set s1, s2, s3; + tv.tv_sec=1; + tv.tv_nsec=0; + FD_SET(1, &s1); FD_SET(2, &s2); FD_SET(3, &s3); + pselect(5, &s1, &s2, &s3, &tv, NULL); + return(0); + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + PSELECT=-DPSELECT; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + PSELECT=-UPSELECT; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + # Check whether --enable-sysv-ipcs was given. if test "${enable_sysv_ipcs+set}" = set; then : enableval=$enable_sysv_ipcs; @@ -6245,14 +6358,17 @@ if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPP \$(top_builddir)/tools/$LIBXPM/src/.libs/libXpm.a" INCMOTIF="-I\$(top_srcdir)/tools/$OPENMOTIF/lib \ -I\$(top_builddir)/tools/$OPENMOTIF/lib \ - -I\$(top_builddir)/tools/$LIBXPM/include" + -I\$(top_srcdir)/tools/$LIBXPM/include" BUILD_OPENMOTIF="$LIBXPM $OPENMOTIF" + if test $RECURSIVE = yes; then + subdirs="$subdirs tools/$LIBXPM" - subdirs="$subdirs tools/$OPENMOTIF" + subdirs="$subdirs tools/$OPENMOTIF" + fi; fi # Check whether --enable-experimental was given. @@ -9237,7 +9353,11 @@ if test "$MYGNUPLOT" = "yes"; then gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \ (cd "$srcdir/tools" && tar -xf -) fi - subdirs="$subdirs tools/$GNUPLOT" + + if test $RECURSIVE = yes; then + subdirs="$subdirs tools/$GNUPLOT" + + fi GNUPLOT_COMPILATION=$GNUPLOT else @@ -9348,7 +9468,6 @@ DATE=$(env LC_ALL=C date +'%A %x, %X %Z' MALLOC= case $OS in - Darwin) EXPORT_DYNAMIC=-Wl,-flat_namespace NESTED_FUNCTIONS=-fnested-functions @@ -9471,7 +9590,20 @@ case $OS in C_STANDARD=-std=gnu99 ELF= break ;; +esac + +case $OS in + OS2) + WHOLE_LIB1="" + WHOLE_LIB2="" + LIB_PREFIX="" + break ;; + *) + WHOLE_LIB1="-Wl,-whole-archive" + WHOLE_LIB2="-Wl,-no-whole-archive" + LIB_PREFIX="lib" + break ;; esac @@ -9518,24 +9650,30 @@ esac -subdirs="$subdirs tools/$NCURSES" -subdirs="$subdirs tools/$READLINE" -subdirs="$subdirs tools/$GSL" -subdirs="$subdirs tools/$GPP" -subdirs="$subdirs tools/$FILE" +if test $RECURSIVE = yes; then + subdirs="$subdirs tools/$NCURSES" + + subdirs="$subdirs tools/$READLINE" -subdirs="$subdirs tools/$ICONV" + subdirs="$subdirs tools/$GSL" -subdirs="$subdirs tools/$SQLITE" + subdirs="$subdirs tools/$GPP" -subdirs="$subdirs tools/$UNITS" + subdirs="$subdirs tools/$FILE" -subdirs="$subdirs tools/$SIGSEGV" + subdirs="$subdirs tools/$ICONV" + subdirs="$subdirs tools/$SQLITE" + + subdirs="$subdirs tools/$UNITS" + + subdirs="$subdirs tools/$SIGSEGV" + +fi ac_config_files="$ac_config_files Makefile" @@ -10133,7 +10271,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.4, which was +This file was extended by rpl $as_me 4.1.5, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -10199,7 +10337,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.4 +rpl config.status 4.1.5 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\"