Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Ian Lance Taylor
Sun, 26 Jul 1992 10:51
Cross compiling check fails in AC_TEST_PROGRAM in autoconf 1.0
Author: Ian Lance Taylor
Date: Sun, 26 Jul 1992 10:51
Date: Sun, 26 Jul 1992 10:51
22 lines
1319 bytes
1319 bytes
The cross compiling check in AC_TEST_PROGRAM in autoconf 1.0 is wrong, in that if you are not cross-compiling it will assume that you are. Here is a patch, which should be self-explanatory. --- /disk4/ian/gnu/autoconf-1.0/acgeneral.m4 Mon Jul 20 01:09:47 1992 +++ acgeneral.m4 Sun Jul 26 14:43:19 1992 @@ -312,7 +312,7 @@ )dnl dnl define(AC_TEST_PROGRAM, -[AC_PROVIDE([$0])ifelse([$4], , , [AC_REQUIRE([AC_CROSS_CHECK])if $cross_compiling +[AC_PROVIDE([$0])ifelse([$4], , , [AC_REQUIRE([AC_CROSS_CHECK])if test -n "$cross_compiling" then $4 else Sorry I never noticed this before. -- Ian Taylor | ian@airs.com | First to identify quote wins free e-mail message: ``It takes a man months and months to reconcile himself to a new hat. And just when you're preparing to send it to the jumble sale, he says, `That's rather a nice hat you've got on, where did you get it?' ''
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads