]>
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 | |
28 | ||
29 | AC_SUBST(PATH_IFS) | |
30 | AC_SUBST(ESD_LINK) | |
31 | AC_SUBST(WX_TARGET_LIBRARY) | |
32 | ||
33 | dnl ----------- | |
34 | dnl File output | |
35 | ||
36 | ||
37 | AC_OUTPUT([ | |
38 | Makefile | |
39 | src/Makefile | |
40 | src/ogl/Makefile | |
41 | src/mmedia/Makefile | |
e9b66393 | 42 | src/stc/Makefile |
e8482f24 GL |
43 | samples/Makefile |
44 | samples/mmedia/Makefile | |
e9b66393 | 45 | samples/stc/Makefile |
e8482f24 | 46 | ]) |