libtool/configure.in
Alexandre Oliva fbd5377930 * 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-10 19:16:30 +00:00

39 lines
843 B
Plaintext

dnl Process this file with autoconf to create configure.
AC_INIT(ltmain.in)
AM_INIT_AUTOMAKE(libtool,1.2e)
pkgdatadir='${datadir}/libtool'
AC_SUBST(pkgdatadir)
aclocaldir='${datadir}/aclocal'
AC_SUBST(aclocaldir)
AC_ARG_ENABLE(ltdl-install,
[--enable-ltdl-install install libltdl])
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)
dnl Use the specified CC, RANLIB, and LD while running ltconfig.
AC_PROG_CC
AC_PROG_RANLIB
AM_PROG_LD
AM_PROG_NM
AC_PROG_LN_S
dnl For the `lineno' script (which puts line numbers into `ltconfig').
AC_PROG_AWK
AC_CONFIG_SUBDIRS(libltdl demo mdemo dnl #depdemo
)
AC_OUTPUT([Makefile doc/Makefile tests/Makefile])
# Local Variables:
# mode:shell-script
# sh-indentation:2
# End: