From: Akim Demaille Date: Thu, 27 Sep 2001 09:04:50 +0000 (+0000) Subject: Regen. X-Git-Tag: AUTOCONF-2.52f~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdbf12e8a54a15407416ba7b046b90099991dfd0;p=thirdparty%2Fautoconf.git Regen. --- diff --git a/configure b/configure index ef6295694..8ce9b83f4 100755 --- a/configure +++ b/configure @@ -32,15 +32,33 @@ as_me=`echo "$0" |sed 's,\(.*[\\/]\+\)\?\([^\\/]\+\)[\\/]*,\2,'` # configure. Hence a useless rewrite (not to mention the risk of # ``infinite'' rewrites. Merely check that LINENO is incremented # between two lines, which is a property guaranteed for _oline_, hence -# it protects us from repetitive rewrites. +# it protects us from repetitive rewrites. Be sure to have a test +# that does detect non LINENO support... as_lineno_1=$LINENO as_lineno_2=$LINENO -# Compute as_lineno_1 in two steps: some shells restart LINENO for -# subshells. -as_lineno_1=`(expr $as_lineno_1 + 1) 2>/dev/null` -if test "x$as_lineno_1" != "x$as_lineno_2"; then +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 + # Find who we are. + case $0 in + *[\\/]* | ?:[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done + + ;; + esac + if test ! -f $as_myself; then + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 + { (exit 1); exit 1; }; } + fi if test ! -f $as_me.lineno || - test x`ls -1dt $as_me.lineno $as_me 2>/dev/null | sed 1q` \ + test x`ls -1dt $as_me.lineno $as_myself 2>/dev/null | sed 1q` \ != x$as_me.lineno; then # Be sure to write the pattern so that it doesn't replace itself: # it must not match itself. @@ -49,10 +67,10 @@ if test "x$as_lineno_1" != "x$as_lineno_2"; then while (sub (/[$]LINENO/, NR)) continue print - }' <$as_me >$as_me.lineno + }' <$as_myself >$as_me.lineno chmod +x $as_me.lineno fi - exec ${SHELL-/bin/sh} ./$as_me.lineno + exec ${SHELL-/bin/sh} ./$as_me.lineno ${1+"$@"} fi # Avoid depending upon Character Ranges. @@ -1630,15 +1648,34 @@ as_me=`echo "$0" |sed 's,\(.*[\\/]\+\)\?\([^\\/]\+\)[\\/]*,\2,'` # configure. Hence a useless rewrite (not to mention the risk of # ``infinite'' rewrites. Merely check that LINENO is incremented # between two lines, which is a property guaranteed for _oline_, hence -# it protects us from repetitive rewrites. +# it protects us from repetitive rewrites. Be sure to have a test +# that does detect non LINENO support... as_lineno_1=$LINENO as_lineno_2=$LINENO -# Compute as_lineno_1 in two steps: some shells restart LINENO for -# subshells. -as_lineno_1=`(expr $as_lineno_1 + 1) 2>/dev/null` -if test "x$as_lineno_1" != "x$as_lineno_2"; then +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 + # Find who we are. + case $0 in + *[\\/]* | ?:[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done + + ;; + esac + if test ! -f $as_myself; then + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} + { (exit 1); exit 1; }; } + fi if test ! -f $as_me.lineno || - test x`ls -1dt $as_me.lineno $as_me 2>/dev/null | sed 1q` \ + test x`ls -1dt $as_me.lineno $as_myself 2>/dev/null | sed 1q` \ != x$as_me.lineno; then # Be sure to write the pattern so that it doesn't replace itself: # it must not match itself. @@ -1647,10 +1684,10 @@ if test "x$as_lineno_1" != "x$as_lineno_2"; then while (sub (/[$]LINENO/, NR)) continue print - }' <$as_me >$as_me.lineno + }' <$as_myself >$as_me.lineno chmod +x $as_me.lineno fi - exec ${SHELL-/bin/sh} ./$as_me.lineno + exec ${SHELL-/bin/sh} ./$as_me.lineno ${1+"$@"} fi # Avoid depending upon Character Ranges.