Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -813,10 +813,12 @@ ;; esac AC_CHECK_LIB(m, fmod, LIBS="$LIBS -lm") AC_CHECK_LIB(complex, creal, TESTS_LIBS="$TESTS_LIBS -lcomplex") + +AC_CHECK_FUNCS(strtof) AC_CHECK_FUNC(asprintf, [ case "$host" in *-*-mingw*) dnl asprintf from MinGW is broken on older Windows versions Index: src/OFString.m ================================================================== --- src/OFString.m +++ src/OFString.m @@ -70,12 +70,11 @@ */ #ifdef __MINGW32__ # define strtod __strtod #endif -#ifdef OF_AMIGAOS_M68K -/* libnix has strtod, but not strtof */ +#ifndef HAVE_STRTOF # define strtof strtod #endif #ifndef INFINITY # define INFINITY __builtin_inf()