diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
commit | 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch) | |
tree | 1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/67988-autoconf.dif | |
download | site-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz |
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts,
and configuration files.
Diffstat (limited to 'web/attachments/67988-autoconf.dif')
-rw-r--r-- | web/attachments/67988-autoconf.dif | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/web/attachments/67988-autoconf.dif b/web/attachments/67988-autoconf.dif new file mode 100644 index 0000000..53972e6 --- /dev/null +++ b/web/attachments/67988-autoconf.dif | |||
@@ -0,0 +1,26 @@ | |||
1 | diff -Naur nagios-plugins-1.3.1/configure.in nagios-plugins-1.3.1_autoconf_change/configure.in | ||
2 | --- nagios-plugins-1.3.1/configure.in 2003-07-11 08:12:23.000000000 +0200 | ||
3 | +++ nagios-plugins-1.3.1_autoconf_change/configure.in 2003-11-19 10:57:36.000000000 +0100 | ||
4 | @@ -176,9 +176,19 @@ | ||
5 | _SAVEDLIBS="$LIBS" | ||
6 | _SAVEDCPPFLAGS="$CPPFLAGS" | ||
7 | AC_ARG_WITH(mysql,--with-mysql=<dir> sets path to mysql installation (assumes lib/mysql and include subdirs),[MYSQL=$withval]) | ||
8 | -if test -n "$MYSQL"; then | ||
9 | - MYSQLLIBDIR=$MYSQL/lib/mysql | ||
10 | - CPPFLAGS="-I$MYSQL/include" | ||
11 | +AC_ARG_WITH(mysqllibdir,--with-mysqllibdir=<dir> sets the path to the mysql libraries,[MYSQLLIBDIR=$withval]) | ||
12 | +if test -n "$MYSQL" -o -n "$MYSQLLIBDIR" ; then | ||
13 | + | ||
14 | + dnl set default library if not supplied | ||
15 | + if test -z "$MYSQLLIBDIR" ; then | ||
16 | + MYSQLLIBDIR=$MYSQL/lib/mysql | ||
17 | + fi | ||
18 | + | ||
19 | + dnl set default include | ||
20 | + if test -n "$MYSQL" ; then | ||
21 | + CPPFLAGS="-I$MYSQL/include" | ||
22 | + fi | ||
23 | + | ||
24 | AC_CHECK_LIB(mysqlclient,mysql_init,MYSQLLIBS="-lmysqlclient -lz" check_mysql_LDFLAGS="-L$MYSQLLIBDIR ",,-L$MYSQLLIBDIR -lz) | ||
25 | AC_CHECK_LIB(mysqlclient,mysql_close,MYSQLLIBS="-lmysqlclient") | ||
26 | elif test -f /usr/lib/libmysqlclient.so; then | ||