[Bug 560052] Force use of internal strptime to work around bug in the Leopard libc.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19461 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
John Ralls 2010-08-21 23:52:27 +00:00
parent f3dfae15c9
commit b5fd6ecee2

View File

@ -1226,7 +1226,14 @@ fi
###-------------------------------------------------------------------------
AC_CHECK_FUNCS(pthread_mutex_init)
AC_REPLACE_FUNCS(strptime localtime_r gmtime_r)
case $host_os in
darwin*)
AC_REPLACE_FUNCS(localtime_r gmtime_r)
AC_LIBOBJ(strptime)
;;
*) AC_REPLACE_FUNCS(strptime localtime_r gmtime_r) ;;
esac
#AC_REPLACE_FUNCS(scm_strptime)
if test x$am_cv_val_LC_MESSAGES = "xno"; then