Commit | Line | Data |
16d20bd9 |
1 | # hints/aux.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 | # Last modified |
6 | # Fri May 5 10:59:43 EDT 1995 |
7 | |
8 | case "$cc" in |
180c3c44 |
9 | *gcc*) optimize='-O2' |
16d20bd9 |
10 | ccflags="$ccflags -D_POSIX_SOURCE" |
11 | echo "Setting hints for GNU CC." |
12 | ;; |
13 | *) optimize='-O' |
14 | ccflags="$ccflags -B/usr/lib/big/ -DPARAM_NEEDS_TYPES -D_POSIX_SOURCE" |
15 | POSIX_cflags='ccflags="$ccflags -ZP -Du_long=U32"' |
16 | echo "Setting hints for Apple's CC. If you plan to use" |
17 | echo "GNU CC, please rerun this Configure script as:" |
18 | echo "./Configure -Dcc=gcc" |
19 | ;; |
20 | esac |