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

version 1.32, 2010/08/06 15:32:16 version 1.35, 2010/08/15 14:46:23
Line 610  GSL Line 610  GSL
 UNITS  UNITS
 READLINE  READLINE
 NCURSES  NCURSES
   BROKEN_SIGINFO
   IPV6
   SEMUN
   SEMAPHORES_SYSV
 SEMAPHORES_NOMMES  SEMAPHORES_NOMMES
 NESTED_FUNCTIONS  NESTED_FUNCTIONS
 EXPORT_DYNAMIC  EXPORT_DYNAMIC
   C_STANDARD
 OS  OS
 GNUPLOT_COMPILATION  GNUPLOT_COMPILATION
 subdirs  subdirs
Line 1845  $as_echo "$ac_res" >&6; } Line 1850  $as_echo "$ac_res" >&6; }
   
 } # ac_fn_c_check_func  } # ac_fn_c_check_func
   
   # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   # -------------------------------------------
   # Tests whether TYPE exists after having included INCLUDES, setting cache
   # variable VAR accordingly.
   ac_fn_c_check_type ()
   {
     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   $as_echo_n "checking for $2... " >&6; }
   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     $as_echo_n "(cached) " >&6
   else
     eval "$3=no"
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   $4
   int
   main ()
   {
   if (sizeof ($2))
        return 0;
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   $4
   int
   main ()
   {
   if (sizeof (($2)))
           return 0;
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_compile "$LINENO"; then :
   
   else
     eval "$3=yes"
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   fi
   rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   fi
   eval ac_res=\$$3
              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   $as_echo "$ac_res" >&6; }
     eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   
   } # ac_fn_c_check_type
   
 # ac_fn_c_try_run LINENO  # ac_fn_c_try_run LINENO
 # ----------------------  # ----------------------
 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes  # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
Line 2182  fi Line 2241  fi
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   
 } # ac_fn_c_check_header_mongrel  } # ac_fn_c_check_header_mongrel
   
 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES  
 # -------------------------------------------  
 # Tests whether TYPE exists after having included INCLUDES, setting cache  
 # variable VAR accordingly.  
 ac_fn_c_check_type ()  
 {  
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack  
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5  
 $as_echo_n "checking for $2... " >&6; }  
 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :  
   $as_echo_n "(cached) " >&6  
 else  
   eval "$3=no"  
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 $4  
 int  
 main ()  
 {  
 if (sizeof ($2))  
      return 0;  
   ;  
   return 0;  
 }  
 _ACEOF  
 if ac_fn_c_try_compile "$LINENO"; then :  
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext  
 /* end confdefs.h.  */  
 $4  
 int  
 main ()  
 {  
 if (sizeof (($2)))  
         return 0;  
   ;  
   return 0;  
 }  
 _ACEOF  
 if ac_fn_c_try_compile "$LINENO"; then :  
   
 else  
   eval "$3=yes"  
 fi  
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  
 fi  
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  
 fi  
 eval ac_res=\$$3  
            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5  
 $as_echo "$ac_res" >&6; }  
   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}  
   
 } # ac_fn_c_check_type  
 cat >config.log <<_ACEOF  cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
Line 5870  if test "${enable_final_encoding+set}" = Line 5875  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 6066  fi Line 6075  fi
 if test ! -d "$srcdir"/tools/$GSL; then  if test ! -d "$srcdir"/tools/$GSL; then
     gunzip -c "$srcdir"/tools/$GSL.tar.gz | \      gunzip -c "$srcdir"/tools/$GSL.tar.gz | \
             (cd "$srcdir/tools" && tar -xf -)              (cd "$srcdir/tools" && tar -xf -)
       if test $(uname) = "OS/2"; then
           (cd "$srcdir"/tools/$GSL; \
                   TMP=$(mktemp tmp.XXXXXXXXXX); \
                   sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \
                   \mv -f $TMP ltmain.sh)
       fi
 fi  fi
 if test ! -d "$srcdir"/tools/$GPP; then  if test ! -d "$srcdir"/tools/$GPP; then
     gunzip -c "$srcdir"/tools/$GPP.tar.gz | \      gunzip -c "$srcdir"/tools/$GPP.tar.gz | \
