Hi Paul, lib/mktime.c has two inline function definitions. So it needs 'inline' to be supported or defined away. Otherwise, on HP-UX 11, with HP-UX cc, one gets errors:
cc -Ae -O -DHAVE_CONFIG_H -I. -I.. -g -c mktime.c cc: "mktime.c", line 118: error 1000: Unexpected symbol: "int". cc: "mktime.c", line 163: error 1000: Unexpected symbol: "time_t". I'm applying this. 2007-03-11 Bruno Haible <[EMAIL PROTECTED]> * m4/mktime.m4 (gl_PREREQ_MKTIME): Require AC_C_INLINE. *** m4/mktime.m4 25 Jan 2007 03:25:54 -0000 1.29 --- m4/mktime.m4 11 Mar 2007 23:09:31 -0000 *************** *** 1,4 **** ! #serial 12 dnl Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! #serial 13 dnl Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 221,224 **** ]) # Prerequisites of lib/mktime.c. ! AC_DEFUN([gl_PREREQ_MKTIME], [:]) --- 221,227 ---- ]) # Prerequisites of lib/mktime.c. ! AC_DEFUN([gl_PREREQ_MKTIME], ! [ ! AC_REQUIRE([AC_C_INLINE]) ! ])