2
# link bash for Xenix under SCO Unix
5
# CC="cc -xenix -lx" ./configure
7
# comment out the define for HAVE_DIRENT_H
8
# enable the define for HAVE_SYS_NDIR_H to 1
10
# CC="cc -xenix -lx" ./link.sh
13
# CC="cc -x2.3" ./configure
15
# CC="cc -x2.3" ./link.sh
17
# Copyright (C) 1989-2002 Free Software Foundation, Inc.
19
# This program is free software: you can redistribute it and/or modify
20
# it under the terms of the GNU General Public License as published by
21
# the Free Software Foundation, either version 3 of the License, or
22
# (at your option) any later version.
24
# This program is distributed in the hope that it will be useful,
25
# but WITHOUT ANY WARRANTY; without even the implied warranty of
26
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27
# GNU General Public License for more details.
29
# You should have received a copy of the GNU General Public License
30
# along with this program. If not, see <http://www.gnu.org/licenses/>.
39
if [ -f /unix ] && [ ! -f /xenix ]
52
*-ldir*) try_dir=yes ;;
56
*-lx*) try_23=no ; try_x=yes ;;
60
*-x2.3*|*-l2.3*) try_23=yes ; try_dir=yes ;;
65
if [ $try_dir = yes ] ; then try="$try dir" ; fi
66
if [ $try_23 = yes ] ; then try="$try 2.3" ; fi
67
if [ $try_x = yes ] ; then try="$try x" ; fi
70
if [ -r "/lib/386/Slib${name}.a" ] ; then libs="$libs -l$name" ; fi
73
$CC -o bash shell.o eval.o y.tab.o \
74
general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o \
75
copy_cmd.o error.o expr.o flags.o nojobs.o subst.o hashcmd.o hashlib.o \
76
mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o \
77
version.o alias.o array.o braces.o bracecomp.o bashhist.o bashline.o \
78
getcwd.o siglist.o vprint.o oslib.o list.o stringlib.o locale.o \
79
xmalloc.o builtins/libbuiltins.a \
80
lib/readline/libreadline.a lib/readline/libhistory.a \
81
-ltermcap lib/glob/libglob.a lib/tilde/libtilde.a lib/malloc/libmalloc.a \