configure.ac
changeset 139 56dd34430f07
child 144 887cd09ea943
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/configure.ac	Wed Jun 21 11:10:00 2006 +0000
     1.3 @@ -0,0 +1,36 @@
     1.4 +dnl Process this file with autoconf to produce a configure script.
     1.5 +AC_PREREQ([2.59])
     1.6 +AC_INIT([gLEMON], [svn-head], [etik-ol@cs.elte.hu], [glemon])
     1.7 +AC_CONFIG_AUX_DIR([build-aux])
     1.8 +AC_CONFIG_MACRO_DIR([m4])
     1.9 +AM_INIT_AUTOMAKE([-Wall -Werror foreign])
    1.10 +AC_CONFIG_SRCDIR([main_win.h])
    1.11 +AC_CONFIG_HEADERS([config.h])
    1.12 +
    1.13 +dnl Checks for programs.
    1.14 +AC_PROG_CXX
    1.15 +AC_PROG_CC
    1.16 +AM_GNU_GETTEXT_VERSION([0.14.2])
    1.17 +AM_GNU_GETTEXT([external])
    1.18 +
    1.19 +dnl Checks for libraries.
    1.20 +PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0 gtkmm-2.4 >= 2.6])
    1.21 +PKG_CHECK_MODULES([LEMON], [lemon >= 0.5])
    1.22 +
    1.23 +dnl Checks for header files.
    1.24 +AC_CHECK_HEADERS([libintl.h locale.h])
    1.25 +
    1.26 +dnl Checks for typedefs, structures, and compiler characteristics.
    1.27 +AC_HEADER_STDBOOL
    1.28 +AC_C_CONST
    1.29 +
    1.30 +dnl Checks for library functions.
    1.31 +AC_CHECK_FUNCS([setlocale sqrt])
    1.32 +
    1.33 +AC_CONFIG_FILES([
    1.34 +Makefile
    1.35 +po/Makefile.in
    1.36 +m4/Makefile
    1.37 +])
    1.38 +
    1.39 +AC_OUTPUT