diff options
author | daney <daney@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-26 18:15:31 +0000 |
---|---|---|
committer | daney <daney@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-26 18:15:31 +0000 |
commit | 0c461f9e3803a0ddee4ab681fe1d4ebbe0fc6759 (patch) | |
tree | dfe1204b01dbc0cb9b19baff613ed5c26afd424e /libjava/configure.ac | |
parent | 1a429fa847f67a0033c750a2d029cb4eabff5bb8 (diff) | |
download | gcc-0c461f9e3803a0ddee4ab681fe1d4ebbe0fc6759.tar.gz |
* configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r,
fork, execvp, execinfo.h, pthread_mutexattr_settype,
pthread_mutexattr_setkind_np and sys/wait.h.
* Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* include/config.h.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* configure: Regenerate.
* gcj/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123221 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/configure.ac')
-rw-r--r-- | libjava/configure.ac | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/libjava/configure.ac b/libjava/configure.ac index f5e27fab313..1c571dce8ba 100644 --- a/libjava/configure.ac +++ b/libjava/configure.ac @@ -714,10 +714,8 @@ case "$host" in esac AM_CONDITIONAL(USING_DARWIN_CRT, $DARWIN_CRT) -# These may not be defined in a non-ANS conformant embedded system. +# This may not be defined in a non-ANS conformant embedded system. # FIXME: Should these case a runtime exception in that case? -AC_EGREP_HEADER(mktime, time.h, AC_DEFINE(HAVE_MKTIME, 1, - [Define is you have 'mktime' in <time.h>])) AC_EGREP_HEADER(localtime, time.h, AC_DEFINE(HAVE_LOCALTIME, 1, [Define is you have 'localtime' in <time.h>])) @@ -994,22 +992,20 @@ if test "x${with_newlib}" = "xyes"; then AC_DEFINE(HAVE_USLEEP_DECL, 1, [Define if usleep is declared in <unistd.h>.]) # This is only for POSIX threads. AC_DEFINE(HAVE_PTHREAD_MUTEXATTR_INIT, 1, [Define if using POSIX threads that have the mutexattr functions.]) - # We also assume we are using gcc, which provides alloca. - AC_DEFINE(HAVE_ALLOCA) # Assume we do not have getuid and friends. AC_DEFINE(NO_GETUID, 1, [Define if getuid() and friends are missing.]) PLATFORMNET=NoNet else - AC_CHECK_FUNCS([strerror ioctl select fstat open fsync sleep opendir \ - gmtime_r localtime_r readdir_r getpwuid_r getcwd \ + AC_CHECK_FUNCS([strerror select fstat open fsync sleep opendir \ + localtime_r readdir_r getpwuid_r getcwd \ access stat lstat mkdir rename rmdir unlink utime chmod readlink \ nl_langinfo setlocale \ inet_pton uname inet_ntoa \ - fork execvp getrlimit pipe sigaction ftruncate mmap \ + getrlimit sigaction ftruncate mmap \ getifaddrs]) AC_CHECK_FUNCS(inet_aton inet_addr, break) - AC_CHECK_HEADERS(execinfo.h unistd.h dlfcn.h sys/resource.h) + AC_CHECK_HEADERS(unistd.h dlfcn.h sys/resource.h) # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl AC_CHECK_LIB(dl, dladdr, [ AC_DEFINE(HAVE_DLADDR, 1, [Define if you have dladdr()])], [ @@ -1117,9 +1113,6 @@ else if test "$THREADS" = posix; then save_LIBS="$LIBS" LIBS="$LIBS $THREADLIBS" - # Some POSIX thread systems don't have pthread_mutexattr_settype. - # E.g., Solaris. - AC_CHECK_FUNCS(pthread_mutexattr_settype pthread_mutexattr_setkind_np) # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since # Solaris 7 the name librt is preferred. @@ -1404,7 +1397,6 @@ AC_CHECK_HEADERS(inttypes.h, [ AC_DEFINE(HAVE_INTTYPES_H, 1, [Define if <inttypes.h> is available]) AC_DEFINE(JV_HAVE_INTTYPES_H, 1, [Define if <inttypes.h> is available]) ]) -AC_HEADER_SYS_WAIT AC_CHECK_TYPE([ssize_t], [int]) AC_CHECK_TYPE([magic_t], [ @@ -1478,8 +1470,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[struct tm tim; tim.t AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no)])])]) -AC_FUNC_ALLOCA - AC_CHECK_PROGS(PERL, perl, false) SYSDEP_SOURCES= |