AC_INIT([emu8051], [1.1.2], [hugo@hugovil.com], [emu8051],
[http://www.hugovil.com/fr/emu8051/])
AC_CONFIG_AUX_DIR([build-aux])
-AC_CONFIG_SRCDIR(src/cpu8051.c)
+AC_CONFIG_SRCDIR(src/common/cpu8051.c)
AM_CONFIG_HEADER(config.h:config-h.in)
dnl Checking if the NEWS file has been updated to reflect the current version.
AM_INIT_AUTOMAKE(check-news -Wall std-options color-tests parallel-tests)
dnl Testing the C compiler.
AC_LANG_C
+dnl Testing for libtool support.
+AC_PROG_RANLIB
+AM_PROG_AR
+
dnl Checking for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_PID_T
AC_SUBST(ac_aux_dir)
dnl Creating output file(s)
-AC_OUTPUT(Makefile src/Makefile data/Makefile doc/Makefile tests/Makefile)
+AC_OUTPUT(Makefile
+ src/common/Makefile
+ src/cli/Makefile
+ src/gtk/Makefile
+ data/Makefile
+ doc/Makefile
+ tests/Makefile)