]>
Commit | Line | Data |
---|---|---|
1 | dnl Process this file with autoconf to produce a configure script. | |
2 | ||
3 | AC_PREREQ(2.59) | |
4 | ||
5 | AC_INIT([minimal],[1.2.5],[vslavik@fastmail.fm]) | |
6 | ||
7 | AC_CONFIG_SRCDIR([minimal.cpp]) | |
8 | ||
9 | AC_CANONICAL_BUILD | |
10 | AC_CANONICAL_HOST | |
11 | AC_CANONICAL_TARGET | |
12 | ||
13 | ||
14 | ||
15 | AM_OPTIONS_WXCONFIG | |
16 | ||
17 | ||
18 | ||
19 | dnl Checks for programs. | |
20 | AC_PROG_AWK | |
21 | AC_PROG_INSTALL | |
22 | AC_PROG_LN_S | |
23 | AC_PROG_RANLIB | |
24 | AC_PROG_CC | |
25 | AC_PROG_CXX | |
26 | AC_PROG_CXXCPP | |
27 | ||
28 | ||
29 | ||
30 | AM_PATH_WXCONFIG(2.4.1, WXFOUND=1) | |
31 | ||
32 | if test "$WXFOUND" != 1; then | |
33 | AC_MSG_ERROR([ | |
34 | Please check that wx-config is in path, the directory | |
35 | where wxWindows libraries are installed (returned by | |
36 | 'wx-config --libs' command) is in LD_LIBRARY_PATH or | |
37 | equivalent variable and wxWindows is version 2.4.0 or above. | |
38 | ]) | |
39 | fi | |
40 | ||
41 | AC_BAKEFILE([m4_include(autoconf_inc.m4)]) | |
42 | ||
43 | ||
44 | AC_CONFIG_FILES([ | |
45 | Makefile | |
46 | ]) | |
47 | ||
48 | AC_OUTPUT |