OSDN Git Service

* server.c (main): Set ``server_quit_p'' when debugged process
[pf3gnuchains/pf3gnuchains3x.git] / rda / win32 / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(server.h)
3 AC_CANONICAL_SYSTEM
4 AM_INIT_AUTOMAKE(rda,0.1)
5 AM_CONFIG_HEADER(config.h:config.in)
6
7 dnl automake support
8 AM_MAINTAINER_MODE
9 AM_PROG_LIBTOOL
10 AC_EXEEXT
11 AC_LANG_CPLUSPLUS
12 AC_PROG_CXX
13
14 dnl headers
15 AC_CHECK_HEADERS(errno.h string.h strings.h windows.h sys/cygwin.h sys/wait.h )
16
17 AC_FUNC_ALLOCA
18
19 case "$target" in
20   *cygwin*) TARGET_MODULES="win32-target.o win32-strace.o child_process.o" ;;
21 esac
22 AC_SUBST(TARGET_MODULES)
23
24 case "$target" in
25   *cygwin*)
26     dnl FIXME: differentiate between flavors of Solaris!
27     AC_DEFINE(WIN32_TARGET)
28     ;;
29 esac
30
31 if test -f /usr/include/foo.h; then
32   AC_DEFINE(HAVE_AC_DEFINE, 1, [define if have AC_DEFINE])
33 fi
34
35 dnl Outputs
36 AC_OUTPUT(Makefile)
37
38