2000-03-05 14:03:21 -05:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
AC_REVISION($Id$)dnl
|
|
|
|
|
|
|
|
AC_INIT(Makefile.in)
|
|
|
|
|
|
|
|
dnl ---------------
|
|
|
|
dnl MMedia specific
|
|
|
|
dnl ---------------
|
|
|
|
|
|
|
|
dnl Check for ESD
|
|
|
|
|
|
|
|
ESD_LINK=
|
|
|
|
AC_CHECK_HEADER(esd.h, [
|
|
|
|
AC_CHECK_LIB(esd, esd_close, [
|
|
|
|
ESD_LINK="-lesd"
|
|
|
|
])
|
|
|
|
])
|
|
|
|
|
2000-03-10 06:33:19 -05:00
|
|
|
if test "$ESD_LINK" != "" ; then
|
2000-03-05 14:03:21 -05:00
|
|
|
echo "ESound detected"
|
|
|
|
fi
|
|
|
|
|
|
|
|
dnl -----------
|
|
|
|
dnl Final subst
|
|
|
|
|
|
|
|
PATH_IFS=$wx_cv_path_ifs
|
|
|
|
WX_TARGET_LIBRARY=$wx_cv_target_library
|
2000-03-18 23:09:08 -05:00
|
|
|
WX_TARGET_LIBRARY_TYPE=$wx_cv_target_libtype
|
2000-03-05 14:03:21 -05:00
|
|
|
|
|
|
|
AC_SUBST(PATH_IFS)
|
|
|
|
AC_SUBST(ESD_LINK)
|
|
|
|
AC_SUBST(WX_TARGET_LIBRARY)
|
2000-03-18 23:09:08 -05:00
|
|
|
AC_SUBST(WX_TARGET_LIBRARY_TYPE)
|
2000-03-05 14:03:21 -05:00
|
|
|
|
|
|
|
dnl -----------
|
|
|
|
dnl File output
|
|
|
|
|
|
|
|
|
|
|
|
AC_OUTPUT([
|
|
|
|
Makefile
|
|
|
|
src/Makefile
|
|
|
|
src/ogl/Makefile
|
|
|
|
src/mmedia/Makefile
|
2000-03-14 11:00:24 -05:00
|
|
|
src/stc/Makefile
|
2000-07-25 14:47:21 -04:00
|
|
|
src/xml/Makefile
|
2000-03-05 14:03:21 -05:00
|
|
|
samples/Makefile
|
|
|
|
samples/mmedia/Makefile
|
2000-07-15 15:51:35 -04:00
|
|
|
samples/ogl/Makefile
|
|
|
|
samples/ogl/ogledit/Makefile
|
|
|
|
samples/ogl/studio/Makefile
|
2000-03-14 11:00:24 -05:00
|
|
|
samples/stc/Makefile
|
2000-07-25 14:47:21 -04:00
|
|
|
utils/Makefile
|
|
|
|
utils/wxrc/Makefile
|
|
|
|
utils/wxrcedit/Makefile
|
2000-03-05 14:03:21 -05:00
|
|
|
])
|