source: branches/samba-3.5.x/lib/replace/strptime.m4@ 778

Last change on this file since 778 was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 511 bytes
Line 
1AC_CACHE_CHECK([whether strptime is available and works],libreplace_cv_STRPTIME_OK,[
2 AC_TRY_RUN([
3 #define LIBREPLACE_CONFIGURE_TEST_STRPTIME
4 #include "$libreplacedir/test/strptime.c"
5 ],
6 [libreplace_cv_STRPTIME_OK=yes],
7 [libreplace_cv_STRPTIME_OK=no],
8 [libreplace_cv_STRPTIME_OK="assuming not"])
9])
10if test x"$libreplace_cv_STRPTIME_OK" != x"yes"; then
11 AC_DEFINE(REPLACE_STRPTIME,1,[Whether strptime should be replaced])
12 LIBREPLACEOBJ="${LIBREPLACEOBJ} $libreplacedir/strptime.o"
13fi
Note: See TracBrowser for help on using the repository browser.