File: KERBEROS_configuration

package info (click to toggle)
lprng 3.8.B-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 4,260 kB
  • ctags: 2,422
  • sloc: ansic: 35,070; sh: 3,039; perl: 1,896; makefile: 379
file content (17 lines) | stat: -rwxr-xr-x 494 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -x
if [ -d /usr/share/man ] ; then
	mandir="--mandir=/usr/share/man"
fi
for i in /usr/kerberos /usr/local/kerberos /usr/local ; do
	if [ -d $i/include ] ; then CPPFLAGS="$CPPFLAGS -I$i/include"; fi
	if [ -d $i/lib ] ; then LDFLAGS="$LDFLAGS -L$i/lib"; fi
done
export LDFLAGS CPPFLAGS

sh ./configure --prefix=/usr --sysconfdir=/etc $mandir \
 --enable-ssl --enable-force_localhost \
 --enable-kerberos --enable-mit_kerberos4 \
     LDFLAGS="$LDFLAGS" CPPFLAGS="$CPPFLAGS"

exit 0