]> git.saurik.com Git - wxWidgets.git/blame - contrib/configure.in
no need to check for 2.3.0 anymore
[wxWidgets.git] / contrib / configure.in
CommitLineData
e8482f24
GL
1dnl Process this file with autoconf to produce a configure script.
2AC_REVISION($Id$)dnl
3
4AC_INIT(Makefile.in)
5
1fd16ce1
VZ
6dnl we need the values the main configure determined for us, so refuse
7dnl to run if we don't have them
8if test "x$wx_cv_path_ifs" = "x"; then
9 AC_MSG_ERROR([Please run configure from the top level directory.])
10fi
11
e8482f24
GL
12dnl ---------------
13dnl MMedia specific
14dnl ---------------
15
16dnl Check for ESD
17
18ESD_LINK=
19AC_CHECK_HEADER(esd.h, [
20 AC_CHECK_LIB(esd, esd_close, [
21 ESD_LINK="-lesd"
22 ])
23])
24
2c4ad283 25if test "$ESD_LINK" != "" ; then
e8482f24
GL
26 echo "ESound detected"
27fi
28
29dnl -----------
30dnl Final subst
31
32PATH_IFS=$wx_cv_path_ifs
33WX_TARGET_LIBRARY=$wx_cv_target_library
3711412e 34WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
2b5f62a0
VZ
35WX_LIBRARY_BASENAME=$wx_cv_library_basename
36WX_RELEASE=$wx_cv_release
37WX_CURRENT=$wx_cv_current
38WX_REVISION=$wx_cv_revision
39WX_AGE=$wx_cv_age
e8482f24
GL
40
41AC_SUBST(PATH_IFS)
42AC_SUBST(ESD_LINK)
43AC_SUBST(WX_TARGET_LIBRARY)
3711412e 44AC_SUBST(WX_TARGET_LIBRARY_TYPE)
2b5f62a0
VZ
45AC_SUBST(WX_LIBRARY_BASENAME)
46AC_SUBST(WX_RELEASE)
47AC_SUBST(WX_CURRENT)
48AC_SUBST(WX_REVISION)
49AC_SUBST(WX_AGE)
e8482f24
GL
50
51dnl -----------
52dnl File output
53
54
55AC_OUTPUT([
e8482f24
GL
56 src/Makefile
57 src/ogl/Makefile
58 src/mmedia/Makefile
e9b66393 59 src/stc/Makefile
fa89fbe5 60 src/svg/Makefile
999d9a9f 61 src/xrc/Makefile
6a2c1874
RR
62 src/canvas/Makefile
63 src/gizmos/Makefile
8556b795 64 src/plot/Makefile
db157a6c 65 src/applet/Makefile
8e08b761 66 src/fl/Makefile
decb3a6a 67 src/net/Makefile
e8482f24
GL
68 samples/Makefile
69 samples/mmedia/Makefile
f6bcfd97
BP
70 samples/ogl/Makefile
71 samples/ogl/ogledit/Makefile
72 samples/ogl/studio/Makefile
e9b66393 73 samples/stc/Makefile
2b5f62a0 74 samples/svg/Makefile
6a2c1874
RR
75 samples/canvas/Makefile
76 samples/canvas/test/Makefile
f9032263 77 samples/canvas/simple/Makefile
6a2c1874 78 samples/gizmos/Makefile
999d9a9f 79 samples/gizmos/editlbox/Makefile
eacb91fc
VZ
80 samples/gizmos/dynsash/Makefile
81 samples/gizmos/dynsash_switch/Makefile
2b5f62a0
VZ
82 samples/gizmos/multicell/Makefile
83 samples/gizmos/splittree/Makefile
84 samples/gizmos/led/Makefile
999d9a9f 85 samples/xrc/Makefile
8556b795 86 samples/plot/Makefile
db157a6c 87 samples/applet/Makefile
2d2c394b 88 samples/fl/Makefile
72c094d9
JS
89 samples/fl/fl_demo1/Makefile
90 samples/fl/fl_demo2/Makefile
91 samples/fl/fl_sample1/Makefile
92 samples/fl/fl_sample2/Makefile
93 samples/fl/fl_sample3/Makefile
56d2f750
VS
94 utils/Makefile
95 utils/wxrc/Makefile
96 utils/wxrcedit/Makefile
2193517f 97 utils/convertrc/Makefile
e8482f24 98 ])