summaryrefslogtreecommitdiff
path: root/config.site.athena
blob: 152cbd6fd6e122ce9a689a370e7ee8ddcd3a665a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# config.site: Athena-specific autconf configuration
# $Id$
#

athena=true

# Compile programs with debugging and without optimization, for ease
# of maintenance.  Use headers and libraries from /usr/athena.
: ${CFLAGS=-g}
: ${LDFLAGS="-L/usr/athena/lib -Wl,-R/usr/athena/lib"}
: ${CPPFLAGS="-I/usr/athena/include -D_REENTRANT"}

# Set location of X and Motif includes and libraries.
case "$ATHENA_HOSTTYPE" in
sun4)
  x_includes=/usr/openwin/include
  x_libraries=/usr/openwin/lib
  with_motif=/usr/dt
  ;;
linux)
  x_includes=/usr/X11R6/include
  x_libraries=/usr/X11R6/lib
  with_motif=yes
  # Kludge around namespace protection problems.
  ac_cv_lib_resolv_res_send=yes
  ac_cv_lib_db_dbm_open=yes
  ;;
*)
  x_includes=
  x_libraries=
  with_motif=yes
  ;;
esac

# Set location of various includes and libraries if they aren't
# already set.
[ -n "$with_afs" ]	|| with_afs=/usr/afsws
[ -n "$with_krb4" ]	|| with_krb4=yes
[ -n "$with_krb5" ]	|| with_krb5=yes
[ -n "$with_hesiod" ]	|| with_hesiod=yes
[ -n "$with_com_err" ]	|| with_com_err=yes
[ -n "$with_ss" ] 	|| with_ss=yes
[ -n "$with_zephyr" ]	|| with_zephyr=yes
[ -n "$with_ares" ]	|| with_ares=yes

prefix=/usr/athena
sbindir='${exec_prefix}/etc'
sysconfdir=/etc/athena
lbindir=/bin/athena
lsbindir=/etc/athena