File: LINUXredhat3

package info (click to toggle)
ntop 3%3A5.0.1%2Bdfsg1-2.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 15,720 kB
  • ctags: 11,480
  • sloc: ansic: 79,804; sh: 21,658; python: 1,948; awk: 1,504; perl: 971; makefile: 745; php: 123; xml: 71; 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