mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-27 07:09:26 +08:00
47938d46eb
* doc/libtool.texi (using libltdl): document new lt_dlinfo struct, replace NULL with @code{NULL}, document lt_dlsetdata(), lt_dlgetdata() and lt_dlgetinfo() * libltdl/Makefile.am: increment interface version number * libltdl/configure.in: set version number to 1.1 * libltdl/ltdl.c: make some variables public by moving them to the info struct, add support for application specific data within module handles, new lt_dlsetdata(), lt_dlgetdata() and lt_dlgetinfo() functions, fix memory leaks, minor cleanups * libltdl/ltdl.h: ditto * mdemo/main.c: demonstrate use of lt_dlgetinfo, improved handling of errors * ltconfig.in: set hardcode_into_libs = yes for GNU/Hurd, Linux and Solaris, only hardcode *all* run-paths if hardcode_into_libs is set to 'all', otherwise hardcode only user-specified rpaths into libraries * ltmain.in: minor cleanups, we don't need to add user-specified rpaths to compile_rpath, finalize_rpath is sufficient * ltconfig.in: transform linux* -> *linux-gnu* _after_ host_os has been set! (reported by Bruno Haible <haible@ilog.fr>) * configure.in: AC_SUBST reload_flag, deplibs_check_method and file_magic_cmd * README: use 'libtool --version' instead of 'ltconfig --version' (suggested by Francios Pinard <pinard@iro.umontreal.ca>
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
dnl Process this file with autoconf to create configure.
|
|
|
|
AC_INIT(ltdl.c)
|
|
|
|
dnl We shouldn't be using these internal macros of autoconf,
|
|
dnl but CONFIG_AUX_DIR($with_auxdir) breaks automake.
|
|
AC_ARG_WITH(auxdir,
|
|
[ --with-auxdir=DIR path to autoconf auxiliary files],
|
|
[AC_CONFIG_AUX_DIRS($with_auxdir)],
|
|
[AC_CONFIG_AUX_DIR_DEFAULT])
|
|
|
|
if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
|
|
if test -f ${srcdir}/ltconfig && test -f ${srcdir}/ltmain.sh; then
|
|
# if libltdl is libtoolized, it is assumed to be stand-alone and
|
|
# installed unless the command line overrides it (tested above)
|
|
enable_ltdl_install=yes
|
|
else
|
|
AC_MSG_WARN([*** The top-level configure must select either])
|
|
AC_MSG_WARN([*** [A""C_LIBLTDL_INSTALLABLE] or [A""C_LIBLTDL_CONVENIENCE].])
|
|
AC_MSG_ERROR([*** Maybe you want to --enable-ltdl-install?])
|
|
fi
|
|
fi
|
|
|
|
AM_INIT_AUTOMAKE(libltdl,1.1,-)
|
|
AM_CONFIG_HEADER(config.h)
|
|
AM_MAINTAINER_MODE
|
|
|
|
AC_PROG_CC
|
|
AC_C_CONST
|
|
AC_C_INLINE
|
|
|
|
AC_LIBTOOL_WIN32_DLL
|
|
AM_PROG_LIBTOOL
|
|
AC_SUBST(LIBTOOL_DEPS)
|
|
|
|
AC_LIB_LTDL
|
|
|
|
dnl Output the makefile
|
|
AC_OUTPUT(Makefile)
|
|
|
|
# Local Variables:
|
|
# mode:shell-script
|
|
# sh-indentation:2
|
|
# End:
|