/[autoconf]/autoconf/TODO
ViewVC logotype

Diff of /autoconf/TODO

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.125 by akim, Sat Sep 28 14:06:07 2002 UTC revision 1.126 by bonzini, Mon Nov 24 10:40:58 2003 UTC
# Line 359  require a specific AC_ tests, but a spec Line 359  require a specific AC_ tests, but a spec
359    
360  ------------------------------------------------------------------------------  ------------------------------------------------------------------------------
361    
 * Support creating both config.h and DEFS in the same configure.  
   
 ------------------------------------------------------------------------------  
   
362  * Select the right CONFIG_SHELL automatically (for Ultrix, Lynx especially.)  * Select the right CONFIG_SHELL automatically (for Ultrix, Lynx especially.)
363    
364  ------------------------------------------------------------------------------  ------------------------------------------------------------------------------
# Line 405  In config.status comment, put the host/t Line 401  In config.status comment, put the host/t
401    
402  ------------------------------------------------------------------------------  ------------------------------------------------------------------------------
403    
 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  
   
 ------------------------------------------------------------------------------  
   
404  It would be nice if I could (in the Makefile.in files) set  It would be nice if I could (in the Makefile.in files) set
405  the path to config.h. You have config.h ../config.h ../../config.h's all  the path to config.h. You have config.h ../config.h ../../config.h's all
406  over the place, in the findutils-4.1 directory.  over the place, in the findutils-4.1 directory.
# Line 439  From: "Randall S. Winchester" <rsw@eng.u Line 408  From: "Randall S. Winchester" <rsw@eng.u
408    
409  ------------------------------------------------------------------------------  ------------------------------------------------------------------------------
410    
 In a future version (after 2.2), make AC_PROG_{CC,RANLIB,anything else}  
 use AC_CHECK_TOOL.  
 From Roland McGrath.  
   
 ------------------------------------------------------------------------------  
   
411          ls -lt configure configure.in | sort          ls -lt configure configure.in | sort
412  doesn't work right if configure.in is from a symlink farm, where the  doesn't work right if configure.in is from a symlink farm, where the
413  symlink has either a timestamp of its own, or under BSD 4.4, it has  symlink has either a timestamp of its own, or under BSD 4.4, it has
# Line 506  etc. with GCC_FOR_TARGET instead of CC Line 469  etc. with GCC_FOR_TARGET instead of CC
469  Here is one simple test  Here is one simple test
470    
471  if test "x$host" != "x$target"; then  if test "x$host" != "x$target"; then
472  AC_PROGRAMS_CHECK(AR_FOR_TARGET, $target-ar, $target-ar, ar)  AC_CHECK_PROGS(AR_FOR_TARGET,
473  AC_PROGRAMS_CHECK(RANLIB_FOR_TARGET, $target-ranlib, $target-ranlib, ranlib)                 [$target-ar, $prefix/$target/bin/ar], $target-ar)
474  AC_PROGRAMS_CHECK(GCC_FOR_TARGET, $target-gcc, $target-gcc, gcc)  AC_CHECK_PROGS(RANLIB_FOR_TARGET, $target-ranlib, $target-ranlib)
475                   [$target-ranlib, $prefix/$target/bin/ranlib], $target-ranlib)
476    AC_CHECK_PROGS(GCC_FOR_TARGET, $target-gcc, $target-gcc)
477                   [$target-gcc, $prefix/$target/bin/gcc], $target-gcc)
478  fi  fi
479    
 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  
   
480  From: nennker@cs.tu-berlin.DE (Axel Nennker)  From: nennker@cs.tu-berlin.DE (Axel Nennker)
481    
482    (also look in the autoconf mailing list archives for the proposed
483    CHECK_TARGET_TOOL macro from Natanael Nerode, a gcc configury guru).
484    
485  ------------------------------------------------------------------------------  ------------------------------------------------------------------------------
486    
487  The problem occurs with the following libc functions in SunOS 5.4:  The problem occurs with the following libc functions in SunOS 5.4:

Legend:
Removed from v.1.125  
changed lines
  Added in v.1.126

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26