slightly modified version of suggested patch
[p5sagit/p5-mst-13.2.git] / os2 / diff.configure
CommitLineData
3cfae81b 1--- Configure-pre Sun Jul 25 19:18:02 1999
2+++ Configure Wed Jul 28 17:50:14 1999
3@@ -1528,6 +1528,11 @@ if test X"$trnl" = X; then
4 esac
5 fi
6 if test X"$trnl" = X; then
7+ case "`echo foo|tr '\r' x 2>/dev/null`" in
8+ foox) trnl='\r' ;;
9+ esac
10+fi
11+if test X"$trnl" = X; then
12 cat <<EOM >&2
13
14 $me: Fatal Error: cannot figure out how to translate newlines with 'tr'.
15@@ -1844,7 +1849,7 @@ for file in $loclist; do
8566f259 16 *)
17 echo "I don't know where '$file' is, and my life depends on it." >&4
18 echo "Go find a public domain implementation or fix your PATH setting!" >&4
19- exit 1
20+ #exit 1
21 ;;
22 esac
23 done
3cfae81b 24@@ -3688,7 +3693,7 @@ int main() {
8566f259 25 exit(0);
26 }
27 EOM
3cfae81b 28-if $cc -o gccvers gccvers.c; then
29+if $cc -o gccvers gccvers.c $ldflags; then
8566f259 30 gccversion=`./gccvers`
31 case "$gccversion" in
32 '') echo "You are not using GNU cc." ;;
3cfae81b 33@@ -4892,7 +4897,7 @@ case "$libc" in
8566f259 34 esac
35 ;;
36 esac
37-libnames='';
38+#libnames='';
39 case "$libs" in
40 '') ;;
41 *) for thislib in $libs; do