mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-24 13:21:11 +00:00
669771681a
Most of the guts of configure.ac have been moved to config.d and are then brought in by m4_include. This will make maintaining configure.ac much easier. Also drop use of PROGRAM and VERSION, using PACKAGE_NAME, PACKAGE_VERSION, and on occasion, PACKAGE_STRING instead, and clean out some old files we no longer need.
32 lines
637 B
Text
32 lines
637 B
Text
endian=""
|
|
case "$host_os" in
|
|
mingw32*)
|
|
mingw=yes
|
|
CFLAGS="$CFLAGS -I\$(top_srcdir)/include/win32"
|
|
if test "x$host" != "x$build"; then
|
|
case "$build_os" in
|
|
cygwin*)
|
|
CFLAGS="$CFLAGS -mno-cygwin -mconsole"
|
|
CPPFLAGS="$CPPFLAGS $CFLAGS"
|
|
;;
|
|
*)
|
|
CC="$host_cpu-$host_os-gcc"
|
|
AS="$CC"
|
|
AR="$host_cpu-$host_os-ar"
|
|
RANLIB="$host_cpu-$host_os-ranlib"
|
|
;;
|
|
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
|