2 # Last modified: Thu Dec 10 20:47:28 CET 1998
3 # Mark Kettenis <kettenis@phys.uva.nl>
5 # libnsl is unusable on the Hurd.
6 # XXX remove this once SUNRPC is implemented.
7 set `echo X "$libswanted "| sed -e 's/ bsd / /' -e 's/ nsl / /' -e 's/ c / pthread /'`
11 # Debian 4.0 puts ndbm in the -lgdbm_compat library.
12 libswanted="$libswanted gdbm_compat"
19 '') plibpth=`gcc -print-search-dirs | grep libraries |
20 cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'`
21 set X $plibpth # Collapse all entries on one line
27 # Flags needed to produce shared libraries.
30 # Flags needed by programs that use dynamic linking.
34 ccflags="-D_GNU_SOURCE $ccflags"
36 cat > UU/uselargefiles.cbu <<'EOCBU'
37 # This script UU/uselargefiles.cbu will get 'called-back' by Configure
38 # after it has prompted the user for whether to use large files.
39 case "$uselargefiles" in
40 ''|$define|true|[yY]*)
41 # Keep this in the left margin.
42 ccflags_uselargefiles="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
44 ccflags="$ccflags $ccflags_uselargefiles"
49 # The following routines are only available as stubs in GNU libc.
50 # XXX remove this once metaconf detects the GNU libc stubs.