comparison configure.ac @ 1623:c66c49ebf77d

Remove incorrect _POSIX_C_SOURCE
author Matt Johnston <matt@ucc.asn.au>
date Tue, 06 Nov 2018 07:25:53 +0800
parents e11ed628708b
children 76189c9ffea2
comparison
equal deleted inserted replaced
1622:e11ed628708b 1623:c66c49ebf77d
496 AC_CHECK_FUNCS(endutxent getutxent getutxid getutxline pututxline ) 496 AC_CHECK_FUNCS(endutxent getutxent getutxid getutxline pututxline )
497 AC_CHECK_FUNCS(setutxent utmpxname) 497 AC_CHECK_FUNCS(setutxent utmpxname)
498 AC_CHECK_FUNCS(logout updwtmp logwtmp) 498 AC_CHECK_FUNCS(logout updwtmp logwtmp)
499 499
500 # POSIX monotonic time 500 # POSIX monotonic time
501 OLDCFLAGS="$CFLAGS"
502 CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=199309L"
503 AC_CHECK_FUNCS(clock_gettime) 501 AC_CHECK_FUNCS(clock_gettime)
504 CFLAGS="$OLDCFLAGS"
505 502
506 # OS X monotonic time 503 # OS X monotonic time
507 AC_CHECK_HEADERS([mach/mach_time.h]) 504 AC_CHECK_HEADERS([mach/mach_time.h])
508 AC_CHECK_FUNCS(mach_absolute_time) 505 AC_CHECK_FUNCS(mach_absolute_time)
509 506