Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/m4/aclocal.m4

    r478 r740  
    3333        elif test x"$DEST" = xSTATIC; then
    3434                [init_static_modules_]translit([$4], [A-Z], [a-z])="$[init_static_modules_]translit([$4], [A-Z], [a-z])  $1_init();"
    35                 [decl_static_modules_]translit([$4], [A-Z], [a-z])="$[decl_static_modules_]translit([$4], [A-Z], [a-z]) extern NTSTATUS $1_init(void);"
     35                [decl_static_modules_]translit([$4], [A-Z], [a-z])="$[decl_static_modules_]translit([$4], [A-Z], [a-z]) extern NTSTATUS $1_init(void);"
    3636                string_static_modules="$string_static_modules $1"
    3737                $4_STATIC="$$4_STATIC $2"
     
    5555
    5656
    57 dnl SMB_LIBRARY(name, version, default, reason)
     57dnl SMB_LIBRARY(name, soversion, fullversion, default, reason)
    5858dnl
    5959dnl configure build and use of an (internal) shared library
     
    7575
    7676m4_if([$2], [], [LIBUC[_SOVER]=0], [LIBUC[_SOVER]=$2])
     77m4_if([$3], [], [LIBUC[_FULLVER]=$LIBUC[_SOVER]], [LIBUC[_FULLVER]=$3])
    7778
    7879AC_SUBST(LIBUC[_SHARED_TARGET])
     
    8586AC_SUBST([UNINSTALL_]LIBUC)
    8687AC_SUBST(LIBUC[_SOVER])
     88AC_SUBST(LIBUC[_FULLVER])
    8789
    8890AC_MSG_CHECKING([whether to build the LIBNAME shared library])
    89 m4_if([$3], [no], [
     91m4_if([$4], [no], [
    9092dnl set the default to not build the shared lib
    9193AC_ARG_WITH(LIBNAME,
    9294AS_HELP_STRING([--with-]LIBNAME,
    93         m4_if([$4], [],
     95        m4_if([$5], [],
    9496                [Build the LIBNAME shared library (default=no)],
    95                 [Build the LIBNAME shared library (default=no ($4))])),
     97                [Build the LIBNAME shared library (default=no ($5))])),
    9698[
    9799case "$withval" in
     
    792794])
    793795
    794 dnl SMB_CHECK_CLOCK_ID(clockid)
    795 dnl Test whether the specified clock_gettime clock ID is available. If it
    796 dnl is, we define HAVE_clockid
    797 AC_DEFUN([SMB_CHECK_CLOCK_ID],
    798 [
    799     AC_MSG_CHECKING(for $1)
    800     AC_TRY_LINK([
    801 #if TIME_WITH_SYS_TIME
    802 # include <sys/time.h>
    803 # include <time.h>
    804 #else
    805 # if HAVE_SYS_TIME_H
    806 #  include <sys/time.h>
    807 # else
    808 #  include <time.h>
    809 # endif
    810 #endif
    811     ],
    812     [
    813 clockid_t clk = $1;
    814     ],
    815     [
    816         AC_MSG_RESULT(yes)
    817         AC_DEFINE(HAVE_$1, 1,
    818             [Whether the clock_gettime clock ID $1 is available])
    819     ],
    820     [
    821         AC_MSG_RESULT(no)
    822     ])
    823 ])
    824 
    825796dnl SMB_IF_RTSIGNAL_BUG([actions if true],
    826797dnl                     [actions if false],
Note: See TracChangeset for help on using the changeset viewer.