Diff for /rpl/Attic/configure between versions 1.84 and 1.107

version 1.84, 2011/09/17 10:38:30 version 1.107, 2012/03/01 10:14:02
Line 1 Line 1
 #! /bin/sh  #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.68 for rpl 4.1.3.  # Generated by GNU Autoconf 2.68 for rpl 4.1.7.
 #  #
 #  #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
Line 557  MAKEFLAGS= Line 557  MAKEFLAGS=
 # Identity of this package.  # Identity of this package.
 PACKAGE_NAME='rpl'  PACKAGE_NAME='rpl'
 PACKAGE_TARNAME='rpl'  PACKAGE_TARNAME='rpl'
 PACKAGE_VERSION='4.1.3'  PACKAGE_VERSION='4.1.7'
 PACKAGE_STRING='rpl 4.1.3'  PACKAGE_STRING='rpl 4.1.7'
 PACKAGE_BUGREPORT=''  PACKAGE_BUGREPORT=''
 PACKAGE_URL=''  PACKAGE_URL=''
   
Line 604  ac_subst_vars='am__EXEEXT_FALSE Line 604  ac_subst_vars='am__EXEEXT_FALSE
 am__EXEEXT_TRUE  am__EXEEXT_TRUE
 LTLIBOBJS  LTLIBOBJS
 LIBOBJS  LIBOBJS
   DEBVIM
   DEBMYSQL
   DEBPQ
 LIBMOTIF  LIBMOTIF
 INCMOTIF  INCMOTIF
 GIAC  GIAC
Line 630  GSL Line 633  GSL
 UNITS  UNITS
 READLINE  READLINE
 NCURSES  NCURSES
   ARCH
 ELF  ELF
 BSH_PATH  BSH_PATH
 IPV6  IPV6
Line 639  SEMAPHORES_NOMMES Line 643  SEMAPHORES_NOMMES
 NESTED_FUNCTIONS  NESTED_FUNCTIONS
 EXPORT_DYNAMIC  EXPORT_DYNAMIC
 C_STANDARD  C_STANDARD
   LIB_PREFIX
   WHOLE_LIB2
   WHOLE_LIB1
 OS  OS
 HOST  HOST
 GNUPLOT_COMPILATION  GNUPLOT_COMPILATION
Line 673  LN_S Line 680  LN_S
 RUNPATH  RUNPATH
 PROFILAGE  PROFILAGE
 subdirs  subdirs
   PSELECT
   SHARED_MEMORY
 LIBRPLCAS  LIBRPLCAS
 RPLCAS  RPLCAS
 ABI  ABI
   RPLTOOLS
 X_EXTRA_LIBS  X_EXTRA_LIBS
 X_LIBS  X_LIBS
 X_PRE_LIBS  X_PRE_LIBS
Line 697  CXX Line 707  CXX
 am__fastdepCC_FALSE  am__fastdepCC_FALSE
 am__fastdepCC_TRUE  am__fastdepCC_TRUE
 CCDEPMODE  CCDEPMODE
   am__nodep
 AMDEPBACKSLASH  AMDEPBACKSLASH
 AMDEP_FALSE  AMDEP_FALSE
 AMDEP_TRUE  AMDEP_TRUE
Line 710  CPPFLAGS Line 721  CPPFLAGS
 LDFLAGS  LDFLAGS
 CFLAGS  CFLAGS
 CC  CC
   AM_BACKSLASH
   AM_DEFAULT_VERBOSITY
   AM_DEFAULT_V
   AM_V
 am__untar  am__untar
 am__tar  am__tar
 AMTAR  AMTAR
Line 786  SHELL' Line 801  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_32bits_abi
 with_64bits_abi  with_64bits_abi
 with_rplcas  enable_recursive
   with_rpltools
   enable_rplcas
 enable_optimization  enable_optimization
 enable_sysv_semaphores  enable_sysv_ipcs
 enable_full_static  enable_full_static
 enable_final_encoding  enable_final_encoding
 enable_tex  enable_tex
Line 1379  if test "$ac_init_help" = "long"; then Line 1397  if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF    cat <<_ACEOF
 \`configure' configures rpl 4.1.3 to adapt to many kinds of systems.  \`configure' configures rpl 4.1.7 to adapt to many kinds of systems.
   
 Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
   
Line 1454  fi Line 1472  fi
   
 if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
   case $ac_init_help in    case $ac_init_help in
      short | recursive ) echo "Configuration of rpl 4.1.3:";;       short | recursive ) echo "Configuration of rpl 4.1.7:";;
    esac     esac
   cat <<\_ACEOF    cat <<\_ACEOF
   
Line 1462  Optional Features: Line 1480  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-sysv-ipcs      use SystemV IPC functions [default=guessed]
   --enable-full-static    build static RPL/2 engine [default=shared]    --enable-full-static    build static RPL/2 engine [default=shared]
Line 1484  Optional Packages: Line 1506  Optional Packages:
   --with-x                use the X Window System    --with-x                use the X Window System
   --with-32bits-abi       force 32bits ABI (multilib)    --with-32bits-abi       force 32bits ABI (multilib)
   --with-64bits-abi       force 64bits ABI (multilib)    --with-64bits-abi       force 64bits ABI (multilib)
   --with-rplcas           compile rplcas (default=no)    --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-bourne-shell=PATH  specify path for OS/2 bourne shell
Line 1573  fi Line 1595  fi
 test -n "$ac_init_help" && exit $ac_status  test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then  if $ac_init_version; then
   cat <<\_ACEOF    cat <<\_ACEOF
 rpl configure 4.1.3  rpl configure 4.1.7
 generated by GNU Autoconf 2.68  generated by GNU Autoconf 2.68
   
 Copyright (C) 2010 Free Software Foundation, Inc.  Copyright (C) 2010 Free Software Foundation, Inc.
Line 2284  cat >config.log <<_ACEOF Line 2306  cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
   
 It was created by rpl $as_me 4.1.3, which was  It was created by rpl $as_me 4.1.7, which was
 generated by GNU Autoconf 2.68.  Invocation command line was  generated by GNU Autoconf 2.68.  Invocation command line was
   
   $ $0 $@    $ $0 $@
Line 3188  else Line 3210  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_make=${MAKE-make}
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   if ${am_cv_make_support_nested_variables+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     if $as_echo 'TRUE=$(BAR$(V))
   BAR0=false
   BAR1=true
   V=1
   am__doit:
       @$(TRUE)
   .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
     am_cv_make_support_nested_variables=yes
   else
     am_cv_make_support_nested_variables=no
   fi
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   $as_echo "$am_cv_make_support_nested_variables" >&6; }
   if test $am_cv_make_support_nested_variables = yes; then
       AM_V='$(V)'
     AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   else
     AM_V=$AM_DEFAULT_VERBOSITY
     AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   fi
   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."
Line 3210  fi Line 3271  fi
   
 # Define the identity of the package.  # Define the identity of the package.
  PACKAGE='rpl'   PACKAGE='rpl'
  VERSION='4.1.3'   VERSION='4.1.7'
   
   
 cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
Line 3240  MAKEINFO=${MAKEINFO-"${am_missing_run}ma Line 3301  MAKEINFO=${MAKEINFO-"${am_missing_run}ma
   
 # We need awk for the "check" target.  The system "awk" is bad on  # We need awk for the "check" target.  The system "awk" is bad on
 # some platforms.  # some platforms.
 # Always define AMTAR for backward compatibility.  # Always define AMTAR for backward compatibility.  Yes, it's still used
   # in the wild :-(  We should find a proper way to deprecate it ...
   AMTAR='$${TAR-tar}'
   
   am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   
 AMTAR=${AMTAR-"${am_missing_run}tar"}  
   
 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'  
   
   
   
   # 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_make=${MAKE-make}
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   if ${am_cv_make_support_nested_variables+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     if $as_echo 'TRUE=$(BAR$(V))
   BAR0=false
   BAR1=true
   V=1
   am__doit:
       @$(TRUE)
   .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
     am_cv_make_support_nested_variables=yes
   else
     am_cv_make_support_nested_variables=no
   fi
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   $as_echo "$am_cv_make_support_nested_variables" >&6; }
   if test $am_cv_make_support_nested_variables = yes; then
       AM_V='$(V)'
     AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   else
     AM_V=$AM_DEFAULT_VERBOSITY
     AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   fi
   AM_BACKSLASH='\'
   
   
 ac_config_headers="$ac_config_headers rplconfig.h"  ac_config_headers="$ac_config_headers rplconfig.h"
Line 3262  GPP=gpp-3.0 Line 3362  GPP=gpp-3.0
 GNUPLOT=gnuplot-4.4.3  GNUPLOT=gnuplot-4.4.3
 FILE=file-5.03  FILE=file-5.03
 ICONV=libiconv-1.13.1  ICONV=libiconv-1.13.1
 SQLITE=sqlite-3.7.7.1  SQLITE=sqlite-3.7.10
 OPENSSL=openssl-1.0.0e  OPENSSL=openssl-1.0.0g
 OPENMOTIF=openmotif-2.3.3  OPENMOTIF=openmotif-2.3.3
 LIBXPM=libXpm-3.5.9  LIBXPM=libXpm-3.5.9
 SIGSEGV=libsigsegv-2.6  SIGSEGV=libsigsegv-2.6
Line 3273  MPFR=mpfr-3.0.1 Line 3373  MPFR=mpfr-3.0.1
 NTL=ntl-5.5.2  NTL=ntl-5.5.2
 COCOA=CoCoALib-0.9943  COCOA=CoCoALib-0.9943
 PARI=pari-2.5.0  PARI=pari-2.5.0
 GIAC=giac-0.9.3  GIAC=giac-0.9.5
   
 ac_ext=c  ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
Line 3924  fi Line 4024  fi
 if test "x$enable_dependency_tracking" != xno; then  if test "x$enable_dependency_tracking" != xno; then
   am_depcomp="$ac_aux_dir/depcomp"    am_depcomp="$ac_aux_dir/depcomp"
   AMDEPBACKSLASH='\'    AMDEPBACKSLASH='\'
     am__nodep='_no'
 fi  fi
  if test "x$enable_dependency_tracking" != xno; then   if test "x$enable_dependency_tracking" != xno; then
   AMDEP_TRUE=    AMDEP_TRUE=
Line 3948  else Line 4049  else
   # instance it was reported that on HP-UX the gcc test will end up    # instance it was reported that on HP-UX the gcc test will end up
   # making a dummy file named `D' -- because `-MD' means `put the output    # making a dummy file named `D' -- because `-MD' means `put the output
   # in D'.    # in D'.
     rm -rf conftest.dir
   mkdir conftest.dir    mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're    # Copy depcomp to subdir because otherwise we won't find it if we're
   # using a relative directory.    # using a relative directory.
Line 4007  else Line 4109  else
     break      break
       fi        fi
       ;;        ;;
     msvisualcpp | msvcmsys)      msvc7 | msvc7msys | msvisualcpp | msvcmsys)
       # This compiler won't grok `-c -o', but also, the minuso test has        # This compiler won't grok `-c -o', but also, the minuso test has
       # not run yet.  These depmodes are late enough in the game, and        # not run yet.  These depmodes are late enough in the game, and
       # so weak that their functioning should not be impacted.        # so weak that their functioning should not be impacted.
Line 4487  else Line 4589  else
   # instance it was reported that on HP-UX the gcc test will end up    # instance it was reported that on HP-UX the gcc test will end up
   # making a dummy file named `D' -- because `-MD' means `put the output    # making a dummy file named `D' -- because `-MD' means `put the output
   # in D'.    # in D'.
     rm -rf conftest.dir
   mkdir conftest.dir    mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're    # Copy depcomp to subdir because otherwise we won't find it if we're
   # using a relative directory.    # using a relative directory.
Line 4546  else Line 4649  else
     break      break
       fi        fi
       ;;        ;;
     msvisualcpp | msvcmsys)      msvc7 | msvc7msys | msvisualcpp | msvcmsys)
       # This compiler won't grok `-c -o', but also, the minuso test has        # This compiler won't grok `-c -o', but also, the minuso test has
       # not run yet.  These depmodes are late enough in the game, and        # not run yet.  These depmodes are late enough in the game, and
       # so weak that their functioning should not be impacted.        # so weak that their functioning should not be impacted.
Line 4602  fi Line 4705  fi
   
   
   
 if test "$CXX" != "g++"; 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  fi
   
Line 4838  ac_link='$CC -o conftest$ac_exeext $CFLA Line 4941  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 5049  ac_link='$CC -o conftest$ac_exeext $CFLA Line 5148  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
   fi
   
   if test x"$FC" == 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  fi
   
Line 5946  fi Line 6049  fi
   
 LDFLAGS="$LDFLAGS $ABI"  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
   
   
 # Check whether --with-rplcas was given.  fi
 if test "${with_rplcas+set}" = set; then :  
   withval=$with_rplcas;  
 if test "$with-rplcas" = "no"; then  
   # 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      RPLCAS=-URPLCAS
     LIBRPLCAS=      LIBRPLCAS=
 else  else
Line 5995  else Line 6132  else
 fi  fi
   
   
 # Check whether --enable-sysv-semaphores was given.  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable shared memory" >&5
 if test "${enable_sysv_semaphores+set}" = set; then :  $as_echo_n "checking for usable shared memory... " >&6; }
   enableval=$enable_sysv_semaphores;  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  if test "$enableval" = "no"; then
     IPCS_SYSV=no      IPCS_SYSV=-UIPCS_SYSV
       POSIX_IPCS=no
 else  else
     IPCS_SYSV=yes      IPCS_SYSV=-DIPCS_SYSV
       POSIX_IPCS=yes
 fi  fi
 else  else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX semaphores" >&5    REG=$LDFLAGS
 $as_echo_n "checking for POSIX semaphores... " >&6; }  POSIX_IPCS=guessed
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  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.  */  /* end confdefs.h.  */
 #include <sys/mman.h>  #include <sys/mman.h>
 #include <sys/stat.h>  #include <sys/stat.h>
Line 6015  cat confdefs.h - <<_ACEOF >conftest.$ac_ Line 6224  cat confdefs.h - <<_ACEOF >conftest.$ac_
 int  int
 main ()  main ()
 {  {
  int fd; char *sem = "/sem.test";   int fd; char *sem = "/test";
 fd = shm_open(sem , O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);  fd = shm_open(sem , O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
   close(fd);    close(fd);
   shm_unlink(sem);    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);
   
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :  if ac_fn_c_try_run "$LINENO"; then :
   IPCS_SYSV=-UIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5    IPCS_SYSV=-UIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
 else  else
Line 6033  else Line 6245  else
 $as_echo "no" >&6; }  $as_echo "no" >&6; }
   
 fi  fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  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"; then  if test "$IPCS_SYSV" = "-UIPCS_SYSV" -a "$POSIX_IPCS" = "guessed"; then
 REG=$LDFLAGS  REG=$LDFLAGS
 LDFLAGS=-pthread  LDFLAGS=-pthread
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX anonymous semaphores" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX anonymous semaphores" >&5
Line 6133  if test "${enable_vim+set}" = set; then Line 6349  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 6201  fi Line 6419  fi
   
   
 if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then  if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then
     libX="$X_LIBS -lXt -lX11"      libX="$X_LIBS -lXt -lX11 -lXext"
     LIBMOTIF="\$(top_builddir)/tools/$OPENMOTIF/lib/Xm/.libs/libXm.a \      LIBMOTIF="\$(top_builddir)/tools/$OPENMOTIF/lib/Xm/.libs/libXm.a \
             \$(top_builddir)/tools/$LIBXPM/src/.libs/libXpm.a"              \$(top_builddir)/tools/$LIBXPM/src/.libs/libXpm.a"
     INCMOTIF="-I\$(top_srcdir)/tools/$OPENMOTIF/lib \      INCMOTIF="-I\$(top_srcdir)/tools/$OPENMOTIF/lib \
             -I\$(top_builddir)/tools/$OPENMOTIF/lib \              -I\$(top_builddir)/tools/$OPENMOTIF/lib \
             -I\$(top_builddir)/tools/$LIBXPM/include"              -I\$(top_srcdir)/tools/$LIBXPM/include"
     BUILD_OPENMOTIF="$LIBXPM $OPENMOTIF"      BUILD_OPENMOTIF="$LIBXPM $OPENMOTIF"
   
       if test $RECURSIVE = yes; then
   
   
 subdirs="$subdirs tools/$LIBXPM"  subdirs="$subdirs tools/$LIBXPM"
   
     subdirs="$subdirs tools/$OPENMOTIF"          subdirs="$subdirs tools/$OPENMOTIF"
   
       fi;
 fi  fi
   
 # Check whether --enable-experimental was given.  # Check whether --enable-experimental was given.
Line 6264  if test ! -d "$srcdir"/tools/$NCURSES; t Line 6485  if test ! -d "$srcdir"/tools/$NCURSES; t
     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 && \      (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;              for i in ../$NCURSES*.patch.gz;
             do gunzip -c $i | patch -p1;              do gunzip -c $i | patch -p1;
             done);              done);
Line 6984  $as_echo "$as_me: WARNING: Cannot find v Line 7211  $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
   
Line 7049  else Line 7280  else
   as_fn_error $? "Can not find libm !" "$LINENO" 5    as_fn_error $? "Can not find libm !" "$LINENO" 5
 fi  fi
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5  { $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 ${ac_cv_lib_c_pthread_mutex_init+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-lc  $LIBS"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* 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
   main ()
   {
   return pthread_mutex_init ();
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
     ac_cv_lib_c_pthread_mutex_init=yes
   else
     ac_cv_lib_c_pthread_mutex_init=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_c_pthread_mutex_init" >&5
   $as_echo "$ac_cv_lib_c_pthread_mutex_init" >&6; }
   if test "x$ac_cv_lib_c_pthread_mutex_init" = xyes; then :
     cat >>confdefs.h <<_ACEOF
   #define HAVE_LIBC 1
   _ACEOF
   
     LIBS="-lc $LIBS"
   
   else
     { $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 ${ac_cv_lib_pthread_main+:} false; then :  if ${ac_cv_lib_pthread_main+:} false; then :
   $as_echo_n "(cached) " >&6    $as_echo_n "(cached) " >&6
Line 7090  else Line 7365  else
   as_fn_error $? "Can not find libpthread !" "$LINENO" 5    as_fn_error $? "Can not find libpthread !" "$LINENO" 5
 fi  fi
   
   fi
   
   
 ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "  ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
 #include <sys/sem.h>  #include <sys/sem.h>
Line 7443  fi Line 7720  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; }
Line 7486  rm -f core conftest.err conftest.$ac_obj Line 7764  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 7828  rm -f core conftest.err conftest.$ac_obj Line 8110  rm -f core conftest.err conftest.$ac_obj
     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  fi
   
   
Line 7854  fi Line 8140  fi
   
 if test "x$with_bourne_shell" = xno; then  if test "x$with_bourne_shell" = xno; then
     if test $(uname) = "OS/2"; then      if test $(uname) = "OS/2"; then
         as_fn_error $? "With OS/2 or eComstation, you have to specify a valide shell path !" "$LINENO" 5          as_fn_error $? "With OS/2 or eComstation, you have to specify a valide
   shell path with --with-bourne-shell=PATH !" "$LINENO" 5
     fi      fi
   
     BSH_PATH=      BSH_PATH=
Line 9151  if test "$MYGNUPLOT" = "yes"; then Line 9438  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 9160  fi Line 9451  fi
   
   
   
 HOST=$host  HOST=$target
   
   
 case $host_cpu in  my_save_cflags="$CFLAGS"
   FPCFLAGS=""
   
     i?86)  CFLAGS=-malign-double
     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \  { $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 -malign-double -mieee-fp -Wall -fno-f2c"  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"  /* end confdefs.h.  */
     break ;;  
   
     x86_64*)  int
     CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \  main ()
             -Wno-pointer-sign"  {
     FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c"  
     FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c"  
     break ;;  
   
     alpha*)    ;
     CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \    return 0;
             -Wno-pointer-sign"  }
     FFLAGS="$FFLAGS -mieee -Wall"  _ACEOF
     FCFLAGS="$FCFLAGS -mieee -Wall"  if ac_fn_c_try_compile "$LINENO"; then :
     break ;;    { $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.  */
   
     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 -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.  */
   
 case $host_os in  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 $target_os in
   
     cygwin*)      cygwin*)
         OS=Cygwin          OS=Cygwin
Line 9218  DATE=$(env LC_ALL=C date +'%A %x, %X %Z' Line 9553  DATE=$(env LC_ALL=C date +'%A %x, %X %Z'
 MALLOC=  MALLOC=
   
 case $OS in  case $OS in
   
     Darwin)      Darwin)
         EXPORT_DYNAMIC=-Wl,-flat_namespace          EXPORT_DYNAMIC=-Wl,-flat_namespace
         NESTED_FUNCTIONS=-fnested-functions          NESTED_FUNCTIONS=-fnested-functions
Line 9341  case $OS in Line 9675  case $OS in
         C_STANDARD=-std=gnu99          C_STANDARD=-std=gnu99
         ELF=          ELF=
     break ;;      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  esac
   
   case $HOST in
       x86_64-unknown-linux-gnu)
           ARCH=amd64
       break ;;
   
       i?86-unknown-linux-gnu)
           ARCH=i386
       break ;;
   
       *)
           ARCH=unknown
       break ;;
   esac
   
   
   
Line 9388  esac Line 9747  esac
   
   
   
 subdirs="$subdirs tools/$NCURSES"  
   
 subdirs="$subdirs tools/$READLINE"  
   
 subdirs="$subdirs tools/$GSL"  
   
 subdirs="$subdirs tools/$GPP"  
   
 subdirs="$subdirs tools/$FILE"  
   
 subdirs="$subdirs tools/$ICONV"  
   
 subdirs="$subdirs tools/$SQLITE"  
   
 subdirs="$subdirs tools/$UNITS"  
   
 subdirs="$subdirs tools/$SIGSEGV"  
   
   
   
   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 9465  ac_config_files="$ac_config_files man/fr Line 9837  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 10003  cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri Line 10378  cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
 # report actual input values of CONFIG_FILES etc. instead of their  # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.  # values after options handling.
 ac_log="  ac_log="
 This file was extended by rpl $as_me 4.1.3, which was  This file was extended by rpl $as_me 4.1.7, which was
 generated by GNU Autoconf 2.68.  Invocation command line was  generated by GNU Autoconf 2.68.  Invocation command line was
   
   CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
Line 10069  _ACEOF Line 10444  _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\  ac_cs_version="\\
 rpl config.status 4.1.3  rpl config.status 4.1.7
 configured by $0, generated by GNU Autoconf 2.68,  configured by $0, generated by GNU Autoconf 2.68,
   with options \\"\$ac_cs_config\\"    with options \\"\$ac_cs_config\\"
   
Line 10228  do Line 10603  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

Removed from v.1.84  
changed lines
  Added in v.1.107


CVSweb interface <joel.bertrand@systella.fr>