diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-02-18 22:56:29 (GMT) |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-02-18 22:56:29 (GMT) |
commit | fda41114caace08fcfa4f9a15643f0df2f73c8e7 (patch) | |
tree | 4a17afa96088625080ea0ce742b028ed2e1633ac /configure.in | |
parent | b0d5270f0a2e688e6ba44dde8011dfae63bbf754 (diff) | |
download | monitoring-plugins-fda41114caace08fcfa4f9a15643f0df2f73c8e7.tar.gz |
set tag for beta3, fix pgsql detection
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@343 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 896912b..5d9e45c 100644 --- a/configure.in +++ b/configure.in | |||
@@ -4,7 +4,7 @@ include(`getloadavg.m4') | |||
4 | AC_REVISION ($Revision$) | 4 | AC_REVISION ($Revision$) |
5 | AC_INIT(Helper.pm) | 5 | AC_INIT(Helper.pm) |
6 | VER=1.3.0 | 6 | VER=1.3.0 |
7 | REL=beta2 | 7 | REL=beta3 |
8 | AC_SUBST(VER) | 8 | AC_SUBST(VER) |
9 | AC_SUBST(REL) | 9 | AC_SUBST(REL) |
10 | PACKAGE_VERSION="${VER}-${REL}" | 10 | PACKAGE_VERSION="${VER}-${REL}" |
@@ -106,7 +106,10 @@ if test "$ac_cv_lib_crypt_main" = "yes"; then | |||
106 | AC_CHECK_HEADERS(pgsql/libpq-fe.h) | 106 | AC_CHECK_HEADERS(pgsql/libpq-fe.h) |
107 | AC_CHECK_HEADERS(postgresql/libpq-fe.h) | 107 | AC_CHECK_HEADERS(postgresql/libpq-fe.h) |
108 | AC_CHECK_HEADERS(libpq-fe.h) | 108 | AC_CHECK_HEADERS(libpq-fe.h) |
109 | if test "$ac_cv_header_pgsql_libpq_fe_h" = "yes"; then | 109 | if [[ -n "$PGSQL" -a "$ac_cv_header_libpq_fe_h" = "yes" ]]; then |
110 | PGLIBS="-L$PGSQL/lib -lpq -lcrypt" | ||
111 | PGINCLUDE="-I$PGSQL/include" | ||
112 | elif test "$ac_cv_header_pgsql_libpq_fe_h" = "yes"; then | ||
110 | PGLIBS="-lpq -lcrypt" | 113 | PGLIBS="-lpq -lcrypt" |
111 | PGINCLUDE="-I/usr/include/pgsql" | 114 | PGINCLUDE="-I/usr/include/pgsql" |
112 | elif test "$ac_cv_header_postgresql_libpq_fe_h" = "yes"; then | 115 | elif test "$ac_cv_header_postgresql_libpq_fe_h" = "yes"; then |