Title: [opsview-base] [28] update solaris patch
- Revision
- 28
- Author
- aburzynski
- Date
- 2012-08-01 16:21:10 +0100 (Wed, 01 Aug 2012)
Log Message
update solaris patch
Modified Paths
Modified: trunk/patches/nagiosplug_check_ldap_solaris_fix.patch
===================================================================
--- trunk/patches/nagiosplug_check_ldap_solaris_fix.patch 2012-07-31 13:58:33 UTC (rev 27)
+++ trunk/patches/nagiosplug_check_ldap_solaris_fix.patch 2012-08-01 15:21:10 UTC (rev 28)
@@ -1,16 +1,16 @@
diff -ur nagios-plugins-1.4.14/configure nagios-plugins-1.4.14.new/configure
--- nagios-plugins-1.4.14/configure Wed Mar 3 16:31:12 2010
+++ nagios-plugins-1.4.14.new/configure Wed Mar 3 16:18:49 2010
-@@ -22663,7 +22663,7 @@
- echo $ECHO_N "(cached) $ECHO_C" >&6
+@@ -13548,7 +13548,7 @@
+ $as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lldap -llber $LIBS"
+LIBS="-lldap $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
-@@ -22722,7 +22722,7 @@
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+@@ -13582,7 +13582,7 @@
fi
if test "$ac_cv_lib_ldap_main" = "yes"; then
@@ -22,15 +22,15 @@
diff -ur nagios-plugins-1.4.14/configure.in nagios-plugins-1.4.14.new/configure.in
--- nagios-plugins-1.4.14/configure.in Wed Sep 16 09:20:34 2009
+++ nagios-plugins-1.4.14.new/configure.in Wed Mar 3 16:09:57 2010
-@@ -266,9 +266,9 @@
+@@ -290,9 +290,9 @@
dnl Check for LDAP libraries
_SAVEDLIBS="$LIBS"
--AC_CHECK_LIB(ldap,main,,,-llber)
-+AC_CHECK_LIB(ldap,main,,,)
+-AC_CHECK_LIB(ldap,main,,,)
++AC_CHECK_LIB(ldap,main,,,-llber)
if test "$ac_cv_lib_ldap_main" = "yes"; then
-- LDAPLIBS="-lldap -llber"\
-+ LDAPLIBS="-lldap"\
+- LDAPLIBS="-lldap "\
++ LDAPLIBS="-lldap -llber"\
LDAPINCLUDE="-I/usr/include/ldap"
AC_SUBST(LDAPLIBS)
AC_SUBST(LDAPINCLUDE)
_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins