Convert to LIBTOOL

This commit is contained in:
Hugo Villeneuve 2014-04-06 23:03:24 -04:00
parent acff1c38b1
commit d1392836d0
3 changed files with 12 additions and 4 deletions

View File

@ -9,7 +9,14 @@ SUBDIRS = src/common src/cli src/gtk data doc tests
## 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 = *~
@ -23,7 +30,8 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config-h.in \
$(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 \

View File

@ -4,6 +4,7 @@ dnl Initialization stuff.
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:
@ -21,8 +22,7 @@ dnl Testing the C compiler.
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])],

0
m4/.gitignore vendored Normal file
View File