File: HPUX

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 (48 lines) | stat: -rwxr-xr-x 1,328 bytes parent folder | download | duplicates (5)
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
#!/bin/sh

echo "        Setting HP-UX specific flag values"


. configureextra/functions

# Test for plugin load function unique to HPUX
test_library dld     shl_load

# Test for thread function unique to HPUX
test_library pthread __pthread_create_system

test_library posix4  sem_init
if (! test $ce_status); then
    test_library rt sem_init
fi

case "${target}" in
    *-*-hpux10* )
        NOTE1="If it works at all, it works Single Threaded only."
        if test ".${ac_disable_multithread}" = ".yes"; then
            STATUS="UNTESTED"
        else
            STATUS="WILLFAIL"
        fi
     ;;
esac

echo
echo "*******************************************************************"
echo "*"
echo "* WARNING:    ntop does not presently offer any support for HP-UX"
echo "*"
echo "*             None of ntop's authors have access to any HP-UX"
echo "*             platform(s) so this is not expected to change."
echo "*"
echo "*             These settings are taken from old ntop versions"
echo "*             are are here to serve as a basis for providing"
echo "*             HP-UX support if somebody wanted to attempt the"
echo "*             work."
echo "*"
echo "*>>> Continuing, but you have been warned"
echo "*"
echo "*******************************************************************"
echo

HAS_WARNING="yes"