author | ladanyi |
Mon, 26 Jun 2006 21:28:49 +0000 | |
changeset 140 | d300e3153ab1 |
child 144 | 887cd09ea943 |
permissions | -rw-r--r-- |
ladanyi@139 | 1 |
dnl Process this file with autoconf to produce a configure script. |
ladanyi@139 | 2 |
AC_PREREQ([2.59]) |
ladanyi@139 | 3 |
AC_INIT([gLEMON], [svn-head], [etik-ol@cs.elte.hu], [glemon]) |
ladanyi@139 | 4 |
AC_CONFIG_AUX_DIR([build-aux]) |
ladanyi@139 | 5 |
AC_CONFIG_MACRO_DIR([m4]) |
ladanyi@139 | 6 |
AM_INIT_AUTOMAKE([-Wall -Werror foreign]) |
ladanyi@139 | 7 |
AC_CONFIG_SRCDIR([main_win.h]) |
ladanyi@139 | 8 |
AC_CONFIG_HEADERS([config.h]) |
ladanyi@139 | 9 |
|
ladanyi@139 | 10 |
dnl Checks for programs. |
ladanyi@139 | 11 |
AC_PROG_CXX |
ladanyi@139 | 12 |
AC_PROG_CC |
ladanyi@139 | 13 |
AM_GNU_GETTEXT_VERSION([0.14.2]) |
ladanyi@139 | 14 |
AM_GNU_GETTEXT([external]) |
ladanyi@139 | 15 |
|
ladanyi@139 | 16 |
dnl Checks for libraries. |
ladanyi@139 | 17 |
PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0 gtkmm-2.4 >= 2.6]) |
ladanyi@139 | 18 |
PKG_CHECK_MODULES([LEMON], [lemon >= 0.5]) |
ladanyi@139 | 19 |
|
ladanyi@139 | 20 |
dnl Checks for header files. |
ladanyi@139 | 21 |
AC_CHECK_HEADERS([libintl.h locale.h]) |
ladanyi@139 | 22 |
|
ladanyi@139 | 23 |
dnl Checks for typedefs, structures, and compiler characteristics. |
ladanyi@139 | 24 |
AC_HEADER_STDBOOL |
ladanyi@139 | 25 |
AC_C_CONST |
ladanyi@139 | 26 |
|
ladanyi@139 | 27 |
dnl Checks for library functions. |
ladanyi@139 | 28 |
AC_CHECK_FUNCS([setlocale sqrt]) |
ladanyi@139 | 29 |
|
ladanyi@139 | 30 |
AC_CONFIG_FILES([ |
ladanyi@139 | 31 |
Makefile |
ladanyi@139 | 32 |
po/Makefile.in |
ladanyi@139 | 33 |
m4/Makefile |
ladanyi@139 | 34 |
]) |
ladanyi@139 | 35 |
|
ladanyi@139 | 36 |
AC_OUTPUT |