You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-commits@quetz.apache.org by gr...@apache.org on 2002/10/14 23:19:41 UTC

cvs commit: httpd-python configure

grisha      2002/10/14 14:19:41

  Modified:    .        configure
  Log:
  configure.in -\> configure
  
  Revision  Changes    Path
  1.18      +29 -60    httpd-python/configure
  
  Index: configure
  ===================================================================
  RCS file: /home/cvs/httpd-python/configure,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- configure	14 Oct 2002 21:16:05 -0000	1.17
  +++ configure	14 Oct 2002 21:19:41 -0000	1.18
  @@ -753,43 +753,13 @@
     fi
   fi
   
  -# Extract the first word of "ranlib", so it can be a program name with args.
  -set dummy ranlib; ac_word=$2
  -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  -echo "configure:760: checking for $ac_word" >&5
  -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  -  echo $ac_n "(cached) $ac_c" 1>&6
  -else
  -  if test -n "$RANLIB"; then
  -  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  -else
  -  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  -  ac_dummy="$PATH"
  -  for ac_dir in $ac_dummy; do
  -    test -z "$ac_dir" && ac_dir=.
  -    if test -f $ac_dir/$ac_word; then
  -      ac_cv_prog_RANLIB="ranlib"
  -      break
  -    fi
  -  done
  -  IFS="$ac_save_ifs"
  -  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
  -fi
  -fi
  -RANLIB="$ac_cv_prog_RANLIB"
  -if test -n "$RANLIB"; then
  -  echo "$ac_t""$RANLIB" 1>&6
  -else
  -  echo "$ac_t""no" 1>&6
  -fi
  -
   
   for ac_prog in ar aal
   do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
   set dummy $ac_prog; ac_word=$2
   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  -echo "configure:793: checking for $ac_word" >&5
  +echo "configure:763: checking for $ac_word" >&5
   if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
  @@ -850,7 +820,7 @@
   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   # ./install, which can be erroneously created by make from ./install.sh.
   echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
  -echo "configure:854: checking for a BSD compatible install" >&5
  +echo "configure:824: checking for a BSD compatible install" >&5
   if test -z "$INSTALL"; then
   if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
  @@ -903,7 +873,7 @@
   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   
   echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
  -echo "configure:907: checking whether ${MAKE-make} sets \${MAKE}" >&5
  +echo "configure:877: checking whether ${MAKE-make} sets \${MAKE}" >&5
   set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
   if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
  @@ -931,7 +901,7 @@
   
   
   echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
  -echo "configure:935: checking for main in -lm" >&5
  +echo "configure:905: checking for main in -lm" >&5
   ac_lib_var=`echo m'_'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
  @@ -939,14 +909,14 @@
     ac_save_LIBS="$LIBS"
   LIBS="-lm  $LIBS"
   cat > conftest.$ac_ext <<EOF
  -#line 943 "configure"
  +#line 913 "configure"
   #include "confdefs.h"
   
   int main() {
   main()
   ; return 0; }
   EOF
  -if { (eval echo configure:950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  +if { (eval echo configure:920: \"$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
  @@ -976,12 +946,12 @@
   
   
   echo $ac_n "checking for working const""... $ac_c" 1>&6
  -echo "configure:980: checking for working const" >&5
  +echo "configure:950: checking for working const" >&5
   if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
     cat > conftest.$ac_ext <<EOF
  -#line 985 "configure"
  +#line 955 "configure"
   #include "confdefs.h"
   
   int main() {
  @@ -1030,7 +1000,7 @@
   
   ; return 0; }
   EOF
  -if { (eval echo configure:1034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  +if { (eval echo configure:1004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     rm -rf conftest*
     ac_cv_c_const=yes
   else
  @@ -1053,19 +1023,19 @@
   
   ### humor lowers blood pressure
   echo $ac_n "checking your blood pressure""... $ac_c" 1>&6
  -echo "configure:1057: checking your blood pressure" >&5
  +echo "configure:1027: checking your blood pressure" >&5
   echo "$ac_t""a bit high, but we can proceed" 1>&6
   
   ## The goal is to find apxs
   echo "checking whether apxs is available" 1>&6
  -echo "configure:1062: checking whether apxs is available" >&5
  +echo "configure:1032: checking whether apxs is available" >&5
   
   
   
   
   # check for --with-apxs
   echo $ac_n "checking for --with-apxs""... $ac_c" 1>&6
  -echo "configure:1069: checking for --with-apxs" >&5
  +echo "configure:1039: checking for --with-apxs" >&5
   # Check whether --with-apxs or --without-apxs was given.
   if test "${with_apxs+set}" = set; then
     withval="$with_apxs"
  @@ -1088,7 +1058,7 @@
   # since it's the default Apache location
   if test -z "$APXS"; then
     echo $ac_n "checking for apxs in /usr/local/apache/sbin""... $ac_c" 1>&6
  -echo "configure:1092: checking for apxs in /usr/local/apache/sbin" >&5
  +echo "configure:1062: checking for apxs in /usr/local/apache/sbin" >&5
     if test -x /usr/local/apache/sbin/apxs; then
       APXS=/usr/local/apache/sbin/apxs
       echo "$ac_t""found, we'll use this. Use --with-apxs to specify another." 1>&6
  @@ -1100,11 +1070,11 @@
   # last resort
   if test -z "$APXS"; then
     echo $ac_n "checking for apxs in your PATH""... $ac_c" 1>&6
  -echo "configure:1104: checking for apxs in your PATH" >&5
  +echo "configure:1074: checking for apxs in your PATH" >&5
     # Extract the first word of "apxs", so it can be a program name with args.
   set dummy apxs; ac_word=$2
   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  -echo "configure:1108: checking for $ac_word" >&5
  +echo "configure:1078: checking for $ac_word" >&5
   if eval "test \"`echo '$''{'ac_cv_path_APXS'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
  @@ -1157,7 +1127,7 @@
   
     # check Apache version
     echo $ac_n "checking Apache version""... $ac_c" 1>&6
  -echo "configure:1161: checking Apache version" >&5
  +echo "configure:1131: checking Apache version" >&5
     HTTPD="`${APXS} -q SBINDIR`/`${APXS} -q TARGET`"
     ver=`$HTTPD -v | awk '/version/ {print $3}' | awk -F/ '{print $2}'`
     echo "$ac_t""$ver" 1>&6
  @@ -1169,19 +1139,19 @@
   
     # determine LIBEXEC
     echo $ac_n "checking for Apache libexec directory""... $ac_c" 1>&6
  -echo "configure:1173: checking for Apache libexec directory" >&5
  +echo "configure:1143: checking for Apache libexec directory" >&5
     LIBEXECDIR=`${APXS} -q LIBEXECDIR`
     echo "$ac_t""$LIBEXECDIR" 1>&6
   
     # determine INCLUDES
     echo $ac_n "checking for Apache include directory""... $ac_c" 1>&6
  -echo "configure:1179: checking for Apache include directory" >&5
  +echo "configure:1149: checking for Apache include directory" >&5
     AP_INCLUDES="-I`${APXS} -q INCLUDEDIR`"
     echo "$ac_t""$AP_INCLUDES" 1>&6
   
       if test "`uname`" = "SunOS"; then
       echo $ac_n "checking for gcc on Solaris possible missing _eprintf problem""... $ac_c" 1>&6
  -echo "configure:1185: checking for gcc on Solaris possible missing _eprintf problem" >&5
  +echo "configure:1155: checking for gcc on Solaris possible missing _eprintf problem" >&5
       if test "$CC" = "gcc"; then
         EPRINTF_HACK="_eprintf.o"
         FLOATDIDF_HACK="_floatdidf.o"
  @@ -1237,7 +1207,7 @@
   fi
   
   echo $ac_n "checking for --with-python""... $ac_c" 1>&6
  -echo "configure:1241: checking for --with-python" >&5
  +echo "configure:1211: checking for --with-python" >&5
   # Check whether --with-python or --without-python was given.
   if test "${with_python+set}" = set; then
     withval="$with_python"
  @@ -1256,7 +1226,7 @@
     # Extract the first word of "python", so it can be a program name with args.
   set dummy python; ac_word=$2
   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  -echo "configure:1260: checking for $ac_word" >&5
  +echo "configure:1230: checking for $ac_word" >&5
   if eval "test \"`echo '$''{'ac_cv_path_PYTHON_BIN'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
  @@ -1295,7 +1265,7 @@
     # Extract the first word of "python", so it can be a program name with args.
   set dummy python; ac_word=$2
   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  -echo "configure:1299: checking for $ac_word" >&5
  +echo "configure:1269: checking for $ac_word" >&5
   if eval "test \"`echo '$''{'ac_cv_path_PYTHON_BIN'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
  @@ -1336,14 +1306,14 @@
   
   # find out python version
   echo $ac_n "checking Python version""... $ac_c" 1>&6
  -echo "configure:1340: checking Python version" >&5
  +echo "configure:1310: checking Python version" >&5
   PyVERSION=`$PYTHON_BIN -c 'import sys; print sys.version[:3]'`
   PyMAJVERSION=`$PYTHON_BIN -c 'import sys; print sys.version[:1]'`
   echo "$ac_t""$PyVERSION" 1>&6
   
   # find out compiled in install prefix
   echo $ac_n "checking Python install prefix""... $ac_c" 1>&6
  -echo "configure:1347: checking Python install prefix" >&5
  +echo "configure:1317: checking Python install prefix" >&5
   PyEXEC_INSTALLDIR=`$PYTHON_BIN -c "import sys; print sys.exec_prefix"`
   echo "$ac_t""$PyEXEC_INSTALLDIR" 1>&6
   
  @@ -1353,7 +1323,7 @@
   
   # set python std library variable
   echo $ac_n "checking what libraries Python was linked with""... $ac_c" 1>&6
  -echo "configure:1357: checking what libraries Python was linked with" >&5
  +echo "configure:1327: checking what libraries Python was linked with" >&5
   
   if test -z "$PYTHON_SRC"; then
     PyLIBP=${PyEXEC_INSTALLDIR}/lib/python${PyVERSION}
  @@ -1384,7 +1354,7 @@
   echo "$ac_t""$PY_LIBS" 1>&6
   
   echo $ac_n "checking linker flags used to link Python""... $ac_c" 1>&6
  -echo "configure:1388: checking linker flags used to link Python" >&5
  +echo "configure:1358: checking linker flags used to link Python" >&5
   
   if test -z "$PYTHON_SRC"; then
     PyLFS=`grep "^LINKFORSHARED=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' '   '`
  @@ -1399,7 +1369,7 @@
   echo "$ac_t""$PY_LDFLAGS" 1>&6
   
   echo $ac_n "checking where Python include files are""... $ac_c" 1>&6
  -echo "configure:1403: checking where Python include files are" >&5
  +echo "configure:1373: checking where Python include files are" >&5
   
   if test -z "$PYTHON_SRC"; then
     PY_INCLUDES="-I${PyEXEC_INSTALLDIR}/include/python${PyVERSION}"
  @@ -1415,7 +1385,7 @@
   # Extract the first word of ""mkdep"", so it can be a program name with args.
   set dummy "mkdep"; ac_word=$2
   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  -echo "configure:1419: checking for $ac_word" >&5
  +echo "configure:1389: checking for $ac_word" >&5
   if eval "test \"`echo '$''{'ac_cv_path_MKDEP'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
  @@ -1453,7 +1423,7 @@
     # Extract the first word of ""makedepend"", so it can be a program name with args.
   set dummy "makedepend"; ac_word=$2
   echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  -echo "configure:1457: checking for $ac_word" >&5
  +echo "configure:1427: checking for $ac_word" >&5
   if eval "test \"`echo '$''{'ac_cv_path_MKDEP'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
  @@ -1639,7 +1609,6 @@
   s%@infodir@%$infodir%g
   s%@mandir@%$mandir%g
   s%@CC@%$CC%g
  -s%@RANLIB@%$RANLIB%g
   s%@AR@%$AR%g
   s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
   s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g