Kurt D. Zeilenga wrote:
At 01:48 PM 8/10/2005, Howard Chu wrote:
libtool is now using a variable $max_cmd_len which is not set anywhere. Not sure what problems it causes, aside from error messages from "test" at the moment.

Now I'm starting to remember... libtool 1.5 requires use
of a newer autoconf... which would require significant
rewriting of our configure.in & build/*.m4 files.
Oh well.  I'll be backing out the changes shortly.

I just tried autoconf 2.59, it required two changes but the resulting configure script seems to work fine.

Index: aclocal.m4
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/aclocal.m4,v
retrieving revision 1.84
diff -u -r1.84 aclocal.m4
--- aclocal.m4  10 Aug 2005 21:43:06 -0000      1.84
+++ aclocal.m4  10 Aug 2005 22:06:05 -0000
@@ -3927,16 +3927,3 @@
  am_cv_sys_posix_termios=no)])
])

-# From Ulrich Drepper.
-
-# serial 1
-
-AC_DEFUN(AM_TYPE_PTRDIFF_T,
-  [AC_CACHE_CHECK([for ptrdiff_t], am_cv_type_ptrdiff_t,
-     [AC_TRY_COMPILE([#include <stddef.h>], [ptrdiff_t p],
-                    am_cv_type_ptrdiff_t=yes, am_cv_type_ptrdiff_t=no)])
-   if test $am_cv_type_ptrdiff_t = yes; then
-     AC_DEFINE(HAVE_PTRDIFF_T,1,[Define if system has ptrdiff_t type])
-   fi
-])
-
Index: configure.in
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/configure.in,v
retrieving revision 1.586
diff -u -r1.586 configure.in
--- configure.in        7 Aug 2005 16:08:02 -0000       1.586
+++ configure.in        10 Aug 2005 22:06:05 -0000
@@ -2216,7 +2216,7 @@
                       [have_setproctitle=yes
                       LUTIL_LIBS="$LUTIL_LIBS -lutil"],
                       [have_setproctitle=no
-                       LIBOBJS="$LIBOBJS setproctitle.o"
+                       AC_LIBOBJ(setproctitle)
                       LIBSRCS="$LIBSRCS setproctitle.c"])])

       if test $have_setproctitle = yes ; then


--
 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/

Reply via email to