source: vendor/w32api/current/configure.in@ 3545

Last change on this file since 3545 was 2720, checked in by bird, 19 years ago

w32api v3.6

File size: 1.2 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2
3dnl This file is part of a free win32 library
4dnl
5dnl This program is distributed in the hope that it will be useful,
6dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
7dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8dnl GNU General Public License for more details.
9
10AC_PREREQ(2.12)
11AC_INIT(lib/scrnsave.c)
12
13AC_CANONICAL_SYSTEM
14
15dnl Find install command
16AC_PROG_INSTALL
17
18dnl check for cc and CFLAGS
19CFLAGS=${CFLAGS-"-O2 -g"}
20AC_CHECK_TOOL(CC, gcc, gcc)
21AC_SUBST(CC)
22AC_SUBST(CFLAGS)
23
24dnl check for various tools
25AC_CHECK_TOOL(AR, ar, ar)
26AC_SUBST(AR)
27AC_CHECK_TOOL(AS, as, as)
28AC_SUBST(AS)
29AC_CHECK_TOOL(RANLIB, ranlib, ranlib)
30AC_SUBST(RANLIB)
31AC_CHECK_TOOL(LD, ld, ld)
32AC_SUBST(LD)
33AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool)
34AC_SUBST(DLLTOOL)
35AC_CHECK_TOOL(WINDRES, windres, windres)
36AC_SUBST(WINDRES)
37
38AC_MSG_CHECKING([for build environment])
39case "$build_alias" in
40*-mingw*) BUILDENV=mingw;;
41*-cygwin*) BUILDENV=cygwin;;
42esac
43if test -z "$BUILDENV"; then
44 AC_MSG_RESULT(standard)
45else
46 AC_MSG_RESULT($BUILDENV)
47fi
48AC_SUBST(BUILDENV)
49
50AC_OUTPUT(Makefile lib/Makefile lib/ddk/Makefile lib/directx/Makefile)
Note: See TracBrowser for help on using the repository browser.