blob: f7dc9e442ebd2729df2dfdfd9e0b21a77bc305ef (
plain) (
blame)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
--- configure.orig 2020-11-28 11:54:35 UTC
+++ configure
@@ -5696,10 +5696,10 @@ host_os3=`echo $host_os2 | sed 's/^\([^0-9]*\)[0-9]*$/
host_cpu1=`echo $host_cpu | sed 's/\./_/g'`
host_vendor1=`echo $host_vendor | sed 's/\./_/g'`
HOST_ID="-DCPU_$host_cpu1 -DVENDOR_$host_vendor1 -DOS_$host_os1"
-if [ $host_os1 != $host_os2 ] ; then
+if [ "$host_os1" != "$host_os2" ] ; then
HOST_ID="$HOST_ID -DOS_$host_os2"
fi
-if [ $host_os1 != $host_os3 ] && [ $host_os2 != $host_os3 ] ; then
+if [ "$host_os1" != "$host_os3" ] && [ "$host_os2" != "$host_os3" ] ; then
HOST_ID="$HOST_ID -DOS_$host_os3"
fi
@@ -5725,39 +5725,39 @@ if [ "X$GCC" = "Xyes" ] ; then
esac
CFLAGS="$CFLAGS $Wall"
else
- if [ $host_os3 = hpux ] ; then
+ if [ "$host_os3" = hpux ] ; then
CPPFLAGS="$CPPFLAGS -Ae"
fi
- if [ $host_os3 = xenix ] ; then
+ if [ "$host_os3" = xenix ] ; then
CFLAGS="$CFLAGS -M2e"
fi
fi
-if [ $host_os3 = hpux ] ; then
+if [ "$host_os3" = hpux ] ; then
LDFLAGS="$LDFLAGS -z"
fi
-if [ $host_os3 = xenix ] ; then
+if [ "$host_os3" = xenix ] ; then
LDFLAGS="$LDFLAGS -M2e -i -f 5000"
fi
-if [ $host_os2 = sysv4 ] ; then
+if [ "$host_os2" = sysv4 ] ; then
SHLIB="-lc -L/usr/ucblib -lucb"
else
SHLIB=""
fi
-if [ $host_os3 = isc ] ; then
+if [ "$host_os3" = isc ] ; then
CFLAGS="$CFLAGS -D_SYSV3"
SHLIB="-lc_s"
fi
-if [ $host_os3 = solaris -a x$newVold = xxyes ] ; then
+if [ "$host_os3" = solaris -a x$newVold = xxyes ] ; then
SHLIB="$SHLIB -s -lvolmgt"
fi
-if [ $host_os3 = nextstep ] ; then
+if [ "$host_os3" = nextstep ] ; then
CFLAGS="$CFLAGS -DBSD"
SHLIB=""
fi
|