From 9e56967aa48a575ed2d2d9ef76ace0a208ba623f Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 24 Nov 2003 10:40:58 +0000 Subject: 2003-11-24 Paolo Bonzini * TODO: Remove already done things. Update the part about finding tools for the target. 2003-11-24 Paolo Bonzini * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER): Make wording more consistent. * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32): Explain the transition better. * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain the transition better. 2003-11-24 Paolo Bonzini * doc/autoconf.texi (Obsoleting Macros): Don't document the third parameter of AU_DEFUN. * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove. (AU_DEFUN): Remove the third parameter, it was not used. Use AC_DEFUN directly, not AU_DEFINE. * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into the expanded body, consistently with other macros such as AC_USG. --- TODO | 54 +++++++++--------------------------------------------- 1 file changed, 9 insertions(+), 45 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 75618463..673e6e4d 100644 --- a/TODO +++ b/TODO @@ -359,10 +359,6 @@ require a specific AC_ tests, but a specialized AS_ macro. ------------------------------------------------------------------------------ -* Support creating both config.h and DEFS in the same configure. - ------------------------------------------------------------------------------- - * Select the right CONFIG_SHELL automatically (for Ultrix, Lynx especially.) ------------------------------------------------------------------------------ @@ -405,44 +401,11 @@ In config.status comment, put the host/target/build types, if used. ------------------------------------------------------------------------------ -on hal.gnu.ai.mit.edu, configure is getting the wrong answer for -AC_CHECK_FUNCS(select). - -The problem here is that there's severe name space pollution: when -conftest.c includes to pick up any __stub macro definitions, -it's getting a prototype declaration for select(), which collides -with the dummy declaration in conftest.c. (The chain of includes -is conftest.c -> -> -> --> -> .) - - #define $ac_func __dummy_$ac_func - #include - #undef $ac_func -From: kwzh@gnu.ai.mit.edu (Karl Heuer) - -The test for the isascii function was failing because that function is -also a macro. He proposed that the test file look like this: - -/* Remove any macro definition. */ -#undef isascii -/* Override any gcc2 internal prototype to avoid an error. */ -char isascii(); isascii(); - -Andreas Schwab - ------------------------------------------------------------------------------- - It would be nice if I could (in the Makefile.in files) set the path to config.h. You have config.h ../config.h ../../config.h's all over the place, in the findutils-4.1 directory. From: "Randall S. Winchester" ------------------------------------------------------------------------------- - -In a future version (after 2.2), make AC_PROG_{CC,RANLIB,anything else} -use AC_CHECK_TOOL. -From Roland McGrath. - ------------------------------------------------------------------------------ ls -lt configure configure.in | sort @@ -506,18 +469,19 @@ etc. with GCC_FOR_TARGET instead of CC Here is one simple test if test "x$host" != "x$target"; then -AC_PROGRAMS_CHECK(AR_FOR_TARGET, $target-ar, $target-ar, ar) -AC_PROGRAMS_CHECK(RANLIB_FOR_TARGET, $target-ranlib, $target-ranlib, ranlib) -AC_PROGRAMS_CHECK(GCC_FOR_TARGET, $target-gcc, $target-gcc, gcc) +AC_CHECK_PROGS(AR_FOR_TARGET, + [$target-ar, $prefix/$target/bin/ar], $target-ar) +AC_CHECK_PROGS(RANLIB_FOR_TARGET, $target-ranlib, $target-ranlib) + [$target-ranlib, $prefix/$target/bin/ranlib], $target-ranlib) +AC_CHECK_PROGS(GCC_FOR_TARGET, $target-gcc, $target-gcc) + [$target-gcc, $prefix/$target/bin/gcc], $target-gcc) fi -This could be improved to also look for gcc in PATH, but require the -prefix to contain the target e.g.: - -target=m68k-coff -->GCC_FOR_TARGET = /usr/gnu/m68k-coff/bin/gcc - From: nennker@cs.tu-berlin.DE (Axel Nennker) +(also look in the autoconf mailing list archives for the proposed +CHECK_TARGET_TOOL macro from Natanael Nerode, a gcc configury guru). + ------------------------------------------------------------------------------ The problem occurs with the following libc functions in SunOS 5.4: -- cgit v1.2.1