Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/m4/aclocal.m4

    r480 r745  
    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],
  • trunk/server/source3/m4/check_path.m4

    r414 r745  
    2020piddir="\${VARDIR}/locks"
    2121ncalrpcdir="\${VARDIR}/ncalrpc"
     22nmbdsocketdir="\${VARDIR}/nmbd"
    2223test "${mandir}" || mandir="\${prefix}/man"
    2324logfilebase="\${VARDIR}"
     
    167168
    168169#################################################
     170# set nmbd socket directory location
     171AC_ARG_WITH(nmbdsocketdir,
     172[AS_HELP_STRING([--with-nmbdsocketdir=DIR], [Where to put the nmbd socket directory ($ac_default_prefix/var/nmbd)])],
     173[ case "$withval" in
     174  yes|no)
     175  #
     176  # Just in case anybody calls it without argument
     177  #
     178    AC_MSG_WARN([--with-nmbdsocketdir called without argument - will use default])
     179  ;;
     180  * )
     181    nmbdsocketdir="$withval"
     182    ;;
     183  esac])
     184
     185#################################################
    169186# set SWAT directory location
    170187AC_ARG_WITH(swatdir,
     
    299316AC_SUBST(lockdir)
    300317AC_SUBST(piddir)
     318AC_SUBST(nmbdsocketdir)
    301319AC_SUBST(ncalrpcdir)
    302320AC_SUBST(logfilebase)
  • trunk/server/source3/m4/samba_version.m4

    r414 r745  
    1616        echo "BUILD COMMIT REVISION: ${SAMBA_VERSION_GIT_COMMIT_FULLREV}"
    1717fi
    18 SAMBA_VERSION_GIT_COMMIT_DATE=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_GIT_COMMIT_DATE' | cut -d ' ' -f3-`
    19 if test -n "${SAMBA_VERSION_GIT_COMMIT_DATE}";then
    20         echo "BUILD COMMIT DATE: ${SAMBA_VERSION_GIT_COMMIT_DATE}"
     18SAMBA_VERSION_COMMIT_DATE=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_COMMIT_DATE' | cut -d ' ' -f3-`
     19if test -n "${SAMBA_VERSION_COMMIT_DATE}";then
     20        echo "BUILD COMMIT DATE: ${SAMBA_VERSION_COMMIT_DATE}"
    2121fi
    22 SAMBA_VERSION_GIT_COMMIT_TIME=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_GIT_COMMIT_TIME' | cut -d ' ' -f3-`
    23 if test -n "${SAMBA_VERSION_GIT_COMMIT_TIME}";then
    24         echo "BUILD COMMIT TIME: ${SAMBA_VERSION_GIT_COMMIT_TIME}"
     22SAMBA_VERSION_COMMIT_TIME=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_COMMIT_TIME' | cut -d ' ' -f3-`
     23if test -n "${SAMBA_VERSION_COMMIT_TIME}";then
     24        echo "BUILD COMMIT TIME: ${SAMBA_VERSION_COMMIT_TIME}"
    2525
    2626        # just to keep the build-farm gui happy for now...
    27         echo "BUILD REVISION: ${SAMBA_VERSION_GIT_COMMIT_TIME}"
     27        echo "BUILD REVISION: ${SAMBA_VERSION_COMMIT_TIME}"
    2828fi
    2929
Note: See TracChangeset for help on using the changeset viewer.