1997-04-02 03:21:43 +08:00
|
|
|
dnl Process this file with autoconf to create configure.
|
1997-09-15 20:31:09 +08:00
|
|
|
AC_INIT(ltmain.in)
|
1997-11-28 00:57:00 +08:00
|
|
|
|
1998-12-16 16:19:50 +08:00
|
|
|
AM_INIT_AUTOMAKE(libtool,1.2e)
|
1997-04-02 02:29:23 +08:00
|
|
|
|
|
|
|
pkgdatadir='${datadir}/libtool'
|
|
|
|
AC_SUBST(pkgdatadir)
|
|
|
|
aclocaldir='${datadir}/aclocal'
|
|
|
|
AC_SUBST(aclocaldir)
|
|
|
|
|
* configure.in (AC_CONFIG_SUBDIRS): add libltdl, demo, mdemo and
depdemo commented out, so that `dist' works before `check'
(BUILD_LTDL): will contain libltdl if --enable-ltdl-install
* Makefile.am (DIST_SUBDIRS): expand SUBDIRS and add depdemo,
commented out
(SUBDIRS): add $(BUILT_LTDL)
* libltdl/Makefile.am (EXTRA_LTLIBRARIES): add libtest.la, the
same as libltdl but always a convenience library. Not built by
default. Both libraries now depend on the libtool script, that
depends on ../libtool and is rebuilt when needed
* mdemo/Makefile.am (mdemo, mdemo.debug): depend on and link with
../libltdl/libtest.la, that is rebuilt if needed
(mdemo_LDADD): removed $(LIBADD_M), to avoid silent failures
(foo1.la): renamed from libfoo1.la; test removing the lib prefix
* mdemo/foo1.c: renamed libfoo1_LTX symbols to foo1_LTX
* mdemo/main.c: don't include string.h nor math.h, nor refer to
sin nor cos
* tests/mdemo-exec.test: renamed libfoo1.la to foo1.la
* tests/mdemo-inst.test: ditto
1999-01-11 03:16:30 +08:00
|
|
|
AC_ARG_ENABLE(ltdl-install,
|
1999-01-12 22:30:07 +08:00
|
|
|
[ --enable-ltdl-install install libltdl])
|
* configure.in (AC_CONFIG_SUBDIRS): add libltdl, demo, mdemo and
depdemo commented out, so that `dist' works before `check'
(BUILD_LTDL): will contain libltdl if --enable-ltdl-install
* Makefile.am (DIST_SUBDIRS): expand SUBDIRS and add depdemo,
commented out
(SUBDIRS): add $(BUILT_LTDL)
* libltdl/Makefile.am (EXTRA_LTLIBRARIES): add libtest.la, the
same as libltdl but always a convenience library. Not built by
default. Both libraries now depend on the libtool script, that
depends on ../libtool and is rebuilt when needed
* mdemo/Makefile.am (mdemo, mdemo.debug): depend on and link with
../libltdl/libtest.la, that is rebuilt if needed
(mdemo_LDADD): removed $(LIBADD_M), to avoid silent failures
(foo1.la): renamed from libfoo1.la; test removing the lib prefix
* mdemo/foo1.c: renamed libfoo1_LTX symbols to foo1_LTX
* mdemo/main.c: don't include string.h nor math.h, nor refer to
sin nor cos
* tests/mdemo-exec.test: renamed libfoo1.la to foo1.la
* tests/mdemo-inst.test: ditto
1999-01-11 03:16:30 +08:00
|
|
|
AM_CONDITIONAL(INSTALL_LTDL, test x$enable_ltdl_install = xyes)
|
|
|
|
if test x$enable_ltdl_install = xyes; then
|
|
|
|
BUILD_LTDL=libltdl
|
|
|
|
else
|
|
|
|
BUILD_LTDL=
|
|
|
|
fi
|
|
|
|
AC_SUBST(BUILD_LTDL)
|
|
|
|
|
1997-04-02 03:21:43 +08:00
|
|
|
dnl Use the specified CC, RANLIB, and LD while running ltconfig.
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_RANLIB
|
1997-07-02 04:04:47 +08:00
|
|
|
AM_PROG_LD
|
1997-07-13 05:39:00 +08:00
|
|
|
AM_PROG_NM
|
1997-07-01 12:38:32 +08:00
|
|
|
AC_PROG_LN_S
|
1997-04-02 03:21:43 +08:00
|
|
|
|
1997-11-28 00:57:00 +08:00
|
|
|
dnl For the `lineno' script (which puts line numbers into `ltconfig').
|
1997-08-21 13:16:08 +08:00
|
|
|
AC_PROG_AWK
|
|
|
|
|
* configure.in (AC_CONFIG_SUBDIRS): added cdemo
* Makefile.am (DIST_SUBDIRS): ditto
(ACINCLUDE_M4_LIST): ditto
* tests/Makefile.am (TESTS): added cdemo-shared.test
* tests/cdemo-static.test: disable shared libraries here
* tests/cdemo-shared.test: disable static libraries here
* doc/libtool.texi (Test descriptions): added cdemo tests
* THANKS: added Edouard G. Parmelan
1999-01-13 Edouard G. Parmelan <Edouard.Parmelan@France.NCR.COM>
* ltmain.in: fix convenience libraries when static libraries
are disables.
* cdemo/README, cdemo/Makefile.am, cdemo/configure.in, cdemo/foo.h,
cdemo/foo1.c, cdemo/main.c, cdemo/.cvsignore, test/cdemo-conf.test,
test/cdemo-make.test, test/cdemo-exec.test, test/cdemo-static.test:
new tests for convenience libraries.
* autogen, Makefile.am, test/Makefile.am: ditto.
* ltconfig.in, doc/PLATFORMS: Added support for NCR MP-RAS
(i586-ncr-sysv4.3*) with native compiler.
* README, doc/libtool.texi: Added note for NCR MP-RAS compiler.
1999-01-13 16:28:35 +08:00
|
|
|
AC_CONFIG_SUBDIRS(libltdl demo mdemo cdemo) dnl #depdemo
|
1997-04-02 02:46:48 +08:00
|
|
|
AC_OUTPUT([Makefile doc/Makefile tests/Makefile])
|
1997-04-02 03:21:43 +08:00
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# mode:shell-script
|
|
|
|
# sh-indentation:2
|
|
|
|
# End:
|