]> git.saurik.com Git - wxWidgets.git/blame - build/bakefiles/wxpresets/libsample/configure.in
Don't crash if no scrollbar
[wxWidgets.git] / build / bakefiles / wxpresets / libsample / configure.in
CommitLineData
e602dae8
KO
1dnl Process this file with autoconf to produce a configure script.
2
3AC_PREREQ(2.59)
4AC_INIT([libsample],[1.2.5],[vslavik@fastmail.fm])
5AC_CONFIG_SRCDIR([libsample.cpp])
6
7
8dnl ---------------------------------------------------------------------------
9dnl DEFINE CONFIGURE OPTIONS
10dnl ---------------------------------------------------------------------------
11
12dnl define all the wx-config related options
13dnl (i.e. --with-wxdir, --with-wx-config, --with-wx-prefix, --with-wx-exec-prefix)
14WX_CONFIG_OPTIONS
15
16dnl define all the wxpresets related options
17WX_STANDARD_OPTIONS([debug,unicode,shared,toolkit,wxshared])
18
19
20
21dnl ---------------------------------------------------------------------------
22dnl CONFIGURE CHECKS
23dnl ---------------------------------------------------------------------------
24
25dnl these checks are required by bakefile:
26AC_CANONICAL_SYSTEM
27AC_PROG_AWK
28AC_PROG_INSTALL
29AC_PROG_LN_S
30AC_PROG_RANLIB
31AC_PROG_CC
32AC_PROG_CXX
33AC_PROG_CXXCPP
34
35dnl we want to always have DEBUG==WX_DEBUG and UNICODE==WX_UNICODE
36WX_DEBUG=$DEBUG
37WX_UNICODE=$UNICODE
38
39dnl the following macros will search for the best matching wxWidgets build
40dnl (taking in count the values of the --enable-debug|unicode|shared and of
41dnl the --with-toolkit|wxshared options) and then set appropriately all the
42dnl WX_* options
43WX_CONVERT_STANDARD_OPTIONS_TO_WXCONFIG_FLAGS
44WX_CONFIG_CHECK([2.8.0], [wxWin=1],,[core,base],[$WXCONFIG_FLAGS])
45WX_DETECT_STANDARD_OPTION_VALUES
46
47dnl here all WX_* option values are available for your own processing...
48
49
50
51
52dnl ---------------------------------------------------------------------------
53dnl CONFIGURE END
54dnl ---------------------------------------------------------------------------
55
56AC_BAKEFILE([m4_include(autoconf_inc.m4)])
57AC_CONFIG_FILES([Makefile])
58AC_OUTPUT
59
60
61dnl show a nice summary of the chosen build settings to the user
62WX_STANDARD_OPTIONS_SUMMARY_MSG_BEGIN
63WX_STANDARD_OPTIONS_SUMMARY_MSG_END
64