Diff for /rpl/Attic/configure between versions 1.19 and 1.35

version 1.19, 2010/04/21 13:45:07 version 1.35, 2010/08/15 14:46:23
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.65 for rpl 4.0.15.  # Generated by GNU Autoconf 2.65 for rpl 4.0.18.
 #  #
 #  #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
Line 549  MAKEFLAGS= Line 549  MAKEFLAGS=
 # Identity of this package.  # Identity of this package.
 PACKAGE_NAME='rpl'  PACKAGE_NAME='rpl'
 PACKAGE_TARNAME='rpl'  PACKAGE_TARNAME='rpl'
 PACKAGE_VERSION='4.0.15'  PACKAGE_VERSION='4.0.18'
 PACKAGE_STRING='rpl 4.0.15'  PACKAGE_STRING='rpl 4.0.18'
 PACKAGE_BUGREPORT=''  PACKAGE_BUGREPORT=''
 PACKAGE_URL=''  PACKAGE_URL=''
   
Line 596  ac_subst_vars='am__EXEEXT_FALSE Line 596  ac_subst_vars='am__EXEEXT_FALSE
 am__EXEEXT_TRUE  am__EXEEXT_TRUE
 LTLIBOBJS  LTLIBOBJS
 LIBOBJS  LIBOBJS
   EXT_SQL
   MALLOC
 DATE_FR  DATE_FR
 FINAL_ENCODING  FINAL_ENCODING
 OPENSSL  OPENSSL
Line 608  GSL Line 610  GSL
 UNITS  UNITS
 READLINE  READLINE
 NCURSES  NCURSES
   BROKEN_SIGINFO
   IPV6
   SEMUN
   SEMAPHORES_SYSV
 SEMAPHORES_NOMMES  SEMAPHORES_NOMMES
 NESTED_FUNCTIONS  NESTED_FUNCTIONS
 EXPORT_DYNAMIC  EXPORT_DYNAMIC
 LIBMTMALLOC  C_STANDARD
 OS  OS
 GNUPLOT_COMPILATION  GNUPLOT_COMPILATION
 subdirs  subdirs
Line 758  enable_option_checking Line 764  enable_option_checking
 enable_dependency_tracking  enable_dependency_tracking
 with_x  with_x
 enable_optimization  enable_optimization
   enable_full_static
 enable_final_encoding  enable_final_encoding
 enable_tex  enable_tex
 enable_vim  enable_vim
Line 1338  if test "$ac_init_help" = "long"; then Line 1345  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.0.15 to adapt to many kinds of systems.  \`configure' configures rpl 4.0.18 to adapt to many kinds of systems.
   
 Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
   
Line 1413  fi Line 1420  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.0.15:";;       short | recursive ) echo "Configuration of rpl 4.0.18:";;
    esac     esac
   cat <<\_ACEOF    cat <<\_ACEOF
   
Line 1424  Optional Features: Line 1431  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-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]
   --enable-vim            provide the vim support [default=guessed]    --enable-vim            provide the vim support [default=guessed]
Line 1526  fi Line 1534  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.0.15  rpl configure 4.0.18
 generated by GNU Autoconf 2.65  generated by GNU Autoconf 2.65
   
 Copyright (C) 2009 Free Software Foundation, Inc.  Copyright (C) 2009 Free Software Foundation, Inc.
Line 1842  $as_echo "$ac_res" >&6; } Line 1850  $as_echo "$ac_res" >&6; }
   
 } # ac_fn_c_check_func  } # ac_fn_c_check_func
   
   # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   # -------------------------------------------
   # Tests whether TYPE exists after having included INCLUDES, setting cache
   # variable VAR accordingly.
   ac_fn_c_check_type ()
   {
     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   $as_echo_n "checking for $2... " >&6; }
   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     $as_echo_n "(cached) " >&6
   else
     eval "$3=no"
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   $4
   int
   main ()
   {
   if (sizeof ($2))
        return 0;
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   $4
   int
   main ()
   {
   if (sizeof (($2)))
           return 0;
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
   
   else
     eval "$3=yes"
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   fi
   eval ac_res=\$$3
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   $as_echo "$ac_res" >&6; }
     eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   
   } # ac_fn_c_check_type
   
 # ac_fn_c_try_run LINENO  # ac_fn_c_try_run LINENO
 # ----------------------  # ----------------------
 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes  # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
Line 2179  fi Line 2241  fi
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   
 } # ac_fn_c_check_header_mongrel  } # ac_fn_c_check_header_mongrel
   
 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES  
 # -------------------------------------------  
 # Tests whether TYPE exists after having included INCLUDES, setting cache  
 # variable VAR accordingly.  
 ac_fn_c_check_type ()  
 {  
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack  
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5  
 $as_echo_n "checking for $2... " >&6; }  
 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :  
   $as_echo_n "(cached) " >&6  
 else  
   eval "$3=no"  
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 $4  
 int  
 main ()  
 {  
 if (sizeof ($2))  
      return 0;  
   ;  
   return 0;  
 }  
 _ACEOF  
 if ac_fn_c_try_compile "$LINENO"; then :  
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 $4  
 int  
 main ()  
 {  
 if (sizeof (($2)))  
         return 0;  
   ;  
   return 0;  
 }  
 _ACEOF  
 if ac_fn_c_try_compile "$LINENO"; then :  
   
 else  
   eval "$3=yes"  
 fi  
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  
 fi  
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  
 fi  
 eval ac_res=\$$3  
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5  
 $as_echo "$ac_res" >&6; }  
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  
   
 } # ac_fn_c_check_type  
 cat >config.log <<_ACEOF  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.0.15, which was  It was created by rpl $as_me 4.0.18, which was
 generated by GNU Autoconf 2.65.  Invocation command line was  generated by GNU Autoconf 2.65.  Invocation command line was
   
   $ $0 $@    $ $0 $@
Line 3156  fi Line 3164  fi
   
 # Define the identity of the package.  # Define the identity of the package.
  PACKAGE='rpl'   PACKAGE='rpl'
  VERSION='4.0.15'   VERSION='4.0.18'
   
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
Line 3200  am__tar='${AMTAR} chof - "$$tardir"'; am Line 3208  am__tar='${AMTAR} chof - "$$tardir"'; am
 ac_config_headers="$ac_config_headers rplconfig.h"  ac_config_headers="$ac_config_headers rplconfig.h"
   
   
 NCURSES=ncurses-5.7-20100206  NCURSES=ncurses-5.7-20100619
 READLINE=readline-6.1  READLINE=readline-6.1
 UNITS=units-1.87  UNITS=units-1.88
 GSL=gsl-1.14  GSL=gsl-1.14
 GPP=gpp-2.24  GPP=gpp-2.24
 GNUPLOT=gnuplot-4.4.0  GNUPLOT=gnuplot-4.4.0
 FILE=file-5.03  FILE=file-5.03
 ICONV=libiconv-1.13.1  ICONV=libiconv-1.13.1
 SQLITE=sqlite-3.6.23.1  SQLITE=sqlite-3.7.0.1
 OPENSSL=openssl-1.0.0  OPENSSL=openssl-1.0.0a
   
 ac_ext=c  ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
Line 3217  ac_compile='$CC -c $CFLAGS $CPPFLAGS con Line 3225  ac_compile='$CC -c $CFLAGS $CPPFLAGS con
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
 if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
   for ac_prog in gcc-4.4 gcc    for ac_prog in gcc
   do    do
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
Line 3261  fi Line 3269  fi
 fi  fi
 if test -z "$CC"; then  if test -z "$CC"; then
   ac_ct_CC=$CC    ac_ct_CC=$CC
   for ac_prog in gcc-4.4 gcc    for ac_prog in gcc
 do  do
   # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
Line 4000  fi Line 4008  fi
   
   
   
   EXT_SQL=
   
 if test x"$CC" != x""; then  if test x"$CC" != x""; then
     GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \      GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
             awk -F. '{ printf("%s", $1);}'`              awk -F. '{ printf("%s", $1);}'`
     GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \      GCC_VERSION_MINEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
             awk -F. '{ printf("%s", $2);}'`              awk -F. '{ printf("%s", $2);}'`
     if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then      if test $GCC_VERSION_MAJEURE -ge 5; then
         OPTIMISATION_C=-O3          OPTIMISATION_C=-O3
     else      else
         if test $GCC_VERSION_MAJEURE -ge 5; then          if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; \
                   then
             OPTIMISATION_C=-O3              OPTIMISATION_C=-O3
         else          else
             OPTIMISATION_C=-O2              if test $GCC_VERSION_MAJEURE -ge 2; then
                   OPTIMISATION_C=-O2
               else
                   as_fn_error "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
               fi
         fi          fi
     fi      fi
 fi  fi
Line 4157  if test -z "$CXX"; then Line 4172  if test -z "$CXX"; then
     CXX=$CCC      CXX=$CCC
   else    else
     if test -n "$ac_tool_prefix"; then      if test -n "$ac_tool_prefix"; then
   for ac_prog in g++-4.4 g++    for ac_prog in g++
   do    do
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
Line 4201  fi Line 4216  fi
 fi  fi
 if test -z "$CXX"; then  if test -z "$CXX"; then
   ac_ct_CXX=$CXX    ac_ct_CXX=$CXX
   for ac_prog in g++-4.4 g++    for ac_prog in g++
 do  do
   # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
Line 4541  ac_compile='$F77 -c $FFLAGS conftest.$ac Line 4556  ac_compile='$F77 -c $FFLAGS conftest.$ac
 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'
 ac_compiler_gnu=$ac_cv_f77_compiler_gnu  ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
   for ac_prog in gfortran-4.4 gfortran    for ac_prog in gfortran
   do    do
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
Line 4585  fi Line 4600  fi
 fi  fi
 if test -z "$F77"; then  if test -z "$F77"; then
   ac_ct_F77=$F77    ac_ct_F77=$F77
   for ac_prog in gfortran-4.4 gfortran    for ac_prog in gfortran
 do  do
   # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
Line 4757  ac_compile='$FC -c $FCFLAGS $ac_fcflags_ Line 4772  ac_compile='$FC -c $FCFLAGS $ac_fcflags_
 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'  ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_fc_compiler_gnu  ac_compiler_gnu=$ac_cv_fc_compiler_gnu
 if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
   for ac_prog in gfortran-4.4 gfortran    for ac_prog in gfortran
   do    do
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
Line 4801  fi Line 4816  fi
 fi  fi
 if test -z "$FC"; then  if test -z "$FC"; then
   ac_ct_FC=$FC    ac_ct_FC=$FC
   for ac_prog in gfortran-4.4 gfortran    for ac_prog in gfortran
 do  do
   # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
Line 4968  if test x"$FC" != x""; then Line 4983  if test x"$FC" != x""; then
             awk -F. '{ printf("%s", $1);}'`              awk -F. '{ printf("%s", $1);}'`
     GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \      GCC_VERSION_MINEURE=`$FC -v 2>&1 | awk '/^gcc/ { print $3; }' | \
             awk -F. '{ printf("%s", $2);}'`              awk -F. '{ printf("%s", $2);}'`
     if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then      if test $GCC_VERSION_MAJEURE -ge 5; then
         OPTIMISATION_F=-O3          OPTIMISATION_F=-O3
     else      else
         if test $GCC_VERSION_MAJEURE -ge 5; then          if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then
             OPTIMISATION_F=-O3              OPTIMISATION_F=-O3
         else          else
             OPTIMISATION_F=-O2              if test $GCC_VERSION_MAJEURE -ge 3; then
                   OPTIMISATION_F=-O2
               else
                   as_fn_error "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
               fi
         fi          fi
     fi      fi
 fi  fi
