Hi Lee, * Lee Duke wrote on Tue, Apr 18, 2006 at 11:09:54AM CEST: > First, I'm new to the Gnu Autotools. Then take this tutorial and read it: http://www-src.lip6.fr/homepages/Alexandre.Duret-Lutz/autotools.html For reference, there is also the info documentation for Autoconf, Automake and other tools; all of them have lots of useful information. > CONFIGURE.IN > AC_INIT(pi.c) Old old style. The new style with package name, version, and bug address is better: AC_INIT([mypackage], [0.1], [bugs@xxxxxxxxxxx]) AC_CONFIG_SRCDIR([pi.c]) And simply name the file configure.ac. > dnl find and test the C compiler > (_AC_COMPILER_EXEEXT_WORKS) > (_AC_COMPILER_EXEEXT_CROSS) > (_AC_COMPILER_EXEEXT) These three lines are bogus. Delete them, and throw away the source of information where you got them from. That's the source of your error. > AC_PROG_CC > AC_LANG_C Old style for AC_LANG([C]) but autoupdate would have caught that. > AC_PROG_MAKE_SET > > AC_HEADER_STDC > AC_CHECK_FUNC(atol,,AC_MSG_ERROR(oops! no atol ?!?)) The tutorial also mentions how to use correct M4 quoting.. AC_CHECK_FUNC([atol], [], [AC_MSG_ERROR([oops!])]) and much more. Cheers, Ralf _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf