Diff for /rpl/Attic/configure between versions 1.26 and 1.104

version 1.26, 2010/06/20 17:06:25 version 1.104, 2012/01/30 09:25:12
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.16.  # Generated by GNU Autoconf 2.67 for rpl 4.1.6.
 #  #
 #  #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,  # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 # Inc.  # Foundation, Inc.
 #  #
 #  #
 # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
Line 316  $as_echo X"$as_dir" | Line 316  $as_echo X"$as_dir" |
       test -d "$as_dir" && break        test -d "$as_dir" && break
     done      done
     test -z "$as_dirs" || eval "mkdir $as_dirs"      test -z "$as_dirs" || eval "mkdir $as_dirs"
   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"    } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   
   
 } # as_fn_mkdir_p  } # as_fn_mkdir_p
Line 356  else Line 356  else
 fi # as_fn_arith  fi # as_fn_arith
   
   
 # as_fn_error ERROR [LINENO LOG_FD]  # as_fn_error STATUS ERROR [LINENO LOG_FD]
 # ---------------------------------  # ----------------------------------------
 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are  # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the  # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 # script with status $?, using 1 if that was 0.  # script with STATUS, using 1 if that was 0.
 as_fn_error ()  as_fn_error ()
 {  {
   as_status=$?; test $as_status -eq 0 && as_status=1    as_status=$1; test $as_status -eq 0 && as_status=1
   if test "$3"; then    if test "$4"; then
     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack      as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3      $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   fi    fi
   $as_echo "$as_me: error: $1" >&2    $as_echo "$as_me: error: $2" >&2
   as_fn_exit $as_status    as_fn_exit $as_status
 } # as_fn_error  } # as_fn_error
   
Line 530  test -n "$DJDIR" || exec 7<&0 </dev/null Line 530  test -n "$DJDIR" || exec 7<&0 </dev/null
 exec 6>&1  exec 6>&1
   
 # Name of the host.  # Name of the host.
 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,  # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 # so uname gets run too.  # so uname gets run too.
 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`  ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   
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.16'  PACKAGE_VERSION='4.1.6'
 PACKAGE_STRING='rpl 4.0.16'  PACKAGE_STRING='rpl 4.1.6'
 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 591  ac_includes_default="\ Line 592  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
   DEBVIM
   DEBMYSQL
   DEBPQ
   LIBMOTIF
   INCMOTIF
   GIAC
   PARI
   COCOA
   NTL
   MPFR
   GMP
 MALLOC  MALLOC
   EXT_SQL
 DATE_FR  DATE_FR
 FINAL_ENCODING  FINAL_ENCODING
   SIGSEGV
   BUILD_OPENMOTIF
   OPENMOTIF
   LIBXPM
 OPENSSL  OPENSSL
 SQLITE  SQLITE
 ICONV  ICONV
Line 609  GSL Line 625  GSL
 UNITS  UNITS
 READLINE  READLINE
 NCURSES  NCURSES
   ARCH
   ELF
   BSH_PATH
   IPV6
   SEMUN
   IPCS_SYSV
 SEMAPHORES_NOMMES  SEMAPHORES_NOMMES
 NESTED_FUNCTIONS  NESTED_FUNCTIONS
 EXPORT_DYNAMIC  EXPORT_DYNAMIC
   C_STANDARD
   LIB_PREFIX
   WHOLE_LIB2
   WHOLE_LIB1
 OS  OS
   HOST
 GNUPLOT_COMPILATION  GNUPLOT_COMPILATION
 subdirs  
 EGREP  EGREP
 GREP  GREP
 libPgSQLlib  libPgSQLlib
Line 645  RANLIB Line 671  RANLIB
 LN_S  LN_S
 RUNPATH  RUNPATH
 PROFILAGE  PROFILAGE
   subdirs
   PSELECT
   SHARED_MEMORY
   LIBRPLCAS
   RPLCAS
   ABI
   RPLTOOLS
 X_EXTRA_LIBS  X_EXTRA_LIBS
 X_LIBS  X_LIBS
 X_PRE_LIBS  X_PRE_LIBS
Line 679  CPPFLAGS Line 712  CPPFLAGS
 LDFLAGS  LDFLAGS
 CFLAGS  CFLAGS
 CC  CC
   AM_BACKSLASH
   AM_DEFAULT_VERBOSITY
 am__untar  am__untar
 am__tar  am__tar
 AMTAR  AMTAR
Line 755  SHELL' Line 790  SHELL'
 ac_subst_files=''  ac_subst_files=''
 ac_user_opts='  ac_user_opts='
 enable_option_checking  enable_option_checking
   enable_silent_rules
 enable_dependency_tracking  enable_dependency_tracking
 with_x  with_x
   with_32bits_abi
   with_64bits_abi
   enable_recursive
   with_rpltools
   enable_rplcas
 enable_optimization  enable_optimization
   enable_sysv_ipcs
   enable_full_static
 enable_final_encoding  enable_final_encoding
 enable_tex  enable_tex
 enable_vim  enable_vim
Line 770  enable_profile Line 813  enable_profile
 enable_final_run_path  enable_final_run_path
 with_mysql  with_mysql
 with_postgresql  with_postgresql
   with_bourne_shell
 with_openssl_arch  with_openssl_arch
 '  '
       ac_precious_vars='build_alias        ac_precious_vars='build_alias
Line 789  FC Line 833  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 797  tools/$FILE Line 844  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 859  do Line 906  do
   fi    fi
   
   case $ac_option in    case $ac_option in
   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;    *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   *)    ac_optarg=yes ;;    *=)   ac_optarg= ;;
     *)    ac_optarg=yes ;;
   esac    esac
   
   # Accept the important Cygnus configure options, so we can diagnose typos.    # Accept the important Cygnus configure options, so we can diagnose typos.
Line 905  do Line 953  do
     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
       as_fn_error "invalid feature name: $ac_useropt"        as_fn_error $? "invalid feature name: $ac_useropt"
     ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in      case $ac_user_opts in
Line 931  do Line 979  do
     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
       as_fn_error "invalid feature name: $ac_useropt"        as_fn_error $? "invalid feature name: $ac_useropt"
     ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in      case $ac_user_opts in
Line 1135  do Line 1183  do
     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
       as_fn_error "invalid package name: $ac_useropt"        as_fn_error $? "invalid package name: $ac_useropt"
     ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in      case $ac_user_opts in
Line 1151  do Line 1199  do
     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
       as_fn_error "invalid package name: $ac_useropt"        as_fn_error $? "invalid package name: $ac_useropt"
     ac_useropt_orig=$ac_useropt      ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in      case $ac_user_opts in
Line 1181  do Line 1229  do
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
     x_libraries=$ac_optarg ;;      x_libraries=$ac_optarg ;;
   
   -*) as_fn_error "unrecognized option: \`$ac_option'    -*) as_fn_error $? "unrecognized option: \`$ac_option'
 Try \`$0 --help' for more information."  Try \`$0 --help' for more information"
     ;;      ;;
   
   *=*)    *=*)
Line 1190  Try \`$0 --help' for more information." Line 1238  Try \`$0 --help' for more information."
     # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
     case $ac_envvar in #(      case $ac_envvar in #(
       '' | [0-9]* | *[!_$as_cr_alnum]* )        '' | [0-9]* | *[!_$as_cr_alnum]* )
       as_fn_error "invalid variable name: \`$ac_envvar'" ;;        as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     esac      esac
     eval $ac_envvar=\$ac_optarg      eval $ac_envvar=\$ac_optarg
     export $ac_envvar ;;      export $ac_envvar ;;
Line 1208  done Line 1256  done
   
 if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
   ac_option=--`echo $ac_prev | sed 's/_/-/g'`    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   as_fn_error "missing argument to $ac_option"    as_fn_error $? "missing argument to $ac_option"
 fi  fi
   
 if test -n "$ac_unrecognized_opts"; then  if test -n "$ac_unrecognized_opts"; then
   case $enable_option_checking in    case $enable_option_checking in
     no) ;;      no) ;;
     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;      fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   esac    esac
 fi  fi
Line 1237  do Line 1285  do
     [\\/$]* | ?:[\\/]* )  continue;;      [\\/$]* | ?:[\\/]* )  continue;;
     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   esac    esac
   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"    as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 done  done
   
 # There might be people who depend on the old broken behavior: `$host'  # There might be people who depend on the old broken behavior: `$host'
Line 1251  target=$target_alias Line 1299  target=$target_alias
 if test "x$host_alias" != x; then  if test "x$host_alias" != x; then
   if test "x$build_alias" = x; then    if test "x$build_alias" = x; then
     cross_compiling=maybe      cross_compiling=maybe
     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.      $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
     If a cross compiler is detected then cross compile mode will be used." >&2      If a cross compiler is detected then cross compile mode will be used" >&2
   elif test "x$build_alias" != "x$host_alias"; then    elif test "x$build_alias" != "x$host_alias"; then
     cross_compiling=yes      cross_compiling=yes
   fi    fi
Line 1267  test "$silent" = yes && exec 6>/dev/null Line 1315  test "$silent" = yes && exec 6>/dev/null
 ac_pwd=`pwd` && test -n "$ac_pwd" &&  ac_pwd=`pwd` && test -n "$ac_pwd" &&
 ac_ls_di=`ls -di .` &&  ac_ls_di=`ls -di .` &&
 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   as_fn_error "working directory cannot be determined"    as_fn_error $? "working directory cannot be determined"
 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   as_fn_error "pwd does not report name of working directory"    as_fn_error $? "pwd does not report name of working directory"
   
   
 # Find the source files, if location was not specified.  # Find the source files, if location was not specified.
Line 1308  else Line 1356  else
 fi  fi
 if test ! -r "$srcdir/$ac_unique_file"; then  if test ! -r "$srcdir/$ac_unique_file"; then
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"    as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 fi  fi
 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 ac_abs_confdir=`(  ac_abs_confdir=`(
     cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"      cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
     pwd)`      pwd)`
 # When building in place, set srcdir=.  # When building in place, set srcdir=.
 if test "$ac_abs_confdir" = "$ac_pwd"; then  if test "$ac_abs_confdir" = "$ac_pwd"; then
Line 1338  if test "$ac_init_help" = "long"; then Line 1386  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.16 to adapt to many kinds of systems.  \`configure' configures rpl 4.1.6 to adapt to many kinds of systems.
   
 Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
   
Line 1352  Configuration: Line 1400  Configuration:
       --help=short        display options specific to this package        --help=short        display options specific to this package
       --help=recursive    display the short help of all the included packages        --help=recursive    display the short help of all the included packages
   -V, --version           display version information and exit    -V, --version           display version information and exit
   -q, --quiet, --silent   do not print \`checking...' messages    -q, --quiet, --silent   do not print \`checking ...' messages
       --cache-file=FILE   cache test results in FILE [disabled]        --cache-file=FILE   cache test results in FILE [disabled]
   -C, --config-cache      alias for \`--cache-file=config.cache'    -C, --config-cache      alias for \`--cache-file=config.cache'
   -n, --no-create         do not create output files    -n, --no-create         do not create output files
Line 1413  fi Line 1461  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.16:";;       short | recursive ) echo "Configuration of rpl 4.1.6:";;
    esac     esac
   cat <<\_ACEOF    cat <<\_ACEOF
   
Line 1421  Optional Features: Line 1469  Optional Features:
   --disable-option-checking  ignore unrecognized --enable/--with options    --disable-option-checking  ignore unrecognized --enable/--with options
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]    --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    --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-recursive      recursive configuration (default=yes)
     --enable-rplcas         compile rplcas (default=no)
   --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=guessed]
     --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 1439  Optional Packages: Line 1493  Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --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-64bits-abi       force 64bits ABI (multilib)
     --with-rpltools         specify rpltools path used for cross compilation
   --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-openssl-arch=ARCH  specify os and compiler for openssl (ARCH or list)    --with-openssl-arch=ARCH  specify os and compiler for openssl (ARCH or list)
   
 Some influential environment variables:  Some influential environment variables:
Line 1526  fi Line 1584  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.16  rpl configure 4.1.6
 generated by GNU Autoconf 2.65  generated by GNU Autoconf 2.67
   
 Copyright (C) 2009 Free Software Foundation, Inc.  Copyright (C) 2010 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
 _ACEOF  _ACEOF
Line 1713  $as_echo "$ac_try_echo"; } >&5 Line 1771  $as_echo "$ac_try_echo"; } >&5
     mv -f conftest.er1 conftest.err      mv -f conftest.er1 conftest.err
   fi    fi
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; } >/dev/null && {    test $ac_status = 0; } > conftest.i && {
      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||       test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
      test ! -s conftest.err       test ! -s conftest.err
        }; then :         }; then :
Line 1783  ac_fn_c_check_func () Line 1841  ac_fn_c_check_func ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack    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 "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }  $as_echo_n "checking for $2... " >&6; }
 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :  if eval "test \"\${$3+set}\"" = set; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 1884  fi Line 1942  fi
   
 } # ac_fn_c_try_run  } # ac_fn_c_try_run
   
   # 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 eval "test \"\${$3+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_compute_int LINENO EXPR VAR INCLUDES  # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 # --------------------------------------------  # --------------------------------------------
 # Tries to find the compile-time value of EXPR in a program that includes  # Tries to find the compile-time value of EXPR in a program that includes
Line 2071  ac_fn_c_check_header_compile () Line 2183  ac_fn_c_check_header_compile ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack    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 "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }  $as_echo_n "checking for $2... " >&6; }
 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :  if eval "test \"\${$3+set}\"" = set; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 2101  $as_echo "$ac_res" >&6; } Line 2213  $as_echo "$ac_res" >&6; }
 ac_fn_c_check_header_mongrel ()  ac_fn_c_check_header_mongrel ()
 {  {
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :    if eval "test \"\${$3+set}\"" = set; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }  $as_echo_n "checking for $2... " >&6; }
 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :  if eval "test \"\${$3+set}\"" = set; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 fi  fi
 eval ac_res=\$$3  eval ac_res=\$$3
Line 2140  if ac_fn_c_try_cpp "$LINENO"; then : Line 2252  if ac_fn_c_try_cpp "$LINENO"; then :
 else  else
   ac_header_preproc=no    ac_header_preproc=no
 fi  fi
 rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.i conftest.$ac_ext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 $as_echo "$ac_header_preproc" >&6; }  $as_echo "$ac_header_preproc" >&6; }
   
Line 2167  $as_echo "$as_me: WARNING: $2: proceedin Line 2279  $as_echo "$as_me: WARNING: $2: proceedin
 esac  esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }  $as_echo_n "checking for $2... " >&6; }
 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :  if eval "test \"\${$3+set}\"" = set; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   eval "$3=\$ac_header_compiler"    eval "$3=\$ac_header_compiler"
Line 2179  fi Line 2291  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.16, which was  It was created by rpl $as_me 4.1.6, which was
 generated by GNU Autoconf 2.65.  Invocation command line was  generated by GNU Autoconf 2.67.  Invocation command line was
   
   $ $0 $@    $ $0 $@
   
Line 2348  trap 'exit_status=$? Line 2406  trap 'exit_status=$?
   {    {
     echo      echo
   
     cat <<\_ASBOX      $as_echo "## ---------------- ##
 ## ---------------- ##  
 ## Cache variables. ##  ## Cache variables. ##
 ## ---------------- ##  ## ---------------- ##"
 _ASBOX  
     echo      echo
     # The following way of writing the cache mishandles newlines in values,      # The following way of writing the cache mishandles newlines in values,
 (  (
Line 2386  $as_echo "$as_me: WARNING: cache variabl Line 2442  $as_echo "$as_me: WARNING: cache variabl
 )  )
     echo      echo
   
     cat <<\_ASBOX      $as_echo "## ----------------- ##
 ## ----------------- ##  
 ## Output variables. ##  ## Output variables. ##
 ## ----------------- ##  ## ----------------- ##"
 _ASBOX  
     echo      echo
     for ac_var in $ac_subst_vars      for ac_var in $ac_subst_vars
     do      do
Line 2403  _ASBOX Line 2457  _ASBOX
     echo      echo
   
     if test -n "$ac_subst_files"; then      if test -n "$ac_subst_files"; then
       cat <<\_ASBOX        $as_echo "## ------------------- ##
 ## ------------------- ##  
 ## File substitutions. ##  ## File substitutions. ##
 ## ------------------- ##  ## ------------------- ##"
 _ASBOX  
       echo        echo
       for ac_var in $ac_subst_files        for ac_var in $ac_subst_files
       do        do
Line 2421  _ASBOX Line 2473  _ASBOX
     fi      fi
   
     if test -s confdefs.h; then      if test -s confdefs.h; then
       cat <<\_ASBOX        $as_echo "## ----------- ##
 ## ----------- ##  
 ## confdefs.h. ##  ## confdefs.h. ##
 ## ----------- ##  ## ----------- ##"
 _ASBOX  
       echo        echo
       cat confdefs.h        cat confdefs.h
       echo        echo
Line 2480  _ACEOF Line 2530  _ACEOF
 ac_site_file1=NONE  ac_site_file1=NONE
 ac_site_file2=NONE  ac_site_file2=NONE
 if test -n "$CONFIG_SITE"; then  if test -n "$CONFIG_SITE"; then
   ac_site_file1=$CONFIG_SITE    # We do not want a PATH search for config.site.
     case $CONFIG_SITE in #((
       -*)  ac_site_file1=./$CONFIG_SITE;;
       */*) ac_site_file1=$CONFIG_SITE;;
       *)   ac_site_file1=./$CONFIG_SITE;;
     esac
 elif test "x$prefix" != xNONE; then  elif test "x$prefix" != xNONE; then
   ac_site_file1=$prefix/share/config.site    ac_site_file1=$prefix/share/config.site
   ac_site_file2=$prefix/etc/config.site    ac_site_file2=$prefix/etc/config.site
Line 2495  do Line 2550  do
     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 $as_echo "$as_me: loading site script $ac_site_file" >&6;}  $as_echo "$as_me: loading site script $ac_site_file" >&6;}
     sed 's/^/| /' "$ac_site_file" >&5      sed 's/^/| /' "$ac_site_file" >&5
     . "$ac_site_file"      . "$ac_site_file" \
         || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   as_fn_error $? "failed to load site script $ac_site_file
   See \`config.log' for more details" "$LINENO" 5 ; }
   fi    fi
 done  done
   
Line 2571  if $ac_cache_corrupted; then Line 2630  if $ac_cache_corrupted; then
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}  $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5    as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 fi  fi
 ## -------------------- ##  ## -------------------- ##
 ## Main body of script. ##  ## Main body of script. ##
Line 2586  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2645  ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
 ac_aux_dir=  ac_aux_dir=
 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   for ac_t in install-sh install.sh shtool; do    if test -f "$ac_dir/install-sh"; then
     if test -f "$ac_dir/$ac_t"; then      ac_aux_dir=$ac_dir
       ac_aux_dir=$ac_dir      ac_install_sh="$ac_aux_dir/install-sh -c"
       ac_install_sh="$ac_aux_dir/$ac_t -c"      break
       break 2    elif test -f "$ac_dir/install.sh"; then
     fi      ac_aux_dir=$ac_dir
   done      ac_install_sh="$ac_aux_dir/install.sh -c"
       break
     elif test -f "$ac_dir/shtool"; then
       ac_aux_dir=$ac_dir
       ac_install_sh="$ac_aux_dir/shtool install -c"
       break
     fi
 done  done
 if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5    as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 fi  fi
   
 # These three variables are undocumented and unsupported,  # These three variables are undocumented and unsupported,
Line 2609  ac_configure="$SHELL $ac_aux_dir/configu Line 2674  ac_configure="$SHELL $ac_aux_dir/configu
   
 # Make sure we can run config.sub.  # Make sure we can run config.sub.
 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||  $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5    as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 $as_echo_n "checking build system type... " >&6; }  $as_echo_n "checking build system type... " >&6; }
Line 2620  else Line 2685  else
 test "x$ac_build_alias" = x &&  test "x$ac_build_alias" = x &&
   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 test "x$ac_build_alias" = x &&  test "x$ac_build_alias" = x &&
   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5    as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||  ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 $as_echo "$ac_cv_build" >&6; }  $as_echo "$ac_cv_build" >&6; }
 case $ac_cv_build in  case $ac_cv_build in
 *-*-*) ;;  *-*-*) ;;
 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;  *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 esac  esac
 build=$ac_cv_build  build=$ac_cv_build
 ac_save_IFS=$IFS; IFS='-'  ac_save_IFS=$IFS; IFS='-'
Line 2654  else Line 2719  else
   ac_cv_host=$ac_cv_build    ac_cv_host=$ac_cv_build
 else  else
   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5      as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 fi  fi
   
 fi  fi
Line 2662  fi Line 2727  fi
 $as_echo "$ac_cv_host" >&6; }  $as_echo "$ac_cv_host" >&6; }
 case $ac_cv_host in  case $ac_cv_host in
 *-*-*) ;;  *-*-*) ;;
 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;  *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 esac  esac
 host=$ac_cv_host  host=$ac_cv_host
 ac_save_IFS=$IFS; IFS='-'  ac_save_IFS=$IFS; IFS='-'
Line 2687  else Line 2752  else
   ac_cv_target=$ac_cv_host    ac_cv_target=$ac_cv_host
 else  else
   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||    ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5      as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 fi  fi
   
 fi  fi
Line 2695  fi Line 2760  fi
 $as_echo "$ac_cv_target" >&6; }  $as_echo "$ac_cv_target" >&6; }
 case $ac_cv_target in  case $ac_cv_target in
 *-*-*) ;;  *-*-*) ;;
 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;  *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
 esac  esac
 target=$ac_cv_target  target=$ac_cv_target
 ac_save_IFS=$IFS; IFS='-'  ac_save_IFS=$IFS; IFS='-'
Line 2824  am_lf=' Line 2889  am_lf='
 '  '
 case `pwd` in  case `pwd` in
   *[\\\"\#\$\&\'\`$am_lf]*)    *[\\\"\#\$\&\'\`$am_lf]*)
     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;      as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 esac  esac
 case $srcdir in  case $srcdir in
   *[\\\"\#\$\&\'\`$am_lf\ \ ]*)    *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;      as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 esac  esac
   
 # Do `set' in a subshell so we don't clobber the current shell's  # Do `set' in a subshell so we don't clobber the current shell's
Line 2850  if ( Line 2915  if (
       # if, for instance, CONFIG_SHELL is bash and it inherits a        # if, for instance, CONFIG_SHELL is bash and it inherits a
       # broken ls alias from the environment.  This has actually        # broken ls alias from the environment.  This has actually
       # happened.  Such a system could not be considered "sane".        # happened.  Such a system could not be considered "sane".
       as_fn_error "ls -t appears to fail.  Make sure there is not a broken        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 alias in your environment" "$LINENO" 5  alias in your environment" "$LINENO" 5
    fi     fi
   
Line 2860  then Line 2925  then
    # Ok.     # Ok.
    :     :
 else  else
    as_fn_error "newly created file is older than distributed files!     as_fn_error $? "newly created file is older than distributed files!
 Check your system clock" "$LINENO" 5  Check your system clock" "$LINENO" 5
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Line 3098  done Line 3163  done
 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 set x ${MAKE-make}  set x ${MAKE-make}
 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`  ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat >conftest.make <<\_ACEOF    cat >conftest.make <<\_ACEOF
Line 3106  SHELL = /bin/sh Line 3171  SHELL = /bin/sh
 all:  all:
     @echo '@@@%%%=$(MAKE)=@@@%%%'      @echo '@@@%%%=$(MAKE)=@@@%%%'
 _ACEOF  _ACEOF
 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 case `${MAKE-make} -f conftest.make 2>/dev/null` in  case `${MAKE-make} -f conftest.make 2>/dev/null` in
   *@@@%%%=?*=@@@%%%*)    *@@@%%%=?*=@@@%%%*)
     eval ac_cv_prog_make_${ac_make}_set=yes;;      eval ac_cv_prog_make_${ac_make}_set=yes;;
Line 3134  else Line 3199  else
 fi  fi
 rmdir .tst 2>/dev/null  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  if test "`cd $srcdir && pwd`" != "`pwd`"; then
   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   # is not polluted with repeated "-I."    # is not polluted with repeated "-I."
   am__isrc=' -I$(srcdir)'    am__isrc=' -I$(srcdir)'
   # test to see if srcdir already configured    # test to see if srcdir already configured
   if test -f $srcdir/config.status; then    if test -f $srcdir/config.status; then
     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5      as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   fi    fi
 fi  fi
   
Line 3156  fi Line 3233  fi
   
 # Define the identity of the package.  # Define the identity of the package.
  PACKAGE='rpl'   PACKAGE='rpl'
  VERSION='4.0.16'   VERSION='4.1.6'
   
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
Line 3196  am__tar='${AMTAR} chof - "$$tardir"'; am Line 3273  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"  ac_config_headers="$ac_config_headers rplconfig.h"
   
   
 NCURSES=ncurses-5.7-20100501  NCURSES=ncurses-5.9
 READLINE=readline-6.1  READLINE=readline-6.2
 UNITS=units-1.87  UNITS=units-1.88
 GSL=gsl-1.14  GSL=gsl-1.15
 GPP=gpp-2.24  GPP=gpp-3.0
 GNUPLOT=gnuplot-4.4.0  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.6.23.1  SQLITE=sqlite-3.7.10
 OPENSSL=openssl-1.0.0a  OPENSSL=openssl-1.0.0f
   OPENMOTIF=openmotif-2.3.3
   LIBXPM=libXpm-3.5.9
   SIGSEGV=libsigsegv-2.6
   
   GMP=gmp-5.0.2
   MPFR=mpfr-3.0.1
   NTL=ntl-5.5.2
   COCOA=CoCoALib-0.9943
   PARI=pari-2.5.0
   GIAC=giac-0.9.5
   
 ac_ext=c  ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
Line 3319  fi Line 3418  fi
   
 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5  test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error "no acceptable C compiler found in \$PATH  as_fn_error $? "no acceptable C compiler found in \$PATH
 See \`config.log' for more details." "$LINENO" 5; }  See \`config.log' for more details" "$LINENO" 5 ; }
   
 # Provide some information about the compiler.  # Provide some information about the compiler.
 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5  $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
Line 3434  sed 's/^/| /' conftest.$ac_ext >&5 Line 3533  sed 's/^/| /' conftest.$ac_ext >&5
   
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 { as_fn_set_status 77  as_fn_error 77 "C compiler cannot create executables
 as_fn_error "C compiler cannot create executables  See \`config.log' for more details" "$LINENO" 5 ; }
 See \`config.log' for more details." "$LINENO" 5; }; }  
 else  else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
Line 3478  done Line 3576  done
 else  else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error "cannot compute suffix of executables: cannot compile and link  as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 See \`config.log' for more details." "$LINENO" 5; }  See \`config.log' for more details" "$LINENO" 5 ; }
 fi  fi
 rm -f conftest conftest$ac_cv_exeext  rm -f conftest conftest$ac_cv_exeext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
Line 3536  $as_echo "$ac_try_echo"; } >&5 Line 3634  $as_echo "$ac_try_echo"; } >&5
     else      else
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error "cannot run C compiled programs.  as_fn_error $? "cannot run C compiled programs.
 If you meant to cross compile, use \`--host'.  If you meant to cross compile, use \`--host'.
 See \`config.log' for more details." "$LINENO" 5; }  See \`config.log' for more details" "$LINENO" 5 ; }
     fi      fi
   fi    fi
 fi  fi
Line 3589  sed 's/^/| /' conftest.$ac_ext >&5 Line 3687  sed 's/^/| /' conftest.$ac_ext >&5
   
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error "cannot compute suffix of object files: cannot compile  as_fn_error $? "cannot compute suffix of object files: cannot compile
 See \`config.log' for more details." "$LINENO" 5; }  See \`config.log' for more details" "$LINENO" 5 ; }
 fi  fi
 rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
 fi  fi
Line 4000  fi Line 4098  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);}'`
Line 4015  if test x"$CC" != x""; then Line 4115  if test x"$CC" != x""; then
             if test $GCC_VERSION_MAJEURE -ge 2; then              if test $GCC_VERSION_MAJEURE -ge 2; then
                 OPTIMISATION_C=-O2                  OPTIMISATION_C=-O2
             else              else
                 as_fn_error "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5                  as_fn_error $? "Cannot find decent or recent gcc (gcc-4.2 or better)!" "$LINENO" 5
             fi              fi
         fi          fi
     fi      fi
Line 4030  $as_echo_n "checking whether cc understa Line 4130  $as_echo_n "checking whether cc understa
 fi  fi
 set dummy $CC; ac_cc=`$as_echo "$2" |  set dummy $CC; ac_cc=`$as_echo "$2" |
               sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`                sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :  if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 4149  fi Line 4249  fi
   
   
 if test "$GCC" != yes; then  if test "$GCC" != yes; then
     as_fn_error "Cannot find gcc! You have to install it." "$LINENO" 5      as_fn_error $? "Cannot find gcc! You have to install it." "$LINENO" 5
 fi  fi
   
 ac_ext=cpp  ac_ext=cpp
Line 4538  fi Line 4638  fi
   
   
 if test "$GXX" != yes; then  if test "$GXX" != yes; 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
   
   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  fi
   
 ac_ext=f  ac_ext=f
Line 4753  ac_link='$CC -o conftest$ac_exeext $CFLA Line 4873  ac_link='$CC -o conftest$ac_exeext $CFLA
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
   
 if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then  
     as_fn_error "Cannot find gfortran! You have to install it." "$LINENO" 5  
 fi  
   
 ac_ext=${ac_fc_srcext-f}  ac_ext=${ac_fc_srcext-f}
 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'  ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
 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'
Line 4964  ac_link='$CC -o conftest$ac_exeext $CFLA Line 5080  ac_link='$CC -o conftest$ac_exeext $CFLA
 ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
   
 if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then  if test x"$F77" == x; then
     as_fn_error "Cannot find gfortran! You have to install it." "$LINENO" 5      as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
   fi
   
   if test x"$FC" == x; then
       as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5
 fi  fi
   
 if test x"$FC" != x""; then  if test x"$FC" != x""; then
Line 4982  if test x"$FC" != x""; then Line 5102  if test x"$FC" != x""; then
             if test $GCC_VERSION_MAJEURE -ge 3; then              if test $GCC_VERSION_MAJEURE -ge 3; then
                 OPTIMISATION_F=-O2                  OPTIMISATION_F=-O2
             else              else
                 as_fn_error "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5                  as_fn_error $? "Cannot find decent or recent gfortran (gfortran-4.3 or better)!" "$LINENO" 5
             fi              fi
         fi          fi
     fi      fi
Line 5031  else Line 5151  else
   # Broken: fails on valid input.    # Broken: fails on valid input.
 continue  continue
 fi  fi
 rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.i conftest.$ac_ext
   
   # OK, works on sane cases.  Now check whether nonexistent headers    # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.    # can be detected and how.
Line 5047  else Line 5167  else
 ac_preproc_ok=:  ac_preproc_ok=:
 break  break
 fi  fi
 rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.i conftest.$ac_ext
   
 done  done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 rm -f conftest.err conftest.$ac_ext  rm -f conftest.i conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :  if $ac_preproc_ok; then :
   break    break
 fi  fi
Line 5090  else Line 5210  else
   # Broken: fails on valid input.    # Broken: fails on valid input.
 continue  continue
 fi  fi
 rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.i conftest.$ac_ext
   
   # OK, works on sane cases.  Now check whether nonexistent headers    # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.    # can be detected and how.
Line 5106  else Line 5226  else
 ac_preproc_ok=:  ac_preproc_ok=:
 break  break
 fi  fi
 rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.i conftest.$ac_ext
   
 done  done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 rm -f conftest.err conftest.$ac_ext  rm -f conftest.i conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :  if $ac_preproc_ok; then :
   
 else  else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 as_fn_error "C preprocessor \"$CPP\" fails sanity check  as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 See \`config.log' for more details." "$LINENO" 5; }  See \`config.log' for more details" "$LINENO" 5 ; }
 fi  fi
   
 ac_ext=c  ac_ext=c
Line 5142  if test "x$with_x" = xno; then Line 5262  if test "x$with_x" = xno; then
   have_x=disabled    have_x=disabled
 else  else
   case $x_includes,$x_libraries in #(    case $x_includes,$x_libraries in #(
     *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(      *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :      *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
Line 5160  libdir: Line 5280  libdir:
     @echo libdir='${LIBDIR}'      @echo libdir='${LIBDIR}'
 _ACEOF  _ACEOF
   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then    if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.      # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     for ac_var in incroot usrlibdir libdir; do      for ac_var in incroot usrlibdir libdir; do
       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"        eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
     done      done
Line 5246  else Line 5366  else
   fi    fi
 done  done
 fi  fi
 rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.i conftest.$ac_ext
 fi # $ac_x_includes = no  fi # $ac_x_includes = no
   
 if test "$ac_x_libraries" = no; then  if test "$ac_x_libraries" = no; then
Line 5823  if test "$ac_x_libraries" != "no"; then Line 5943  if test "$ac_x_libraries" != "no"; then
     fi      fi
 fi  fi
   
   
   # Check whether --with-32bits-abi was given.
   if test "${with_32bits_abi+set}" = set; then :
     withval=$with_32bits_abi;
   if test "$with-32bits-abi" = "no"; then
       ABI=
   else
       ABI=-m32
   fi
   else
   
       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 --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 :
     withval=$with_rpltools;
   if test "$with_rpltools" = "no" -o "$with_rpltools" = yes; then
       as_fn_error $? "You have to specify rpltools path !" "$LINENO" 5
   else
       RPLTOOLS=$with_rpltools
   fi
   else
   
       RPLTOOLS=\$\(top_builddir\)
   
   
   fi
   
   
   
   
   # Check whether --enable-rplcas was given.
   if test "${enable_rplcas+set}" = set; then :
     enableval=$enable_rplcas;
   if test "$enableval" = "no"; then
       RPLCAS=-URPLCAS
       LIBRPLCAS=
   else
       RPLCAS=-DRPLCAS
       LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a
   fi
   else
   
       RPLCAS=-URPLCAS
       LIBRPLCAS=
   
   
   fi
   
   
   
   
   
   
 # 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
       CFLAGS="$CFLAGS $ABI $enable_optimization"
       FFLAGS="$FFLAGS $ABI $enable_optimization"
       CXXFLAGS="$CXXFLAGS $ABI $enable_optimization"
       FCFLAGS="$FCFLAGS $ABI $enable_optimization"
   fi
   else
   
       CFLAGS="$CFLAGS $ABI $OPTIMISATION_C"
       FFLAGS="$FFLAGS $ABI $OPTIMISATION_F"
       CXXFLAGS="$CXXFLAGS $ABI $OPTIMISATION_CXX"
       FCFLAGS="$FCFLAGS $ABI $OPTIMISATION_F"
   
   
   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 <sys/shm.h>
   
   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 <sys/select.h>
        #include <unistd.h>
        #include <sys/time.h>
        #include <sys/types.h>
   
   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;
   if test "$enableval" = "no"; then
       IPCS_SYSV=-UIPCS_SYSV
       POSIX_IPCS=no
   else
       IPCS_SYSV=-DIPCS_SYSV
       POSIX_IPCS=yes
   fi
   else
     REG=$LDFLAGS
   POSIX_IPCS=guessed
   LDFLAGS=-lrt
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX semaphores and shared objects" >&5
   $as_echo_n "checking for POSIX semaphores and shared objects... " >&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 <sys/mman.h>
   #include <sys/stat.h>
   #include <fcntl.h>
   
   int
   main ()
   {
    int fd; char *sem = "/test";
   fd = shm_open(sem , O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
     close(fd);
     shm_unlink(sem);
     fd = sem_open(sem, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0);
     close(fd);
     sem_unlink(sem);
     return(0);
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_run "$LINENO"; then :
     IPCS_SYSV=-UIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   $as_echo "yes" >&6; }
 else  else
     CFLAGS="$CFLAGS $enable_optimization"    IPCS_SYSV=-DIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     FFLAGS="$FFLAGS $enable_optimization"  $as_echo "no" >&6; }
     FCFLAGS="$FCFLAGS $enable_optimization"  
   fi
   rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     conftest.$ac_objext conftest.beam conftest.$ac_ext
   fi
   
   LDFLAGS=$REG
   
 fi  fi
   
   
   if test "$IPCS_SYSV" = "-UIPCS_SYSV" -a "$POSIX_IPCS" = "guessed"; then
   REG=$LDFLAGS
   LDFLAGS=-pthread
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX anonymous semaphores" >&5
   $as_echo_n "checking for POSIX anonymous semaphores... " >&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  else
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   #include <semaphore.h>
   
     CFLAGS="$CFLAGS $OPTIMISATION_C"  int
     FFLAGS="$FFLAGS $OPTIMISATION_F"  main ()
     FCFLAGS="$FCFLAGS $OPTIMISATION_F"  {
    sem_t sem;
    if (sem_init(&sem, 1, 0) != 0) return(1);
    sem_destroy(&sem);
     return(0);
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_run "$LINENO"; then :
     SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   $as_echo "yes" >&6; }
   else
     SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   
 fi  fi
   rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     conftest.$ac_objext conftest.beam conftest.$ac_ext
   fi
   
   LDFLAGS=$REG
   REG=""
   else
       SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
   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.
Line 5852  if test "${enable_final_encoding+set}" = Line 6250  if test "${enable_final_encoding+set}" =
 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 5879  if test "${enable_vim+set}" = set; then Line 6281  if test "${enable_vim+set}" = set; then
   enableval=$enable_vim;    enableval=$enable_vim;
 if test "$enableval" = "no"; then  if test "$enableval" = "no"; then
     VIM_SUPPORT=no      VIM_SUPPORT=no
       DEBVIM=
 else  else
     VIM_SUPPORT=yes      VIM_SUPPORT=yes
       DEBVIM=", vim"
 fi  fi
 else  else
   VIM_SUPPORT=guessed    VIM_SUPPORT=guessed
Line 5924  fi Line 6328  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 test "${ac_cv_lib_Xm_main+set}" = set; 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" = x""yes; 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_srcdir)/tools/$LIBXPM/include"
       BUILD_OPENMOTIF="$LIBXPM $OPENMOTIF"
   
       if test $RECURSIVE = yes; then
   
   
   subdirs="$subdirs tools/$LIBXPM"
   
           subdirs="$subdirs tools/$OPENMOTIF"
   
       fi;
   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 6004  if test "${enable_debug+set}" = set; the Line 6387  if test "${enable_debug+set}" = set; the
   enableval=$enable_debug;    enableval=$enable_debug;
 if test "$enableval" = "no"; then  if test "$enableval" = "no"; then
     DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"      DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
     MALLOC="\$(top_builddir)/ptmalloc3/libptmalloc3.a"  
 else  else
     DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"      DEBUG="-DDEBUG_MEMOIRE -UDEBUG_ERREURS"
     MALLOC=""  
 fi  fi
 else  else
   DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"    DEBUG="-UDEBUG_MEMOIRE -UDEBUG_ERREURS"
     MALLOC="\$(top_builddir)/ptmalloc3/libptmalloc3.a"  
 fi  fi
   
   
Line 6036  fi Line 6416  fi
 if test ! -d "$srcdir"/tools/$NCURSES; then  if test ! -d "$srcdir"/tools/$NCURSES; then
     gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \      gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \
             (cd "$srcdir/tools" && tar -xf -)              (cd "$srcdir/tools" && tar -xf -)
       (cd "$srcdir/tools/"$NCURSES && \
               for i in ../$NCURSES*.sh.gz;
               do TMP=$i; gunzip -c $i > ${TMP%.*};
               done;
               for i in ../$NCURSES*.sh;
               do chmod 775 $i && ./$i;
               done;
               for i in ../$NCURSES*.patch.gz;
               do gunzip -c $i | patch -p1;
               done);
 fi  fi
 if test ! -d "$srcdir"/tools/$READLINE; then  if test ! -d "$srcdir"/tools/$READLINE; then
     gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \      gunzip -c "$srcdir"/tools/$READLINE.tar.gz | \
Line 6048  fi Line 6438  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 6066  if test ! -d "$srcdir"/tools/$SQLITE; th Line 6462  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 -)
 fi  fi
   if test ! -d rplcas; then
       mkdir rplcas
   fi
   if test ! -d "$srcdir"/rplcas/$GMP; then
       gunzip -c "$srcdir"/rplcas/$GMP.tar.gz | \
               (cd "$srcdir/rplcas" && tar -xf -)
   fi
   if test ! -d "$srcdir"/rplcas/$MPFR; then
       gunzip -c "$srcdir"/rplcas/$MPFR.tar.gz | \
               (cd "$srcdir/rplcas" && tar -xf -)
   fi
   if test ! -d rplcas/$NTL; then
       gunzip -c "$srcdir"/rplcas/$NTL.tar.gz | \
               (cd rplcas && tar -xf -)
   fi
   if test ! -d rplcas/$COCOA; then
       gunzip -c "$srcdir"/rplcas/$COCOA.tar.gz | \
               (cd rplcas && tar -xf -)
   fi
   if test ! -d rplcas/$PARI; then
       gunzip -c "$srcdir"/rplcas/$PARI.tar.gz | \
               (cd rplcas && tar -xf -)
   fi
   if test ! -d "$srcdir"/rplcas/$GIAC; then
       gunzip -c "$srcdir"/rplcas/$GIAC.tar.gz | \
               (cd "$srcdir/rplcas" && tar -xf -)
   fi
   
   touch tools/openmotif.lib
   
   
   
Line 6079  if test "${enable_final_run_path+set}" = Line 6516  if test "${enable_final_run_path+set}" =
     if test "x$enable_final_run_path" = "x"; then      if test "x$enable_final_run_path" = "x"; then
         { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5          { $as_echo "$as_me:${as_lineno-$LINENO}: \"No path with --enable-final-run-path.\"" >&5
 $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}  $as_echo "$as_me: \"No path with --enable-final-run-path.\"" >&6;}
         as_fn_error "\"You should specify final path !\"" "$LINENO" 5          as_fn_error $? "\"You should specify final path !\"" "$LINENO" 5
     else      else
         RUNPATH="$enable_final_run_path"          RUNPATH="$enable_final_run_path"
     fi      fi
Line 6107  fi Line 6544  fi
 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 set x ${MAKE-make}  set x ${MAKE-make}
 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`  ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat >conftest.make <<\_ACEOF    cat >conftest.make <<\_ACEOF
Line 6115  SHELL = /bin/sh Line 6552  SHELL = /bin/sh
 all:  all:
     @echo '@@@%%%=$(MAKE)=@@@%%%'      @echo '@@@%%%=$(MAKE)=@@@%%%'
 _ACEOF  _ACEOF
 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 case `${MAKE-make} -f conftest.make 2>/dev/null` in  case `${MAKE-make} -f conftest.make 2>/dev/null` in
   *@@@%%%=?*=@@@%%%*)    *@@@%%%=?*=@@@%%%*)
     eval ac_cv_prog_make_${ac_make}_set=yes;;      eval ac_cv_prog_make_${ac_make}_set=yes;;
Line 6266  fi Line 6703  fi
   
   
 if test "$AWK" = no; then  if test "$AWK" = no; then
     as_fn_error "Can not find nawk !" "$LINENO" 5      # Extract the first word of "gawk", so it can be a program name with args.
   set dummy gawk; ac_word=$2
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   $as_echo_n "checking for $ac_word... " >&6; }
   if test "${ac_cv_prog_AWK+set}" = set; then :
     $as_echo_n "(cached) " >&6
   else
     if test -n "$AWK"; then
     ac_cv_prog_AWK="$AWK" # Let the user override the test.
   else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   for as_dir in $PATH
   do
     IFS=$as_save_IFS
     test -z "$as_dir" && as_dir=.
       for ac_exec_ext in '' $ac_executable_extensions; do
     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
       ac_cv_prog_AWK="yes"
       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
       break 2
     fi
   done
     done
   IFS=$as_save_IFS
   
     test -z "$ac_cv_prog_AWK" && ac_cv_prog_AWK="no"
   fi
   fi
   AWK=$ac_cv_prog_AWK
   if test -n "$AWK"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   $as_echo "$AWK" >&6; }
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   fi
   
   
       if test "$AWK" = no; then
           as_fn_error $? "Can not find nawk !" "$LINENO" 5
       fi
 fi  fi
   
 # Extract the first word of "sed", so it can be a program name with args.  # Extract the first word of "sed", so it can be a program name with args.
Line 6308  fi Line 6785  fi
   
   
 if test "$SED" = no; then  if test "$SED" = no; then
     as_fn_error "Can not find sed !" "$LINENO" 5      as_fn_error $? "Can not find sed !" "$LINENO" 5
 fi  fi
   
 if test "$TEX_SUPPORT" = guessed; then  if test "$TEX_SUPPORT" = guessed; then
Line 6666  $as_echo "$as_me: WARNING: Cannot find v Line 7143  $as_echo "$as_me: WARNING: Cannot find v
 Download at http://www.vim.org/  Download at http://www.vim.org/
 " >&2;}  " >&2;}
         VIM_SUPPORT="-UVIM_SUPPORT"          VIM_SUPPORT="-UVIM_SUPPORT"
           DEBVIM=
     else      else
         VIM_SUPPORT="-DVIM_SUPPORT"          VIM_SUPPORT="-DVIM_SUPPORT"
           DEBVIM=", vim"
     fi      fi
 else  else
     if test "$VIM_SUPPORT" = no; then      if test "$VIM_SUPPORT" = no; then
         VIM_SUPPORT="-UVIM_SUPPORT"          VIM_SUPPORT="-UVIM_SUPPORT"
           DEBVIM=
     else      else
         VIM_SUPPORT="-DVIM_SUPPORT"          VIM_SUPPORT="-DVIM_SUPPORT"
           DEBVIM=", vim"
     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 test "${ac_cv_lib_Xm_main+set}" = set; 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" = x""yes; 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; }  DATE=$(LANG=C date +"%A, %e %B %Y %T %z")
 if test "${ac_cv_lib_Xpm_main+set}" = set; then :  
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
   $as_echo_n "checking for main in -lm... " >&6; }
   if test "${ac_cv_lib_m_main+set}" = set; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
 LIBS="-lXpm  $LIBS"  LIBS="-lm  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
Line 6755  return main (); Line 7191  return main ();
 }  }
 _ACEOF  _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :  if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_Xpm_main=yes    ac_cv_lib_m_main=yes
 else  else
   ac_cv_lib_Xpm_main=no    ac_cv_lib_m_main=no
 fi  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=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
 $as_echo "$ac_cv_lib_Xpm_main" >&6; }  $as_echo "$ac_cv_lib_m_main" >&6; }
 if test "x$ac_cv_lib_Xpm_main" = x""yes; then :  if test "x$ac_cv_lib_m_main" = x""yes; then :
   MOTIF_SUPPORT="-DMOTIF_SUPPORT"    cat >>confdefs.h <<_ACEOF
 else  #define HAVE_LIBM 1
   MOTIF_SUPPORT="-UMOTIF_SUPPORT"  _ACEOF
 fi  
     LIBS="-lm $LIBS"
   
     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  else
     libX=""    as_fn_error $? "Can not find libm !" "$LINENO" 5
 fi  fi
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lc" >&5
   $as_echo_n "checking for pthread_mutex_init in -lc... " >&6; }
   if test "${ac_cv_lib_c_pthread_mutex_init+set}" = set; then :
   
   
   
   
   
   
   
 DATE=$(LANG=C date +"%A, %e %B %Y %T %z")  
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5  
 $as_echo_n "checking for main in -lm... " >&6; }  
 if test "${ac_cv_lib_m_main+set}" = set; then :  
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
 LIBS="-lm  $LIBS"  LIBS="-lc  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
   
   /* Override any GCC internal prototype to avoid an error.
      Use char because int might match the return type of a GCC
      builtin and then its argument prototype would still apply.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   char pthread_mutex_init ();
 int  int
 main ()  main ()
 {  {
 return main ();  return pthread_mutex_init ();
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :  if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_m_main=yes    ac_cv_lib_c_pthread_mutex_init=yes
 else  else
   ac_cv_lib_m_main=no    ac_cv_lib_c_pthread_mutex_init=no
 fi  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=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
 fi  fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_mutex_init" >&5
 $as_echo "$ac_cv_lib_m_main" >&6; }  $as_echo "$ac_cv_lib_c_pthread_mutex_init" >&6; }
 if test "x$ac_cv_lib_m_main" = x""yes; then :  if test "x$ac_cv_lib_c_pthread_mutex_init" = x""yes; then :
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define HAVE_LIBM 1  #define HAVE_LIBC 1
 _ACEOF  _ACEOF
   
   LIBS="-lm $LIBS"    LIBS="-lc $LIBS"
   
 else  else
   as_fn_error "Can not find libm !" "$LINENO" 5    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
 fi  
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5  
 $as_echo_n "checking for main in -lpthread... " >&6; }  $as_echo_n "checking for main in -lpthread... " >&6; }
 if test "${ac_cv_lib_pthread_main+set}" = set; then :  if test "${ac_cv_lib_pthread_main+set}" = set; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
Line 6880  _ACEOF Line 7294  _ACEOF
   LIBS="-lpthread $LIBS"    LIBS="-lpthread $LIBS"
   
 else  else
   as_fn_error "Can not find libpthread !" "$LINENO" 5    as_fn_error $? "Can not find libpthread !" "$LINENO" 5
   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  fi
   
   
Line 7030  fi Line 7469  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 7149  rm -f core conftest.err conftest.$ac_obj Line 7588  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 7213  fi Line 7652  fi
 if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then  if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPPORT"; then
     MYSQL_LIB=no      MYSQL_LIB=no
   
   
     if test $MYSQL_LIB = no; then      if test $MYSQL_LIB = no; then
         { $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 7239  fi Line 7683  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 7247  rm -f core conftest.err conftest.$ac_obj Line 7696  rm -f core conftest.err conftest.$ac_obj
     fi      fi
 fi  fi
   
   DEBMYSQL=
   
 if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then  if test "$MYSQL_SUPPORT" != "-DMYSQL_SUPPORT"; then
     libMySQLinc=      libMySQLinc=
     libMySQLlib=      libMySQLlib=
   else
       DEBMYSQL=", libmysqlclient18"
 fi  fi
   
   
Line 7271  fi Line 7724  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 7453  rm -f core conftest.err conftest.$ac_obj Line 7906  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 7553  if test "$POSTGRESQL_SUPPORT" = "-DPOSTG Line 8006  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 7576  fi Line 8033  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
   
   DEBPQ=
   
 if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then  if test "$POSTGRESQL_SUPPORT" != "-DPOSTGRESQL_SUPPORT"; then
     libPgSQLinc=      libPgSQLinc=
     libPgSQLlib=      libPgSQLlib=
   else
       DEBPQ=", libpq5"
   fi
   
   
   
   
   
   # with_postgresql : check [pas défini], yes [uniquement --with],
   # no [--without], valeur [--with=valeur].
   
   # Check whether --with-bourne_shell was given.
   if test "${with_bourne_shell+set}" = set; then :
     withval=$with_bourne_shell;
   else
     with_bourne_shell=no
 fi  fi
   
   
   if test "x$with_bourne_shell" = xyes; then
       as_fn_error $? "You have to specify a valide shell path !" "$LINENO" 5
   fi
   
   if test "x$with_bourne_shell" = xno; then
       if test $(uname) = "OS/2"; then
           as_fn_error $? "With OS/2 or eComstation, you have to specify a valide
   shell path with --with-bourne-shell=PATH !" "$LINENO" 5
       fi
   
       BSH_PATH=
   else
       if test ! -x $with_bourne_shell; then
           as_fn_error $? "$with_bourne_shell is not executable !" "$LINENO" 5
       fi
   
       if test $(uname) = "OS/2"; then
           with_os2_bourne_shell=$(echo $with_bourne_shell | \
                   sed -e '1,$s/\//\\\\\\\\/g')
           BSH_PATH=-DBOURNE_SHELL=\"\\\"$with_os2_bourne_shell\\\"\"
       else
           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-bourne-shell ignored" >&5
   $as_echo "$as_me: WARNING: --with-bourne-shell ignored" >&2;}
           BSH_PATH=
       fi
   fi
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }  $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
Line 7640  esac Line 8144  esac
   done    done
 IFS=$as_save_IFS  IFS=$as_save_IFS
   if test -z "$ac_cv_path_GREP"; then    if test -z "$ac_cv_path_GREP"; then
     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5      as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   fi    fi
 else  else
   ac_cv_path_GREP=$GREP    ac_cv_path_GREP=$GREP
Line 7706  esac Line 8210  esac
   done    done
 IFS=$as_save_IFS  IFS=$as_save_IFS
   if test -z "$ac_cv_path_EGREP"; then    if test -z "$ac_cv_path_EGREP"; then
     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5      as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   fi    fi
 else  else
   ac_cv_path_EGREP=$EGREP    ac_cv_path_EGREP=$EGREP
Line 7838  do : Line 8342  do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default  ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 "  "
 eval as_val=\$$as_ac_Header  if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    if test "x$as_val" = x""yes; then :  
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF  _ACEOF
Line 7864  else Line 8367  else
   if test "$ac_cv_type_void_p" = yes; then    if test "$ac_cv_type_void_p" = yes; then
      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 { as_fn_set_status 77  as_fn_error 77 "cannot compute sizeof (void *)
 as_fn_error "cannot compute sizeof (void *)  See \`config.log' for more details" "$LINENO" 5 ; }
 See \`config.log' for more details." "$LINENO" 5; }; }  
    else     else
      ac_cv_sizeof_void_p=0       ac_cv_sizeof_void_p=0
    fi     fi
Line 7898  else Line 8400  else
   if test "$ac_cv_type_char" = yes; then    if test "$ac_cv_type_char" = yes; then
      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 { as_fn_set_status 77  as_fn_error 77 "cannot compute sizeof (char)
 as_fn_error "cannot compute sizeof (char)  See \`config.log' for more details" "$LINENO" 5 ; }
 See \`config.log' for more details." "$LINENO" 5; }; }  
    else     else
      ac_cv_sizeof_char=0       ac_cv_sizeof_char=0
    fi     fi
Line 7932  else Line 8433  else
   if test "$ac_cv_type_short_int" = yes; then    if test "$ac_cv_type_short_int" = yes; then
      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 { as_fn_set_status 77  as_fn_error 77 "cannot compute sizeof (short int)
 as_fn_error "cannot compute sizeof (short int)  See \`config.log' for more details" "$LINENO" 5 ; }
 See \`config.log' for more details." "$LINENO" 5; }; }  
    else     else
      ac_cv_sizeof_short_int=0       ac_cv_sizeof_short_int=0
    fi     fi
Line 7966  else Line 8466  else
   if test "$ac_cv_type_int" = yes; then    if test "$ac_cv_type_int" = yes; then
      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 { as_fn_set_status 77  as_fn_error 77 "cannot compute sizeof (int)
 as_fn_error "cannot compute sizeof (int)  See \`config.log' for more details" "$LINENO" 5 ; }
 See \`config.log' for more details." "$LINENO" 5; }; }  
    else     else
      ac_cv_sizeof_int=0       ac_cv_sizeof_int=0
    fi     fi
Line 8000  else Line 8499  else
   if test "$ac_cv_type_long_int" = yes; then    if test "$ac_cv_type_long_int" = yes; then
      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 { as_fn_set_status 77  as_fn_error 77 "cannot compute sizeof (long int)
 as_fn_error "cannot compute sizeof (long int)  See \`config.log' for more details" "$LINENO" 5 ; }
 See \`config.log' for more details." "$LINENO" 5; }; }  
    else     else
      ac_cv_sizeof_long_int=0       ac_cv_sizeof_long_int=0
    fi     fi
Line 8034  else Line 8532  else
   if test "$ac_cv_type_long_long_int" = yes; then    if test "$ac_cv_type_long_long_int" = yes; then
      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 { as_fn_set_status 77  as_fn_error 77 "cannot compute sizeof (long long int)
 as_fn_error "cannot compute sizeof (long long int)  See \`config.log' for more details" "$LINENO" 5 ; }
 See \`config.log' for more details." "$LINENO" 5; }; }  
    else     else
      ac_cv_sizeof_long_long_int=0       ac_cv_sizeof_long_long_int=0
    fi     fi
Line 8068  else Line 8565  else
   if test "$ac_cv_type_float" = yes; then    if test "$ac_cv_type_float" = yes; then
      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 { as_fn_set_status 77  as_fn_error 77 "cannot compute sizeof (float)
 as_fn_error "cannot compute sizeof (float)  See \`config.log' for more details" "$LINENO" 5 ; }
 See \`config.log' for more details." "$LINENO" 5; }; }  
    else     else
      ac_cv_sizeof_float=0       ac_cv_sizeof_float=0
    fi     fi
Line 8102  else Line 8598  else
   if test "$ac_cv_type_double" = yes; then    if test "$ac_cv_type_double" = yes; then
      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 { as_fn_set_status 77  as_fn_error 77 "cannot compute sizeof (double)
 as_fn_error "cannot compute sizeof (double)  See \`config.log' for more details" "$LINENO" 5 ; }
 See \`config.log' for more details." "$LINENO" 5; }; }  
    else     else
      ac_cv_sizeof_double=0       ac_cv_sizeof_double=0
    fi     fi
Line 8136  else Line 8631  else
   if test "$ac_cv_type_long_double" = yes; then    if test "$ac_cv_type_long_double" = yes; then
      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 { as_fn_set_status 77  as_fn_error 77 "cannot compute sizeof (long double)
 as_fn_error "cannot compute sizeof (long double)  See \`config.log' for more details" "$LINENO" 5 ; }
 See \`config.log' for more details." "$LINENO" 5; }; }  
    else     else
      ac_cv_sizeof_long_double=0       ac_cv_sizeof_long_double=0
    fi     fi
Line 8161  for ac_hdr in dirent.h sys/ndir.h sys/di Line 8655  for ac_hdr in dirent.h sys/ndir.h sys/di
   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`    as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }  $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :  if eval "test \"\${$as_ac_Header+set}\"" = set; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
 else  else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Line 8188  fi Line 8682  fi
 eval ac_res=\$$as_ac_Header  eval ac_res=\$$as_ac_Header
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }  $as_echo "$ac_res" >&6; }
 eval as_val=\$$as_ac_Header  if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    if test "x$as_val" = x""yes; then :  
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1  #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 _ACEOF  _ACEOF
Line 8474  for ac_header in dlfcn.h fcntl.h math.h Line 8967  for ac_header in dlfcn.h fcntl.h math.h
 do :  do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"  ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 eval as_val=\$$as_ac_Header  if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    if test "x$as_val" = x""yes; then :  
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF  _ACEOF
Line 8839  for ac_func in ftime getcwd putenv selec Line 9331  for ac_func in ftime getcwd putenv selec
 do :  do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"  ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 eval as_val=\$$as_ac_var  if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
    if test "x$as_val" = x""yes; then :  
   cat >>confdefs.h <<_ACEOF    cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1  #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF  _ACEOF
Line 8849  fi Line 9340  fi
 done  done
   
   
 ac_configure_args="$ac_configure_args --with-readline=builtin --disable-shared --enable-static"  
   
   
   
 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.  # Check whether --with-openssl_arch was given.
 if test "${with_openssl_arch+set}" = set; then :  if test "${with_openssl_arch+set}" = set; then :
Line 8879  else Line 9349  else
 fi  fi
   
   
 if test "x$with_openssl_arch" = xnone; then  if test $(uname) = "OS/2"; then
     (cd tools/$OPENSSL && ./config)      bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
 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  else
     (cd tools/$OPENSSL && ./Configure $with_openssl_arch)      if test "x$with_openssl_arch" = xnone; then
           (cd tools/$OPENSSL && ./config no-asm)
       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 no-asm $with_openssl_arch)
       fi
 fi  fi
   
 if test "$MYGNUPLOT" = "yes"; then  if test "$MYGNUPLOT" = "yes"; then
Line 8896  if test "$MYGNUPLOT" = "yes"; then Line 9370  if test "$MYGNUPLOT" = "yes"; then
         gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \          gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
                 (cd "$srcdir/tools" && tar -xf -)                  (cd "$srcdir/tools" && tar -xf -)
     fi      fi
     subdirs="$subdirs tools/$GNUPLOT"  
       if test $RECURSIVE = yes; then
           subdirs="$subdirs tools/$GNUPLOT"
   
       fi
   
     GNUPLOT_COMPILATION=$GNUPLOT      GNUPLOT_COMPILATION=$GNUPLOT
 else  else
Line 8905  fi Line 9383  fi
   
   
   
 case $host_cpu in  HOST=$target
   
     i?86)  
     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \  
             -Wno-pointer-sign"  
     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"  
     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"  
     break ;;  
   
     x86_64*)  my_save_cflags="$CFLAGS"
     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \  FPCFLAGS=""
             -Wno-pointer-sign"  
     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"  
     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"  
     break ;;  
   
     alpha*)  CFLAGS=-malign-double
     CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -malign-double" >&5
             -Wno-pointer-sign"  $as_echo_n "checking whether CC supports -malign-double... " >&6; }
     FFLAGS="$FFLAGS -mieee -Wall"  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     FCFLAGS="$FCFLAGS -mieee -Wall"  /* end confdefs.h.  */
     break ;;  
   
     sparc*)  int
     CFLAGS="$CFLAGS -Wall -funsigned-char \  main ()
             -Wno-pointer-sign"  {
     FFLAGS="$FFLAGS -Wall"  
     FCFLAGS="$FCFLAGS -Wall"  
     break ;;  
   
 esac    ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   $as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -malign-double"
   else
     { $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
   CFLAGS=-mieee-fp
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -mieee-fp" >&5
   $as_echo_n "checking whether CC supports -mieee-fp... " >&6; }
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   $as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -mieee-fp"
   else
     { $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
   CFLAGS=-mieee
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -mieee" >&5
   $as_echo_n "checking whether CC supports -mieee... " >&6; }
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   $as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -mieee"
   else
     { $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
   CFLAGS=$my_save_cflags
   
   CFLAGS="$CFLAGS $FPCFLAGS -Wall -funsigned-char -Wno-pointer-sign"
   FFLAGS="$FFLAGS $FPCFLAGS -Wall -fno-f2c"
   FCFLAGS="$FCFLAGS $FPCFLAGS -Wall -fno-f2c"
   CXXFLAGS="$CXXFLAGS $FPCFLAGS -Wall -funsigned-char"
   
 case $host_os in  case $target_os in
   
     cygwin*)      cygwin*)
         OS=Cygwin          OS=Cygwin