Line 5837  else Line 5856  else
 fi  fi
   
   
   # Check whether --enable-full-static was given.
   if test "${enable_full_static+set}" = set; then :
     enableval=$enable_full_static;
   if test "$enableval" = "no"; then
       STATIC=no
   else
       STATIC=yes
   fi
   else
     STATIC=no
   fi
   
   
 # Check whether --enable-final-encoding was given.  # Check whether --enable-final-encoding was given.
 if test "${enable_final_encoding+set}" = set; then :  if test "${enable_final_encoding+set}" = set; then :
   enableval=$enable_final_encoding;    enableval=$enable_final_encoding;
 if test "$enableval" = "no"; then  if test "$enableval" = "no"; then
     FINAL_ENCODING="\$(shell locale charmap | \      FINAL_ENCODING="\$(shell locale charmap | \
         \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"          \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
       FORCED_FINAL_ENCODING=0
 else  else
     FINAL_ENCODING="$enable_final_encoding"      FINAL_ENCODING="$enable_final_encoding"
       FORCED_FINAL_ENCODING=1
 fi  fi
 else  else
   FINAL_ENCODING="\$(shell locale charmap | \  
   FORCED_FINAL_ENCODING=0
   FINAL_ENCODING="\$(shell locale charmap | \
     \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"      \$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')"
 fi  fi
   
Line 5994  fi Line 6030  fi
 if test "${enable_debug+set}" = set; then :  if test "${enable_debug+set}" = set; then :
   enableval=$enable_debug;    enableval=$enable_debug;
 if test "$enableval" = "no"; then  if test "$enableval" = "no"; then
     DEBUG=""      DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
       MALLOC="\$(top_builddir)/ptmalloc3/libptmalloc3.a"
 else  else
     DEBUG="-DDEBUG_MEMOIRE"      DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
       MALLOC=""
 fi  fi
 else  else
   DEBUG=""    DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
       MALLOC="\$(top_builddir)/ptmalloc3/libptmalloc3.a"
 fi  fi
   
   
Line 6036  fi Line 6075  fi
 if test ! -d "$srcdir"/tools/$GSL; then  if test ! -d "$srcdir"/tools/$GSL; then
     gunzip -c "$srcdir"/tools/$GSL.tar.gz | \      gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
             (cd "$srcdir/tools" && tar -xf -)              (cd "$srcdir/tools" && tar -xf -)
       if test $(uname) = "OS/2"; then
           (cd "$srcdir"/tools/$GSL; \
                   TMP=$(mktemp tmp.XXXXXXXXXX); \
                   sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
                   \mv -f $TMP ltmain.sh)
       fi
 fi  fi
 if test ! -d "$srcdir"/tools/$GPP; then  if test ! -d "$srcdir"/tools/$GPP; then
     gunzip -c "$srcdir"/tools/$GPP.tar.gz | \      gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
Line 6053  fi Line 6098  fi
 if test ! -d "$srcdir"/tools/$SQLITE; then  if test ! -d "$srcdir"/tools/$SQLITE; then
     gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \      gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \
             (cd "$srcdir/tools" && tar -xf -)              (cd "$srcdir/tools" && tar -xf -)
       (cd "$srcdir/tools"/$SQLITE && gunzip -c ../$SQLITE.diff.gz | patch -p1)
 fi  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 | \
Line 6872  else Line 6918  else
 fi  fi
   
   
   ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
   #include <sys/sem.h>
   
   "
   if test "x$ac_cv_type_union_semun" = x""yes; then :
     SEMUN=-DUNION_SEMUN
   else
     SEMUN=-UUNION_SEMUN
   fi
   
   
   ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
   #include <sys/types.h>
   #include <netinet/in.h>
   
   "
   if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
     IPV6=-DIPV6
   else
     IPV6=-UIPV6
   fi
   
   
 if test "$CYGWIN" != yes; then  if test "$CYGWIN" != yes; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 $as_echo_n "checking for dlopen in -ldl... " >&6; }  $as_echo_n "checking for dlopen in -ldl... " >&6; }
