From: Ralf Wildenhues Date: Wed, 12 Apr 2006 12:26:12 +0000 (+0000) Subject: Regenerate. X-Git-Tag: AUTOCONF-2.59c~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ccfe2c599c6352a2b2d36470eacddc8d2a91472;p=thirdparty%2Fautoconf.git Regenerate. --- diff --git a/configure b/configure index bbfd6f2bc..13fc13f36 100755 --- a/configure +++ b/configure @@ -491,16 +491,14 @@ else mkdir conf$$.dir fi echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null && - ln -s conf$$.file conf$$.dir 2>/dev/null; then - # We could just check for DJGPP; but this test a) works b) is more generic - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). - if test -f conf$$.exe; then - # Don't use ln at all; we don't have any links +if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' - else - as_ln_s='ln -s' - fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else @@ -3162,16 +3160,14 @@ else mkdir conf$$.dir fi echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null && - ln -s conf$$.file conf$$.dir 2>/dev/null; then - # We could just check for DJGPP; but this test a) works b) is more generic - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). - if test -f conf$$.exe; then - # Don't use ln at all; we don't have any links +if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' - else - as_ln_s='ln -s' - fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else