1 dnl Process this file with autoconf to produce a configure script.
4 AC_INIT([libsample],[1.2.5],[vslavik@fastmail.fm])
5 AC_CONFIG_SRCDIR([libsample.cpp])
8 dnl ---------------------------------------------------------------------------
9 dnl DEFINE CONFIGURE OPTIONS
10 dnl ---------------------------------------------------------------------------
12 dnl define all the wx-config related options
13 dnl (i.e. --with-wxdir, --with-wx-config, --with-wx-prefix, --with-wx-exec-prefix)
16 dnl define all the wxpresets related options
17 WX_STANDARD_OPTIONS([debug,unicode,shared,toolkit,wxshared])
21 dnl ---------------------------------------------------------------------------
23 dnl ---------------------------------------------------------------------------
25 dnl these checks are required by bakefile:
35 dnl we want to always have DEBUG==WX_DEBUG and UNICODE==WX_UNICODE
39 dnl the following macros will search for the best matching wxWidgets build
40 dnl (taking in count the values of the --enable-debug|unicode|shared and of
41 dnl the --with-toolkit|wxshared options) and then set appropriately all the
43 WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS
44 WX_CONFIG_CHECK([2.8.0], [wxWin=1],,[core,base],[$WXCONFIG_FLAGS])
45 WX_DETECT_STANDARD_OPTION_VALUES
47 dnl here all WX_* option values are available for your own processing...
52 dnl ---------------------------------------------------------------------------
54 dnl ---------------------------------------------------------------------------
56 AC_BAKEFILE([m4_include(autoconf_inc.m4)])
57 AC_CONFIG_FILES([Makefile])
61 dnl show a nice summary of the chosen build settings to the user
62 WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN
63 WX_STANDARD_OPTIONS_SUMMARY_MSG_END