2000-02-17 20:38:33 +01:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
|
|
|
|
dnl This file is part of a free win32 library
|
|
|
|
dnl
|
|
|
|
dnl This program is distributed in the hope that it will be useful,
|
|
|
|
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
dnl GNU General Public License for more details.
|
|
|
|
|
|
|
|
AC_PREREQ(2.12)
|
|
|
|
AC_INIT(lib/scrnsave.c)
|
|
|
|
|
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
|
|
|
|
dnl Find install command
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
|
|
|
|
dnl check for cc and CFLAGS
|
|
|
|
CFLAGS=${CFLAGS-"-O2 -g"}
|
|
|
|
AC_CHECK_TOOL(CC, gcc, gcc)
|
|
|
|
AC_SUBST(CC)
|
2002-10-14 21:59:04 +02:00
|
|
|
AC_SUBST(CFLAGS)
|
2000-02-17 20:38:33 +01:00
|
|
|
|
|
|
|
dnl check for various tools
|
|
|
|
AC_CHECK_TOOL(AR, ar, ar)
|
|
|
|
AC_SUBST(AR)
|
|
|
|
AC_CHECK_TOOL(AS, as, as)
|
|
|
|
AC_SUBST(AS)
|
|
|
|
AC_CHECK_TOOL(RANLIB, ranlib, ranlib)
|
|
|
|
AC_SUBST(RANLIB)
|
|
|
|
AC_CHECK_TOOL(LD, ld, ld)
|
|
|
|
AC_SUBST(LD)
|
|
|
|
AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool)
|
|
|
|
AC_SUBST(DLLTOOL)
|
|
|
|
AC_CHECK_TOOL(WINDRES, windres, windres)
|
|
|
|
AC_SUBST(WINDRES)
|
|
|
|
|
|
|
|
AC_MSG_CHECKING([for build environment])
|
2000-10-19 22:56:51 +02:00
|
|
|
case "$build_alias" in
|
|
|
|
*-mingw*) BUILDENV=mingw;;
|
|
|
|
*-cygwin*) BUILDENV=cygwin;;
|
|
|
|
esac
|
2000-02-17 20:38:33 +01:00
|
|
|
if test -z "$BUILDENV"; then
|
|
|
|
AC_MSG_RESULT(standard)
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT($BUILDENV)
|
|
|
|
fi
|
|
|
|
AC_SUBST(BUILDENV)
|
|
|
|
|
2004-03-27 Filip Navara <xnavara@volny.cz>
* include/directx: New subdir.
* lib/directx: Ditto.
* include/directx/(d3d9.h, d3d9caps.h, d3d9types.h, dxerr8.h,
dxerr9.h): New files.
* lib/ddk/(Makefile.in, d3d8.def, d3d9.def, d3dim.def, d3drm.def,
d3dx8d.def, d3dx9d.def, d3dxof.def, ddraw.def, dinput.def,
dinput_joy.c, dinput_joy2.c, dinput_kbd.c, dinput_mouse.c,
dinput_mouse2.c, dinput_private.h, dinput8.def, dmoguids.c, dplayx.def,
dpnaddr.def, dpnet.def, dpnlobby.def, dpvoice.def, dsetup.def,
dsound.def, dxerr.c, dxerr8.c, dxerr8w.c, dxerr9.c, dxerr9w.c,
dxguid.c, ksproxy.def, ksuser.c, ksuser.def, msdmo.def, quartz.def,
strmiids.c, test.c): Ditto.
* lib/(d3dim.def, d3drm.def, d3dxof.def, ddraw.def, dinput.c,
dinput.def, dplayx.def, dsetup.def, dsound.def, dxguid.c): Removed.
2004-03-27 03:25:37 +01:00
|
|
|
AC_OUTPUT(Makefile lib/Makefile lib/ddk/Makefile lib/directx/Makefile)
|