Diff for /rpl/Attic/configure between versions 1.65 and 1.82

version 1.65, 2011/06/27 14:01:48 version 1.82, 2011/09/16 17:57:16
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.68 for rpl 4.1.0.  # Generated by GNU Autoconf 2.68 for rpl 4.1.3.
 #  #
 #  #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
Line 557  MAKEFLAGS= Line 557  MAKEFLAGS=
 # Identity of this package.  # Identity of this package.
 PACKAGE_NAME='rpl'  PACKAGE_NAME='rpl'
 PACKAGE_TARNAME='rpl'  PACKAGE_TARNAME='rpl'
 PACKAGE_VERSION='4.1.0'  PACKAGE_VERSION='4.1.3'
 PACKAGE_STRING='rpl 4.1.0'  PACKAGE_STRING='rpl 4.1.3'
 PACKAGE_BUGREPORT=''  PACKAGE_BUGREPORT=''
 PACKAGE_URL=''  PACKAGE_URL=''
   
   enable_option_checking=no
 ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
 # Factoring default headers for most tests.  # Factoring default headers for most tests.
 ac_includes_default="\  ac_includes_default="\
Line 599  ac_includes_default="\ Line 600  ac_includes_default="\
 # include <unistd.h>  # include <unistd.h>
 #endif"  #endif"
   
 enable_option_checking=no  
 ac_subst_vars='am__EXEEXT_FALSE  ac_subst_vars='am__EXEEXT_FALSE
 am__EXEEXT_TRUE  am__EXEEXT_TRUE
 LTLIBOBJS  LTLIBOBJS
 LIBOBJS  LIBOBJS
   LIBMOTIF
   INCMOTIF
 GIAC  GIAC
 PARI  PARI
 COCOA  COCOA
Line 614  MALLOC Line 616  MALLOC
 EXT_SQL  EXT_SQL
 DATE_FR  DATE_FR
 FINAL_ENCODING  FINAL_ENCODING
   SIGSEGV
   BUILD_OPENMOTIF
   OPENMOTIF
   LIBXPM
 OPENSSL  OPENSSL
 SQLITE  SQLITE
 ICONV  ICONV
Line 624  GSL Line 630  GSL
 UNITS  UNITS
 READLINE  READLINE
 NCURSES  NCURSES
   ELF
 BSH_PATH  BSH_PATH
 BROKEN_SIGINFO  
 IPV6  IPV6
 SEMUN  SEMUN
 IPCS_SYSV  IPCS_SYSV
Line 634  NESTED_FUNCTIONS Line 640  NESTED_FUNCTIONS
 EXPORT_DYNAMIC  EXPORT_DYNAMIC
 C_STANDARD  C_STANDARD
 OS  OS
   HOST
 GNUPLOT_COMPILATION  GNUPLOT_COMPILATION
 subdirs  
 EGREP  EGREP
 GREP  GREP
 libPgSQLlib  libPgSQLlib
Line 666  RANLIB Line 672  RANLIB
 LN_S  LN_S
 RUNPATH  RUNPATH
 PROFILAGE  PROFILAGE
   subdirs
   LIBRPLCAS
   RPLCAS
   ABI
 X_EXTRA_LIBS  X_EXTRA_LIBS
 X_LIBS  X_LIBS
 X_PRE_LIBS  X_PRE_LIBS
Line 778  ac_user_opts=' Line 788  ac_user_opts='
 enable_option_checking  enable_option_checking
 enable_dependency_tracking  enable_dependency_tracking
 with_x  with_x
 with_32bits  with_32bits_abi
   with_64bits_abi
   with_rplcas
 enable_optimization  enable_optimization
 enable_sysv_semaphores  enable_sysv_semaphores
 enable_full_static  enable_full_static
Line 814  FC Line 826  FC
 FCFLAGS  FCFLAGS
 XMKMF  XMKMF
 CPP'  CPP'
 ac_subdirs_all='tools/$NCURSES  ac_subdirs_all='tools/$LIBXPM
   tools/$OPENMOTIF
   tools/$GNUPLOT
   tools/$NCURSES
 tools/$READLINE  tools/$READLINE
 tools/$GSL  tools/$GSL
 tools/$GPP  tools/$GPP
Line 822  tools/$FILE Line 837  tools/$FILE
 tools/$ICONV  tools/$ICONV
 tools/$SQLITE  tools/$SQLITE
 tools/$UNITS  tools/$UNITS
 tools/$GNUPLOT'  tools/$SIGSEGV'
   
 # Initialize some variables set by options.  # Initialize some variables set by options.
 ac_init_help=  ac_init_help=
Line 1364  if test "$ac_init_help" = "long"; then Line 1379  if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.    # 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.    # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF    cat <<_ACEOF
 \`configure' configures rpl 4.1.0 to adapt to many kinds of systems.  \`configure' configures rpl 4.1.3 to adapt to many kinds of systems.
   
 Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
   
Line 1439  fi Line 1454  fi
   
 if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
   case $ac_init_help in    case $ac_init_help in
      short | recursive ) echo "Configuration of rpl 4.1.0:";;       short | recursive ) echo "Configuration of rpl 4.1.3:";;
    esac     esac
   cat <<\_ACEOF    cat <<\_ACEOF
   
Line 1450  Optional Features: Line 1465  Optional Features:
   --disable-dependency-tracking  speeds up one-time build    --disable-dependency-tracking  speeds up one-time build
   --enable-dependency-tracking   do not reject slow dependency extractors    --enable-dependency-tracking   do not reject slow dependency extractors
   --enable-optimization   set compiler flags [default=environment variables -O3]    --enable-optimization   set compiler flags [default=environment variables -O3]
   --enable-sysv-ipcs      use SystemV IPC functions [default=no]    --enable-sysv-ipcs      use SystemV IPC functions [default=guessed]
   --enable-full-static    build static RPL/2 engine [default=shared]    --enable-full-static    build static RPL/2 engine [default=shared]
   --enable-final-encoding force final encoding [default=guessed]    --enable-final-encoding force final encoding [default=guessed]
   --enable-tex            provide the TeX support [default=guessed]    --enable-tex            provide the TeX support [default=guessed]
Line 1468  Optional Packages: Line 1483  Optional Packages:
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --with-x                use the X Window System    --with-x                use the X Window System
   --with-32bits-abi       force 32bits ABI (multilib)    --with-32bits-abi       force 32bits ABI (multilib)
     --with-64bits-abi       force 64bits ABI (multilib)
     --with-rplcas           compile rplcas (default=no)
   --with-mysql=PATH         specify directory for installed mysql    --with-mysql=PATH         specify directory for installed mysql
   --with-postgresql=PATH    specify directory for installed postgresql    --with-postgresql=PATH    specify directory for installed postgresql
   --with-bourne-shell=PATH  specify path for OS/2 bourne shell    --with-bourne-shell=PATH  specify path for OS/2 bourne shell
Line 1556  fi Line 1573  fi
 test -n "$ac_init_help" && exit $ac_status  test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then  if $ac_init_version; then
   cat <<\_ACEOF    cat <<\_ACEOF
 rpl configure 4.1.0  rpl configure 4.1.3
 generated by GNU Autoconf 2.68  generated by GNU Autoconf 2.68
   
 Copyright (C) 2010 Free Software Foundation, Inc.  Copyright (C) 2010 Free Software Foundation, Inc.
Line 2267  cat >config.log <<_ACEOF Line 2284  cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
   
 It was created by rpl $as_me 4.1.0, which was  It was created by rpl $as_me 4.1.3, which was
 generated by GNU Autoconf 2.68.  Invocation command line was  generated by GNU Autoconf 2.68.  Invocation command line was
   
   $ $0 $@    $ $0 $@
Line 3193  fi Line 3210  fi
   
 # Define the identity of the package.  # Define the identity of the package.
  PACKAGE='rpl'   PACKAGE='rpl'
  VERSION='4.1.0'   VERSION='4.1.3'
   
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
Line 3241  NCURSES=ncurses-5.9 Line 3258  NCURSES=ncurses-5.9
 READLINE=readline-6.2  READLINE=readline-6.2
 UNITS=units-1.88  UNITS=units-1.88
 GSL=gsl-1.15  GSL=gsl-1.15
 GPP=gpp-2.24  GPP=gpp-3.0
 GNUPLOT=gnuplot-4.4.3  GNUPLOT=gnuplot-4.4.3
 FILE=file-5.03  FILE=file-5.03
 ICONV=libiconv-1.13.1  ICONV=libiconv-1.13.1
 SQLITE=sqlite-3.7.6.3  SQLITE=sqlite-3.7.7.1
 OPENSSL=openssl-1.0.0d  OPENSSL=openssl-1.0.0e
   OPENMOTIF=openmotif-2.3.3
   LIBXPM=libXpm-3.5.9
   SIGSEGV=libsigsegv-2.6
   
 GMP=gmp-5.0.1  GMP=gmp-5.0.2
 MPFR=mpfr-3.0.1  MPFR=mpfr-3.0.1
 NTL=ntl-5.5.2  NTL=ntl-5.5.2
 COCOA=CoCoALib-0.9943  COCOA=CoCoALib-0.9943
 PARI=pari-2.3.5  PARI=pari-2.5.0
 GIAC=giac-0.9.1  GIAC=giac-0.9.3
   
 ac_ext=c  ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
Line 4582  fi Line 4602  fi
   
   
   
 if test "$GXX" != yes; then  if test "$CXX" != "g++"; then
     as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5      as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5
 fi  fi
   
   if test x"$CXX" != x""; then
       GCC_VERSION_MAJEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
               awk -F. '{ printf("%s", $1);}'`
       GCC_VERSION_MINEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \
               awk -F. '{ printf("%s", $2);}'`
       if test $GCC_VERSION_MAJEURE -ge 5; then
           OPTIMISATION_GXX=-O3
       else
           if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
               OPTIMISATION_GXX=-O3
           else
               if test $GCC_VERSION_MAJEURE -ge 3; then
                   OPTIMISATION_GXX=-O2
               else
                   as_fn_error $? "Cannot find decent or recent g++ (g++-4.3 or better)!" "$LINENO" 5
               fi
           fi
       fi
   fi
   
 ac_ext=f  ac_ext=f
 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'  ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Line 5869  if test "$ac_x_libraries" != "no"; then Line 5909  if test "$ac_x_libraries" != "no"; then
 fi  fi
   
   
 # Check whether --with-32bits was given.  # Check whether --with-32bits-abi was given.
 if test "${with_32bits+set}" = set; then :  if test "${with_32bits_abi+set}" = set; then :
   withval=$with_32bits;    withval=$with_32bits_abi;
 if test "$with-32bits-abi" = "no"; then  if test "$with-32bits-abi" = "no"; then
       ABI=
 else  else
     ABI=-m32      ABI=-m32
 fi  fi
 else  else
   
     ABI=-m32      ABI=
   
   
   fi
   
   
   if test x$ABI = x; then
   
   # Check whether --with-64bits-abi was given.
   if test "${with_64bits_abi+set}" = set; then :
     withval=$with_64bits_abi;
   if test "$with-64bits-abi" = "no"; then
       ABI=
   else
       ABI=-m64
   fi
   else
   
       ABI=
   
   
   fi
   
   fi
   
   LDFLAGS="$LDFLAGS $ABI"
   
   
   # Check whether --with-rplcas was given.
   if test "${with_rplcas+set}" = set; then :
     withval=$with_rplcas;
   if test "$with-rplcas" = "no"; then
       RPLCAS=-URPLCAS
       LIBRPLCAS=
   else
       RPLCAS=-DRPLCAS
       LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a
   fi
   else
   
       RPLCAS=-URPLCAS
       LIBRPLCAS=
   
   
 fi  fi
   
   
 SUBST(ABI)  
   
   
   
 # Check whether --enable-optimization was given.  # Check whether --enable-optimization was given.
 if test "${enable_optimization+set}" = set; then :  if test "${enable_optimization+set}" = set; then :
   enableval=$enable_optimization;    enableval=$enable_optimization;
 if test "$enableval" = "no"; then  if test "$enableval" = "no"; then
     CFLAGS=      CFLAGS=$ABI
     FFLAGS=      FFLAGS=$ABI
     CXXFLAGS=      CXXFLAGS=$ABI
     FCFLAGS=      FCFLAGS=$ABI
 else  else
     CFLAGS="$CFLAGS $enable_optimization"      CFLAGS="$CFLAGS $ABI $enable_optimization"
     FFLAGS="$FFLAGS $enable_optimization"      FFLAGS="$FFLAGS $ABI $enable_optimization"
     FCFLAGS="$FCFLAGS $enable_optimization"      CXXFLAGS="$CXXFLAGS $ABI $enable_optimization"
       FCFLAGS="$FCFLAGS $ABI $enable_optimization"
 fi  fi
 else  else
   
     CFLAGS="$CFLAGS $OPTIMISATION_C"      CFLAGS="$CFLAGS $ABI $OPTIMISATION_C"
     FFLAGS="$FFLAGS $OPTIMISATION_F"      FFLAGS="$FFLAGS $ABI $OPTIMISATION_F"
     FCFLAGS="$FCFLAGS $OPTIMISATION_F"      CXXFLAGS="$CXXFLAGS $ABI $OPTIMISATION_CXX"
       FCFLAGS="$FCFLAGS $ABI $OPTIMISATION_F"
   
   
 fi  fi
Line 5918  else Line 6004  else
     IPCS_SYSV=yes      IPCS_SYSV=yes
 fi  fi
 else  else
   IPCS_SYSV=no    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX semaphores" >&5
   $as_echo_n "checking for POSIX semaphores... " >&6; }
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   #include <sys/mman.h>
   #include <sys/stat.h>
   #include <fcntl.h>
   
   int
   main ()
   {
    int fd; char *sem = "/sem.test";
   fd = shm_open(sem , O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
     close(fd);
     shm_unlink(sem);
     return(0);
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     IPCS_SYSV=-UIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   $as_echo "yes" >&6; }
   else
     IPCS_SYSV=-DIPCS_SYSV; { $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
   
 fi  fi
   
   
   if test "$IPCS_SYSV" = "-UIPCS_SYSV"; then
   REG=$LDFLAGS
   LDFLAGS=-pthread
   AC_MSG_CHECKING([for POSIX anonymous semaphores])
   AC_RUN_IFELSE(
   [AC_LANG_PROGRAM([#include <semaphore.h>
    ],
   [ sem_t sem;
    if (sem_init(&sem, 1, 0) != 0) return(1);
    sem_destroy(&sem);
     return(0);
   ])],
   [SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES; AC_MSG_RESULT(yes)],
   [SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES; AC_MSG_RESULT(no)],
       )
   LDFLAGS=$REG
   REG=""
   else
       SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
   fi
   
 # Check whether --enable-full-static was given.  # Check whether --enable-full-static was given.
 if test "${enable_full_static+set}" = set; then :  if test "${enable_full_static+set}" = set; then :
   enableval=$enable_full_static;    enableval=$enable_full_static;
Line 6017  fi Line 6154  fi
 fi  fi
   
   
   libX=""
   LIBMOTIF=""
   INCMOTIF=""
   BUILD_OPENMOTIF=""
   
 # Check whether --enable-motif was given.  # Check whether --enable-motif was given.
 if test "${enable_motif+set}" = set; then :  if test "${enable_motif+set}" = set; then :
   enableval=$enable_motif;    enableval=$enable_motif;
 if test "$enableval" = "no"; then  if test "$enableval" = "no"; then
     MOTIF_SUPPORT="-UMOTIF_SUPPORT"      MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 else  else
     CFLAGS_ORIG=$CFLAGS      MOTIF_SUPPORT="-DMOTIF_SUPPORT"
     LIBS_ORIG=$LIBS  fi
     CFLAGS="$CFLAGS $X_CFLAGS"  
     LIBS="$LIB $X_LIBS"  
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5  
 $as_echo_n "checking for main in -lXm... " >&6; }  
 if ${ac_cv_lib_Xm_main+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  else
   ac_check_lib_save_LIBS=$LIBS    if test "$have_x" == "yes"; then
 LIBS="-lXm  $LIBS"      MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
   
   
 int  
 main ()  
 {  
 return main ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 if ac_fn_c_try_link "$LINENO"; then :  
   ac_cv_lib_Xm_main=yes  
 else  else
   ac_cv_lib_Xm_main=no      MOTIF_SUPPORT="-UMOTIF_SUPPORT"
 fi  
 rm -f core conftest.err conftest.$ac_objext \  
     conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5  
 $as_echo "$ac_cv_lib_Xm_main" >&6; }  
 if test "x$ac_cv_lib_Xm_main" = xyes; then :  
   MOTIF_SUPPORT="-DMOTIF_SUPPORT"  
 else  
   MOTIF_SUPPORT="-UMOTIF_SUPPORT"  
 fi  fi
   
     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then  
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it.  
 Motif flag is disabled.  
 " >&5  
 $as_echo "$as_me: WARNING: Can not find Motif! You may install it.  
 Motif flag is disabled.  
 " >&2;}  
     fi  
     LIBS=$LIBS_ORIG  
     CFLAGS=$CFLAGS_ORIG  
 fi  
 else  
   MOTIF_SUPPORT=guessed  
 fi  
   
   if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
       libX="$X_LIBS -lXt -lX11"
       LIBMOTIF="\$(top_builddir)/tools/$OPENMOTIF/lib/Xm/.libs/libXm.a \
               \$(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"
       BUILD_OPENMOTIF="$LIBXPM $OPENMOTIF"
   
   
   subdirs="$subdirs tools/$LIBXPM"
   
       subdirs="$subdirs tools/$OPENMOTIF"
   
   fi
   
 # Check whether --enable-experimental was given.  # Check whether --enable-experimental was given.
 if test "${enable_experimental+set}" = set; then :  if test "${enable_experimental+set}" = set; then :
Line 6166  if test ! -d "$srcdir"/tools/$SQLITE; th Line 6279  if test ! -d "$srcdir"/tools/$SQLITE; th
     gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \      gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
             (cd "$srcdir/tools" && tar -xf -)              (cd "$srcdir/tools" && tar -xf -)
 fi  fi
   if test ! -d "$srcdir"/tools/$SIGSEGV; then
       gunzip -c "$srcdir"/tools/$SIGSEGV.tar.gz | \
               (cd "$srcdir/tools" && tar -xf -)
   fi
   if test ! -d "$srcdir"/tools/$OPENMOTIF; then
       gunzip -c "$srcdir"/tools/$OPENMOTIF.tar.gz | \
               (cd "$srcdir/tools" && tar -xf -)
   fi
   if test ! -d "$srcdir"/tools/$LIBXPM; then
       gunzip -c "$srcdir"/tools/$LIBXPM.tar.gz | \
               (cd "$srcdir/tools" && tar -xf -)
   fi
 if test ! -d tools/$OPENSSL; then  if test ! -d tools/$OPENSSL; then
     gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \      gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \
             (cd tools && tar -xf -)              (cd tools && tar -xf -)
Line 6844  else Line 6969  else
     fi      fi
 fi  fi
   
 if test "$MOTIF_SUPPORT" = guessed; then  
     CFLAGS_ORIG=$CFLAGS  
     LIBS_ORIG=$LIBS  
     CFLAGS="$CFLAGS $X_CFLAGS"  
     LIBS="$LIB $X_LIBS"  
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5  
 $as_echo_n "checking for main in -lXm... " >&6; }  
 if ${ac_cv_lib_Xm_main+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-lXm  $LIBS"  
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
   
   
 int  
 main ()  
 {  
 return main ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 if ac_fn_c_try_link "$LINENO"; then :  
   ac_cv_lib_Xm_main=yes  
 else  
   ac_cv_lib_Xm_main=no  
 fi  
 rm -f core conftest.err conftest.$ac_objext \  
     conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5  
 $as_echo "$ac_cv_lib_Xm_main" >&6; }  
 if test "x$ac_cv_lib_Xm_main" = xyes; then :  
   MOTIF_SUPPORT="-DMOTIF_SUPPORT"  
 else  
   MOTIF_SUPPORT="-UMOTIF_SUPPORT"  
 fi  
   
     if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then  
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it.  
 Motif flag is disabled.  
 " >&5  
 $as_echo "$as_me: WARNING: Cannot find Motif! You may install it.  
 Motif flag is disabled.  
 " >&2;}  
     fi  
     LIBS=$LIBS_ORIG  
     CFLAGS=$CFLAGS_ORIG  
 fi  
   
 if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then  
     CFLAGS_ORIG=$CFLAGS  
     LIBS_ORIG=$LIBS  
     CFLAGS="$CFLAGS $X_CFLAGS"  
     LIBS="$LIB $X_LIBS"  
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5  
 $as_echo_n "checking for main in -lXpm... " >&6; }  
 if ${ac_cv_lib_Xpm_main+:} false; then :  
   $as_echo_n "(cached) " >&6  
 else  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-lXpm  $LIBS"  
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
   
   
 int  
 main ()  
 {  
 return main ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 if ac_fn_c_try_link "$LINENO"; then :  
   ac_cv_lib_Xpm_main=yes  
 else  
   ac_cv_lib_Xpm_main=no  
 fi  
 rm -f core conftest.err conftest.$ac_objext \  
     conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5  
 $as_echo "$ac_cv_lib_Xpm_main" >&6; }  
 if test "x$ac_cv_lib_Xpm_main" = xyes; then :  
   MOTIF_SUPPORT="-DMOTIF_SUPPORT"  
 else  
   MOTIF_SUPPORT="-UMOTIF_SUPPORT"  
 fi  
   
     if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then  
         libX="$X_LIBS -lXm -lXpm -lXt -lX11"  
     else  
         libX=""  
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it.  
 Motif flag is disabled.  
 " >&5  
 $as_echo "$as_me: WARNING: Cannot find libXpm! You may install it.  
 Motif flag is disabled.  
 " >&2;}  
     fi  
     LIBS=$LIBS_ORIG  
     CFLAGS=$CFLAGS_ORIG  
 else  
     libX=""  
 fi  
   
   
   
   
Line 8954  cat >>confdefs.h <<_ACEOF Line 8968  cat >>confdefs.h <<_ACEOF
 _ACEOF  _ACEOF
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken siginfo->si_pid" >&5  
 $as_echo_n "checking for broken siginfo->si_pid... " >&6; }  
 if test "$cross_compiling" = yes; then :  
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5  
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 as_fn_error $? "cannot run test program while cross compiling  
 See \`config.log' for more details" "$LINENO" 5; }  
 else  
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 #include <unistd.h>  
 #include <signal.h>  
 int flag;  
 void handler(int signal, siginfo_t *siginfo, void *context)  
 { flag = ((*siginfo).si_pid == getpid()) ? 0 : 1; }  
 int  
 main ()  
 {  
 struct sigaction    action;  
 action.sa_sigaction = handler;  
 action.sa_flags = SA_SIGINFO;  
 sigaction(SIGUSR1, &action, NULL);  
 raise(SIGUSR1);  
 return(flag);  
   ;  
   return 0;  
 }  
 _ACEOF  
 if ac_fn_c_try_run "$LINENO"; then :  
   BROKEN_SIGINFO=-U_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5  
 $as_echo "no" >&6; }  
 else  
   BROKEN_SIGINFO=-D_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5  
 $as_echo "yes" >&6; }  
 fi  
 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \  
   conftest.$ac_objext conftest.beam conftest.$ac_ext  
 fi  
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
 $as_echo_n "checking for working strcoll... " >&6; }  $as_echo_n "checking for working strcoll... " >&6; }
 if ${ac_cv_func_strcoll_works+:} false; then :  if ${ac_cv_func_strcoll_works+:} false; then :
Line 9134  if test $(uname) = "OS/2"; then Line 9108  if test $(uname) = "OS/2"; then
     bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"      bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
 else  else
     if test "x$with_openssl_arch" = xnone; then      if test "x$with_openssl_arch" = xnone; then
         (cd tools/$OPENSSL && ./config)          (cd tools/$OPENSSL && ./config no-asm)
     elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then      elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then
         (cd tools/$OPENSSL && ./Configure)          (cd tools/$OPENSSL && ./Configure)
         as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5          as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5
Line 9142  else Line 9116  else
         (cd tools/$OPENSSL && ./Configure)          (cd tools/$OPENSSL && ./Configure)
         as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5          as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5
     else      else
         (cd tools/$OPENSSL && ./Configure $with_openssl_arch)          (cd tools/$OPENSSL && ./Configure no-asm $with_openssl_arch)
     fi      fi
 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 "$MYGNUPLOT" = "yes"; then
     if test ! -d "$srcdir"/tools/$GNUPLOT; then      if test ! -d "$srcdir"/tools/$GNUPLOT; then
         gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \          gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
Line 9179  fi Line 9134  fi
   
   
   
   HOST=$host
   
   
 case $host_cpu in  case $host_cpu in
   
     i?86)      i?86)
Line 9238  case $OS in Line 9196  case $OS in
     Darwin)      Darwin)
         EXPORT_DYNAMIC=-Wl,-flat_namespace          EXPORT_DYNAMIC=-Wl,-flat_namespace
         NESTED_FUNCTIONS=-fnested-functions          NESTED_FUNCTIONS=-fnested-functions
         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES  
         IPCS_SYSV=-UIPCS_SYSV  
         CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"          CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
         ac_configure_args="$ac_configure_args --with-readline=builtin \          ac_configure_args="$ac_configure_args --with-readline=builtin \
                 --disable-shared --enable-static --enable-threads"                  --disable-shared --enable-static --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
         C_STANDARD=-std=gnu99          C_STANDARD=-std=gnu99
           ELF=
     break ;;      break ;;
   
     Cygwin)      Cygwin)
         EXPORT_DYNAMIC=-Wl,--export-all-symbols          EXPORT_DYNAMIC=-Wl,--export-all-symbols
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES  
         IPCS_SYSV=-UIPCS_SYSV  
         ac_configure_args="$ac_configure_args --with-readline=builtin \          ac_configure_args="$ac_configure_args --with-readline=builtin \
                 --disable-shared --enable-static --enable-threads"                  --disable-shared --enable-static --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
         C_STANDARD=-std=gnu99          C_STANDARD=-std=gnu99
           ELF=
     break ;;      break ;;
   
     Interix)      Interix)
         EXPORT_DYNAMIC=-Wl,--export-all-symbols          EXPORT_DYNAMIC=-Wl,--export-all-symbols
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES  
         IPCS_SYSV=-UIPCS_SYSV  
         ac_configure_args="$ac_configure_args --with-readline=builtin \          ac_configure_args="$ac_configure_args --with-readline=builtin \
                 --disable-shared --enable-static --enable-threads"                  --disable-shared --enable-static --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
         C_STANDARD=-std=gnu99          C_STANDARD=-std=gnu99
           ELF=
     break;;      break;;
   
     AIX)      AIX)
         EXPORT_DYNAMIC=-Wl,--export-dynamic          EXPORT_DYNAMIC=-Wl,--export-dynamic
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES  
         IPCS_SYSV=-UIPCS_SYSV  
         ac_configure_args="$ac_configure_args --with-readline=builtin \          ac_configure_args="$ac_configure_args --with-readline=builtin \
                 --disable-shared --enable-static --enable-threads"                  --disable-shared --enable-static --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
         C_STANDARD=-std=gnu99          C_STANDARD=-std=gnu99
           ELF=
     break ;;      break ;;
   
     OS/2)      OS/2)
Line 9283  case $OS in Line 9249  case $OS in
         OS=OS2          OS=OS2
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         EXPORT_DYNAMIC=-Zmap          EXPORT_DYNAMIC=-Zmap
         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES  
         IPCS_SYSV=-DIPCS_SYSV  
         ac_configure_args="$ac_configure_args --without-readline \          ac_configure_args="$ac_configure_args --without-readline \
                 --without-cairo --disable-shared --enable-static \                  --without-cairo --disable-shared --enable-static \
                 --enable-threads"                  --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
         C_STANDARD=          C_STANDARD=
           ELF=
     break;;      break;;
   
     OpenBSD)      OpenBSD)
Line 9297  case $OS in Line 9265  case $OS in
         fi;          fi;
         EXPORT_DYNAMIC=-Wl,--export-dynamic          EXPORT_DYNAMIC=-Wl,--export-dynamic
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES  
         IPCS_SYSV=-DIPCS_SYSV  
         ac_configure_args="$ac_configure_args --with-readline=builtin \          ac_configure_args="$ac_configure_args --with-readline=builtin \
                 --disable-shared --enable-static --enable-threads"                  --disable-shared --enable-static --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
         C_STANDARD=-std=gnu99          C_STANDARD=-std=gnu99
           ELF=
     break;;      break;;
   
     SunOS)      SunOS)
         EXPORT_DYNAMIC=-Wl,--export-dynamic          EXPORT_DYNAMIC=-Wl,--export-dynamic
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES  
   
         if test $IPCS_SYSV = no; then  
             IPCS_SYSV=-UIPCS_SYSV  
         else  
             IPCS_SYSV=-DIPCS_SYSV  
         fi  
   
         ac_configure_args="$ac_configure_args --with-readline=builtin \          ac_configure_args="$ac_configure_args --with-readline=builtin \
                 --disable-shared --enable-static --enable-threads"                  --disable-shared --enable-static --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
         C_STANDARD=-std=gnu99          C_STANDARD=-std=gnu99
         MALLOC=-lumem          MALLOC=-lumem
           ELF=
     break ;;      break ;;
   
     *)      NetBSD)
         EXPORT_DYNAMIC=-Wl,--export-dynamic          EXPORT_DYNAMIC=-Wl,--export-dynamic
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES  
   
         if test $IPCS_SYSV = no; then          ac_configure_args="$ac_configure_args --with-readline=builtin \
             IPCS_SYSV=-UIPCS_SYSV                  --disable-shared --enable-static --enable-threads \
         else                  CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
             IPCS_SYSV=-DIPCS_SYSV                  FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
         fi                  LDFLAGS=\"$LDFLAGS\""
           C_STANDARD=-std=gnu99
           GCCBIN=`which gcc`
           GCCLIB=`dirname $GCCBIN`/../lib
           ELF="-Wl,-R/usr/pkg/lib -Wl,-R$GCCLIB"
       break ;;
   
       *)
           EXPORT_DYNAMIC=-Wl,--export-dynamic
           NESTED_FUNCTIONS=
   
         ac_configure_args="$ac_configure_args --with-readline=builtin \          ac_configure_args="$ac_configure_args --with-readline=builtin \
                 --disable-shared --enable-static --enable-threads"                  --disable-shared --enable-static --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
         C_STANDARD=-std=gnu99          C_STANDARD=-std=gnu99
           ELF=
     break ;;      break ;;
   
 esac  esac
Line 9376  esac Line 9355  esac
   
   
   
   
   
   
   
   
   
   
   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"
   
   subdirs="$subdirs tools/$SIGSEGV"
   
   
 ac_config_files="$ac_config_files Makefile"  ac_config_files="$ac_config_files Makefile"
   
 ac_config_files="$ac_config_files COPYING"  ac_config_files="$ac_config_files COPYING"
Line 9972  cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri Line 9977  cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
 # report actual input values of CONFIG_FILES etc. instead of their  # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.  # values after options handling.
 ac_log="  ac_log="
 This file was extended by rpl $as_me 4.1.0, which was  This file was extended by rpl $as_me 4.1.3, which was
 generated by GNU Autoconf 2.68.  Invocation command line was  generated by GNU Autoconf 2.68.  Invocation command line was
   
   CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
Line 10038  _ACEOF Line 10043  _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\  ac_cs_version="\\
 rpl config.status 4.1.0  rpl config.status 4.1.3
 configured by $0, generated by GNU Autoconf 2.68,  configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"    with options \\"\$ac_cs_config\\"
   

Removed from v.1.65  
changed lines
  Added in v.1.82


CVSweb interface <joel.bertrand@systella.fr>