Line 8957  esac Line 9482  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')
   MALLOC=
   
 case $OS in  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  
         CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"          CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
           ac_configure_args="$ac_configure_args --with-readline=builtin \
                   --disable-shared --enable-static --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
           C_STANDARD=-std=gnu99
           ELF=
       break ;;
   
       Cygwin)
           EXPORT_DYNAMIC=-Wl,--export-all-symbols
           NESTED_FUNCTIONS=
           ac_configure_args="$ac_configure_args --with-readline=builtin \
                   --disable-shared --enable-static --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
           C_STANDARD=-std=gnu99
           ELF=
       break ;;
   
       Interix)
           EXPORT_DYNAMIC=-Wl,--export-all-symbols
           NESTED_FUNCTIONS=
           ac_configure_args="$ac_configure_args --with-readline=builtin \
                   --disable-shared --enable-static --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
           C_STANDARD=-std=gnu99
           ELF=
       break;;
   
       AIX)
           EXPORT_DYNAMIC=-Wl,--export-dynamic
           NESTED_FUNCTIONS=
           ac_configure_args="$ac_configure_args --with-readline=builtin \
                   --disable-shared --enable-static --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
           C_STANDARD=-std=gnu99
           ELF=
     break ;;      break ;;
   
     Cygwin)      OS/2)
         EXPORT_DYNAMIC=--export-all-symbols          if test $FORCED_FINAL_ENCODING -eq 0; then \
               FINAL_ENCODING=CP850; \
           fi;
           OS=OS2
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES          EXPORT_DYNAMIC=-Zmap
           ac_configure_args="$ac_configure_args --without-readline \
                   --without-cairo --disable-shared --enable-static \
                   --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
           C_STANDARD=
           ELF=
       break;;
   
       OpenBSD)
           if test $FORCED_FINAL_ENCODING -eq 0; then \
               FINAL_ENCODING=UTF-8; \
           fi;
           EXPORT_DYNAMIC=-Wl,--export-dynamic
           NESTED_FUNCTIONS=
           ac_configure_args="$ac_configure_args --with-readline=builtin \
                   --disable-shared --enable-static --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
           C_STANDARD=-std=gnu99
           ELF=
       break;;
   
       SunOS)
           EXPORT_DYNAMIC=-Wl,--export-dynamic
           NESTED_FUNCTIONS=
   
           ac_configure_args="$ac_configure_args --with-readline=builtin \
                   --disable-shared --enable-static --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
           C_STANDARD=-std=gnu99
           MALLOC=-lumem
           ELF=
     break ;;      break ;;
   
     AIX)      NetBSD)
         EXPORT_DYNAMIC=--export-dynamic          EXPORT_DYNAMIC=-Wl,--export-dynamic
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES  
           ac_configure_args="$ac_configure_args --with-readline=builtin \
                   --disable-shared --enable-static --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
           C_STANDARD=-std=gnu99
           GCCBIN=`which gcc`
           GCCLIB=`dirname $GCCBIN`/../lib
           ELF="-Wl,-R/usr/pkg/lib -Wl,-R$GCCLIB"
     break ;;      break ;;
   
     *)      *)
         EXPORT_DYNAMIC=--export-dynamic          EXPORT_DYNAMIC=-Wl,--export-dynamic
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES  
           ac_configure_args="$ac_configure_args --with-readline=builtin \
                   --disable-shared --enable-static --enable-threads \
                   CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \
                   FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \
                   LDFLAGS=\"$LDFLAGS\""
           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
   
   case $HOST in
       x86_64-unknown-linux-gnu)
           ARCH=amd64
       break ;;
   
       i?86-unknown-linux-gnu)
           ARCH=i386
     break ;;      break ;;
   
       *)
           ARCH=unknown
       break ;;
 esac  esac
   
   
