/[autoconf]/autoconf/doc/autoconf.texi
ViewVC logotype

Diff of /autoconf/doc/autoconf.texi

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

revision 1.759 by akim, Fri Sep 12 07:19:09 2003 UTC revision 1.760 by eggert, Tue Sep 23 23:05:10 2003 UTC
# Line 5302  Some preprocessors don't indicate missin Line 5302  Some preprocessors don't indicate missin
5302  status.  For such preprocessors an internal variable is set that causes  status.  For such preprocessors an internal variable is set that causes
5303  other macros to check the standard error from the preprocessor and  other macros to check the standard error from the preprocessor and
5304  consider the test failed if any warnings have been reported.  consider the test failed if any warnings have been reported.
5305    For most preprocessors, though, warnings do not cause include-file
5306    tests to fail unless @code{AC_PROG_CPP_WERROR} is also specified.
5307    @end defmac
5308    
5309    @defmac AC_PROG_CPP_WERROR
5310    @acindex{PROG_CPP_WERROR}
5311    @ovindex CPP
5312    This acts like @code{AC_PROG_CPP}, except it treats warnings from the
5313    preprocessor as errors even if the preprocessor exit status indicates
5314    success.  This is useful for avoiding headers that generate mandatory
5315    warnings, such as deprecation notices.
5316  @end defmac  @end defmac
5317    
5318    
# Line 10209  the host system.  But occasionally you m Line 10220  the host system.  But occasionally you m
10220  whether some arbitrary file exists.  To do so, use @samp{test -f} or  whether some arbitrary file exists.  To do so, use @samp{test -f} or
10221  @samp{test -r}.  Do not use @samp{test -x}, because 4.3@acronym{BSD} does not  @samp{test -r}.  Do not use @samp{test -x}, because 4.3@acronym{BSD} does not
10222  have it.  Do not use @samp{test -e} either, because Solaris 2.5 does not  have it.  Do not use @samp{test -e} either, because Solaris 2.5 does not
10223  have it.  have it.  To test for symbolic links on systems that have them, use
10224    @samp{test -h} rather than @samp{test -L}; either form conforms to
10225    @acronym{POSIX} 1003.1-2001, but older shells like Solaris 8
10226    @code{/bin/sh} support only @option{-h}.
10227    
10228  @item @command{test} (strings)  @item @command{test} (strings)
10229  @c ---------------------------  @c ---------------------------

Legend:
Removed from v.1.759  
changed lines
  Added in v.1.760

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