]>
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 | ||
6 | dnl --------------- | |
7 | dnl MMedia specific | |
8 | dnl --------------- | |
9 | ||
10 | dnl Check for ESD | |
11 | ||
12 | ESD_LINK= | |
13 | AC_CHECK_HEADER(esd.h, [ | |
14 | AC_CHECK_LIB(esd, esd_close, [ | |
15 | ESD_LINK="-lesd" | |
16 | ]) | |
17 | ]) | |
18 | ||
2c4ad283 | 19 | if test "$ESD_LINK" != "" ; then |
e8482f24 GL |
20 | echo "ESound detected" |
21 | fi | |
22 | ||
23 | dnl ----------- | |
24 | dnl Final subst | |
25 | ||
26 | PATH_IFS=$wx_cv_path_ifs | |
27 | WX_TARGET_LIBRARY=$wx_cv_target_library | |
3711412e | 28 | WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype |
e8482f24 GL |
29 | |
30 | AC_SUBST(PATH_IFS) | |
31 | AC_SUBST(ESD_LINK) | |
32 | AC_SUBST(WX_TARGET_LIBRARY) | |
3711412e | 33 | AC_SUBST(WX_TARGET_LIBRARY_TYPE) |
e8482f24 GL |
34 | |
35 | dnl ----------- | |
36 | dnl File output | |
37 | ||
38 | ||
39 | AC_OUTPUT([ | |
40 | Makefile | |
41 | src/Makefile | |
42 | src/ogl/Makefile | |
43 | src/mmedia/Makefile | |
e9b66393 | 44 | src/stc/Makefile |
56d2f750 | 45 | src/xml/Makefile |
6a2c1874 RR |
46 | src/canvas/Makefile |
47 | src/gizmos/Makefile | |
8556b795 | 48 | src/plot/Makefile |
e8482f24 GL |
49 | samples/Makefile |
50 | samples/mmedia/Makefile | |
f6bcfd97 BP |
51 | samples/ogl/Makefile |
52 | samples/ogl/ogledit/Makefile | |
53 | samples/ogl/studio/Makefile | |
e9b66393 | 54 | samples/stc/Makefile |
6a2c1874 RR |
55 | samples/canvas/Makefile |
56 | samples/canvas/test/Makefile | |
f9032263 | 57 | samples/canvas/simple/Makefile |
6a2c1874 RR |
58 | samples/gizmos/Makefile |
59 | samples/gizmos/multicell/Makefile | |
60 | samples/gizmos/splittree/Makefile | |
9f8276c7 | 61 | samples/xml/Makefile |
8556b795 | 62 | samples/plot/Makefile |
56d2f750 VS |
63 | utils/Makefile |
64 | utils/wxrc/Makefile | |
65 | utils/wxrcedit/Makefile | |
2193517f | 66 | utils/convertrc/Makefile |
e8482f24 | 67 | ]) |