summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2003-11-24 10:40:58 +0000
committerPaolo Bonzini <bonzini@gnu.org>2003-11-24 10:40:58 +0000
commit9e56967aa48a575ed2d2d9ef76ace0a208ba623f (patch)
treee63ad6a7fe95b55d99144c0a844a91a4e81d3ec3 /TODO
parentf3d1c1e068fad21a01f6ba9eda4cd4a2f0baddb1 (diff)
downloadautoconf-9e56967aa48a575ed2d2d9ef76ace0a208ba623f.tar.gz
2003-11-24 Paolo Bonzini <bonzini@gnu.org>
* TODO: Remove already done things. Update the part about finding tools for the target. 2003-11-24 Paolo Bonzini <bonzini@gnu.org> * 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 <bonzini@gnu.org> * 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.
Diffstat (limited to 'TODO')
-rw-r--r--TODO54
1 files changed, 9 insertions, 45 deletions
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,33 +401,6 @@ 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 <ctype.h> 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 -> <ctype.h> -> <sys/localedef.h> -> <sys/lc_core.h>
--> <sys/types.h> -> <sys/select.h>.)
-
- #define $ac_func __dummy_$ac_func
- #include <ctype.h>
- #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.
@@ -439,12 +408,6 @@ From: "Randall S. Winchester" <rsw@eng.umd.edu>
------------------------------------------------------------------------------
-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
doesn't work right if configure.in is from a symlink farm, where the
symlink has either a timestamp of its own, or under BSD 4.4, it has
@@ -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: