Line | |
---|
1 | # hints/aux_3.sh
|
---|
2 | #
|
---|
3 | # Improved by Jake Hamby <jehamby@lightside.com> to support both Apple CC
|
---|
4 | # and GNU CC. Tested on A/UX 3.1.1 with GCC 2.6.3.
|
---|
5 | # Now notifies of problem with version of dbm shipped with A/UX
|
---|
6 | # Last modified
|
---|
7 | # Sun Jan 5 11:16:41 WET 1997
|
---|
8 |
|
---|
9 | case "$cc" in
|
---|
10 | *gcc*) optimize='-O2'
|
---|
11 | ccflags="$ccflags -D_POSIX_SOURCE"
|
---|
12 | echo "Setting hints for GNU CC."
|
---|
13 | ;;
|
---|
14 | *) optimize='-O'
|
---|
15 | ccflags="$ccflags -B/usr/lib/big/ -DPARAM_NEEDS_TYPES -D_POSIX_SOURCE"
|
---|
16 | POSIX_cflags='ccflags="$ccflags -ZP -Du_long=U32"'
|
---|
17 | echo "Setting hints for Apple's CC. If you plan to use"
|
---|
18 | echo "GNU CC, please rerun this Configure script as:"
|
---|
19 | echo "./Configure -Dcc=gcc"
|
---|
20 | ;;
|
---|
21 | esac
|
---|
22 | test -r ./broken-db.msg && . ./broken-db.msg
|
---|
Note:
See
TracBrowser
for help on using the repository browser.