1 dnl Autoconf configure script for Cygwin.
2 dnl Copyright 2003 Red Hat, Inc.
4 dnl This file is part of Cygwin.
6 dnl This software is a copyrighted work licensed under the terms of the
7 dnl Cygwin license. Please consult the file "CYGWIN_LICENSE" for
10 dnl Process this file with autoconf to produce a configure script.
15 AC_CONFIG_AUX_DIR(../..)
17 INSTALL=`cd $srcdir/../..; echo $(pwd)/install-sh -c`
25 case "$with_cross_host" in
28 install_host="install_host"
37 AC_SUBST(install_host)
39 AC_CHECK_TOOL(AR, ar, ar)
40 AC_CHECK_TOOL(AS, as, as)
41 AC_CHECK_TOOL(RANLIB, ranlib, ranlib)
42 AC_CHECK_TOOL(LD, ld, ld)
43 AC_CHECK_TOOL(NM, nm, nm)
44 AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool)
45 AC_CHECK_TOOL(WINDRES, windres, windres)
49 AC_ARG_ENABLE(debugging,
50 [ --enable-debugging Build a cygwin DLL which has more consistency checking for debugging],
51 [case "${enableval}" in
52 yes) AC_DEFINE(DEBUGGING) ;;