# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) AC_INIT([hello],[1.0],[tomoyan@tomoyan.net]) AC_CONFIG_SRCDIR([src/hello.cpp]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([1.16 subdir-objects foreign]) # Checks for programs. AC_PROG_CC AC_PROG_CXX # Checks for libraries. AM_OPTIONS_WXCONFIG reqwx=3.0.4 AM_PATH_WXCONFIG($reqwx, wxWin=1) if test "$wxWin" != 1; then AC_MSG_ERROR([ wxWidgets must be installed on your system. Please check that wx-config is in path, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' or 'wx-config --static --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is $reqwx or above. ]) fi CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" CFLAGS="$CFLAGS $WX_CFLAGS_ONLY" LIBS="$LIBS $WX_LIBS" # Checks for header files. # Checks for typedefs, structures, and compiler characteristics. AC_CHECK_HEADER_STDBOOL # Checks for library functions. AC_CONFIG_FILES([Makefile]) AC_OUTPUT