unix: Fix cross compilation
This commit is contained in:
parent
b418792d2f
commit
f39ab408f4
20
unix/aclocal.m4
vendored
20
unix/aclocal.m4
vendored
@ -1,6 +1,6 @@
|
|||||||
# generated automatically by aclocal 1.15 -*- Autoconf -*-
|
# generated automatically by aclocal 1.16.5 -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
|
# Copyright (C) 1996-2021 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
@ -12,9 +12,9 @@
|
|||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
|
||||||
dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
|
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
|
||||||
dnl serial 11 (pkg-config-0.29.1)
|
# serial 12 (pkg-config-0.29.2)
|
||||||
dnl
|
|
||||||
dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
|
dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
|
||||||
dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
|
dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
|
||||||
dnl
|
dnl
|
||||||
@ -55,7 +55,7 @@ dnl
|
|||||||
dnl See the "Since" comment for each macro you use to see what version
|
dnl See the "Since" comment for each macro you use to see what version
|
||||||
dnl of the macros you require.
|
dnl of the macros you require.
|
||||||
m4_defun([PKG_PREREQ],
|
m4_defun([PKG_PREREQ],
|
||||||
[m4_define([PKG_MACROS_VERSION], [0.29.1])
|
[m4_define([PKG_MACROS_VERSION], [0.29.2])
|
||||||
m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
|
m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
|
||||||
[m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
|
[m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
|
||||||
])dnl PKG_PREREQ
|
])dnl PKG_PREREQ
|
||||||
@ -156,7 +156,7 @@ AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
|
|||||||
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
|
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
|
||||||
|
|
||||||
pkg_failed=no
|
pkg_failed=no
|
||||||
AC_MSG_CHECKING([for $1])
|
AC_MSG_CHECKING([for $2])
|
||||||
|
|
||||||
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
|
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
|
||||||
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
|
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
|
||||||
@ -166,11 +166,11 @@ and $1[]_LIBS to avoid the need to call pkg-config.
|
|||||||
See the pkg-config man page for more details.])
|
See the pkg-config man page for more details.])
|
||||||
|
|
||||||
if test $pkg_failed = yes; then
|
if test $pkg_failed = yes; then
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
_PKG_SHORT_ERRORS_SUPPORTED
|
_PKG_SHORT_ERRORS_SUPPORTED
|
||||||
if test $_pkg_short_errors_supported = yes; then
|
if test $_pkg_short_errors_supported = yes; then
|
||||||
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
|
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
|
||||||
else
|
else
|
||||||
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
|
$1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
|
||||||
fi
|
fi
|
||||||
# Put the nasty error message in config.log where it belongs
|
# Put the nasty error message in config.log where it belongs
|
||||||
@ -187,7 +187,7 @@ installed software in a non-standard prefix.
|
|||||||
_PKG_TEXT])[]dnl
|
_PKG_TEXT])[]dnl
|
||||||
])
|
])
|
||||||
elif test $pkg_failed = untried; then
|
elif test $pkg_failed = untried; then
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
m4_default([$4], [AC_MSG_FAILURE(
|
m4_default([$4], [AC_MSG_FAILURE(
|
||||||
[The pkg-config script could not be found or is too old. Make sure it
|
[The pkg-config script could not be found or is too old. Make sure it
|
||||||
is in your PATH or set the PKG_CONFIG environment variable to the full
|
is in your PATH or set the PKG_CONFIG environment variable to the full
|
||||||
|
115
unix/configure
vendored
115
unix/configure
vendored
@ -4358,10 +4358,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_g="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -4420,10 +4417,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_o0="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -4483,10 +4477,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_o3="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -4543,10 +4534,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_o2="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -4603,10 +4591,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_o1="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -4669,10 +4654,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_omit_frame_pointer="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -4743,10 +4725,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_mtune="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -4805,10 +4784,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_mcpu="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -4872,10 +4848,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_no_exceptions="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -4934,10 +4907,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_no_rtti="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -4996,10 +4966,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_pedantic="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -5058,10 +5025,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_Wall="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -5120,10 +5084,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_W="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -5182,10 +5143,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_Wno_unused_parameter="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -5256,10 +5214,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_sse41="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -5334,10 +5289,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_avx2="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -5412,10 +5364,7 @@ else $as_nop
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_cv_option_neon="yes"
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -5475,7 +5424,7 @@ then :
|
|||||||
printf %s "(cached) " >&6
|
printf %s "(cached) " >&6
|
||||||
else $as_nop
|
else $as_nop
|
||||||
|
|
||||||
case "$target" in
|
case "$host" in
|
||||||
*-*-linux*)
|
*-*-linux*)
|
||||||
snes9x_cv_linux_os="yes"
|
snes9x_cv_linux_os="yes"
|
||||||
;;
|
;;
|
||||||
@ -5814,8 +5763,8 @@ printf "%s\n" "no" >&6; }
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
pkg_failed=no
|
pkg_failed=no
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SYSTEM_ZIP" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for minizip" >&5
|
||||||
printf %s "checking for SYSTEM_ZIP... " >&6; }
|
printf %s "checking for minizip... " >&6; }
|
||||||
|
|
||||||
if test -n "$SYSTEM_ZIP_CFLAGS"; then
|
if test -n "$SYSTEM_ZIP_CFLAGS"; then
|
||||||
pkg_cv_SYSTEM_ZIP_CFLAGS="$SYSTEM_ZIP_CFLAGS"
|
pkg_cv_SYSTEM_ZIP_CFLAGS="$SYSTEM_ZIP_CFLAGS"
|
||||||
@ -5855,7 +5804,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
if test $pkg_failed = yes; then
|
if test $pkg_failed = yes; then
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
printf "%s\n" "no" >&6; }
|
printf "%s\n" "no" >&6; }
|
||||||
|
|
||||||
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
||||||
@ -5879,7 +5828,7 @@ printf "%s\n" "$as_me: WARNING: minizip not found. Build without SYSTEM_ZIP supp
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
elif test $pkg_failed = untried; then
|
elif test $pkg_failed = untried; then
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
printf "%s\n" "no" >&6; }
|
printf "%s\n" "no" >&6; }
|
||||||
if test "x${with_system_zip}" != "xcheck"; then
|
if test "x${with_system_zip}" != "xcheck"; then
|
||||||
as_fn_error $? "--with-system-zip requested but no proper minizip lib found." "$LINENO" 5
|
as_fn_error $? "--with-system-zip requested but no proper minizip lib found." "$LINENO" 5
|
||||||
@ -6979,10 +6928,7 @@ printf %s "checking whether right shift int8 is arithmetic... " >&6; }
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_sar_int8=$GCC
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -7045,10 +6991,7 @@ printf %s "checking whether right shift int16 is arithmetic... " >&6; }
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_sar_int16=$GCC
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -7111,10 +7054,7 @@ printf %s "checking whether right shift int32 is arithmetic... " >&6; }
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_sar_int32=$GCC
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
@ -7177,10 +7117,7 @@ printf %s "checking whether right shift int64 is arithmetic... " >&6; }
|
|||||||
|
|
||||||
if test "$cross_compiling" = yes
|
if test "$cross_compiling" = yes
|
||||||
then :
|
then :
|
||||||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
snes9x_sar_int64=$GCC
|
||||||
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
||||||
as_fn_error $? "cannot run test program while cross compiling
|
|
||||||
See \`config.log' for more details" "$LINENO" 5; }
|
|
||||||
else $as_nop
|
else $as_nop
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
|
@ -36,7 +36,7 @@ AC_DEFUN([AC_S9X_COMPILER_FLAG],
|
|||||||
|
|
||||||
return (argc);
|
return (argc);
|
||||||
}
|
}
|
||||||
]])],[snes9x_cv_option_$2="yes"],[snes9x_cv_option_$2="no"],[])
|
]])],[snes9x_cv_option_$2="yes"],[snes9x_cv_option_$2="no"],[snes9x_cv_option_$2="yes"])
|
||||||
])
|
])
|
||||||
|
|
||||||
CXXFLAGS="[$]OLD_CXXFLAGS"
|
CXXFLAGS="[$]OLD_CXXFLAGS"
|
||||||
@ -137,7 +137,7 @@ AC_MSG_CHECKING([whether the OS is Linux])
|
|||||||
|
|
||||||
AC_CACHE_VAL([snes9x_cv_linux_os],
|
AC_CACHE_VAL([snes9x_cv_linux_os],
|
||||||
[
|
[
|
||||||
case "$target" in
|
case "$host" in
|
||||||
*-*-linux*)
|
*-*-linux*)
|
||||||
snes9x_cv_linux_os="yes"
|
snes9x_cv_linux_os="yes"
|
||||||
;;
|
;;
|
||||||
@ -398,7 +398,7 @@ AC_DEFUN([AC_S9X_CHECK_SAR],
|
|||||||
|
|
||||||
return (i < 0 ? 0 : 1);
|
return (i < 0 ? 0 : 1);
|
||||||
}
|
}
|
||||||
]])],[snes9x_sar_$1="yes"],[snes9x_sar_$1="no"],[])
|
]])],[snes9x_sar_$1="yes"],[snes9x_sar_$1="no"],[snes9x_sar_$1=$GCC])
|
||||||
|
|
||||||
CXXFLAGS="[$]OLD_CXXFLAGS"
|
CXXFLAGS="[$]OLD_CXXFLAGS"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user