Line 9011  esac Line 9661  esac
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   if test $RECURSIVE = yes; then
       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"
   
   fi
   
 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 9039  ac_config_files="$ac_config_files rplico Line 9739  ac_config_files="$ac_config_files rplico
   
 ac_config_files="$ac_config_files rplsums/Makefile"  ac_config_files="$ac_config_files rplsums/Makefile"
   
   ac_config_files="$ac_config_files rplcas/Makefile"
   
   ac_config_files="$ac_config_files rplawk/Makefile"
   
 ac_config_files="$ac_config_files lapack/lapack/Makefile"  ac_config_files="$ac_config_files lapack/lapack/Makefile"
   
 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 9067  ac_config_files="$ac_config_files man/fr Line 9769  ac_config_files="$ac_config_files man/fr
 ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"  ac_config_files="$ac_config_files man/fr_FR/mkrplso.1"
   
   
   ac_config_files="$ac_config_files DEBIAN/control"
   
   
 cat >confcache <<\_ACEOF  cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure  # This file is a shell script that caches the results of configure
 # tests run on this system so they can be shared between configure  # tests run on this system so they can be shared between configure
Line 9150  DEFS=-DHAVE_CONFIG_H Line 9855  DEFS=-DHAVE_CONFIG_H
   
 ac_libobjs=  ac_libobjs=
 ac_ltlibobjs=  ac_ltlibobjs=
   U=
 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   # 1. Remove the extension, and $U if already installed.    # 1. Remove the extension, and $U if already installed.
   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
