aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac.tpl b/configure.ac.tpl
index d02eb7a..3589101 100644
--- a/configure.ac.tpl
+++ b/configure.ac.tpl
@@ -16,7 +16,6 @@ case $target_os in
16 *linux*) 16 *linux*)
17 TARGET_OS=linux; 17 TARGET_OS=linux;
18 CFLAGS="$CFLAGS -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE" 18 CFLAGS="$CFLAGS -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
19 AC_SUBST([PLATFORM_LDADD], ['-lrt'])
20 ;; 19 ;;
21 *solaris*) 20 *solaris*)
22 TARGET_OS=solaris; 21 TARGET_OS=solaris;
@@ -33,6 +32,9 @@ AM_CONDITIONAL(TARGET_DARWIN, test x$TARGET_OS = xdarwin)
33AM_CONDITIONAL(TARGET_LINUX, test x$TARGET_OS = xlinux) 32AM_CONDITIONAL(TARGET_LINUX, test x$TARGET_OS = xlinux)
34AM_CONDITIONAL(TARGET_SOLARIS, test x$TARGET_OS = xsolaris) 33AM_CONDITIONAL(TARGET_SOLARIS, test x$TARGET_OS = xsolaris)
35 34
35AC_CHECK_FUNC([clock_gettime],,
36 [AC_SEARCH_LIBS([clock_gettime],[rt posix4])])
37
36AC_PROG_CC 38AC_PROG_CC
37AC_PROG_LIBTOOL 39AC_PROG_LIBTOOL
38AC_PROG_CC_STDC 40AC_PROG_CC_STDC