Line 6903  else Line 6918  else
 fi  fi
   
   
   ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" "
   #include <sys/sem.h>
   
   "
   if test "x$ac_cv_type_union_semun" = x""yes; then :
     SEMUN=-DUNION_SEMUN
   else
     SEMUN=-UUNION_SEMUN
   fi
   
   
   ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "
   #include <sys/types.h>
   #include <netinet/in.h>
   
   "
   if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then :
     IPV6=-DIPV6
   else
     IPV6=-UIPV6
   fi
   
   
 if test "$CYGWIN" != yes; then  if test "$CYGWIN" != yes; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 $as_echo_n "checking for dlopen in -ldl... " >&6; }  $as_echo_n "checking for dlopen in -ldl... " >&6; }
Line 8758  cat >>confdefs.h <<_ACEOF Line 8796  cat >>confdefs.h <<_ACEOF
 _ACEOF  _ACEOF
   
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken siginfo->si_pid" >&5
   $as_echo_n "checking for broken siginfo->si_pid... " >&6; }
   if test "$cross_compiling" = yes; then :
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   as_fn_error "cannot run test program while cross compiling
   See \`config.log' for more details." "$LINENO" 5; }
   else
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   #include <unistd.h>
   #include <signal.h>
   int flag;
   void handler(int signal, siginfo_t *siginfo, void *context)
   { flag = ((*siginfo).si_pid == getpid()) ? 0 : -1; }
   int
   main ()
   {
   struct sigaction    action;
   action.sa_sigaction = handler;
   action.sa_flags = SA_SIGINFO;
   sigaction(SIGUSR1, &action, NULL);
   raise(SIGUSR1);
   return(flag);
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_run "$LINENO"; then :
     BROKEN_SIGINFO=-U_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   $as_echo "no" >&6; }
   else
     BROKEN_SIGINFO=-D_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   $as_echo "yes" >&6; }
   fi
   rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     conftest.$ac_objext conftest.beam conftest.$ac_ext
   fi
   
   
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
 $as_echo_n "checking for working strcoll... " >&6; }  $as_echo_n "checking for working strcoll... " >&6; }
 if test "${ac_cv_func_strcoll_works+set}" = set; then :  if test "${ac_cv_func_strcoll_works+set}" = set; then :
Line 8887  done Line 8965  done
   
   
   
   
 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 :
   withval=$with_openssl_arch;    withval=$with_openssl_arch;
Line 8915  fi Line 8974  fi
   
   
 if test $(uname) = "OS/2"; then  if test $(uname) = "OS/2"; then
     (cd tools/$OPENSSL && os2/OS2-EMX.cmd)      bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd"
 else  else
     if test "x$with_openssl_arch" = xnone; then      if test "x$with_openssl_arch" = xnone; then
         (cd tools/$OPENSSL && ./config)          (cd tools/$OPENSSL && ./config)
Line 8930  else Line 8989  else
     fi      fi
 fi  fi
   
   
   
   subdirs="$subdirs tools/$NCURSES"
   
   subdirs="$subdirs tools/$READLINE"
   
   subdirs="$subdirs tools/$GSL"
   
   subdirs="$subdirs tools/$GPP"
   
   subdirs="$subdirs tools/$FILE"
   
   subdirs="$subdirs tools/$ICONV"
   
   subdirs="$subdirs tools/$SQLITE"
   
   subdirs="$subdirs tools/$UNITS"
   
   
 if test "$MYGNUPLOT" = "yes"; then  if test "$MYGNUPLOT" = "yes"; then
     if test ! -d "$srcdir"/tools/$GNUPLOT; then      if test ! -d "$srcdir"/tools/$GNUPLOT; then
         gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \          gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \
Line 9003  case $OS in Line 9081  case $OS in
         EXPORT_DYNAMIC=-Wl,-flat_namespace          EXPORT_DYNAMIC=-Wl,-flat_namespace
         NESTED_FUNCTIONS=-fnested-functions          NESTED_FUNCTIONS=-fnested-functions
         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES          SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
           SEMAPHORES_SYSV=-USEMAPHORES_SYSV
         CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"          CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING"
         ac_configure_args="$ac_configure_args --with-readline=builtin \          ac_configure_args="$ac_configure_args --with-readline=builtin \
                 --disable-shared --enable-static"                  --disable-shared --enable-static"
           C_STANDARD=-std=gnu99
     break ;;      break ;;
   
     Cygwin)      Cygwin)
         EXPORT_DYNAMIC=-Wl,--export-all-symbols          EXPORT_DYNAMIC=-Wl,--export-all-symbols
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES          SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
           SEMAPHORES_SYSV=-USEMAPHORES_SYSV
         ac_configure_args="$ac_configure_args --with-readline=builtin \          ac_configure_args="$ac_configure_args --with-readline=builtin \
                 --disable-shared --enable-static"                  --disable-shared --enable-static"
           C_STANDARD=-std=gnu99
     break ;;      break ;;
   
       Interix)
           EXPORT_DYNAMIC=-Wl,--export-all-symbols
           NESTED_FUNCTIONS=
           SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
           SEMAPHORES_SYSV=-USEMAPHORES_SYSV
           ac_configure_args="$ac_configure_args --with-readline=builtin \
                   --disable-shared --enable-static"
           C_STANDARD=-std=gnu99
       break;;
   
     AIX)      AIX)
         EXPORT_DYNAMIC=-Wl,--export-dynamic          EXPORT_DYNAMIC=-Wl,--export-dynamic
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES          SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES
           SEMAPHORES_SYSV=-USEMAPHORES_SYSV
         ac_configure_args="$ac_configure_args --with-readline=builtin \          ac_configure_args="$ac_configure_args --with-readline=builtin \
                 --disable-shared --enable-static"                  --disable-shared --enable-static"
           C_STANDARD=-std=gnu99
     break ;;      break ;;
   
     OS/2)      OS/2)
         MALLOC=          MALLOC=
           if test FORCED_FINAL_ENCODING -eq 0; then \
               FINAL_ENCODING=CP850; \
           fi;
         OS=OS2          OS=OS2
         FINAL_ENCODING=UTF-8  
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         EXPORT_DYNAMIC=-Zmap          EXPORT_DYNAMIC=-Zmap
         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES          SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
           SEMAPHORES_SYSV=-DSEMAPHORES_SYSV
         ac_configure_args="$ac_configure_args --without-readline \          ac_configure_args="$ac_configure_args --without-readline \
                 --without-cairo --disable-shared --enable-static"                  --without-cairo --disable-shared --enable-static"
           C_STANDARD=
       break;;
   
       OpenBSD)
           if test FORCED_FINAL_ENCODING -eq 0; then \
               FINAL_ENCODING=UTF-8; \
           fi;
           EXPORT_DYNAMIC=-Wl,--export-dynamic
           NESTED_FUNCTIONS=
           SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
           SEMAPHORES_SYSV=-USEMAPHORES_SYSV
           ac_configure_args="$ac_configure_args --with-readline=builtin \
                   --disable-shared --enable-static"
           C_STANDARD=-std=gnu99
     break;;      break;;
   
     *)      *)
         EXPORT_DYNAMIC=-Wl,--export-dynamic          EXPORT_DYNAMIC=-Wl,--export-dynamic
         NESTED_FUNCTIONS=          NESTED_FUNCTIONS=
         SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES          SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
           SEMAPHORES_SYSV=-USEMAPHORES_SYSV
         ac_configure_args="$ac_configure_args --with-readline=builtin \          ac_configure_args="$ac_configure_args --with-readline=builtin \
                 --disable-shared --enable-static"                  --disable-shared --enable-static"
           C_STANDARD=-std=gnu99
     break ;;      break ;;
   
 esac  esac
   
   
   
   
   
   
   
   
   
   
   

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


CVSweb interface <joel.bertrand@systella.fr>