# HG changeset patch # User jwe # Date 1165347958 0 # Node ID 42efaffa4f08902706bdb1a2440309c4f7d0682d # Parent 1ec9de3cd12cde07bfcc3a5ff8b4895e232a9eaa [project @ 2006-12-05 19:45:58 by jwe] diff -r 1ec9de3cd12c -r 42efaffa4f08 ChangeLog --- a/ChangeLog Tue Dec 05 18:05:12 2006 +0000 +++ b/ChangeLog Tue Dec 05 19:45:58 2006 +0000 @@ -1,3 +1,7 @@ +2006-12-05 John W. Eaton + + * configure.in: Don't check for strptime on *-apple-darwin* systems. + 2006-11-28 John W. Eaton * mkoctfile.in: Construct default output file from basename of diff -r 1ec9de3cd12c -r 42efaffa4f08 configure.in --- a/configure.in Tue Dec 05 18:05:12 2006 +0000 +++ b/configure.in Tue Dec 05 19:45:58 2006 +0000 @@ -29,7 +29,7 @@ EXTERN_CXXFLAGS="$CXXFLAGS" AC_INIT -AC_REVISION($Revision: 1.548 $) +AC_REVISION($Revision: 1.549 $) AC_PREREQ(2.57) AC_CONFIG_SRCDIR([src/octave.cc]) AC_CONFIG_HEADER(config.h) @@ -1391,7 +1391,7 @@ readlink rename resolvepath rindex rmdir round select setgrent \ setlocale setpwent setvbuf sigaction siglongjmp sigpending sigprocmask \ sigsuspend stat strcasecmp strdup strerror stricmp \ - strncasecmp strnicmp strptime strsignal symlink tempnam umask \ + strncasecmp strnicmp strsignal symlink tempnam umask \ uname unlink usleep vfprintf vsprintf vsnprintf waitpid) case "$canonical_host_type" in @@ -1405,6 +1405,18 @@ ;; esac +case "$canonical_host_type" in + *-apple-darwin*) + ## The weekday function, which uses strptime, is broken because + ## strptime is apparently not setting wday correctly for formats + ## like "%d-%m-%Y", so use our version. We could use an actual + ## configure test for this. + ;; + *) + AC_CHECK_FUNCS(strptime) + ;; +esac + OCTAVE_SMART_PUTENV case "$canonical_host_type" in