Hi Aaron,

Aaron Turner wrote:
> Building the autogen tearoff (30:0:5) on XP w/ Cygwin.  Problem seems
> to be a failure to detect strsignal() which causes it to be redefined
> in libopts/compat/compat.h.  Adding a
> 
> #define HAVE_STRSIGNAL
> 
> to compat/compat.h solves the problem.

Fixed with this (libopts.m4 is a derived file):

Index: config/libopts.def
===================================================================
RCS file: /sources/autogen/autogen/config/libopts.def,v
retrieving revision 4.19
diff -u -r4.19 libopts.def
--- config/libopts.def  4 Jul 2007 20:51:18 -0000       4.19
+++ config/libopts.def  6 Oct 2007 19:06:09 -0000
@@ -325,5 +325,6 @@
        # ----------------------------------------------------------------------
        AC_CHECK_LIB(gen, pathfind)
        AC_FUNC_VPRINTF
-       AC_CHECK_FUNCS([mmap canonicalize_file_name snprintf strdup strchr 
strrchr])
+       AC_CHECK_FUNCS([mmap canonicalize_file_name snprintf strdup strchr \
+                      strrchr strsignal])
        _EOF_;


Index: configure.in
===================================================================
RCS file: /sources/autogen/autogen/configure.in,v
retrieving revision 4.21
diff -u -r4.21 configure.in
@@ -146,7 +145,7 @@
 # ----------------------------------------------------------------------
 # Checks for various functions.
 # ----------------------------------------------------------------------
-AC_CHECK_FUNCS(strchr strsignal strlcpy snprintf dlopen)
+AC_CHECK_FUNCS(strchr strlcpy snprintf dlopen)
 AC_SEARCH_LIBS(copysign, [m],
                [AC_DEFINE(HAVE_COPYSIGN, 1,
                           [Define to 1 if you have the `copysign' function.])])

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to