# Mostly rewritten on
# Tue Jan 19 23:00:00 CET 1999
# by Francois Desarmenien <desar@club-internet.fr>
+# Modified by Boyd Gerber <gerberb@zenez.com>
+# Tue Sep 21 1999
###############################################################
#
# To use cc, use sh Configure
echo "\a" >&4
echo "\a" >&4
echo " For UnixWare, use svr4.sh hints instead" >&4
+ echo " For UnixWare 7.*, use svr5.sh hints instead" >&4
echo "\a" >&4
echo "***********************************************************" >&4
exit
then
dlext=''
case "$cc" in
- gcc) optimize='-O2' ;;
+ *gcc*) optimize='-O2' ;;
*) ccflags="$ccflags -W0 -quiet"
optimize='-O' ;;
esac
###############################################################
# In Release 5, always compile ELF objects
case "$cc" in
- gcc)
+ *gcc*)
ccflags="$ccflags -melf"
optimize='-O2'
;;
if test "$usedl" != "n"; then
ld='ld'
case "$cc" in
- gcc)
+ *gcc*)
ccdlflags='-Xlinker -Bexport -L/usr/local/lib'
cccdlflags='-fpic'
lddlflags='-G -L/usr/local/lib'
libswanted="$*"
###############################################################
+# Remove libbind because it conflicts with libsocket.
+libswanted=`echo " $libswanted " | sed -e 's/ bind / /'`
+set X $libswanted
+shift
+libswanted="$*"
+
+###############################################################
# Try to use libintl.a since it has strcoll and strxfrm
libswanted="intl $libswanted"