]> sourceware.org Git - glibc.git/commitdiff
Remove pwd tst from configure
authorUlrich Drepper <drepper@gmail.com>
Sun, 8 Jan 2012 14:31:02 +0000 (09:31 -0500)
committerUlrich Drepper <drepper@gmail.com>
Sun, 8 Jan 2012 14:31:02 +0000 (09:31 -0500)
ChangeLog
config.make.in
configure
configure.in

index ff53953e722c79765a783003e1e7a69fa9c47abb..0834b907d0ec34cc739c0ecdfc80b1ecba36f539 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
 
+       * configure.in: PWD_P is not used anymore.
+       * config.make.in: Remove PWD_P entry.
+
        * configure.in: Remove last remnants of RANLIB.
        No need to check for signed size_t anymore.
        Don't set libc_commonpagesize and libc_relro_required here for Alpha
index 8c0a4dca6331db8e0c1e52d1078c4b65f20b6747..90d6b28b93978b9237d58ce950e08618d67039ca 100644 (file)
@@ -111,7 +111,6 @@ AR = @AR@
 MAKEINFO = @MAKEINFO@
 AS = $(CC) -c
 MIG = @MIG@
-PWD_P = @PWD_P@
 BISON = @BISON@
 AUTOCONF = @AUTOCONF@
 OBJDUMP = @OBJDUMP@
index e090f16e1d908bef540b7593cd8c320b08b25d17..8483b78a5d3bbdff48de6ddab5597f249066dcea 100755 (executable)
--- a/configure
+++ b/configure
@@ -670,7 +670,6 @@ SED
 MAKEINFO
 MSGFMT
 MAKE
-PWD_P
 LD
 AS
 MIG
@@ -4748,56 +4747,6 @@ if test $ac_verc_fail = yes; then
 fi
 
 
-# We need the physical current working directory.  We cannot use the
-# "pwd -P" shell builtin since that's not portable.  Instead we try to
-# find a pwd binary.  Note that assigning to the PWD environment
-# variable might have some interesting side effects, so we don't do
-# that.
-# Extract the first word of "pwd", so it can be a program name with args.
-set dummy pwd; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_path_PWD_P+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $PWD_P in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_PWD_P="$PWD_P" # Let the user override the test with a path.
-  ;;
-  *)
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_path_PWD_P="$as_dir/$ac_word$ac_exec_ext"
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-  done
-IFS=$as_save_IFS
-
-  test -z "$ac_cv_path_PWD_P" && ac_cv_path_PWD_P="no"
-  ;;
-esac
-fi
-PWD_P=$ac_cv_path_PWD_P
-if test -n "$PWD_P"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWD_P" >&5
-$as_echo "$PWD_P" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-if test "$PWD_P" = no; then
-  as_fn_error $? "*** A pwd binary could not be found." "$LINENO" 5
-fi
-
 # These programs are version sensitive.
 
 for ac_prog in ${ac_tool_prefix}gcc ${ac_tool_prefix}cc
index 15f925e46a1e245bbdc6b25d701650772613f184..fbc8881f51ea08f6bd703f51cf9aed04b394a96b 100644 (file)
@@ -939,16 +939,6 @@ AC_CHECK_PROG_VER(LD, $LD, --version,
                  [GNU ld.* \([0-9][0-9]*\.[0-9.]*\)],
                  [2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*], LD=: critic_missing="$critic_missing ld")
 
-# We need the physical current working directory.  We cannot use the
-# "pwd -P" shell builtin since that's not portable.  Instead we try to
-# find a pwd binary.  Note that assigning to the PWD environment
-# variable might have some interesting side effects, so we don't do
-# that.
-AC_PATH_PROG(PWD_P, pwd, no)
-if test "$PWD_P" = no; then
-  AC_MSG_ERROR(*** A pwd binary could not be found.)
-fi
-
 # These programs are version sensitive.
 AC_CHECK_TOOL_PREFIX
 AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}gcc ${ac_tool_prefix}cc, -v,
This page took 0.062714 seconds and 5 git commands to generate.