From e893d68460908a358a3a0cfbb08c177610955eaf Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 31 Jan 2013 20:43:57 +0200 Subject: Cross compile fix for readline checks. --- ChangeLog | 2 ++ configure | 6 ++---- m4/ChangeLog | 4 ++++ m4/readline.m4 | 2 ++ 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index d00b1fb8..f1ef7f34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,8 @@ * main.c (version): Print out API version numbers if DYNAMIC. Helpful also for knowing if to run the shlib tests. + * configure: Regenerated after change in m4/readline.m4. + 2013-01-31 Arnold D. Robbins * PROBLEMS: Removed. It is no longer needed. diff --git a/configure b/configure index 246641d2..769237e7 100755 --- a/configure +++ b/configure @@ -10355,10 +10355,8 @@ fi $as_echo_n "checking whether readline via \"$_combo\" is present and sane... " >&6; } if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$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; } + _found_readline=no + else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/m4/ChangeLog b/m4/ChangeLog index e90d4d0a..418cf049 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,7 @@ +2013-01-31 Arnold D. Robbins + + * readline.m4: Add cross-compiling action. + 2013-01-25 Arnold D. Robbins * readline.m4 (GAWK_CHECK_READLINE): Renamed from GNUPG_CHECK_READLINE. diff --git a/m4/readline.m4 b/m4/readline.m4 index 648ea38f..76605af8 100644 --- a/m4/readline.m4 +++ b/m4/readline.m4 @@ -60,6 +60,8 @@ dnl action if true: [_found_readline=yes], dnl action if false: [_found_readline=no], +dnl action if cross compiling: + [_found_readline=no] ) AC_MSG_RESULT([$_found_readline]) -- cgit v1.2.3