]>
Commit | Line | Data |
---|---|---|
e8482f24 GL |
1 | dnl Process this file with autoconf to produce a configure script. |
2 | AC_REVISION($Id$)dnl | |
3 | ||
4 | AC_INIT(Makefile.in) | |
5 | ||
1fd16ce1 VZ |
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 | ||
e8482f24 GL |
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 | ||
2c4ad283 | 25 | if test "$ESD_LINK" != "" ; then |
e8482f24 GL |
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 | |
3711412e | 34 | WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype |
2b5f62a0 VZ |
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 | |
e8482f24 GL |
40 | |
41 | AC_SUBST(PATH_IFS) | |
42 | AC_SUBST(ESD_LINK) | |
43 | AC_SUBST(WX_TARGET_LIBRARY) | |
3711412e | 44 | AC_SUBST(WX_TARGET_LIBRARY_TYPE) |
2b5f62a0 VZ |
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) | |
e8482f24 GL |
50 | |
51 | dnl ----------- | |
52 | dnl File output | |
53 | ||
54 | ||
55 | AC_OUTPUT([ | |
e8482f24 | 56 | src/Makefile |
df32effb | 57 | src/deprecated/Makefile |
e8482f24 GL |
58 | src/ogl/Makefile |
59 | src/mmedia/Makefile | |
e9b66393 | 60 | src/stc/Makefile |
fa89fbe5 | 61 | src/svg/Makefile |
999d9a9f | 62 | src/xrc/Makefile |
6a2c1874 | 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 | 68 | samples/Makefile |
df32effb JS |
69 | samples/deprecated/Makefile |
70 | samples/deprecated/proplist/Makefile | |
71 | samples/deprecated/resource/Makefile | |
72 | samples/deprecated/treelay/Makefile | |
e8482f24 | 73 | samples/mmedia/Makefile |
f6bcfd97 BP |
74 | samples/ogl/Makefile |
75 | samples/ogl/ogledit/Makefile | |
76 | samples/ogl/studio/Makefile | |
e9b66393 | 77 | samples/stc/Makefile |
2b5f62a0 | 78 | samples/svg/Makefile |
6a2c1874 | 79 | samples/gizmos/Makefile |
999d9a9f | 80 | samples/gizmos/editlbox/Makefile |
eacb91fc VZ |
81 | samples/gizmos/dynsash/Makefile |
82 | samples/gizmos/dynsash_switch/Makefile | |
2b5f62a0 VZ |
83 | samples/gizmos/multicell/Makefile |
84 | samples/gizmos/splittree/Makefile | |
85 | samples/gizmos/led/Makefile | |
999d9a9f | 86 | samples/xrc/Makefile |
8556b795 | 87 | samples/plot/Makefile |
db157a6c | 88 | samples/applet/Makefile |
2d2c394b | 89 | samples/fl/Makefile |
72c094d9 JS |
90 | samples/fl/fl_demo1/Makefile |
91 | samples/fl/fl_demo2/Makefile | |
92 | samples/fl/fl_sample1/Makefile | |
93 | samples/fl/fl_sample2/Makefile | |
94 | samples/fl/fl_sample3/Makefile | |
56d2f750 VS |
95 | utils/Makefile |
96 | utils/wxrc/Makefile | |
97 | utils/wxrcedit/Makefile | |
2193517f | 98 | utils/convertrc/Makefile |
e8482f24 | 99 | ]) |