p4raw-id: //depot/metaconfig@5119
-if $cc -o gccvers gccvers.c; then
+if $cc $ldflags -o gccvers gccvers.c; then
gccversion=`./gccvers`
case "$gccversion" in
'') echo "You are not using GNU cc." ;;
gccversion=`./gccvers`
case "$gccversion" in
'') echo "You are not using GNU cc." ;;
?T: xxx dlist
?INIT:: change the next line if compiling for Xenix/286 on Xenix/386
?INIT:xlibpth='/usr/lib/386 /lib/386'
?T: xxx dlist
?INIT:: change the next line if compiling for Xenix/286 on Xenix/386
?INIT:xlibpth='/usr/lib/386 /lib/386'
?INIT:: Possible local library directories to search.
?INIT:loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib"
?INIT:loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
?INIT:
?INIT:: general looking path for locating libraries
?INIT:: Possible local library directories to search.
?INIT:loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib"
?INIT:loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
?INIT:
?INIT:: general looking path for locating libraries
-?X: /shlib is for Digital Unix 4.0
-?X: /usr/shlib is for OSF/1 systems.
?X: I don't know why the large & small libraries are in this order.
?X: I don't know why the large & small libraries are in this order.
-?INIT:glibpth="/usr/lib/large /lib/pa1.1 /lib /usr/lib $xlibpth"
+?INIT:glibpth="/usr/lib/large /lib /usr/lib $xlibpth"
?INIT:glibpth="$glibpth /lib/large /usr/lib/small /lib/small"
?INIT:glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
?INIT:glibpth="$glibpth /lib/large /usr/lib/small /lib/small"
?INIT:glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
+?X: /shlib is for Digital Unix 4.0
+?X: /usr/shlib is for OSF/1 systems.
?INIT:test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
?INIT:test -f /shlib/libc.so && glibpth="/shlib $glibpth"
?INIT:
?INIT:test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
?INIT:test -f /shlib/libc.so && glibpth="/shlib $glibpth"
?INIT:
?INIT:plibpth=''
?INIT:
?LINT:describe xlibpth glibpth
?INIT:plibpth=''
?INIT:
?LINT:describe xlibpth glibpth
: Set private lib path
case "$plibpth" in
'') if ./mips; then
: Set private lib path
case "$plibpth" in
'') if ./mips; then
?S: libraries (libfoo.so.x.y) are to be ignored (because they
?S: cannot be linked against).
?S:.
?S: libraries (libfoo.so.x.y) are to be ignored (because they
?S: cannot be linked against).
?S:.
-?T:xxx yyy thislib libswanted libstyle libname
+?T:xxx yyy thislib thisdir libswanted libstyle
?D:libs=''
?X:
?X: This order is chosen so that libraries -lndir, -ldir, -lucb, -lbsd,
?D:libs=''
?X:
?X: This order is chosen so that libraries -lndir, -ldir, -lucb, -lbsd,
?INIT:libswanted=''
?INIT:: some systems want to use only the non-versioned libso:s
?INIT:ignore_versioned_solibs=''
?INIT:libswanted=''
?INIT:: some systems want to use only the non-versioned libso:s
?INIT:ignore_versioned_solibs=''
: Looking for optional libraries
echo " "
echo "Checking for optional libraries..." >&4
: Looking for optional libraries
echo " "
echo "Checking for optional libraries..." >&4
?MAKE:known_extensions extensions dynamic_ext static_ext nonxs_ext \
useposix useopcode : \
Myread hint usedl d_sem d_socket i_db i_dbm i_rpcsvcdbm i_gdbm \
?MAKE:known_extensions extensions dynamic_ext static_ext nonxs_ext \
useposix useopcode : \
Myread hint usedl d_sem d_socket i_db i_dbm i_rpcsvcdbm i_gdbm \
- i_ndbm usethreads package test cat rsrc d_msg d_shm
+ i_ndbm usethreads package test cat rsrc d_msg d_shm osname use64bits \
+ libs
?MAKE: -pick add $@ %<
?Y:BOTTOM
?S:known_extensions:
?MAKE: -pick add $@ %<
?Y:BOTTOM
?S:known_extensions: