libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: libtool--gary--1.0--patch-22


From: Gary V. Vaughan
Subject: FYI: libtool--gary--1.0--patch-22
Date: Mon, 21 Jun 2004 11:18:38 +0100 (BST)
User-agent: mailnotify/0.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Applied to HEAD, with respect to my carte blanche to put libltdl
back together again :-)

Cheers,
        Gary.
- -- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
_________________________________________________________
This patch notification generated by tlaapply version 0.5
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD8DBQFA1rX9FRMICSmD1gYRApc1AJ9pnO7dNWNzQhCpW5TFnlCeQRUPsgCfbkIr
xQBL3kPKlv/uWygxrFwGzgo=
=GG0o
-----END PGP SIGNATURE-----
* looking for address@hidden/libtool--devo--1.0--patch-68 to compare with
* comparing to address@hidden/libtool--devo--1.0--patch-68
A  
{arch}/libtool/libtool--gary/libtool--gary--1.0/address@hidden/patch-log/patch-22
M  ChangeLog
M  doc/libtool.texi
M  libtoolize.in
M  m4/libtool.m4
M  m4/ltdl.m4

* modified files

Index: Changelog
from  Gary V. Vaughan  <address@hidden>

        * m4/ltdl.m4 (AC_WITH_LTDL): Remove redundant AC_REQUIRE calls.
        Either set variables to allow a client to link with the installed
        libltdl, or else compile a local libltdl as a convenience library.
        * libtoolize.in (opt_ltdl): Removed in favour of...
        (ltdldir): ...this, which is defaulted to "libltdl" or can be set
        by the user with an argument to --ltdl.
        (Main): Use it!
        * doc/libtool.texi (Distributing libltdl): Improved documentation
        on libltdl.
        (Invoking libtoolize): Document new optional --ltdl target
        directory argument.

--- orig/doc/libtool.texi
+++ mod/doc/libtool.texi
@@ -98,7 +98,8 @@
 * GNU Free Documentation License:: License for this manual.
 * Index::                       Full index.
 
address@hidden --- The Detailed Node Listing ---
address@hidden
+ --- The Detailed Node Listing ---
 
 Introduction
 
@@ -146,8 +147,8 @@
 
 Using libtool with other languages
 
-* C++ libraries::
-* Tags::                        Using Tags.
+* C++ libraries::              Writing libraries for C++
+* Tags::                       Tags
 
 Library interface versions
 
@@ -2054,8 +2055,14 @@
 @item --help
 Display a help message and exit.
 
address@hidden --ltdl
-Install libltdl in a subdirectory of your package.
address@hidden --ltdl address@hidden
+Install libltdl in a the @var{TARGET-DIRECTORY-NAME} subdirectory of
+your package.  If you specify a subdirectory name, then you will need
+to be careful to pass the same directory name to the autoconf macros:
address@hidden; @code{AC_LIBLTDL_CONVENIENCE};
address@hidden (@pxref{Distributing libltdl}). Without
+an argument, @samp{libltdl} is used as the default target directory
+name.
 
 @item --quiet
 @itemx -q
@@ -2171,8 +2178,8 @@
 and what special considerations you need to make if you do not use C.
 
 @menu
-* C++ libraries::
-* Tags::
+* C++ libraries::              Writing libraries for C++
+* Tags::                       Tags
 @end menu
 
 @node C++ libraries
@@ -2959,8 +2966,8 @@
 @end itemize
 
 @noindent
-libltdl is licensed under the terms of the @sc{gnu} Library General Public 
License,
-with the following exception:
+libltdl is licensed under the terms of the @sc{gnu} Library General
+Public License, with the following exception:
 
 @quotation
 As a special exception to the @sc{gnu} Lesser General Public License,
@@ -3689,19 +3696,20 @@
 @node Distributing libltdl
 @section How to distribute libltdl with your package
 
