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