Ethereal-dev: [ethereal-dev] Problem with --with-ucdsnmp

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Wed, 19 Jan 2000 17:51:56 +0100
When specifying --with-ucdsnmp=DIR to configure, the
-L${ucdsnmpdir}/lib appears after the -lsnmp in the Makefile, making
the -L option useless (and making the compilation fail if the library
is installed in some exotic location). So I suggest the change
enclosed at the end of this message in aclocal.m4.

Regards,

---------------------------------------------
ch.tronche@xxxxxxxxxxxx   http://tronche.com/
Christophe Tronche        USweb/CKS France

--- aclocal.m4~	Sat Jan  8 20:30:38 2000
+++ aclocal.m4	Wed Jan 19 15:29:04 2000
@@ -266,7 +266,7 @@
 			AC_MSG_RESULT(added $d to paths)
 			CFLAGS="$CFLAGS -I${ucdsnmpdir}/include"
 			CPPFLAGS="$CPPFLAGS -I${ucdsnmpdir}/include"
-			LIBS="$LIBS -L${ucdsnmpdir}/lib"
+			LIBS="-L${ucdsnmpdir}/lib $LIBS"
 		fi
 	fi
 ])