1
# ======================================================================================
2
# Author: Francesco Montorsi
3
# RCS-ID: $Id: configure.ac 7947 2012-04-28 10:01:45Z mortenmacfly $
5
# A basic "configure.ac" for a wxCode component.
7
# http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_mono/autoconf.html
8
# for more info about autoconf and the autoconf macros.
9
# ======================================================================================
13
# Init this configure script with basic info about the component
14
# (DON'T PUT ANYTHING BEFORE AC_INIT, JUST COMMENTS)
15
AC_INIT([wxchart], [1.0], [paolo_gava@hotmail.com])
17
# ENABLES/DISABLES THE DEBUG MODE FOR THIS CONFIGURE SCRIPT
20
# you need the wxCode/build/bakefiles in your local repository to generate a configure
21
# script from this configure.ac file since wxcode.m4 is required....
22
m4_include(../../../build/autoconf/wxcode.m4)
30
## Before starting checks, declare the options of this configure script
31
## Here you should use the AC_ARG_ENABLE and AC_ARG_WITH macros,
32
## or the wxCode-specific AM_WXCODE_ARG_ENABLE & AM_WXCODE_ARG_WITH macros,
33
## to add to this configure script the --enable-XXX and/or --with-XXX
34
## options required. If you did not use any <option> tag in your
35
## component's bakefile, then you can leave this section as is
36
#####################################################################
38
AM_OPTIONS_WXCONFIG # don't touch this macro
39
AM_OPTIONS_WXPRESETS # don't touch this macro
47
## Here you should use the AC_CHECK_LIB, AC_COMPILE_IFELSE,
48
## AC_LINK_IFELSE, etc macros to check that the libraries required
49
## by your component exist on the host machine and match your
50
## required options (version, build settings, etc)
51
#####################################################################
53
# argument 1: here put the minimum required version of wx
54
# argument 2: here you must put a comma-separed list of all wx required libraries
55
# except for base,core (e.g. "xml,net,adv"); leave empty if you use only core & base
56
AM_WXCODE_CHECKS([2.4.0], [])
61
# end in a nice way the configure script