80 lines
2.8 KiB
Plaintext
80 lines
2.8 KiB
Plaintext
$NetBSD: patch-aa,v 1.4 2011/10/16 15:19:08 spz Exp $
|
|
|
|
add extra options for cases where PREFIX is not in a standard location
|
|
|
|
add INSTALLEXADIR for some pkgsrc magic
|
|
|
|
--- configure.server.orig 2011-03-08 17:20:28.000000000 +0000
|
|
+++ configure.server
|
|
@@ -17,12 +17,15 @@ do
|
|
To configure Xymon, the following options are available:
|
|
--rrdinclude DIRECTORY : Specify location of RRDtool include files
|
|
--rrdlib DIRECTORY : Specify location of RRDtool libraries
|
|
+ --pngconfig PROGRAM : Specify location of libpng-config program
|
|
+ --zlib DIRECTORY : Specify location of Z library
|
|
--pcreinclude DIRECTORY : Specify location of PCRE include files
|
|
--pcrelib DIRECTORY : Specify location of PCRE libraries
|
|
--sslinclude DIRECTORY : Specify location of OpenSSL include files
|
|
--ssllib DIRECTORY : Specify location of OpenSSL libraries
|
|
--ldapinclude DIRECTORY : Specify location of OpenLDAP include files
|
|
--ldaplib DIRECTORY : Specify location of OpenLDAP libraries
|
|
+ --snmpconfig PROGRAM : Specify location of net-snmp-config program
|
|
--fping FILENAME : Specify location of the Fping program
|
|
|
|
The script will search a number of standard directories for
|
|
@@ -36,6 +39,12 @@ EOF
|
|
"--rrdlib")
|
|
USERRRDLIB="$1"; shift
|
|
;;
|
|
+ "--pngconfig")
|
|
+ USERPNGCONFIG="$1"; shift
|
|
+ ;;
|
|
+ "--zlib")
|
|
+ USERZLIB="$1"; shift
|
|
+ ;;
|
|
"--pcreinclude")
|
|
USERPCREINC="$1"; shift
|
|
;;
|
|
@@ -54,6 +63,9 @@ EOF
|
|
"--ldaplib")
|
|
USERLDAPLIB="$1"; shift
|
|
;;
|
|
+ "--snmpconfig")
|
|
+ USERSNMPCONFIG="$1"; shift
|
|
+ ;;
|
|
"--fping")
|
|
USERFPING="$1"; shift
|
|
;;
|
|
@@ -393,11 +405,11 @@ then
|
|
fi
|
|
echo ""; echo ""
|
|
|
|
-echo "# Toplevel Makefile for Xymon" > Makefile
|
|
+echo "# Toplevel Makefile for Xymon" > Makefile
|
|
|
|
echo "BUILDTOPDIR=\`pwd\`" >>Makefile
|
|
echo "" >>Makefile
|
|
-echo "# configure settings for Xymon" >>Makefile
|
|
+echo "# configure settings for Xymon" >>Makefile
|
|
echo "#" >>Makefile
|
|
echo "# Toplevel dir" >>Makefile
|
|
echo "XYMONTOPDIR = $XYMONTOPDIR" >>Makefile
|
|
@@ -477,6 +489,7 @@ echo "LIBRTDEF = $LIBRTDEF"
|
|
echo "" >>Makefile
|
|
echo "# Net-SNMP settings" >>Makefile
|
|
echo "DOSNMP = $DOSNMP" >>Makefile
|
|
+echo "SNMPCONFIG = $SNMPCONFIG" >>Makefile
|
|
echo "" >>Makefile
|
|
|
|
echo "# Large File Support settings" >>Makefile
|
|
@@ -507,6 +520,9 @@ fi
|
|
if test "$INSTALLETCDIR" != ""; then
|
|
echo "INSTALLETCDIR = $INSTALLETCDIR" >>Makefile
|
|
fi
|
|
+if test "$INSTALLEXADIR" != ""; then
|
|
+ echo "INSTALLEXADIR = $INSTALLEXADIR" >>Makefile
|
|
+fi
|
|
if test "$INSTALLEXTDIR" != ""; then
|
|
echo "INSTALLEXTDIR = $INSTALLEXTDIR" >>Makefile
|
|
fi
|