source: trunk/packs/build/config.site @ 19319

Revision 19319, 1.5 KB checked in by rbasch, 22 years ago (diff)
Don't override null settings of CFLAGS, LDFLAGS, and CPPFLAGS.
Line 
1# config.site: Athena-specific autconf configuration
2# $Id: config.site,v 1.37 2003-05-06 22:25:42 rbasch Exp $
3#
4
5athena=true
6
7# OS-specific shared-library rules, and other hacks
8case "$ATHENA_HOSTTYPE" in
9sgi)
10  SHARED_LDFLAGS="-Wl,-rpath,/usr/athena/lib"
11  ;;
12*)
13  SHARED_LDFLAGS="-Wl,-R/usr/athena/lib"
14  ;;
15esac
16
17# Compile programs with debugging and without optimization, for ease
18# of maintenance.  Use headers and libraries from /usr/athena.
19: ${CFLAGS=-g}
20: ${LDFLAGS="-L/usr/athena/lib $SHARED_LDFLAGS"}
21: ${CPPFLAGS="-I/usr/athena/include -D_REENTRANT"}
22
23# Set location of X and Motif includes and libraries.
24case "$ATHENA_HOSTTYPE" in
25sun4)
26  x_includes=/usr/openwin/include
27  x_libraries=/usr/openwin/lib
28  with_motif=/usr/dt
29  ;;
30linux)
31  x_includes=/usr/X11R6/include
32  x_libraries=/usr/X11R6/lib
33  with_motif=yes
34  # Kludge around namespace protection problems.
35  ac_cv_lib_resolv_res_send=yes
36  ac_cv_lib_db_dbm_open=yes
37  ;;
38*)
39  x_includes=
40  x_libraries=
41  with_motif=yes
42  ;;
43esac
44
45# Set location of various includes and libraries if they aren't
46# already set.
47[ -n "$with_afs" ]      || with_afs=/usr/afsws
48[ -n "$with_krb4" ]     || with_krb4=yes
49[ -n "$with_krb5" ]     || with_krb5=yes
50[ -n "$with_hesiod" ]   || with_hesiod=yes
51[ -n "$with_com_err" ]  || with_com_err=yes
52[ -n "$with_ss" ]       || with_ss=yes
53[ -n "$with_zephyr" ]   || with_zephyr=yes
54[ -n "$with_ares" ]     || with_ares=yes
55
56prefix=/usr/athena
57sbindir='${exec_prefix}/etc'
58sysconfdir=/etc/athena
59lbindir=/bin/athena
60lsbindir=/etc/athena
Note: See TracBrowser for help on using the repository browser.