]> sourceware.org Git - newlib-cygwin.git/blame - winsup/configure.in
* configure.in: Reenable building the subauth subdir.
[newlib-cygwin.git] / winsup / configure.in
CommitLineData
1fd5e000 1dnl Autoconf configure script for Cygwin.
350c2f44 2dnl Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Red Hat, Inc.
1fd5e000
CF
3dnl
4dnl This file is part of Cygwin.
5dnl
6dnl This software is a copyrighted work licensed under the terms of the
7dnl Cygwin license. Please consult the file "CYGWIN_LICENSE" for
8dnl details.
9dnl
10dnl Process this file with autoconf to produce a configure script.
11
99fc5e10 12AC_PREREQ(2.59)dnl
1fd5e000
CF
13AC_INIT(Makefile.in)
14
95dc8840
CV
15INSTALL=`cd $srcdir/..; echo $(pwd)/install-sh -c`
16
17AC_PROG_INSTALL
1fd5e000
CF
18AC_CANONICAL_SYSTEM
19
20LIB_AC_PROG_CC
8494f61e 21LIB_AC_PROG_CXX
1fd5e000 22
99fc5e10
CF
23AC_LANG_C
24
d012506e 25use_cygserver='yes'
9c01984e
CF
26AC_ARG_ENABLE(server,
27[ --enable-server Build a cygwin DLL which can communicate with cygserver],
28[case "${enableval}" in
d012506e
CF
29yes) ;;
30no) use_cygserver=;;
9c01984e
CF
31esac
32])
33
99fc5e10
CF
34AC_CONFIG_SUBDIRS(cygwin w32api)
35if test -d $srcdir/mingw; then
36 AC_CONFIG_SUBDIRS(mingw)
37fi
74162926 38
2e6d8441
CF
39case "$with_cross_host" in
40 ""|*cygwin*)
99fc5e10
CF
41 # if test -d $srcdir/bz2lib; then
42 # AC_CONFIG_SUBDIRS(bz2lib)
43 # fi
44 # if test -d $srcdir/zlib; then
45 # AC_CONFIG_SUBDIRS(zlib)
46 # fi
e9d500b6
CV
47 if test -d $srcdir/subauth; then
48 AC_CONFIG_SUBDIRS(subauth)
49 fi
99fc5e10
CF
50 if test -n "$use_cygserver" -a -d $srcdir/cygserver; then
51 AC_CONFIG_SUBDIRS(cygserver)
52 fi
53 AC_CONFIG_SUBDIRS(utils doc)
2e6d8441
CF
54 ;;
55esac
56
1fd5e000
CF
57AC_PROG_MAKE_SET
58
1fd5e000 59AC_OUTPUT(Makefile)
This page took 0.16485 seconds and 5 git commands to generate.