diff options
-rw-r--r-- | ChangeLog | 13 | ||||
-rw-r--r-- | configure.ac | 42 | ||||
-rw-r--r-- | m4/config_h.m4 | 3 |
3 files changed, 13 insertions, 45 deletions
diff --git a/ChangeLog b/ChangeLog index 3b50cbb68eb..c333feec2d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +Tue Dec 27 11:11:15 2005 J.T. Conklin <jtc@acorntoolworks.com> + + * m4/config_h.m4: + + Remove ACE_LACKS_SYSTEM_H autoconf header template. + + * configure.ac: + + Remove ACE_LACKS_SYSTIME_H feature test, and the use of + ACE_LACKS_SYSTIME_H in other feature test macros. C.f. + + Tue Dec 27 14:50:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl> + Tue Dec 27 11:06:00 2005 J.T. Conklin <jtc@acorntoolworks.com> * configure.ac: diff --git a/configure.ac b/configure.ac index 2ed569eb623..802ec3008a6 100644 --- a/configure.ac +++ b/configure.ac @@ -907,16 +907,6 @@ AS_IF([test "$ace_has_xti" = yes || test "$ace_has_tli" = yes], ],[]) -AC_CHECK_HEADER([sys/time.h], - [ - dnl This is a weak test. - AC_EGREP_HEADER([sys/time.h],[time.h], - , - [ - AC_DEFINE([ACE_LACKS_SYSTIME_H]) - ]) - ],) - dnl See the notes about ACE_LACKS_MMAP in the functions section of this dnl configure script. dnl -Ossama @@ -1394,10 +1384,6 @@ ACE_CACHE_CHECK([for POSIX timer structure], [ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <time.h> - -#if defined(ACE_LACKS_SYSTIME_H) -# include <sys/time.h> -#endif ]],[[ timespec sr; ]])],[ @@ -1408,10 +1394,6 @@ ACE_CACHE_CHECK([for POSIX timer structure], AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [[ #include <time.h> - -#if defined(ACE_LACKS_SYSTIME_H) -# include <sys/time.h> -#endif ]], [[ timestruc_t sr; @@ -1469,10 +1451,6 @@ ACE_CACHE_CHECK([for timespec_t], [ace_cv_lib_posix_timespec_t],[ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <time.h> - -#if defined(ACE_LACKS_SYSTIME_H) -# include <sys/time.h> -#endif ]],[[ timespec_t tt; ]])],[ @@ -1512,10 +1490,6 @@ ACE_CACHE_CHECK([for broken struct timespec members], [ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <time.h> - -#if defined(ACE_LACKS_SYSTIME_H) -# include <sys/time.h> -#endif ]],[[ timespec sr; sr.ts_sec = 0; @@ -5950,10 +5924,6 @@ if test "$ace_cv_lib_voidptr_gettimeofday" = yes || AC_EGREP_CPP([gettimeofday], [ #include <time.h> - -#ifdef ACE_LACKS_SYSTIME_H -# include <sys/time.h> -#endif ], [ dnl We have a gettimeofday prototype @@ -5992,10 +5962,6 @@ if test "$ac_cv_func_ctime_r" = yes; then #endif #include <time.h> - -#if defined(ACE_LACKS_SYSTIME_H) -# include <sys/time.h> -#endif ]], [[ const time_t *t = 0; char *buf; @@ -6176,10 +6142,6 @@ ACE_CACHE_CHECK([for ctime() macro], [ #include <time.h> -#if defined(ACE_LACKS_SYSTIME_H) -# include <sys/time.h> -#endif - #if defined (ctime) ACE_CTIME_MACRO #endif @@ -6205,10 +6167,6 @@ ACE_CACHE_CHECK([for reentrant function macros], #include <time.h> -#if defined(ACE_LACKS_SYSTIME_H) -# include <sys/time.h> -#endif - #if !defined (ACE_LACKS_PWD_H) # include <pwd.h> #endif diff --git a/m4/config_h.m4 b/m4/config_h.m4 index 2f396d0c9aa..9011d072692 100644 --- a/m4/config_h.m4 +++ b/m4/config_h.m4 @@ -1048,9 +1048,6 @@ AH_TEMPLATE([ACE_NEEDS_REGEXPR_H], AH_TEMPLATE([ACE_NEEDS_SCHED_H], [Platform needs to #include <sched.h> to get thread scheduling defs.]) -AH_TEMPLATE([ACE_LACKS_SYSTIME_H], -[<time.h> doesn't automatically #include <sys/time.h>]) - AH_TEMPLATE([ACE_NEW_THROWS_EXCEPTIONS], [Compiler's 'new' throws exception on failure (ANSI C++ behavior).]) |