Diff for /parser3/configure between versions 1.18 and 1.26

version 1.18, 2002/04/03 15:08:27 version 1.26, 2002/06/18 14:55:43
Line 734  fi Line 734  fi
   
 PACKAGE=parser  PACKAGE=parser
   
 VERSION=3.0b  VERSION=3.0.HEAD
   
 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then  if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }    { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
Line 2782  else Line 2782  else
 fi  fi
   
   ;;    ;;
   # never tested this, only theoretically by letter from demos about parser2 build
     *-hpux*)
         echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
   echo "configure:2789: checking for main in -lnsl" >&5
   ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
   if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
     ac_save_LIBS="$LIBS"
   LIBS="-lnsl  $LIBS"
   cat > conftest.$ac_ext <<EOF
   #line 2797 "configure"
   #include "confdefs.h"
   
   int main() {
   main()
   ; return 0; }
   EOF
   if { (eval echo configure:2804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     rm -rf conftest*
     eval "ac_cv_lib_$ac_lib_var=yes"
   else
     echo "configure: failed program was:" >&5
     cat conftest.$ac_ext >&5
     rm -rf conftest*
     eval "ac_cv_lib_$ac_lib_var=no"
   fi
   rm -f conftest*
   LIBS="$ac_save_LIBS"
   
   fi
   if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     echo "$ac_t""yes" 1>&6
       ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
       -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     cat >> confdefs.h <<EOF
   #define $ac_tr_lib 1
   EOF
   
     LIBS="-lnsl $LIBS"
   
   else
     echo "$ac_t""no" 1>&6
   fi
   
     ;;
 esac  esac
   
 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
 echo "configure:2789: checking for sin in -lm" >&5  echo "configure:2835: checking for sin in -lm" >&5
 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 2793  else Line 2839  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2797 "configure"  #line 2843 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus  #ifdef __cplusplus
Line 2807  int main() { Line 2853  int main() {
 sin()  sin()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 2847  getrusage Line 2893  getrusage
   
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:2851: checking for $ac_func" >&5  echo "configure:2897: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2856 "configure"  #line 2902 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 2878  $ac_func(); Line 2924  $ac_func();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 2907  done Line 2953  done
 for ac_func in qsort  for ac_func in qsort
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:2911: checking for $ac_func" >&5  echo "configure:2957: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2916 "configure"  #line 2962 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 2938  $ac_func(); Line 2984  $ac_func();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 2966  done Line 3012  done
 for ac_func in select  for ac_func in select
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:2970: checking for $ac_func" >&5  echo "configure:3016: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2975 "configure"  #line 3021 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 2997  $ac_func(); Line 3043  $ac_func();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 3024  done Line 3070  done
   
   
 echo $ac_n "checking whether compiler supports pragma pack""... $ac_c" 1>&6  echo $ac_n "checking whether compiler supports pragma pack""... $ac_c" 1>&6
 echo "configure:3028: checking whether compiler supports pragma pack" >&5  echo "configure:3074: checking whether compiler supports pragma pack" >&5
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3030 "configure"  #line 3076 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  
 #pragma pack(1)  #pragma pack(1)
 struct must_be_1_byte {  struct _1_byte {
         char c;          char c;
 };  };
 #pragma pack()  #pragma pack()
 if(sizeof(must_be_1_byte)!=1)  
         return 1;  int main() {
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
       
     echo "$ac_t""yes" 1>&6      echo "$ac_t""yes" 1>&6
Line 3059  fi Line 3103  fi
 rm -f conftest*  rm -f conftest*
   
 echo $ac_n "checking for set_new_handler""... $ac_c" 1>&6  echo $ac_n "checking for set_new_handler""... $ac_c" 1>&6
 echo "configure:3063: checking for set_new_handler" >&5  echo "configure:3107: checking for set_new_handler" >&5
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3065 "configure"  #line 3109 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #ifdef HAVE_NEW  #ifdef HAVE_NEW
 #include <new>  #include <new>
Line 3073  std::set_new_handler(failed_new); Line 3117  std::set_new_handler(failed_new);
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
       
     echo "$ac_t""yes" 1>&6      echo "$ac_t""yes" 1>&6
Line 3107  e_sysconfdir=$sysconfdir Line 3151  e_sysconfdir=$sysconfdir
 test "$e_sysconfdir" = "\${prefix}/etc" && e_sysconfdir="${e_prefix}/etc"  test "$e_sysconfdir" = "\${prefix}/etc" && e_sysconfdir="${e_prefix}/etc"
   
   
 rootconfigdir=$e_sysconfdir  
   
   
   
 charsetsdir=$e_sysconfdir/parser3.charsets  charsetsdir=$e_sysconfdir/parser3.charsets
   
   
Line 3235  done Line 3275  done
 ac_given_srcdir=$srcdir  ac_given_srcdir=$srcdir
 ac_given_INSTALL="$INSTALL"  ac_given_INSTALL="$INSTALL"
   
 trap 'rm -fr `echo "Makefile src/Makefile src/libltdl/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/patches/Makefile src/pcre/Makefile src/targets/Makefile src/targets/cgi/pa_config_paths.h src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/parser3.charsets/Makefile etc/parser3.conf etc/Makefile src/include/pa_config_auto.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15  trap 'rm -fr `echo "Makefile src/Makefile src/libltdl/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/patches/Makefile src/pcre/Makefile src/targets/Makefile src/targets/cgi/pa_config_paths.h src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/parser3.conf.dist src/include/pa_config_auto.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
 EOF  EOF
 cat >> $CONFIG_STATUS <<EOF  cat >> $CONFIG_STATUS <<EOF
   
Line 3309  s%@subdirs@%$subdirs%g Line 3349  s%@subdirs@%$subdirs%g
 s%@LIBADD_DL@%$LIBADD_DL%g  s%@LIBADD_DL@%$LIBADD_DL%g
 s%@CXXCPP@%$CXXCPP%g  s%@CXXCPP@%$CXXCPP%g
 s%@APACHE_LIBS@%$APACHE_LIBS%g  s%@APACHE_LIBS@%$APACHE_LIBS%g
 s%@rootconfigdir@%$rootconfigdir%g  
 s%@charsetsdir@%$charsetsdir%g  s%@charsetsdir@%$charsetsdir%g
 s%@sqldriversdir@%$sqldriversdir%g  s%@sqldriversdir@%$sqldriversdir%g
   
Line 3353  EOF Line 3392  EOF
   
 cat >> $CONFIG_STATUS <<EOF  cat >> $CONFIG_STATUS <<EOF
   
 CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile src/libltdl/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/patches/Makefile src/pcre/Makefile src/targets/Makefile src/targets/cgi/pa_config_paths.h src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/parser3.charsets/Makefile etc/parser3.conf etc/Makefile"}  CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile src/libltdl/Makefile src/types/Makefile src/classes/Makefile src/classes/gd/Makefile src/classes/smtp/Makefile src/include/Makefile src/main/Makefile src/sql/Makefile src/patches/Makefile src/pcre/Makefile src/targets/Makefile src/targets/cgi/pa_config_paths.h src/targets/cgi/Makefile src/targets/apache13/Makefile src/targets/apache13/p3runConfigure src/targets/isapi/Makefile etc/Makefile etc/parser3.charsets/Makefile bin/Makefile bin/parser3.conf.dist"}
 EOF  EOF
 cat >> $CONFIG_STATUS <<\EOF  cat >> $CONFIG_STATUS <<\EOF
 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then  for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then

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


E-mail: