2 # AIX 3.x.x hints thanks to Wayne Scott <wscott@ichips.intel.com>
3 # AIX 4.1 hints thanks to Christopher Chan-Nui <channui@austin.ibm.com>.
4 # Merged on Mon Feb 6 10:22:35 EST 1995 by
5 # Andy Dougherty <doughera@lafcol.lafayette.edu>
8 # Configure finds setrgid and setruid, but they're useless. The man
10 # setrgid: The EPERM error code is always returned.
11 # setruid: The EPERM error code is always returned. Processes cannot
12 # reset only their real user IDs.
20 # Make setsockopt work correctly. See man page.
23 # uname -m output is too specific and not appropriate here
25 '') archname="$osname" ;;
30 ccflags='-D_ALL_SOURCE'
32 *) # These hints at least work for 4.x, possibly other systems too.
33 ccflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE'
36 *) ccflags="-qmaxmem=8192 $ccflags" ;;
42 # These functions don't work like Perl expects them to.
46 # The optimizer in 4.1.1 apparently generates bad code for scope.c.
47 # Configure doesn't offer an easy way to propagate extra variables
48 # only for certain cases, so the following contortion is required:
49 # This is probably not needed in 5.002 and later.
50 # scope_cflags='case "$osvers" in 4.1*) optimize=" ";; esac'
52 # Changes for dynamic linking by Wayne Scott <wscott@ichips.intel.com>
54 # Tell perl which symbols to export for dynamic linking.
56 *gcc*) ccdlflags='-Xlinker -bE:perl.exp' ;;
57 *) ccdlflags='-bE:perl.exp' ;;
60 # The first 3 options would not be needed if dynamic libs. could be linked
61 # with the compiler instead of ld.
62 # -bI:$(PERL_INC)/perl.exp Read the exported symbols from the perl binary
63 # -bE:$(BASEEXT).exp Export these symbols. This file contains only one
64 # symbol: boot_$(EXP) can it be auto-generated?
67 lddlflags='-H512 -T512 -bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -e _nostart -lc'
70 lddlflags='-H512 -T512 -bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -b noentry -lc'