## We want these in the dist tarball
EXTRA_DIST = pixmaps
-ACLOCAL = aclocal -I $(ac_aux_dir)
+ACLOCAL_AMFLAGS = -I m4
+
+LIBTOOL_MACROS = \
+ m4/libtool.m4 \
+ m4/ltoptions.m4 \
+ m4/ltsugar.m4 \
+ m4/ltversion.m4 \
+ m4/lt~obsolete.m4
CLEANFILES = *~
$(ac_aux_dir)/compile \
$(ac_aux_dir)/test-driver \
$(ac_aux_dir)/ar-lib \
- $(ac_aux_dir)/ylwrap
+ $(ac_aux_dir)/ylwrap \
+ $(LIBTOOL_MACROS)
changelog:
@if test -d $(srcdir)/.git; then \
AC_INIT([emu8051], [2.0.1], [hugo@hugovil.com], [emu8051],
[http://www.hugovil.com/fr/emu8051/])
AC_CONFIG_AUX_DIR([build-aux])
+AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR(src/common/cpu8051.c)
dnl -Wno-extra-portability:
AC_LANG_C
dnl Testing for libtool support.
-AC_PROG_RANLIB
-AM_PROG_AR
+AM_PROG_LIBTOOL
AC_ARG_WITH([readline],
[AS_HELP_STRING([--without-readline], [disable support for readline])],