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

« back to all changes in this revision

Viewing changes to configureextra/LINUXslackware

  • 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 Slackware specific flag values"
 
4
# Hmm, don't think so...
 
5
# CPPFLAGS="-DHAVE_FILEDESCRIPTORBUG ${CPPFLAGS}"
 
6
 
 
7
# XML Dump plugin stuff... leeched from Burton
 
8
#  Note - this assumes you've installed the packages that include:
 
9
#         glib, glib-devel, libxml2, libxml2-devel
 
10
#         and the gdome2 and gdome2-devel from http://gdome2.cs.unibo.it/
 
11
if test -f /usr/lib/libglib.so; then
 
12
  LDFLAGS="${LDFLAGS} -lglib"
 
13
fi
 
14
if test -d /usr/include/libxml2/libxml; then
 
15
  CPPFLAGS="${CPPFLAGS} -I/usr/include/libxml2/libxml"
 
16
fi
 
17
if test -d /usr/include/glib-1.2; then
 
18
  CPPFLAGS="${CPPFLAGS} -I/usr/include/glib-1.2"
 
19
fi
 
20
if test -d /usr/lib/glib-1.2/include; then
 
21
  CPPFLAGS="${CPPFLAGS} -I/usr/lib/glib-1.2/include"
 
22
fi
 
23
if test -d /usr/include/libgdome; then
 
24
  CPPFLAGS="${CPPFLAGS} -I/usr/include/libgdome"
 
25
fi
 
26
if test -d /usr/lib/glib/include; then
 
27
  CPPFLAGS="${CPPFLAGS} -I/usr/lib/glib/include"
 
28
fi