equal
deleted
inserted
replaced
1 dnl Process this file with autoconf to produce a configure script. |
1 dnl Process this file with autoconf to produce a configure script. |
|
2 AC_PREREQ([2.59]) |
2 AC_INIT([LEMON], [svn-head], [etik-ol@cs.elte.hu], [lemon]) |
3 AC_INIT([LEMON], [svn-head], [etik-ol@cs.elte.hu], [lemon]) |
3 AC_CONFIG_AUX_DIR([config]) |
4 AC_CONFIG_AUX_DIR([build-aux]) |
4 AM_INIT_AUTOMAKE([1.7]) |
5 AC_CONFIG_MACRO_DIR([m4]) |
|
6 dnl AM_INIT_AUTOMAKE([-Wall -Werror foreign]) |
|
7 AM_INIT_AUTOMAKE([-Wall foreign]) |
5 AC_CONFIG_SRCDIR([lemon/list_graph.h]) |
8 AC_CONFIG_SRCDIR([lemon/list_graph.h]) |
6 AC_CONFIG_HEADERS([config.h lemon/config.h]) |
9 AC_CONFIG_HEADERS([config.h lemon/config.h]) |
7 AC_PREREQ([2.59]) |
|
8 |
10 |
9 lx_cmdline_cxxflags_set=${CXXFLAGS+set} |
11 lx_cmdline_cxxflags_set=${CXXFLAGS+set} |
10 |
12 |
11 dnl Checks for programs. |
13 dnl Checks for programs. |
12 AC_PROG_CXX |
14 AC_PROG_CXX |
62 AC_MSG_RESULT([yes]) |
64 AC_MSG_RESULT([yes]) |
63 else |
65 else |
64 AC_MSG_RESULT([no]) |
66 AC_MSG_RESULT([no]) |
65 fi |
67 fi |
66 if test x"$enable_gui" != x"no"; then |
68 if test x"$enable_gui" != x"no"; then |
67 PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0]) |
69 AC_CONFIG_SUBDIRS([gui]) |
68 fi |
70 fi |
69 AM_CONDITIONAL([WANT_GUI], [test x"$enable_gui" != x"no"]) |
71 AM_CONDITIONAL([WANT_GUI], [test x"$enable_gui" != x"no"]) |
70 |
72 |
71 dnl Disable/enable building the demo programs |
73 dnl Disable/enable building the demo programs |
72 AC_ARG_ENABLE([demo], |
74 AC_ARG_ENABLE([demo], |
120 lemon/Makefile |
122 lemon/Makefile |
121 lemon/lemon.pc |
123 lemon/lemon.pc |
122 benchmark/Makefile |
124 benchmark/Makefile |
123 demo/Makefile |
125 demo/Makefile |
124 test/Makefile |
126 test/Makefile |
125 gui/Makefile |
|
126 ]) |
127 ]) |
127 |
128 |
128 AC_OUTPUT |
129 AC_OUTPUT |
129 |
130 |
130 echo |
131 echo |