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.
12 # Some users have reported Configure runs *much* faster if you
13 # replace all occurences of /bin/sh by /bin/sh5
15 # sed 's!/bin/sh!/bin/sh5!g' Configure > Configure.sh5
16 # Then run "sh5 Configure.sh5 [your options]"
20 Note that there is a bug in some versions of NFS on the DECStation that
21 may cause utime() to work incorrectly. If so, regression test io/fs
22 may fail if run under NFS. Ignore the failure.
26 # Compiler flags that depend on osversion:
31 *4.1*) ccflags="$ccflags -DLANGUAGE_C -Olimit 2900" ;;
32 *4.2*) ccflags="$ccflags -DLANGUAGE_C -Olimit 2900"
33 # Prototypes sometimes cause compilation errors in 4.2.
36 *risc*) d_volatile=undef ;;
39 *4.3*) ccflags="$ccflags -std1 -DLANGUAGE_C -Olimit 2900" ;;
40 *) ccflags="$ccflags -std -Olimit 2900" ;;
45 # Other settings that depend on $osvers:
48 *4.2*) libswanted=`echo $libswanted | sed 's/ malloc / /'` ;;
53 # Settings that don't depend on $osvers:
55 util_cflags='ccflags="$ccflags -DLOCALE_ENVIRON_REQUIRED"'