X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=configure.in;h=32d3d707435e56a80a8644f8e2146ff621a9c035;hp=8695bdc5cc41ad8f15d6dd1cefdd70c69f08c544;hb=4d3663b733242615ba3c5323f7105ef895b3c8bf;hpb=40439a4c37dcc76254a6359a96fe9b60ded4c762 diff --git a/configure.in b/configure.in index 8695bdc..32d3d70 100644 --- a/configure.in +++ b/configure.in @@ -89,7 +89,7 @@ fi dnl Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS(fcntl.h unistd.h getopt.h sys/fcntl.h setjmp.h stdarg.h stddef.h sys/types.h sys/stat.h string.h ctype.h math.h stdio.h netinet/in.h inttypes.h sys/param.h stdint.h stdlib.h g2.h assert.h sys/time.h sys/resource.h) +AC_CHECK_HEADERS(fcntl.h unistd.h getopt.h sys/fcntl.h setjmp.h stdarg.h stddef.h sys/types.h sys/stat.h string.h ctype.h math.h stdio.h netinet/in.h inttypes.h sys/param.h stdint.h stdlib.h g2.h assert.h sys/time.h sys/resource.h sys/time.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST @@ -103,6 +103,8 @@ AC_CHECK_FUNCS(strtod strtol snprintf htonl usleep vsprintf vsnprintf) AC_CHECK_FUNC(basename) AC_CHECK_FUNC(setjmp) AC_CHECK_FUNC(setpriority) +AC_CHECK_FUNC(time) +AC_CHECK_FUNC(gettimeofday) if test "${OSTYPE}" = "cygwin" ; then getopt_long=false