Pavel Roskin <[EMAIL PROTECTED]> writes:

[...]
> My understanding is that AC_PROG_LIBTOOL in the ml-branch tries to
> fool autoconf and gets caught by the new dependency tracking code.
> 
> Concerning libltdl/configure.in, there is indeed a loop:
> 
> configure.in:36: AC_LTDL_SYMBOL_USCORE is required by...
> ./aclocal.m4:1265: AC_LTDL_DLSYM_USCORE is expanded from...
> ./aclocal.m4:1203: AC_LTDL_SYMBOL_USCORE is expanded from...
> 
> which means that AC_LTDL_SYMBOL_USCORE calls AC_LTDL_DLSYM_USCORE
> which requires AC_LTDL_SYMBOL_USCORE.

I submitted a suggestion for a patch for this just a few days ago. See
attachment.

Regards,
Morten

Index: ChangeLog
===================================================================
RCS file: /home/cvs/libtool/ChangeLog,v
retrieving revision 1.809
diff -u -r1.809 ChangeLog
--- ChangeLog   2000/10/02 01:18:16     1.809
+++ ChangeLog   2000/10/12 16:43:57
@@ -1,3 +1,8 @@
+2000-10-12  Morten Eriksen <[EMAIL PROTECTED]>
+
+       * ltdl.m4 (AC_LIB_LTDL, AC_LTDL_SYMBOL_USCORE): Break a circular
+       dependency between AC_LTDL_SYMBOL_USCORE and AC_LTDL_DLSYM_USCORE.
+
 2000-10-02  Gary V. Vaughan  <[EMAIL PROTECTED]>
 
        From Bruce Korb <[EMAIL PROTECTED]>
Index: ltdl.m4
===================================================================
RCS file: /home/cvs/libtool/ltdl.m4,v
retrieving revision 1.12
diff -u -r1.12 ltdl.m4
--- ltdl.m4     2000/09/16 20:08:07     1.12
+++ ltdl.m4     2000/10/12 16:43:57
@@ -48,6 +48,7 @@
 AC_REQUIRE([AC_LTDL_DLPREOPEN])dnl
 AC_REQUIRE([AC_LTDL_DLLIB])dnl
 AC_REQUIRE([AC_LTDL_SYMBOL_USCORE])dnl
+AC_REQUIRE([AC_LTDL_DLSYM_USCORE])dnl
 ])# AC_LIB_LTDL
 
 # AC_LTDL_ENABLE_INSTALL
@@ -223,7 +224,6 @@
 rm -rf conftest*
 ])
 AC_MSG_RESULT($ac_cv_sys_symbol_underscore)
-AC_LTDL_DLSYM_USCORE
 ])# AC_LTDL_SYMBOL_USCORE
 
 # AC_LTDL_DLSYM_USCORE

Reply via email to