-Even though libltdl is installed together with libtool, you may wish to
-include libltdl in the distribution of your package, for the convenience
-of users of your package that don't have libtool or libltdl installed.
-In this case, you must decide whether to manually add the @code{ltdl}
-objects to your package, or else which flavor of libltdl you want to use:
-a convenience library or an installable libtool library.
-
-The most simplistic way to add @code{libltdl} to your package is to copy
-the source files, @file{ltdl.c} and @file{ltdl.h}, to a source directory
-withing your package and to build and link them along with the rest of
-your sources.  To help you do this, the m4 macros for Autoconf are
-available in @file{ltdl.m4}.  You must ensure that they are available in
address@hidden before you run address@hidden@c
+Even though libltdl is installed together with libtool, you may wish
+to include libltdl in the distribution of your package, for the
+convenience of users of your package that don't have libtool or
+libltdl installed.  In this case, you must decide whether to manually
+add the @code{ltdl} objects to your package, or else which flavor of
+libltdl you want to use: a convenience library or an installable
+libtool library.
+
+The most simplistic way to add @code{libltdl} to your package is to
+copy all the @file{libltdl} source files, to a subdirectory within
+your package and to build and link them along with the rest of your
+sources.  To help you do this, the m4 macros for Autoconf are
+available in @file{ltdl.m4}.  You must ensure that they are available
+in @file{aclocal.m4} before you run address@hidden@c
 @c
 We used to recommend adding the contents of @file{ltdl.m4} to
 @file{acinclude.m4}, but with modern Automake (1.8 or newer) and this
@@ -3710,19 +3718,63 @@
 release of libltdl.
 @c
 }.  Having made the macros available, you must add a call to the
address@hidden macro to your package's @file{configure.ac} to
-perform the configure time checks required to build @file{ltdl.o}
address@hidden macro to your package's @file{configure.ac} to
+perform the configure time checks required to build the library
 correctly.  This method has problems if you then try to link the
 package binaries with an installed libltdl, or a library which depends
 on libltdl: you will have problems with duplicate symbol definitions.
 
-One advantage of the convenience library is that it is not installed, so
-the fact that you use libltdl will not be apparent to the user, and it
-will not overwrite a pre-installed version of libltdl a user might have.
-On the other hand, if you want to upgrade libltdl for any reason
-(e.g. a bugfix) you'll have to recompile your package instead of just
-replacing an installed version of libltdl.  However, if your programs
-or libraries are linked with other libraries that use such a
address@hidden AC_WITH_LTDL (@var{DIRECTORY})
+Add the @code{--with-included-ltdl} option to the @file{configure}
+script.  By default, this macro will try to build @code{libltdl} in
+a subdirectory named @file{libltdl}, which is where
address@hidden --ltdl} will place the files unless directed
+differently. @xref{Invoking libtoolize}, for how to do that.
+Otherwise, use @var{DIRECTORY} to pass the location of the
address@hidden source files.
address@hidden defmac
+
address@hidden AC_LIBLTDL_INSTALLABLE (@var{DIRECTORY})
+If there is an installed @code{libltdl}, then set @code{LIBLTDL} to the
+link flags needed to use it, and @code{LTDLINCL} to the preprocessor
+flags needed to find the installed headers.  Otherwise, set them to
+point into an included version of @code{libltdl}, and install that.
+
+By default, this macro will pass options to the @file{libltdl}
+subdirectory @file{configure} to cause it to be built as an
+installable library.  If you named the @code{libltdl} source directory
+differently, then pass the directory name relative to
address@hidden as @var{DIRECTORY}.  If you're not using automake,
+you will need to define @code{top_builddir} and @code{top_srcdir} in
+your makefile so that @code{LIBLTDL} and @code{LTDLINCL} are expanded
+properly.
+
+If used in conjunction with @code{AC_WITH_LTDL}, this macro must
+appear @strong{before} the call to @code{AC_WITH_LTDL}.  If you are
+not using @code{AC_WITH_LTDL}, then you must add a call to
address@hidden(@var{DIRECTORY})} to your @file{configure.ac}.
address@hidden defmac
+
address@hidden AC_LIBLTDL_CONVENIENCE (@var{DIRECTORY})
+Unless you call @code{AC_LIBLTDL_INSTALLABLE} before hand,
address@hidden calls this macro automatically, so you should only
+ever need to use it yourself if @code{AC_WITH_LTDL} doesn't do what
+you want.
+
+By default, this macro will pass options to the @file{libltdl}
+subdirectory @file{configure} to cause it to be built as a convenience
+library.  If you put the @code{libltdl} sources in a different
+subdirectory, then you should tell @code{AC_LIBLTDL_CONVENIENCE} where
+with the @var{DIRECTORY} parameter.
address@hidden defmac
+
+One advantage of the convenience library is that it is not installed,
+so the fact that you use libltdl will not be apparent to the user, and
+it will not overwrite a pre-installed version of libltdl a user might
+have.  On the other hand, if you want to upgrade libltdl for any
+reason (e.g. a bugfix) you'll have to recompile your package instead
+of just replacing an installed version of libltdl.  However, if your
+programs or libraries are linked with other libraries that use such a
 pre-installed version of libltdl, you may get linker errors or
 run-time crashes.  Another problem is that you cannot link the
 convenience library into more than one libtool library, then link a
@@ -3731,7 +3783,7 @@
 programs which don't depend on other libraries that might use libltdl
 too.  In order to enable this flavor of libltdl, add a call to
 @samp{AC_LIBLTDL_CONVENIENCE} to your @file{configure.ac},
address@hidden @samp{LT_INIT}.
address@hidden @samp{LT_INIT}, or use @samp{AC_WITH_LTDL}.
 
 In order to select the installable version of libltdl, you should add a
 call of the macro @samp{AC_LIBLTDL_INSTALLABLE} to your
@@ -3743,22 +3795,12 @@
 regardless of the existence of another version, using the configure
 switch @samp{--enable-ltdl-install}.
 
-In order to embed libltdl into your package, just add @samp{--ltdl} to
-the @code{libtoolize} command line. It will copy the libltdl sources
-to a subdirectory @samp{libltdl} in your package.
-Both macros accept an optional argument to specify the location
-of the @samp{libltdl} directory. By the default both macros assume that it
-is @address@hidden@}/libltdl}.
-
 Whatever macro you use, it is up to you to ensure that your
 @file{configure.ac} will configure libltdl by using
 @samp{AC_WITH_LTDL}.  Both macros define the shell variables
 @var{LIBLTDL}, to the link flag that you should use to link with
 libltdl, and @var{LTDLINCL}, to the preprocessor flag that you should
-use to compile with programs that include @file{ltdl.h}.  It is up to
-you to use @samp{AC_SUBST} to ensure that this variable will be
-available in @file{Makefile}s, or add them to variables that are
address@hidden by default, such as @var{LIBS} and @var{CPPFLAGS}.
+use to compile with programs that include @file{ltdl.h}.
 
 If you're using the convenience libltdl, @var{LIBLTDL} will be the
 pathname for the convenience version of libltdl and @var{LTDLINCL} will be
@@ -3792,22 +3834,19 @@
 all platforms, because the dlopening functions may not be available
 for static linking.
 
-The following example shows you how to embed the convenience libltdl in
-your package.  In order to use the installable variant just replace
address@hidden with @samp{AC_LIBLTDL_INSTALLABLE}.  We
+The following example shows you how to embed an installable libltdl in
+your package.  In order to use the convenience variant just replace
address@hidden with @samp{AC_LIBLTDL_CONVENIENCE}.  We
 assume that libltdl was embedded using @samp{libtoolize --ltdl}.
 
 configure.ac:
 @example
 ...
 ## ------------------------------------------ ##
-## Enable building of the convenience library ##
-## and set LIBLTDL accordingly.               ##
+## Enable building of the installable library ##
 ## ------------------------------------------ ##
-AC_LIBLTDL_CONVENIENCE
-# Substitute LTDLINCL and LIBLTDL in the Makefiles
-AC_SUBST([LTDLINCL])
-AC_SUBST([LIBLTDL])
+AC_LIBLTDL_INSTALLABLE
+
 # Configure libtool with dlopen support if possible
 LT_INIT([dlopen])
 AC_WITH_LTDL
@@ -3822,8 +3861,7 @@
 AM_CPPFLAGS = $(LTDLINCL)
 
 myprog_LDFLAGS = -export-dynamic
