]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Regen.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 8 Oct 2001 04:15:29 +0000 (04:15 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 8 Oct 2001 04:15:29 +0000 (04:15 +0000)
configure

index e5af462941da1274b5c8898bd888a36a9095f47d..cc6988e7126523b2a6462206b03667211a113718 100755 (executable)
--- a/configure
+++ b/configure
@@ -38,12 +38,16 @@ if test "${PATH_SEPARATOR+set}" != set; then
   rm -f conftest.sh
 fi
 
-as_lineno_1=$LINENO
-as_lineno_2=$LINENO
-as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
-if test "x$as_lineno_1"  = "x$as_lineno_2" ||
-   test "x$as_lineno_3" != "x$as_lineno_2";
-  then
+as_command='
+  as_lineno_1=$LINENO
+  as_lineno_2=$LINENO
+  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
+  test "x$as_lineno_1" != "x$as_lineno_2" &&
+  test "x$as_lineno_3"  = "x$as_lineno_2"
+'
+if eval "$as_command"; then
+  :
+else
   # Find who we are.  Look in the path if we contain no path at all
   # relative or not.
   case $0 in
@@ -67,6 +71,26 @@ done
     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    { (exit 1); exit 1; }; }
   fi
+  case $CONFIG_SHELL in
+  '')
+    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in /bin:/usr/bin:$PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for as_base in sh bash ksh sh5; do
+        case $as_dir in
+        /*)
+          if ("$as_dir/$as_base" -c "$as_command") 2>/dev/null; then
+            CONFIG_SHELL=$as_dir/$as_base
+            export CONFIG_SHELL
+            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
+          fi;;
+        esac
+       done
+done
+;;
+  esac
   if test ! -f "$as_me.lineno" ||
      test x`ls -1dt "$as_me.lineno" "$as_myself" 2>/dev/null | sed 1q` \
                 != x"$as_me.lineno"; then
@@ -1745,12 +1769,16 @@ if test "${PATH_SEPARATOR+set}" != set; then
   rm -f conftest.sh
 fi
 
-as_lineno_1=$LINENO
-as_lineno_2=$LINENO
-as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
-if test "x$as_lineno_1"  = "x$as_lineno_2" ||
-   test "x$as_lineno_3" != "x$as_lineno_2";
-  then
+as_command='
+  as_lineno_1=$LINENO
+  as_lineno_2=$LINENO
+  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
+  test "x$as_lineno_1" != "x$as_lineno_2" &&
+  test "x$as_lineno_3"  = "x$as_lineno_2"
+'
+if eval "$as_command"; then
+  :
+else
   # Find who we are.  Look in the path if we contain no path at all
   # relative or not.
   case $0 in
@@ -1775,6 +1803,26 @@ done
 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    { (exit 1); exit 1; }; }
   fi
+  case $CONFIG_SHELL in
+  '')
+    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in /bin:/usr/bin:$PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for as_base in sh bash ksh sh5; do
+        case $as_dir in
+        /*)
+          if ("$as_dir/$as_base" -c "$as_command") 2>/dev/null; then
+            CONFIG_SHELL=$as_dir/$as_base
+            export CONFIG_SHELL
+            exec "$CONFIG_SHELL" "$0" ${1+"$@"}
+          fi;;
+        esac
+       done
+done
+;;
+  esac
   if test ! -f "$as_me.lineno" ||
      test x`ls -1dt "$as_me.lineno" "$as_myself" 2>/dev/null | sed 1q` \
                 != x"$as_me.lineno"; then