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