Skip to content

Commit bc28776

Browse files
author
Bill French
committed
fixed make files to compile on centos
1 parent c59b961 commit bc28776

21 files changed

+3169
-7074
lines changed

Makefile.in

+156-241
Large diffs are not rendered by default.

aclocal.m4

+246-444
Large diffs are not rendered by default.

configure

+174-357
Large diffs are not rendered by default.

depcomp

+49-206
Large diffs are not rendered by default.

install-sh

+14-21
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
# install - install a program, script, or datafile
33

4-
scriptversion=2011-11-20.07; # UTC
4+
scriptversion=2009-04-28.21; # UTC
55

66
# This originates from X11R5 (mit/util/scripts/install.sh), which was
77
# later released in X11R6 (xc/config/util/install.sh) with the
@@ -35,7 +35,7 @@ scriptversion=2011-11-20.07; # UTC
3535
# FSF changes to this file are in the public domain.
3636
#
3737
# Calling this script install-sh is preferred over install.sh, to prevent
38-
# 'make' implicit rules from creating a file called install from it
38+
# `make' implicit rules from creating a file called install from it
3939
# when there is no Makefile.
4040
#
4141
# This script is compatible with the BSD install script, but was written
@@ -156,10 +156,6 @@ while test $# -ne 0; do
156156
-s) stripcmd=$stripprog;;
157157

158158
-t) dst_arg=$2
159-
# Protect names problematic for 'test' and other utilities.
160-
case $dst_arg in
161-
-* | [=\(\)!]) dst_arg=./$dst_arg;;
162-
esac
163159
shift;;
164160

165161
-T) no_target_directory=true;;
@@ -190,10 +186,6 @@ if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
190186
fi
191187
shift # arg
192188
dst_arg=$arg
193-
# Protect names problematic for 'test' and other utilities.
194-
case $dst_arg in
195-
-* | [=\(\)!]) dst_arg=./$dst_arg;;
196-
esac
197189
done
198190
fi
199191

@@ -202,17 +194,13 @@ if test $# -eq 0; then
202194
echo "$0: no input file specified." >&2
203195
exit 1
204196
fi
205-
# It's OK to call 'install-sh -d' without argument.
197+
# It's OK to call `install-sh -d' without argument.
206198
# This can happen when creating conditional directories.
207199
exit 0
208200
fi
209201

210202
if test -z "$dir_arg"; then
211-
do_exit='(exit $ret); exit $ret'
212-
trap "ret=129; $do_exit" 1
213-
trap "ret=130; $do_exit" 2
214-
trap "ret=141; $do_exit" 13
215-
trap "ret=143; $do_exit" 15
203+
trap '(exit $?); exit' 1 2 13 15
216204

217205
# Set umask so as not to create temps with too-generous modes.
218206
# However, 'strip' requires both read and write access to temps.
@@ -240,9 +228,9 @@ fi
240228

241229
for src
242230
do
243-
# Protect names problematic for 'test' and other utilities.
231+
# Protect names starting with `-'.
244232
case $src in
245-
-* | [=\(\)!]) src=./$src;;
233+
-*) src=./$src;;
246234
esac
247235

248236
if test -n "$dir_arg"; then
@@ -264,7 +252,12 @@ do
264252
echo "$0: no destination specified." >&2
265253
exit 1
266254
fi
255+
267256
dst=$dst_arg
257+
# Protect names starting with `-'.
258+
case $dst in
259+
-*) dst=./$dst;;
260+
esac
268261

269262
# If destination is a directory, append the input filename; won't work
270263
# if double slashes aren't ignored.
@@ -354,7 +347,7 @@ do
354347
if test -z "$dir_arg" || {
355348
# Check for POSIX incompatibilities with -m.
356349
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
357-
# other-writable bit of parent directory when it shouldn't.
350+
# other-writeable bit of parent directory when it shouldn't.
358351
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
359352
ls_ld_tmpdir=`ls -ld "$tmpdir"`
360353
case $ls_ld_tmpdir in
@@ -392,7 +385,7 @@ do
392385

393386
case $dstdir in
394387
/*) prefix='/';;
395-
[-=\(\)!]*) prefix='./';;
388+
-*) prefix='./';;
396389
*) prefix='';;
397390
esac
398391

@@ -410,7 +403,7 @@ do
410403

411404
for d
412405
do
413-
test X"$d" = X && continue
406+
test -z "$d" && continue
414407

415408
prefix=$prefix$d
416409
if test -d "$prefix"; then

0 commit comments

Comments
 (0)