# Checks for library functions.
AC_FUNC_ALLOCA
AC_FUNC_FORK
-AC_FUNC_MALLOC
AC_FUNC_MKTIME
AC_FUNC_MMAP
-AC_FUNC_REALLOC
AC_FUNC_STRERROR_R
AC_CHECK_FUNCS([ \
atexit \
uname \
])
+# AC_FUNC_MALLOC causes problems when cross-compiling.
+#AC_FUNC_MALLOC
+#AC_FUNC_REALLOC
+
MINGW32=no
DEFAULT_ENABLE_DEBUG_INFO=yes
LT_NO_UNDEFINED=""
[
DEFAULT_ENABLE_DEBUG_INFO=no
],
+ [cygwin*],
+ [
+ DEFAULT_ENABLE_DEBUG_INFO=no
+ LT_NO_UNDEFINED="-no-undefined"
+ ],
[mingw*],
[
MINGW32=yes