-# The quotes around -dlopen below fool Automake <= 1.4 into accepting it
-myprog_LDADD = $(LIBLTDL) "-dlopen" self "-dlopen" foo1.la
+myprog_LDADD = $(LIBLTDL) -dlopen self -dlopen foo1.la
 myprog_DEPENDENCIES = $(LIBLTDL) foo1.la
 ...
 @end example


--- orig/libtoolize.in
+++ mod/libtoolize.in
@@ -37,7 +37,7 @@
 # -f, --force           replace existing files
 #     --help            display this message and exit
 # -i, --install         copy missing auxiliary files
-#     --ltdl            install libltdl in a subdirectory
+#     --ltdl[=DIR]      install libltdl in a subdirectory [default: libltdl]
 # -q, --quiet           work silently
 # -v, --verbose         verbosely report processing
 #     --version         print version information and exit
@@ -75,7 +75,6 @@
 opt_force=false
 opt_install=false
 opt_link=:
-opt_ltdl=false
 opt_quiet=false
 opt_verbose=false
 
@@ -91,6 +90,7 @@
 address@hidden@
 auxdir=
 m4dir=
+ltdldir=
 configure_ac=configure.in
 
 
@@ -208,13 +208,30 @@
                        fi
                        ;;
 
-      --force|-f)      opt_force=:             ;;
-      --install|-i)    opt_install=:           ;;
-      --ltdl)          opt_ltdl=:              ;;
+      --force|-f)      opt_force=:                     ;;
+      --install|-i)    opt_install=:                   ;;
+
+      --ltdl)          ltdldir=libltdl
+                       if test $# -gt 0; then
+                         case $1 in
+                           -*)                         ;;
+                           *)  ltdldir="$1"; shift     ;;
+                         esac
+                       fi
+                       ;;
+
       --quiet|--automake|-q) # --automake is for 1.5 compatibility
-                       opt_quiet=:             ;;
-      --verbose|-v)    opt_verbose=:           ;;
+                       opt_quiet=:                     ;;
+      --verbose|-v)    opt_verbose=:                   ;;
 
+      # Separate optargs to long options:
+      --ltdl=*)
+                       arg=`echo "$opt" | $SED "$my_sed_long_arg"`
+                       opt=`echo "$opt" | $SED "$my_sed_long_opt"`
+                       set -- "$opt" "$arg" ${1+"$@"}
+                       ;;
+
+      # Separate non-argument short options:
       -c*|-i*|-f*|-n*|-q*|-v*)
                        rest=`echo "$opt" |$SED "$my_sed_single_rest"`
                        opt=`echo "$opt" |$SED "$my_sed_single_opt"`
@@ -649,8 +666,10 @@
   $opt_quiet || func_check_macros
 
   # Copy all the files from installed libltdl to this project, if the
-  # user specified `--with-ltdl'.
-  $opt_ltdl && eval func_copy_all_files "$pkgdatadir/libltdl" libltdl
+  # user specified `--ltdl'.
+  if test -n "$ltdldir"; then
+    eval func_copy_all_files "$pkgdatadir/libltdl" "$ltdldir"
+  fi
 
   # Copy all the installed utility files to the auxiliary directory if
   # `--install' was passed, or else copy just ltmain.sh.


--- orig/m4/libtool.m4
+++ mod/m4/libtool.m4
@@ -2627,65 +2627,6 @@
 ])# AC_CHECK_LIBM
 
 
-# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
-# -----------------------------------
-# sets LIBLTDL to the link flags for the libltdl convenience library and
-# LTDLINCL to the include flags for the libltdl header and adds
-# --enable-ltdl-convenience to the configure arguments.  Note that LIBLTDL
-# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
-# DIRECTORY is not provided, it is assumed to be `libltdl'.  LIBLTDL will
-# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
-# '${top_srcdir}/' (note the single quotes!).  If your package is not
-# flat and you're not using automake, define top_builddir and
-# top_srcdir appropriately in the Makefiles.
-AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
-[case $enable_ltdl_convenience in
-  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
-  "") enable_ltdl_convenience=yes
-      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
-  esac
-  LIBLTDL='${top_builddir}/'m4_if($#, 1,[$1], ['libltdl'])/libltdlc.la
-  LTDLINCL='-I${top_srcdir}/'m4_if($#, 1, [$1], ['libltdl'])
-  # For backwards non-gettext consistent compatibility...
-  INCLTDL="$LTDLINCL"
-])# AC_LIBLTDL_CONVENIENCE
-
-
-# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
-# -----------------------------------
-# sets LIBLTDL to the link flags for the libltdl installable library and
-# LTDLINCL to the include flags for the libltdl header and adds
-# --enable-ltdl-install to the configure arguments.  Note that LIBLTDL
-# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
-# DIRECTORY is not provided and an installed libltdl is not found, it is
-# assumed to be `libltdl'.  LIBLTDL will be prefixed with '${top_builddir}/'
-# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
-# quotes!).  If your package is not flat and you're not using automake,
-# define top_builddir and top_srcdir appropriately in the Makefiles.
-# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
-AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
-[AC_CHECK_LIB(ltdl, lt_dlinit,
-  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
-  [if test x"$enable_ltdl_install" = xno; then
-     AC_MSG_WARN([libltdl not installed, but installation disabled])
-   else
-     enable_ltdl_install=yes
-   fi
-  ])
-  if test x"$enable_ltdl_install" = x"yes"; then
-    ac_configure_args="$ac_configure_args --enable-ltdl-install"
-    LIBLTDL='${top_builddir}/'m4_if($#, 1, [$1], ['libltdl'])/libltdl.la
-    LTDLINCL='-I${top_srcdir}/'m4_if($#, 1, [$1], ['libltdl'])
-  else
-    ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
-    LIBLTDL="-lltdl"
-    LTDLINCL=
-  fi
-  # For backwards non-gettext consistent compatibility...
-  INCLTDL="$LTDLINCL"
-])# AC_LIBLTDL_INSTALLABLE
-
-
 # AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
 # -------------------------------------------
 AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],


--- orig/m4/ltdl.m4
+++ mod/m4/ltdl.m4
@@ -22,21 +22,15 @@
 
 # serial 6 AC_LIB_LTDL
 
-# AC_WITH_LTDL
-# ------------
+# AC_WITH_LTDL([DIRECTORY])
+# -------------------------
 # Clients of libltdl can use this macro to allow the installer to
 # choose between a shipped copy of the ltdl sources or a preinstalled
 # version of the library.
 AC_DEFUN([AC_WITH_LTDL],
-[AC_REQUIRE([AC_LIB_LTDL])
-AC_SUBST([LIBLTDL])
-AC_SUBST([INCLTDL])
-
-# Unless the user asks us to check, assume no installed ltdl exists.
-use_installed_libltdl=no
-
-AC_ARG_WITH([included_ltdl],
-    [  --with-included-ltdl    use the GNU ltdl sources included here])
+[AC_ARG_WITH([included_ltdl],
+    [AC_HELP_STRING([--with-included-ltdl],
+                    [use the GNU ltdl sources included here])])
 
 if test "x$with_included_ltdl" != xyes; then
   # We are not being forced to use the included libltdl sources, so
@@ -69,17 +63,85 @@
 AC_MSG_CHECKING([whether to use included libltdl])
 AC_MSG_RESULT([$with_included_ltdl])
 
-AC_CONFIG_SUBDIRS([libltdl])
+AC_CONFIG_SUBDIRS([m4_if($#, 1, [$1], [libltdl])])
 ])# AC_WITH_LTDL
 
 
+# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
+# -----------------------------------
+# sets LIBLTDL to the link flags for the libltdl convenience library and
+# LTDLINCL to the include flags for the libltdl header and adds
+# --enable-ltdl-convenience to the configure arguments.  Note that LIBLTDL
+# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
+# DIRECTORY is not provided, it is assumed to be `libltdl'.  LIBLTDL will
+# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
+# '${top_srcdir}/' (note the single quotes!).  If your package is not
+# flat and you're not using automake, define top_builddir and
+# top_srcdir appropriately in the Makefiles.
+AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
+[case $enable_ltdl_convenience in
+  no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
+  "") enable_ltdl_convenience=yes
+      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
+  esac
+LIBLTDL='${top_builddir}/'m4_if($#, 1,[$1], ['libltdl'])/libltdlc.la
+LTDLINCL='-I${top_srcdir}/'m4_if($#, 1, [$1], ['libltdl'])
+
+AC_SUBST([LIBLTDL])
+AC_SUBST([LTDLINCL])
+
+# For backwards non-gettext consistent compatibility...
+INCLTDL="$LTDLINCL"
+AC_SUBST([INCLTDL])
+])# AC_LIBLTDL_CONVENIENCE
+
+
+# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
+# -----------------------------------
+# sets LIBLTDL to the link flags for the libltdl installable library and
+# LTDLINCL to the include flags for the libltdl header and adds
+# --enable-ltdl-install to the configure arguments.  Note that LIBLTDL
+# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called.  If
+# DIRECTORY is not provided and an installed libltdl is not found, it is
+# assumed to be `libltdl'.  LIBLTDL will be prefixed with '${top_builddir}/'
+# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
+# quotes!).  If your package is not flat and you're not using automake,
+# define top_builddir and top_srcdir appropriately in the Makefiles.
+# In the future, this macro may have to be called after LT_INIT.
+AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
+[AC_CHECK_LIB(ltdl, lt_dlinit,
+  [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
+  [if test x"$enable_ltdl_install" = xno; then
+     AC_MSG_WARN([libltdl not installed, but installation disabled])
+   else
+     enable_ltdl_install=yes
+   fi
+  ])
+if test x"$enable_ltdl_install" = x"yes"; then
+  ac_configure_args="$ac_configure_args --enable-ltdl-install"
+  LIBLTDL='${top_builddir}/'m4_if($#, 1, [$1], ['libltdl'])/libltdl.la
+  LTDLINCL='-I${top_srcdir}/'m4_if($#, 1, [$1], ['libltdl'])
+else
+  ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
+  LIBLTDL="-lltdl"
+  LTDLINCL=
+fi
+
+AC_SUBST([LIBLTDL])
+AC_SUBST([LTDLINCL])
+
+# For backwards non-gettext consistent compatibility...
+INCLTDL="$LTDLINCL"
+AC_SUBST([INCLTDL])
+])# AC_LIBLTDL_INSTALLABLE
+
+
 # AC_LIB_LTDL
 # -----------
 # Perform all the checks necessary for compilation of the ltdl objects
 #  -- including compiler checks and header checks.
 AC_DEFUN([AC_LIB_LTDL],
-[AC_PREREQ(2.50)
-AC_REQUIRE([AC_PROG_CC])
+[AC_REQUIRE([AC_PROG_CC])
 AC_REQUIRE([AC_C_CONST])
 AC_REQUIRE([AC_HEADER_STDC])
 AC_REQUIRE([AC_HEADER_DIRENT])



* added files

--- /dev/null
+++ 
/Users/gary/devel/savannah/libtool--devo--1.0/,,address@hidden/new-files-archive/./{arch}/libtool/libtool--gary/libtool--gary--1.0/address@hidden/patch-log/patch-22
@@ -0,0 +1,22 @@
+Revision: libtool--gary--1.0--patch-22
+Archive: address@hidden
+Creator: Gary V. Vaughan <address@hidden>
+Date: Mon Jun 21 11:11:13 BST 2004
+Standard-date: 2004-06-21 10:11:13 GMT
+Modified-files: ChangeLog doc/libtool.texi libtoolize.in
+    m4/libtool.m4 m4/ltdl.m4
+New-patches: address@hidden/libtool--gary--1.0--patch-22
+Summary: rationalise AC_WITH_LTDL and friends
+Keywords: 
+
+* m4/ltdl.m4 (AC_WITH_LTDL): Remove redundant AC_REQUIRE calls.
+Either set variables to allow a client to link with the installed
+libltdl, or else compile a local libltdl as a convenience library.
+* libtoolize.in (opt_ltdl): Removed in favour of...
+(ltdldir): ...this, which is defaulted to "libltdl" or can be set
+by the user with an argument to --ltdl.
+(Main): Use it!
+* doc/libtool.texi (Distributing libltdl): Improved documentation
+on libltdl.
+(Invoking libtoolize): Document new optional --ltdl target
+directory argument.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]