فهرست منبع

Removed redundant check and make export LD_LIBRARY_PATH more sh friendly

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1014 f882894a-f735-0410-b71e-b25c423dba1c
Ton Voon 21 سال پیش
والد
کامیت
f86b400fa5
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      configure.in

+ 4 - 4
configure.in

@@ -385,18 +385,18 @@ else
 
 
   fi
   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!])
     AC_MSG_WARN([OpenSSL libs and/or directories were not found where specified!])
     with_openssl="no"
     with_openssl="no"
-  elif test "$OPENSSL_ENABLED" = "1"; then
+  else
     check_tcp_ssl="check_simap check_spop check_jabber check_nntps"
     check_tcp_ssl="check_simap check_spop check_jabber check_nntps"
     AC_SUBST(check_tcp_ssl)
     AC_SUBST(check_tcp_ssl)
     AC_DEFINE(HAVE_SSL,1,[Define if SSL libraries are found])
     AC_DEFINE(HAVE_SSL,1,[Define if SSL libraries are found])
     with_openssl="yes"
     with_openssl="yes"
 
 
     # Needed for subsequent compiled programs
     # 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
 fi
 fi