change $target logic to $host logic for cross-compiling
SVN revision: 14521
This commit is contained in:
parent
32b568025f
commit
233119e18b
|
@ -75,7 +75,7 @@ AC_DEFINE_UNQUOTED(UTMP_IDENT, "`grep '$''Id:' $srcdir/src/utmp.c | sed 's/^.*\$
|
||||||
AC_DEFINE_UNQUOTED(WINDOWS_IDENT, "`grep '$''Id:' $srcdir/src/windows.c | sed 's/^.*\$''Id: //;s/ \$.*$//;s/.v / /;s/ Exp//'`", [windows.c RCS ID])
|
AC_DEFINE_UNQUOTED(WINDOWS_IDENT, "`grep '$''Id:' $srcdir/src/windows.c | sed 's/^.*\$''Id: //;s/ \$.*$//;s/.v / /;s/ Exp//'`", [windows.c RCS ID])
|
||||||
|
|
||||||
dnl# Check for build/host/target system types
|
dnl# Check for build/host/target system types
|
||||||
AC_CANONICAL_TARGET
|
AC_CANONICAL_HOST
|
||||||
|
|
||||||
dnl# Supply default CFLAGS, if not specified by `CFLAGS=flags ./configure'
|
dnl# Supply default CFLAGS, if not specified by `CFLAGS=flags ./configure'
|
||||||
if test ! -z "${CFLAGS}" -o ! -z "${CCOPTS}"; then
|
if test ! -z "${CFLAGS}" -o ! -z "${CCOPTS}"; then
|
||||||
|
@ -506,7 +506,7 @@ HAVE_MMX_64=""
|
||||||
AC_ARG_ENABLE(mmx, [ --enable-mmx enable MMX assembly routines], [
|
AC_ARG_ENABLE(mmx, [ --enable-mmx enable MMX assembly routines], [
|
||||||
test "x$enableval" = "xyes" && HAVE_MMX="yes"
|
test "x$enableval" = "xyes" && HAVE_MMX="yes"
|
||||||
], [
|
], [
|
||||||
case $target_cpu in
|
case $host_cpu in
|
||||||
i*86)
|
i*86)
|
||||||
grep mmx /proc/cpuinfo >/dev/null 2>&1 && HAVE_MMX="yes"
|
grep mmx /proc/cpuinfo >/dev/null 2>&1 && HAVE_MMX="yes"
|
||||||
;;
|
;;
|
||||||
|
@ -1050,9 +1050,9 @@ Configuration:
|
||||||
Source code location: $srcdir
|
Source code location: $srcdir
|
||||||
Host System Type: $host
|
Host System Type: $host
|
||||||
Preprocessor: $CPP $CPPFLAGS
|
Preprocessor: $CPP $CPPFLAGS
|
||||||
Compiler: $CC $CFLAGS
|
Compiler: $CC $CFLAGS
|
||||||
Linker: $CC $LDFLAGS $LIBS
|
Linker: $CC $LDFLAGS $LIBS
|
||||||
Install path: $prefix
|
Install path: $prefix
|
||||||
|
|
||||||
See src/feature.h for further configuration information.
|
See src/feature.h for further configuration information.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue