]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
* configure.in, Makefile.in: remove the AC_PREFIX() call -- it's
authorGuido van Rossum <guido@python.org>
Fri, 12 Aug 1994 13:18:25 +0000 (13:18 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 12 Aug 1994 13:18:25 +0000 (13:18 +0000)
more trouble than it's worth at CWI and most other people seem to
install Python in the default (/usr/local) anway.  Changed comment
describing --prefix in Makefile.in

Makefile.in
configure
configure.in

index 35977b5691eabd9e5c232f451fe38e1ccaef114d..66d05ec801e4f3950e05b659c07419baf1bd5142 100644 (file)
@@ -31,8 +31,7 @@ INSTALL=      @INSTALL@
 
 # Install prefixes are treated specially by the configure script:
 # it only changes these lines if it has received a --prefix=... or
-# --exec-prefix-... command line option, or if it has figured out
-# a value by searching for python in $PATH.  Note that $(prefix) is
+# --exec-prefix=... command line option.  Note that $(prefix) is
 # also used when compiling config.c in Modules to set the default
 # module search path, so if you change it later be sure to change it
 # there too and rebuild.
index a09bfa027ecfd4e18140b8c5ffc6efe8af121691..875647e7e4b246ff52544fa8814b2d2607b49ae0 100755 (executable)
--- a/configure
+++ b/configure
@@ -316,22 +316,6 @@ ac_ext=c
 ac_cpp='${CPP} $CFLAGS'
 ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS >/dev/null 2>&1'
 
-if test -z "$prefix"
-then
-  test -n "$silent" || echo "checking for python to derive installation directory prefix"
-  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="$IFS:"
-  for ac_dir in $PATH; do
-    test -z "$ac_dir" && ac_dir=.
-    if test $ac_dir != . && test -f $ac_dir/python; then
-      # Not all systems have dirname.
-      prefix=`echo $ac_dir|sed 's%/[^/][^/]*$%%'`
-      break
-    fi
-  done
-  IFS="$ac_save_ifs"
-  test -n "$verbose" && echo " chose installation directory prefix ${prefix}"
-fi
-
 # Don't suppress compiler output when --verbose is specified
 test -n "$verbose" &&
        ac_compile=`echo "$ac_compile" | sed "s|>/dev/null 2>&1||"`
index 3e0aabf64ada6c83ac6e190454b6ad2a47e5b84b..6eb0ec80904a8409026988d25d378bad98aef63d 100644 (file)
@@ -2,7 +2,6 @@ dnl Process this file with autoconf 1.8 or later to produce a configure script.
 AC_REVISION($Revision$)dnl
 AC_PREREQ(1.8)dnl
 AC_INIT(Include/object.h)
-AC_PREFIX(python)
 AC_CONFIG_HEADER(config.h)dnl
 # Don't suppress compiler output when --verbose is specified
 test -n "$verbose" &&