Line 7018  fi Line 7087  fi
   
 if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then  if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then
     libMySQLinc="-I/usr/include"      libMySQLinc="-I/usr/include"
     libMySQLlib="-L/usr/lib"      libMySQLlib="/usr/lib"
   
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5
 $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }  $as_echo_n "checking for libmysql includes in /usr/include... " >&6; }
     saved_CFLAGS="$CFLAGS"      saved_CFLAGS="$CFLAGS"
     CFLAGS="$CFLAGS $libMySQLinc"      CFLAGS="$CFLAGS -L/$libMySQLinc"
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
 #include "mysql.h"  #include "mysql.h"
Line 7137  rm -f core conftest.err conftest.$ac_obj Line 7206  rm -f core conftest.err conftest.$ac_obj
 else  else
     if test "x$with_mysql" != xno; then      if test "x$with_mysql" != xno; then
         libMySQLinc="-I$with_mysql/include"          libMySQLinc="-I$with_mysql/include"
         libMySQLlib="-L$with_mysql/lib"          libMySQLlib="$with_mysql/lib"
   
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5
 $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }  $as_echo_n "checking for libmysql includes in $with_mysql... " >&6; }
Line 7205  if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPP Line 7274  if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPP
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5
 $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }  $as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; }
         saved_LIBS="$LIBS"          saved_LIBS="$LIBS"
         LIBS="$LIBS $libMySQLlib $libMySQLinc -lmysqlclient_r"          if test $STATIC = no; then
               LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc"
           else
               LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc"
           fi
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
 #include "mysql.h"  #include "mysql.h"
Line 7227  fi Line 7300  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext      conftest$ac_exeext conftest.$ac_ext
         LIBS=$saved_LIBS;          LIBS=$saved_LIBS;
         libMySQLlib="$libMySQLlib -lmysqlclient_r"          if test $STATIC = no; then
               libMySQLlib="-L/$libMySQLlib -lmysqlclient_r"
           else
               libMySQLlib="$libMySQLlib/libmysqlclient_r.a"
               EXT_SQL="$EXT_SQL $libMySQLlib"
           fi
     fi      fi
   
     if test $MYSQL_LIB = no; then      if test $MYSQL_LIB = no; then
Line 7259  fi Line 7337  fi
   
 if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then  if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then
     libPgSQLinc="-I/usr/include"      libPgSQLinc="-I/usr/include"
     libPgSQLlib="-L/usr/lib"      libPgSQLlib="/usr/lib"
   
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5
 $as_echo_n "checking for libpq includes in /usr/include... " >&6; }  $as_echo_n "checking for libpq includes in /usr/include... " >&6; }
Line 7441  rm -f core conftest.err conftest.$ac_obj Line 7519  rm -f core conftest.err conftest.$ac_obj
 else  else
     if test "x$with_postgresql" != xno; then      if test "x$with_postgresql" != xno; then
         libPgSQLinc="-I$with_postgresql/include"          libPgSQLinc="-I$with_postgresql/include"
         libPgSQLlib="-L$with_postgresql/lib"          libPgSQLlib="$with_postgresql/lib"
   
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5
 $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }  $as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; }
Line 7541  if test "$POSTGRESQL_SUPPORT" = "-DPOSTG Line 7619  if test "$POSTGRESQL_SUPPORT" = "-DPOSTG
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5
 $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }  $as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; }
         saved_LIBS="$LIBS"          saved_LIBS="$LIBS"
         LIBS="$LIBS $libPgSQLlib $libPgSQLinc -lpq"          if test $STATIC = no; then
               LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq"
           else
               LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc"
           fi
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
 #include "libpq-fe.h"  #include "libpq-fe.h"
Line 7564  fi Line 7646  fi
 rm -f core conftest.err conftest.$ac_objext \  rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext      conftest$ac_exeext conftest.$ac_ext
         LIBS=$saved_LIBS;          LIBS=$saved_LIBS;
         libPgSQLlib="$libPgSQLlib -lpq"          if test $STATIC = no; then
               libPgSQLlib="-L/$libPgSQLlib -lpq"
           else
               libPgSQLlib="$libPgSQLlib/libpq.a"
               EXT_SQL="$EXT_SQL $libPgSQLlib"
           fi
     fi      fi
 fi  fi
   
Line 8709  cat >>confdefs.h <<_ACEOF Line 8796  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 test "${ac_cv_func_strcoll_works+set}" = set; then :  if test "${ac_cv_func_strcoll_works+set}" = set; then :
Line 8837  fi Line 8964  fi
 done  done
   
   
 ac_configure_args="$ac_configure_args --with-readline=builtin --disable-shared --enable-static"  
   # 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 $(uname) = "OS/2"; then
       bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
   else
       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
   fi
   
   
   
Line 8858  subdirs="$subdirs tools/$SQLITE" Line 9008  subdirs="$subdirs tools/$SQLITE"
 subdirs="$subdirs tools/$UNITS"  subdirs="$subdirs tools/$UNITS"
   
   
   
 # 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 "$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 8946  esac Line 9075  esac
 DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')  DATE_FR=$(env LC_ALL=fr_FR date +'%A %x, %X %Z')
 DATE=$(env LC_ALL=C date +'%A %x, %X %Z')  DATE=$(env LC_ALL=C date +'%A %x, %X %Z')
   
 if test $(uname) = "SunOS"; then  case $OS in
     LIBMTMALLOC=-lmtmalloc  
 else  
     LIBMTMALLOC=  
 fi  
   
 case $(OS) in  
   
     Darwin)      Darwin)
         EXPORT_DYNAMIC=-flat_namespace          EXPORT_DYNAMIC=-Wl,-flat_namespace
         NESTED_FUNCTIONS=-fnested-functions          NESTED_FUNCTIONS=-fnested-functions
         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES          SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
           SEMAPHORES_SYSV=-USEMAPHORES_SYSV
           CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
           ac_configure_args="$ac_configure_args --with-readline=builtin \
                   --disable-shared --enable-static"
           C_STANDARD=-std=gnu99
     break ;;      break ;;
   
     Cygwin)      Cygwin)
         EXPORT_DYNAMIC=--export-all-symbols          EXPORT_DYNAMIC=-Wl,--export-all-symbols
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES          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 ;;      break ;;
   
     AIX)      Interix)
         EXPORT_DYNAMIC=--export-dynamic          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=          NESTED_FUNCTIONS=
         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES          SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
           SEMAPHORES_SYSV=-USEMAPHORES_SYSV
           ac_configure_args="$ac_configure_args --with-readline=builtin \
                   --disable-shared --enable-static"
           C_STANDARD=-std=gnu99
     break ;;      break ;;
   
       OS/2)
           MALLOC=
           if test FORCED_FINAL_ENCODING -eq 0; then \
               FINAL_ENCODING=CP850; \
           fi;
           OS=OS2
           NESTED_FUNCTIONS=
           EXPORT_DYNAMIC=-Zmap
           SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
           SEMAPHORES_SYSV=-DSEMAPHORES_SYSV
           ac_configure_args="$ac_configure_args --without-readline \
                   --without-cairo --disable-shared --enable-static"
           C_STANDARD=
       break;;
   
       OpenBSD)
           if test FORCED_FINAL_ENCODING -eq 0; then \
               FINAL_ENCODING=UTF-8; \
           fi;
           EXPORT_DYNAMIC=-Wl,--export-dynamic
           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;;
   
     *)      *)
         EXPORT_DYNAMIC=--export-dynamic          EXPORT_DYNAMIC=-Wl,--export-dynamic
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES          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 ;;      break ;;
   
 esac  esac
Line 9004  esac Line 9182  esac
   
   
   
   
   
   
   
   
   
 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 9036  ac_config_files="$ac_config_files lapack Line 9220  ac_config_files="$ac_config_files lapack
   
 ac_config_files="$ac_config_files lapack/blas/Makefile"  ac_config_files="$ac_config_files lapack/blas/Makefile"
   
   ac_config_files="$ac_config_files ptmalloc3/Makefile"
   
   
 ac_config_files="$ac_config_files man/rpl.1"  ac_config_files="$ac_config_files man/rpl.1"
   
Line 9583  cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri Line 9769  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.0.15, which was  This file was extended by rpl $as_me 4.0.18, which was
 generated by GNU Autoconf 2.65.  Invocation command line was  generated by GNU Autoconf 2.65.  Invocation command line was
   
   CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
Line 9649  _ACEOF Line 9835  _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.0.15  rpl config.status 4.0.18
 configured by $0, generated by GNU Autoconf 2.65,  configured by $0, generated by GNU Autoconf 2.65,
   with options \\"\$ac_cs_config\\"    with options \\"\$ac_cs_config\\"
   
Line 9790  do Line 9976  do
     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;      "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
     "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;      "lapack/lapack/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/lapack/Makefile" ;;
     "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;      "lapack/blas/Makefile") CONFIG_FILES="$CONFIG_FILES lapack/blas/Makefile" ;;
       "ptmalloc3/Makefile") CONFIG_FILES="$CONFIG_FILES ptmalloc3/Makefile" ;;
     "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;      "man/rpl.1") CONFIG_FILES="$CONFIG_FILES man/rpl.1" ;;
     "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;      "man/rplcc.1") CONFIG_FILES="$CONFIG_FILES man/rplcc.1" ;;
     "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;      "man/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/rpllink.1" ;;

Removed from v.1.19  
changed lines
  Added in v.1.35


CVSweb interface <joel.bertrand@systella.fr>