1 | # config.site: Athena-specific autconf configuration |
---|
2 | # $Id: config.site,v 1.37 2003-05-06 22:25:42 rbasch Exp $ |
---|
3 | # |
---|
4 | |
---|
5 | athena=true |
---|
6 | |
---|
7 | # OS-specific shared-library rules, and other hacks |
---|
8 | case "$ATHENA_HOSTTYPE" in |
---|
9 | sgi) |
---|
10 | SHARED_LDFLAGS="-Wl,-rpath,/usr/athena/lib" |
---|
11 | ;; |
---|
12 | *) |
---|
13 | SHARED_LDFLAGS="-Wl,-R/usr/athena/lib" |
---|
14 | ;; |
---|
15 | esac |
---|
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. |
---|
24 | case "$ATHENA_HOSTTYPE" in |
---|
25 | sun4) |
---|
26 | x_includes=/usr/openwin/include |
---|
27 | x_libraries=/usr/openwin/lib |
---|
28 | with_motif=/usr/dt |
---|
29 | ;; |
---|
30 | linux) |
---|
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 | ;; |
---|
43 | esac |
---|
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 | |
---|
56 | prefix=/usr/athena |
---|
57 | sbindir='${exec_prefix}/etc' |
---|
58 | sysconfdir=/etc/athena |
---|
59 | lbindir=/bin/athena |
---|
60 | lsbindir=/etc/athena |
---|