Ignore:
Timestamp:
Apr 25, 2007, 9:44:55 AM (14 years ago)
Author:
Paul Smedley
Message:

Code updated to Samba 3.0.25rc2 level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/lib/replace/libreplace.m4

    r1 r30  
    6262AC_CHECK_FUNCS(pipe strftime srandom random srand rand usleep setbuffer lstat getpgrp)
    6363
    64 AC_CHECK_HEADERS(stdbool.h sys/select.h)
     64AC_CHECK_HEADERS(stdbool.h stdint.h sys/select.h)
    6565AC_CHECK_HEADERS(setjmp.h)
     66
     67LIBREPLACE_PROVIDE_HEADER([stdint.h])
     68LIBREPLACE_PROVIDE_HEADER([stdbool.h])
    6669
    6770AC_CHECK_TYPE(bool,
     
    148151AC_CHECK_FUNCS(seteuid setresuid setegid setresgid chroot bzero strerror)
    149152AC_CHECK_FUNCS(vsyslog setlinebuf mktime ftruncate chsize rename)
    150 AC_CHECK_FUNCS(waitpid strlcpy strlcat innetgr initgroups memmove strdup)
     153AC_CHECK_FUNCS(waitpid strlcpy strlcat initgroups memmove strdup)
    151154AC_CHECK_FUNCS(pread pwrite strndup strcasestr strtok_r mkdtemp socketpair)
    152155AC_HAVE_DECL(setresuid, [#include <unistd.h>])
     
    261264[AC_DEFINE(HAVE_COMPARISON_FN_T, 1,[Whether or not we have comparison_fn_t])])
    262265
    263 AC_CHECK_FUNCS(strnlen setenv)
     266AC_HAVE_DECL(setenv, [#include <stdlib.h>])
     267AC_CHECK_FUNCS(setenv unsetenv)
     268
     269AC_CHECK_FUNCS(strnlen)
    264270AC_CHECK_FUNCS(strtoull __strtoull strtouq strtoll __strtoll strtoq)
    265271
     
    324330m4_include(dlfcn.m4)
    325331m4_include(getpass.m4)
     332m4_include(strptime.m4)
    326333m4_include(win32.m4)
    327334m4_include(timegm.m4)
    328335m4_include(repdir.m4)
    329336
    330 AC_CHECK_FUNCS([syslog memset setnetgrent getnetgrent endnetgrent memcpy],,
    331                            [AC_MSG_ERROR([Required function not found])])
     337AC_CHECK_FUNCS([syslog memset memcpy],,[AC_MSG_ERROR([Required function not found])])
    332338
    333339echo "LIBREPLACE_BROKEN_CHECKS: END"
Note: See TracChangeset for help on using the changeset viewer.