[Nagiosplug-checkins] nagiosplug configure.in,1.122,1.123

Ton Voon tonvoon at users.sourceforge.net
Wed Dec 8 15:16:16 CET 2004


Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17088

Modified Files:
	configure.in 
Log Message:
Removed redundant check and make export LD_LIBRARY_PATH more sh friendly


Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- configure.in	8 Dec 2004 00:36:18 -0000	1.122
+++ configure.in	8 Dec 2004 23:14:42 -0000	1.123
@@ -385,18 +385,18 @@
 
   fi
 
-  if test X"$OPT_OPENSSL" != "Xno" &&
-     test "$OPENSSL_ENABLED" != "1"; then
+  if test "$OPENSSL_ENABLED" != "1"; then
     AC_MSG_WARN([OpenSSL libs and/or directories were not found where specified!])
     with_openssl="no"
-  elif test "$OPENSSL_ENABLED" = "1"; then
+  else
     check_tcp_ssl="check_simap check_spop check_jabber check_nntps"
     AC_SUBST(check_tcp_ssl)
     AC_DEFINE(HAVE_SSL,1,[Define if SSL libraries are found])
     with_openssl="yes"
 
     # Needed for subsequent compiled programs
-    export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$OPENSSL/lib"
+    LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$OPENSSL/lib"
+    export LD_LIBRARY_PATH
   fi
 fi
 





More information about the Commits mailing list