2 # Last updated by Andy Dougherty <doughera@lafcol.lafayette.edu>
3 # Fri Feb 10 10:04:51 EST 1995
5 # Use Configure -Dcc=gcc to use gcc.
7 # This used to use -g, but that pulls in -DDEBUGGING by default.
10 # recent versions have a working compiler.
12 *4.[45]*) optimize='-O2' ;;
18 # Some users have reported Configure runs *much* faster if you
19 # replace all occurences of /bin/sh by /bin/sh5
21 # sed 's!/bin/sh!/bin/sh5!g' Configure > Configure.sh5
22 # Then run "sh5 Configure.sh5 [your options]"
26 Note that there is a bug in some versions of NFS on the DECStation that
27 may cause utime() to work incorrectly. If so, regression test io/fs
28 may fail if run under NFS. Ignore the failure.
32 # Compiler flags that depend on osversion:
37 *4.1*) ccflags="$ccflags -DLANGUAGE_C -Olimit 3400" ;;
38 *4.2*) ccflags="$ccflags -DLANGUAGE_C -Olimit 3400"
39 # Prototypes sometimes cause compilation errors in 4.2.
42 *risc*) d_volatile=undef ;;
45 *4.3*) ccflags="$ccflags -std1 -DLANGUAGE_C -Olimit 3400" ;;
46 *) ccflags="$ccflags -std -Olimit 3400" ;;
51 # Other settings that depend on $osvers:
54 *4.2*) libswanted=`echo $libswanted | sed 's/ malloc / /'` ;;
59 # Settings that don't depend on $osvers:
61 util_cflags='ccflags="$ccflags -DLOCALE_ENVIRON_REQUIRED"'
63 # This will cause a WHOA THERE warning, but it's accurate. The
64 # configure test should be beefed up to try using the field when
65 # it can't find any of the standardly-named fields.
68 # Ultrix can mmap only character devices, not regular files,
69 # which is rather useless state of things for Perl.