~ubuntu-branches/ubuntu/natty/ntop/natty

« back to all changes in this revision

Viewing changes to configureextra/HPUX

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2005-01-30 21:59:13 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050130215913-xc3ke963bw49b3k4
Tags: 2:3.0-5
* Updated README.Debian file so users will understand what to do at
  install, closes: #291794, #287802.
* Updated ntop init script to give better output.
* Also changed log directory from /var/lib/ntop to /var/log/ntop,
  closes: #252352.
* Quoted the interface list to allow whitespace, closes: #267248.
* Added a couple of logcheck ignores, closes: #269321, #269319.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
echo "        Setting HP-UX specific flag values"
 
4
 
 
5
 
 
6
. configureextra/functions
 
7
 
 
8
# Test for plugin load function unique to HPUX
 
9
test_library dld     shl_load
 
10
 
 
11
# Test for thread function unique to HPUX
 
12
test_library pthread __pthread_create_system
 
13
 
 
14
test_library posix4  sem_init
 
15
if (! test $ce_status); then
 
16
    test_library rt sem_init
 
17
fi
 
18
 
 
19
case "${target}" in
 
20
    *-*-hpux10* )
 
21
        NOTE1="If it works at all, it works Single Threaded only."
 
22
        if test ".${ac_disable_multithread}" = ".yes"; then
 
23
            STATUS="UNTESTED"
 
24
        else
 
25
            STATUS="WILLFAIL"
 
26
        fi
 
27
     ;;
 
28
esac
 
29
 
 
30
echo
 
31
echo "*******************************************************************"
 
32
echo "*"
 
33
echo "* WARNING:    ntop does not presently offer any support for HP-UX"
 
34
echo "*"
 
35
echo "*             None of ntop's authors have access to any HP-UX"
 
36
echo "*             platform(s) so this is not expected to change."
 
37
echo "*"
 
38
echo "*             These settings are taken from old ntop versions"
 
39
echo "*             are are here to serve as a basis for providing"
 
40
echo "*             HP-UX support if somebody wanted to attempt the"
 
41
echo "*             work."
 
42
echo "*"
 
43
echo "*>>> Continuing, but you have been warned"
 
44
echo "*"
 
45
echo "*******************************************************************"
 
46
echo
 
47
 
 
48
HAS_WARNING="yes"