File: LINUXredhat3

package info (click to toggle)
ntop 3:3.3-11
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 12,772 kB
  • ctags: 7,534
  • sloc: ansic: 71,427; sh: 16,772; awk: 1,504; perl: 792; makefile: 782; php: 123; python: 23; sql: 13; sed: 11
file content (27 lines) | stat: -rwxr-xr-x 1,003 bytes parent folder | download | duplicates (4)
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
#!/bin/sh

# Note this is a guess, based on email from Marc Mazuhelli [Marc.Mazuhelli@USherbrooke.ca]

#  It turns out that -I/usr/kerberos/include is present in RedHat9, and it's not there on RHAS 3.
#  
#  I traced it back to configureextra/LINUXredhat9 which contains these lines:
#  
#  # If we have krb5.h and openssl was compiled with it...
#  if test -d /usr/kerberos/include &&
#     test -f /usr/kerberos/include/krb5.h; then
#      CPPFLAGS="-I/usr/kerberos/include/ ${CPPFLAGS}"
#  fi
#  
#  These lines are also necessary for RedHad [sic] Advanced Server 3 but there doesn't seem to 
#  be a configureextra for RHAS 3...

echo "        Setting RedHat AS/ES3 specific flag values"

# If we have krb5.h and openssl was compiled with it, we need the -I setting
# since there's no way to easily test the latter and no harm from an extra -I,
# just do it...
if test -d /usr/kerberos/include &&
   test -f /usr/kerberos/include/krb5.h; then
    CPPFLAGS="-I/usr/kerberos/include/ ${CPPFLAGS}"
fi