isulsz wrote: > I am new to GNU Auto tools and I am trying to build a project that contains > several source files and a static library. <snip>
> The configure.in is > AC_INIT(./src/app/SimpMSourSimu.cpp) > AM_INIT_AUTOMAKE(MultiSour, 0.8) > AC_PROG_CXX > AC_PROG_INSTALL > AC_PROG_RANLIB > AC_OUTPUT(src/app/Makefile, src/Random/Makefile, Makefile) Rename the file configure.ac, and modify the contents to be: AC_INIT([MultiSour], [0.8]) AC_CONFIG_SRCDIR([src/app/SimpMSourSimu.cpp]) AM_INIT_AUTOMAKE([foreign]) AC_PROG_CXX AC_PROG_INSTALL LT_INIT AC_CONFIG_FILES([ src/app/Makefile src/Random/Makefile Makefile ]) AC_OUTPUT Also, instead of running aclocal, libtoolize, autoconf, and automake by hand, just run autoreconf -i -- William Pursell