# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS) AC_CONFIG_SRCDIR([config.h.in]) AC_CONFIG_HEADER([config.h]) # Checks for programs. AC_PROG_CXX AC_PROG_CC AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_RANLIB # Checks for libraries. # FIXME: Replace `main' with a function in `-lqhacc': AC_CHECK_LIB([qhacc], [main]) # FIXME: Replace `main' with a function in `-lqhaccext': AC_CHECK_LIB([qhaccext], [main]) # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([stdlib.h strings.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL AC_C_CONST AC_TYPE_SIZE_T # Checks for library functions. AC_FUNC_ERROR_AT_LINE AC_CONFIG_FILES([Makefile doc/Makefile doc/en/Makefile khacc/Makefile khacc/pixmaps/Makefile khacc/sounds/Makefile po/Makefile]) AC_OUTPUT