Line 9173  else Line 9879  else
 fi  fi
   
 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then  if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   as_fn_error "conditional \"AMDEP\" was never defined.    as_fn_error $? "conditional \"AMDEP\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi  fi
 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then  if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   as_fn_error "conditional \"am__fastdepCC\" was never defined.    as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi  fi
 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then  if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   as_fn_error "conditional \"am__fastdepCXX\" was never defined.    as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi  fi
   
Line 9331  export LANGUAGE Line 10037  export LANGUAGE
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   
   
 # as_fn_error ERROR [LINENO LOG_FD]  # as_fn_error STATUS ERROR [LINENO LOG_FD]
 # ---------------------------------  # ----------------------------------------
 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are  # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the  # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 # script with status $?, using 1 if that was 0.  # script with STATUS, using 1 if that was 0.
 as_fn_error ()  as_fn_error ()
 {  {
   as_status=$?; test $as_status -eq 0 && as_status=1    as_status=$1; test $as_status -eq 0 && as_status=1
   if test "$3"; then    if test "$4"; then
     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack      as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3      $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   fi    fi
   $as_echo "$as_me: error: $1" >&2    $as_echo "$as_me: error: $2" >&2
   as_fn_exit $as_status    as_fn_exit $as_status
 } # as_fn_error  } # as_fn_error
   
Line 9539  $as_echo X"$as_dir" | Line 10245  $as_echo X"$as_dir" |
       test -d "$as_dir" && break        test -d "$as_dir" && break
     done      done
     test -z "$as_dirs" || eval "mkdir $as_dirs"      test -z "$as_dirs" || eval "mkdir $as_dirs"
   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"    } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   
   
 } # as_fn_mkdir_p  } # as_fn_mkdir_p
Line 9592  cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri Line 10298  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.16, which was  This file was extended by rpl $as_me 4.1.6, which was
 generated by GNU Autoconf 2.65.  Invocation command line was  generated by GNU Autoconf 2.67.  Invocation command line was
   
   CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS    CONFIG_HEADERS  = $CONFIG_HEADERS
Line 9658  _ACEOF Line 10364  _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.16  rpl config.status 4.1.6
 configured by $0, generated by GNU Autoconf 2.65,  configured by $0, generated by GNU Autoconf 2.67,
   with options \\"\$ac_cs_config\\"    with options \\"\$ac_cs_config\\"
   
 Copyright (C) 2009 Free Software Foundation, Inc.  Copyright (C) 2010 Free Software Foundation, Inc.
 This config.status script is free software; the Free Software Foundation  This config.status script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
   
Line 9680  ac_need_defaults=: Line 10386  ac_need_defaults=:
 while test $# != 0  while test $# != 0
 do  do
   case $1 in    case $1 in
   --*=*)    --*=?*)
     ac_option=`expr "X$1" : 'X\([^=]*\)='`      ac_option=`expr "X$1" : 'X\([^=]*\)='`
     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     ac_shift=:      ac_shift=:
     ;;      ;;
     --*=)
       ac_option=`expr "X$1" : 'X\([^=]*\)='`
       ac_optarg=
       ac_shift=:
       ;;
   *)    *)
     ac_option=$1      ac_option=$1
     ac_optarg=$2      ac_optarg=$2
Line 9706  do Line 10417  do
     $ac_shift      $ac_shift
     case $ac_optarg in      case $ac_optarg in
     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
       '') as_fn_error $? "missing file argument" ;;
     esac      esac
     as_fn_append CONFIG_FILES " '$ac_optarg'"      as_fn_append CONFIG_FILES " '$ac_optarg'"
     ac_need_defaults=false;;      ac_need_defaults=false;;
Line 9718  do Line 10430  do
     ac_need_defaults=false;;      ac_need_defaults=false;;
   --he | --h)    --he | --h)
     # Conflict between --help and --header      # Conflict between --help and --header
     as_fn_error "ambiguous option: \`$1'      as_fn_error $? "ambiguous option: \`$1'
 Try \`$0 --help' for more information.";;  Try \`$0 --help' for more information.";;
   --help | --hel | -h )    --help | --hel | -h )
     $as_echo "$ac_cs_usage"; exit ;;      $as_echo "$ac_cs_usage"; exit ;;
Line 9727  Try \`$0 --help' for more information."; Line 10439  Try \`$0 --help' for more information.";
     ac_cs_silent=: ;;      ac_cs_silent=: ;;
   
   # This is an error.    # This is an error.
   -*) as_fn_error "unrecognized option: \`$1'    -*) as_fn_error $? "unrecognized option: \`$1'
 Try \`$0 --help' for more information." ;;  Try \`$0 --help' for more information." ;;
   
   *) as_fn_append ac_config_targets " $1"    *) as_fn_append ac_config_targets " $1"
Line 9797  do Line 10509  do
     "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;      "rpltags/Makefile") CONFIG_FILES="$CONFIG_FILES rpltags/Makefile" ;;
     "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;      "rpliconv/Makefile") CONFIG_FILES="$CONFIG_FILES rpliconv/Makefile" ;;
     "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;      "rplsums/Makefile") CONFIG_FILES="$CONFIG_FILES rplsums/Makefile" ;;
       "rplcas/Makefile") CONFIG_FILES="$CONFIG_FILES rplcas/Makefile" ;;
       "rplawk/Makefile") CONFIG_FILES="$CONFIG_FILES rplawk/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" ;;
Line 9810  do Line 10523  do
     "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;      "man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;;
     "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;      "man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;;
     "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;      "man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;;
       "DEBIAN/control") CONFIG_FILES="$CONFIG_FILES DEBIAN/control" ;;
   
   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;    *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
   esac    esac
 done  done
   
Line 9849  $debug || Line 10563  $debug ||
 {  {
   tmp=./conf$$-$RANDOM    tmp=./conf$$-$RANDOM
   (umask 077 && mkdir "$tmp")    (umask 077 && mkdir "$tmp")
 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5  } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   
 # Set up the scripts for CONFIG_FILES section.  # Set up the scripts for CONFIG_FILES section.
 # No need to generate them if there are no CONFIG_FILES.  # No need to generate them if there are no CONFIG_FILES.
Line 9866  if test "x$ac_cr" = x; then Line 10580  if test "x$ac_cr" = x; then
 fi  fi
 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`  ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then  if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   ac_cs_awk_cr='\r'    ac_cs_awk_cr='\\r'
 else  else
   ac_cs_awk_cr=$ac_cr    ac_cs_awk_cr=$ac_cr
 fi  fi
Line 9880  _ACEOF Line 10594  _ACEOF
   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   echo "_ACEOF"    echo "_ACEOF"
 } >conf$$subs.sh ||  } >conf$$subs.sh ||
   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`  ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 ac_delim='%!_!# '  ac_delim='%!_!# '
 for ac_last_try in false false false false false :; do  for ac_last_try in false false false false false :; do
   . ./conf$$subs.sh ||    . ./conf$$subs.sh ||
     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5      as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   
   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   if test $ac_delim_n = $ac_delim_num; then    if test $ac_delim_n = $ac_delim_num; then
     break      break
   elif $ac_last_try; then    elif $ac_last_try; then
     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5      as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   else    else
     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   fi    fi
Line 9980  if sed "s/$ac_cr//" < /dev/null > /dev/n Line 10694  if sed "s/$ac_cr//" < /dev/null > /dev/n
 else  else
   cat    cat
 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \  fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   || as_fn_error "could not setup config files machinery" "$LINENO" 5    || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 _ACEOF  _ACEOF
   
 # VPATH may cause trouble with some makes, so we remove $(srcdir),  # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and  # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 # trailing colons and then remove the whole line if VPATH becomes empty  # trailing colons and then remove the whole line if VPATH becomes empty
 # (actually we leave an empty line to preserve line numbers).  # (actually we leave an empty line to preserve line numbers).
 if test "x$srcdir" = x.; then  if test "x$srcdir" = x.; then
   ac_vpsub='/^[  ]*VPATH[    ]*=/{    ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
 s/:*\$(srcdir):*/:/  h
 s/:*\${srcdir}:*/:/  s///
 s/:*@srcdir@:*/:/  s/^/:/
 s/^\([^=]*=[     ]*\):*/\1/  s/[  ]*$/:/
   s/:\$(srcdir):/:/g
   s/:\${srcdir}:/:/g
   s/:@srcdir@:/:/g
   s/^:*//
 s/:*$//  s/:*$//
   x
   s/\(=[   ]*\).*/\1/
   G
   s/\n//
 s/^[^=]*=[   ]*$//  s/^[^=]*=[   ]*$//
 }'  }'
 fi  fi
Line 10021  for ac_last_try in false false :; do Line 10743  for ac_last_try in false false :; do
   if test -z "$ac_t"; then    if test -z "$ac_t"; then
     break      break
   elif $ac_last_try; then    elif $ac_last_try; then
     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5      as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   else    else
     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   fi    fi
Line 10106  cat >>$CONFIG_STATUS <<_ACEOF || ac_writ Line 10828  cat >>$CONFIG_STATUS <<_ACEOF || ac_writ
 _ACAWK  _ACAWK
 _ACEOF  _ACEOF
 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   as_fn_error "could not setup config headers machinery" "$LINENO" 5    as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 fi # test -n "$CONFIG_HEADERS"  fi # test -n "$CONFIG_HEADERS"
   
   
Line 10119  do Line 10841  do
   esac    esac
   case $ac_mode$ac_tag in    case $ac_mode$ac_tag in
   :[FHL]*:*);;    :[FHL]*:*);;
   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;    :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
   :[FH]-) ac_tag=-:-;;    :[FH]-) ac_tag=-:-;;
   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   esac    esac
Line 10147  do Line 10869  do
        [\\/$]*) false;;         [\\/$]*) false;;
        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;         *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
        esac ||         esac ||
        as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;         as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
       esac        esac
       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
       as_fn_append ac_file_inputs " '$ac_f'"        as_fn_append ac_file_inputs " '$ac_f'"
Line 10174  $as_echo "$as_me: creating $ac_file" >&6 Line 10896  $as_echo "$as_me: creating $ac_file" >&6
   
     case $ac_tag in      case $ac_tag in
     *:-:* | *:-) cat >"$tmp/stdin" \      *:-:* | *:-) cat >"$tmp/stdin" \
       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;        || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
     esac      esac
     ;;      ;;
   esac    esac
Line 10311  s&@MKDIR_P@&$ac_MKDIR_P&;t t Line 11033  s&@MKDIR_P@&$ac_MKDIR_P&;t t
 $ac_datarootdir_hack  $ac_datarootdir_hack
 "  "
 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \  eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   || as_fn_error "could not create $ac_file" "$LINENO" 5    || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   
 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 which seems to be undefined.  Please make sure it is defined." >&5  which seems to be undefined.  Please make sure it is defined" >&5
 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'  $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 which seems to be undefined.  Please make sure it is defined." >&2;}  which seems to be undefined.  Please make sure it is defined" >&2;}
   
   rm -f "$tmp/stdin"    rm -f "$tmp/stdin"
   case $ac_file in    case $ac_file in
   -) cat "$tmp/out" && rm -f "$tmp/out";;    -) cat "$tmp/out" && rm -f "$tmp/out";;
   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   esac \    esac \
   || as_fn_error "could not create $ac_file" "$LINENO" 5    || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  ;;   ;;
   :H)    :H)
   #    #
Line 10337  which seems to be undefined.  Please mak Line 11059  which seems to be undefined.  Please mak
       $as_echo "/* $configure_input  */" \        $as_echo "/* $configure_input  */" \
       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"        && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
     } >"$tmp/config.h" \      } >"$tmp/config.h" \
       || as_fn_error "could not create $ac_file" "$LINENO" 5        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then      if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 $as_echo "$as_me: $ac_file is unchanged" >&6;}  $as_echo "$as_me: $ac_file is unchanged" >&6;}
     else      else
       rm -f "$ac_file"        rm -f "$ac_file"
       mv "$tmp/config.h" "$ac_file" \        mv "$tmp/config.h" "$ac_file" \
     || as_fn_error "could not create $ac_file" "$LINENO" 5      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     fi      fi
   else    else
     $as_echo "/* $configure_input  */" \      $as_echo "/* $configure_input  */" \
       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \        && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
       || as_fn_error "could not create -" "$LINENO" 5        || as_fn_error $? "could not create -" "$LINENO" 5
   fi    fi
 # Compute "$ac_file"'s index in $config_headers.  # Compute "$ac_file"'s index in $config_headers.
 _am_arg="$ac_file"  _am_arg="$ac_file"
Line 10499  _ACEOF Line 11221  _ACEOF
 ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
   
 test $ac_write_fail = 0 ||  test $ac_write_fail = 0 ||
   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5    as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   
   
 # configure is writing to config.log, and then calls config.status.  # configure is writing to config.log, and then calls config.status.
Line 10520  if test "$no_create" != yes; then Line 11242  if test "$no_create" != yes; then
   exec 5>>config.log    exec 5>>config.log
   # Use ||, not &&, to avoid exiting from the if with $? = 1, which    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   # would make configure fail if this is the last instruction.    # would make configure fail if this is the last instruction.
   $ac_cs_success || as_fn_exit $?    $ac_cs_success || as_fn_exit 1
 fi  fi
   
 #  #
Line 10661  $as_echo "$as_me: running $SHELL $ac_sub Line 11383  $as_echo "$as_me: running $SHELL $ac_sub
       # The eval makes quoting arguments work.        # The eval makes quoting arguments work.
       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \        eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||         --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
     as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5      as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
     fi      fi
   
     cd "$ac_popdir"      cd "$ac_popdir"

Removed from v.1.26  
changed lines
  Added in v.1.104


CVSweb interface <joel.bertrand@systella.fr>