Modified configure.in to allow cross-compiling with Mingw32.

Quick and ugly, i'm gonna find a better way to do it.
This commit is contained in:
Xavier Marchesini 2001-10-03 02:53:49 +00:00
parent b5290e75af
commit 03c8e07936
2 changed files with 257 additions and 251 deletions

504
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -34,7 +34,11 @@ dnl AM_PROG_LIBTOOL
AC_PROG_INSTALL
dnl Check for endianness
dnl if we cross compile for win32, we don't need to test it.
dnl quick and udly hack. Gonna search the way to do it better.
if eval "test $CC = gcc"; then
AC_C_BIGENDIAN
fi
dnl Check for system libs needed
AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol)