This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix error messages returned by S_require_tie_mod. Fix small leaks
[perl5.git] / hints / gnu.sh
1 # hints/gnu.sh
2 # Last modified: Thu Dec 10 20:47:28 CET 1998
3 # Mark Kettenis <kettenis@phys.uva.nl>
4
5 # libnsl is unusable on the Hurd.
6 # XXX remove this once SUNRPC is implemented.
7 set `echo X "$libswanted "| sed -e 's/ nsl / /' -e 's/ c / pthread /'`
8 shift
9 libswanted="$*"
10
11 case "$optimize" in
12 '') optimize='-O2' ;;
13 esac
14
15 # Flags needed to produce shared libraries.
16 lddlflags='-shared'
17
18 # Flags needed by programs that use dynamic linking.
19 ccdlflags='-Wl,-E'
20
21 # Debian bug #258618
22 ccflags='-D_GNU_SOURCE'
23
24 # The following routines are only available as stubs in GNU libc.
25 # XXX remove this once metaconf detects the GNU libc stubs.
26 d_msgctl='undef'
27 d_msgget='undef'
28 d_msgrcv='undef'
29 d_msgsnd='undef'
30 d_semctl='undef'
31 d_semget='undef'
32 d_semop='undef'
33 d_shmat='undef'
34 d_shmctl='undef'
35 d_shmdt='undef'
36 d_shmget='undef'