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
|
|
|
|
|
|
|
|
AC_SUBST(PATH_IFS)
|
|
|
|
AC_SUBST(ESD_LINK)
|
|
|
|
AC_SUBST(WX_TARGET_LIBRARY)
|
|
|
|
|
|
|
|
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-03-05 14:03:21 -05:00
|
|
|
samples/Makefile
|
|
|
|
samples/mmedia/Makefile
|
2000-03-14 11:00:24 -05:00
|
|
|
samples/stc/Makefile
|
2000-03-05 14:03:21 -05:00
|
|
|
])
|