comparison configure.in @ 213:78f53ef88e17 r20-4b5

Import from CVS: tag r20-4b5
author cvs
date Mon, 13 Aug 2007 10:06:47 +0200
parents 78478c60bfcd
children 1f0dabaa0855
comparison
equal deleted inserted replaced
212:d8688acf4c5b 213:78f53ef88e17
2918 [AC_MSG_RESULT(no)], 2918 [AC_MSG_RESULT(no)],
2919 [AC_MSG_RESULT(yes) 2919 [AC_MSG_RESULT(yes)
2920 AC_DEFINE(GETTIMEOFDAY_ONE_ARGUMENT)]) 2920 AC_DEFINE(GETTIMEOFDAY_ONE_ARGUMENT)])
2921 fi 2921 fi
2922 2922
2923 AC_MSG_CHECKING(whether the timezone variable is already declared)
2924 AC_TRY_LINK([
2925 #ifdef TIME_WITH_SYS_TIME
2926 #include <sys/time.h>
2927 #include <time.h>
2928 #else
2929 #ifdef HAVE_SYS_TIME_H
2930 #include <sys/time.h>
2931 #else
2932 #include <time.h>
2933 #endif
2934 #endif
2935 ],
2936 [
2937 timezone = 0;
2938 ],
2939 [AC_MSG_RESULT(yes)
2940 AC_DEFINE(HAVE_TIMEZONE_DECL)],
2941 [AC_MSG_RESULT(no)])
2942
2943
2944 2923
2945 AC_C_INLINE 2924 AC_C_INLINE
2946 if test "$ac_cv_c_inline" != "no"; then 2925 if test "$ac_cv_c_inline" != "no"; then
2947 AC_DEFINE(HAVE_INLINE) 2926 AC_DEFINE(HAVE_INLINE)
2948 test "$GCC" = "yes" && XE_ADD_OBJS(inline.o) 2927 test "$GCC" = "yes" && XE_ADD_OBJS(inline.o)