2010-08-19 06:01:43 +00:00
|
|
|
endian=""
|
2013-01-28 07:21:42 +00:00
|
|
|
FNM_FLAGS=""
|
2010-08-19 06:01:43 +00:00
|
|
|
case "$host_os" in
|
|
|
|
mingw32*)
|
|
|
|
mingw=yes
|
2013-01-28 07:21:42 +00:00
|
|
|
FNM_FLAGS="-I\$(top_srcdir)/include/win32"
|
2010-08-19 06:01:43 +00:00
|
|
|
if test "x$host" != "x$build"; then
|
|
|
|
case "$build_os" in
|
|
|
|
cygwin*)
|
|
|
|
CFLAGS="$CFLAGS -mno-cygwin -mconsole"
|
|
|
|
CPPFLAGS="$CPPFLAGS $CFLAGS"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
endian="little"
|
|
|
|
;;
|
|
|
|
cygwin*)
|
|
|
|
cygwin=yes
|
|
|
|
if test "x$host" != "x$build"; then
|
|
|
|
CC="$host_cpu-$host_os-gcc"
|
|
|
|
AS="$CC"
|
|
|
|
AR="$host_cpu_$host_os-ar"
|
|
|
|
RANLIB="$host_cpu-$host_os-ranlib"
|
|
|
|
endian="little"
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
esac
|
2013-01-28 07:21:42 +00:00
|
|
|
AC_SUBST(FNM_FLAGS)
|