From 4ded38f43f2411210ab9508d8d8ac83270d6e5d2 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Fri, 28 Oct 2011 12:50:11 -0500 Subject: configure.in: Windows requires a library to link for catgets --- configure.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.in b/configure.in index 71c86d1..14f1993 100644 --- a/configure.in +++ b/configure.in @@ -65,6 +65,9 @@ AC_CHECK_FUNCS(catclose catgets catopen getpid gettimeofday memset mkdir \ nl_langinfo putenv regcomp select setenv setlocale sigaction snprintf \ sqrt strcasecmp strcasestr strchr strstr strtol strtoul sync vsnprintf) +dnl Windows requires the mingw-catgets library for the catgets function. +AC_SEARCH_LIBS([catgets], [catgets], [], []) + dnl The autoconf test for strftime is broken now (due to gcc 3.3 bug?): dnl Gcc 3.3 testprog = ``extern "C" char strftime;'', build with g++ test.cc dnl breaks with: -- cgit v0.11.2