Ethereal-dev: Re: [Ethereal-dev] Next step in build process cleanup

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

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Wed, 26 Mar 2003 00:55:06 +0100
On Tue, Mar 25, 2003 at 01:00:44PM -0800, Guy Harris wrote:
> Well, it appears to work on Solaris 8, although I'm still seeing the
> 
> 	libtool: link: warning: `AC_LIBTOOL_DLOPEN' not used.  Assuming
> 	    no dlopen support.
> 
> messages when it links Ethereal and Tethereal - we *are* using
> AC_LIBTOOL_DLOPEN in the top-level configure.in, so I'm not entirely
> sure what the problem is.

Please test the attached patch: I'm not going to wait for the compile to
finish before going to bed, but at least the configure looks much better.

Packages installed:
autoconf-2.57-26
automake-1.7.2-28
libtool-1.4.3-39

In case it works with Linux and Solaris, it would be interesting to test
it on systems with older build tools or no real dlopen support (e.g. HP-UX).

  Ciao
          Jörg
--
Joerg Mayer                                            <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want ist just stuff that
works. Some say that should read Microsoft instead of technology.
Index: autogen.sh
===================================================================
RCS file: /usr/local/cvsroot/ethereal/autogen.sh,v
retrieving revision 1.23
diff -p -u -r1.23 autogen.sh
--- autogen.sh	15 Feb 2003 03:17:17 -0000	1.23
+++ autogen.sh	25 Mar 2003 23:49:21 -0000
@@ -77,7 +77,8 @@ $DIE
 #
 mv config.guess config.guess.save-libtool
 mv config.sub config.sub.save-libtool
-libtoolize --copy --force || exit 1
+echo libtoolize --ltdl --copy --force
+libtoolize --ltdl --copy --force || exit 1
 rm -f config.guess config.sub
 mv config.guess.save-libtool config.guess
 mv config.sub.save-libtool config.sub
Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/ethereal/configure.in,v
retrieving revision 1.203
diff -p -u -r1.203 configure.in
--- configure.in	25 Mar 2003 23:35:30 -0000	1.203
+++ configure.in	25 Mar 2003 23:49:21 -0000
@@ -22,6 +22,7 @@ AM_INIT_AUTOMAKE(ethereal, 0.9.11)
 dnl Checks for programs.
 AC_PROG_CC
 AC_PROG_CPP
+AC_LIB_LTDL
 AM_DISABLE_STATIC
 AC_LIBTOOL_DLOPEN
 AC_PROG_LIBTOOL