Ver código fonte

list of libraries cleaned

mom040267 11 anos atrás
pai
commit
85c3d68aff
2 arquivos alterados com 14 adições e 5 exclusões
  1. 2 1
      ChangeLog
  2. 12 4
      configure

+ 2 - 1
ChangeLog

@@ -3,7 +3,8 @@ Version 4.2.1.4 'Monza':
 	- Code cleaning.
 	- TCP/TLS tests extended.
 	- relay RTCP sockets ports allocation fixed.
-	
+	- list of libraries cleaned.
+
 10/05/2014 Oleg Moskalenko <[email protected]>
 Version 4.2.1.2 'Monza':
 	- oAuth security experimental implementation;

+ 12 - 4
configure

@@ -823,8 +823,6 @@ fi
 ###########################
 
 testlib socket
-testlib nsl
-testlib dl
 testlib rt
 testlib wldap32
 ER=$?
@@ -952,13 +950,23 @@ fi
 testlib event_core
 ER=$?
 if ! [ ${ER} -eq 0 ] ; then
-    testlib event_extra
     ${ECHO_CMD} "Libevent2 runtime found."
+    testlib event_extra
+    ER=$?
+    if ! [ ${ER} -eq 0 ] ; then
+	${ECHO_CMD} "Libevent2 runtime 'extra' found."
+    else
+	${ECHO_CMD} "ERROR: Libevent2 'extra' runtime library is not installed properly in required location."
+	${ECHO_CMD} "See the INSTALL file."
+	${ECHO_CMD} "Abort."
+	cleanup
+	exit
+    fi
 else
     testlib event
     ER=$?
     if ! [ ${ER} -eq 0 ] ; then
-		${ECHO_CMD} "Libevent2 runtime found."
+		${ECHO_CMD} "Libevent2 runtime found (old style)."
     else
 		${ECHO_CMD} "ERROR: Libevent2 runtime libraries are not installed properly in required location."
 		${ECHO_CMD} "See the INSTALL file."