This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Remove some unused checks from configure.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]