# verbatim copy (except for the program name and classes check) of the # configure.in file in "autotut", section 7 AC_INIT(hello.cc) AM_INIT_AUTOMAKE(hello,0.99) AM_CONFIG_HEADER(config.h) CXXFLAGS= AC_PROG_CC AC_PROG_CXX AC_PROG_INSTALL AC_PROG_MAKE_SET AC_HEADER_STDC # AM_PATH_GTK(2.2.0) # yields an error message when running aclocal AC_LANG_CPLUSPLUS AC_CHECK_LIB(stdc++, main,,AC_MSG_ERROR(hello requires libstdc++)) AC_OUTPUT(Makefile)