modify the configure file to allow cross-compile to work at arm and xscale (CVS 1099)
FossilOrigin-Name: 760f2fa2e5db102b970687f59b79bfb6f4d35b32
This commit is contained in:
@@ -1434,7 +1434,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
|
||||
# The following RCS revision string applies to configure.in
|
||||
# $Revision: 1.16 $
|
||||
# $Revision: 1.17 $
|
||||
|
||||
#########
|
||||
# Programs needed
|
||||
@@ -8037,11 +8037,11 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
||||
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
|
||||
if test "$cross_compiling" = "yes"; then
|
||||
{ { echo "$as_me:$LINENO: error: unable to find a compiler for building build tools" >&5
|
||||
echo "$as_me: error: unable to find a compiler for building build tools" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
# if test "$cross_compiling" = "yes"; then
|
||||
# { { echo "$as_me:$LINENO: error: unable to find a compiler for building build tools" >&5
|
||||
#echo "$as_me: error: unable to find a compiler for building build tools" >&2;}
|
||||
# { (exit 1); exit 1; }; }
|
||||
# fi
|
||||
BUILD_CC=$CC
|
||||
default_build_cflags=$CFLAGS
|
||||
else
|
||||
@@ -8801,11 +8801,11 @@ echo "$as_me:$LINENO: checking for $dir/include/tcl.h" >&5
|
||||
echo $ECHO_N "checking for $dir/include/tcl.h... $ECHO_C" >&6
|
||||
if eval "test \"\${$as_ac_File+set}\" = set"; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
test "$cross_compiling" = yes &&
|
||||
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
#else
|
||||
# test "$cross_compiling" = yes &&
|
||||
# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
# { (exit 1); exit 1; }; }
|
||||
if test -r "$dir/include/tcl.h"; then
|
||||
eval "$as_ac_File=yes"
|
||||
else
|
||||
@@ -9170,11 +9170,11 @@ echo "$as_me:$LINENO: checking for $dir/include/readline.h" >&5
|
||||
echo $ECHO_N "checking for $dir/include/readline.h... $ECHO_C" >&6
|
||||
if eval "test \"\${$as_ac_File+set}\" = set"; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
test "$cross_compiling" = yes &&
|
||||
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
#else
|
||||
# test "$cross_compiling" = yes &&
|
||||
# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
# { (exit 1); exit 1; }; }
|
||||
if test -r "$dir/include/readline.h"; then
|
||||
eval "$as_ac_File=yes"
|
||||
else
|
||||
@@ -9196,11 +9196,11 @@ echo "$as_me:$LINENO: checking for $dir/include/readline/readline.h" >&5
|
||||
echo $ECHO_N "checking for $dir/include/readline/readline.h... $ECHO_C" >&6
|
||||
if eval "test \"\${$as_ac_File+set}\" = set"; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
test "$cross_compiling" = yes &&
|
||||
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
#else
|
||||
# test "$cross_compiling" = yes &&
|
||||
# { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
||||
#echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
||||
# { (exit 1); exit 1; }; }
|
||||
if test -r "$dir/include/readline/readline.h"; then
|
||||
eval "$as_ac_File=yes"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user