[Patch] Remove some unused checks from configure.

David Daney ddaney@avtrex.com
Mon Mar 26 18:20:00 GMT 2007


Tom Tromey wrote:
>>>>>> "David" == David Daney <ddaney@avtrex.com> writes:
> 
> David> In any event, attached is the diff to the non-generated portion of the
> David> patch:
> 
> Looks pretty good...
> 
> David> -   AC_CHECK_FUNCS([strerror ioctl select fstat open fsync sleep opendir \
> David> -                   gmtime_r localtime_r readdir_r getpwuid_r getcwd \
> David> +   AC_CHECK_FUNCS([strerror select fstat open fsync sleep opendir \
> David> +                   localtime_r readdir_r getpwuid_r getcwd \
> 
> We don't seem to use the result for open or sleep either.
> 

My grepping script caused HAVE_OPEN to also match with HAVE_OPENDIR so I 
mssed that one.  HAVE_SLEEP is used in include/no-threads.h.

I was trying to be somewhat conservative, so I didn't do any analysis as 
to if it made sense that the symbols were used.  If there were used 
anywhere I left them in configure.

> Please commit, thanks.

Committed.

David Daney



More information about the Java-patches mailing list