[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
configure test for 'strptime'
From: |
John W. Eaton |
Subject: |
configure test for 'strptime' |
Date: |
Tue, 18 Sep 2007 12:29:08 -0400 |
On 18-Sep-2007, Thomas Treichl wrote:
| Hi,
|
| please consider the attached patch as a replacement for the platform
dependent
| 'strptime' test. I've also attached an aclocal.m4 and a configure.in file if
| somebody wants to play with it in a way like
|
| bash$ autoconf && autoheader && ./configure && cat config.h
|
| I've tested this function on DebianEtch where I get the result
|
| /* Define to 1 if you have a working `strptime' function. */
| #define HAVE_STRPTIME 1
|
| and on MacOSX IA32
|
| /* Define to 1 if you have a working `strptime' function. */
| /* #undef HAVE_STRPTIME */
|
| Thomas
This looks good, but how about combining the check for strptime and
the check to see if it works for our purposes in one macro, so we can
just write
OCTAVE_CHECK_STRPTIME
in configure.in?
Thanks,
jwe