projects
/
shibboleth
/
cpp-xmltooling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2f2e0fb
)
Simplify autoconf timegm function check.
author
Brent Putman
<putmanb@georgetown.edu>
Thu, 17 Aug 2006 16:10:42 +0000
(16:10 +0000)
committer
Brent Putman
<putmanb@georgetown.edu>
Thu, 17 Aug 2006 16:10:42 +0000
(16:10 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
31b2d1c
..
7b773ed
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-53,7
+53,7
@@
AC_C_CONST
AC_TYPE_SIZE_T
# Checks for library functions.
AC_TYPE_SIZE_T
# Checks for library functions.
-AC_CHECK_FUNCS([strchr strdup strstr])
+AC_CHECK_FUNCS([strchr strdup strstr
timegm
])
AC_CHECK_HEADERS([dlfcn.h])
AC_CHECK_FUNC(dlclose, , [ AC_CHECK_LIB(dl, dlopen) ])
AC_CHECK_HEADERS([dlfcn.h])
AC_CHECK_FUNC(dlclose, , [ AC_CHECK_LIB(dl, dlopen) ])
@@
-205,9
+205,6
@@
AC_TRY_LINK(
[Define if you have an STL implementation that supports useful string specialization.])],
)
[Define if you have an STL implementation that supports useful string specialization.])],
)
-# check for timegm() support
-AC_CHECK_FUNC(timegm, AC_DEFINE(HAVE_TIMEGM,1,[Define to 1 if timegm is available]))
-
# Check for unit test support
CXXTEST="/usr/bin/cxxtestgen.pl"
CXXTESTFLAGS=""
# Check for unit test support
CXXTEST="/usr/bin/cxxtestgen.pl"
CXXTESTFLAGS=""