From 7ec657271b18d6298cc5b184eaf5ae81a5beb268 Mon Sep 17 00:00:00 2001 From: Steve Slaven Date: Fri, 20 Oct 2006 23:47:38 +0000 Subject: More checks for building in cygwin diff --git a/configure.in b/configure.in index 1d49aca..4628e44 100644 --- a/configure.in +++ b/configure.in @@ -1,11 +1,11 @@ # Process this file with autoconf to produce a configure script. AC_INIT -AM_INIT_AUTOMAKE(powwow, 1.2.10) +AM_INIT_AUTOMAKE(powwow, 1.2.11) AC_ARG_ENABLE(vt100, AC_HELP_STRING([--enable-vt100], [Hard code vt100 escape sequences, use if you have no termcap ]), - AC_DEFINE(VT100)) + AC_DEFINE(USE_VT100)) AC_ARG_ENABLE(sort, AC_HELP_STRING([--enable-sort], @@ -45,7 +45,8 @@ AC_CHECK_LIB(dl,dlopen, # Checks for header files. AC_CHECK_HEADERS([stdlib.h unistd.h]) -AC_CHECK_HEADER(locale.h,AC_DEFINE(USE_LOCALE)) +AC_CHECK_HEADER([locale.h], + [AC_CHECK_FUNC([putwc],[AC_DEFINE(USE_LOCALE)])]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST -- cgit v0.10.2