Changeset 745 for trunk/server/source3/m4
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source3/m4/aclocal.m4
r480 r745 33 33 elif test x"$DEST" = xSTATIC; then 34 34 [init_static_modules_]translit([$4], [A-Z], [a-z])="$[init_static_modules_]translit([$4], [A-Z], [a-z]) $1_init();" 35 35 [decl_static_modules_]translit([$4], [A-Z], [a-z])="$[decl_static_modules_]translit([$4], [A-Z], [a-z]) extern NTSTATUS $1_init(void);" 36 36 string_static_modules="$string_static_modules $1" 37 37 $4_STATIC="$$4_STATIC $2" … … 55 55 56 56 57 dnl SMB_LIBRARY(name, version, default, reason)57 dnl SMB_LIBRARY(name, soversion, fullversion, default, reason) 58 58 dnl 59 59 dnl configure build and use of an (internal) shared library … … 75 75 76 76 m4_if([$2], [], [LIBUC[_SOVER]=0], [LIBUC[_SOVER]=$2]) 77 m4_if([$3], [], [LIBUC[_FULLVER]=$LIBUC[_SOVER]], [LIBUC[_FULLVER]=$3]) 77 78 78 79 AC_SUBST(LIBUC[_SHARED_TARGET]) … … 85 86 AC_SUBST([UNINSTALL_]LIBUC) 86 87 AC_SUBST(LIBUC[_SOVER]) 88 AC_SUBST(LIBUC[_FULLVER]) 87 89 88 90 AC_MSG_CHECKING([whether to build the LIBNAME shared library]) 89 m4_if([$ 3], [no], [91 m4_if([$4], [no], [ 90 92 dnl set the default to not build the shared lib 91 93 AC_ARG_WITH(LIBNAME, 92 94 AS_HELP_STRING([--with-]LIBNAME, 93 m4_if([$ 4], [],95 m4_if([$5], [], 94 96 [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))])), 96 98 [ 97 99 case "$withval" in … … 792 794 ]) 793 795 794 dnl SMB_CHECK_CLOCK_ID(clockid)795 dnl Test whether the specified clock_gettime clock ID is available. If it796 dnl is, we define HAVE_clockid797 AC_DEFUN([SMB_CHECK_CLOCK_ID],798 [799 AC_MSG_CHECKING(for $1)800 AC_TRY_LINK([801 #if TIME_WITH_SYS_TIME802 # include <sys/time.h>803 # include <time.h>804 #else805 # if HAVE_SYS_TIME_H806 # include <sys/time.h>807 # else808 # include <time.h>809 # endif810 #endif811 ],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 825 796 dnl SMB_IF_RTSIGNAL_BUG([actions if true], 826 797 dnl [actions if false], -
trunk/server/source3/m4/check_path.m4
r414 r745 20 20 piddir="\${VARDIR}/locks" 21 21 ncalrpcdir="\${VARDIR}/ncalrpc" 22 nmbdsocketdir="\${VARDIR}/nmbd" 22 23 test "${mandir}" || mandir="\${prefix}/man" 23 24 logfilebase="\${VARDIR}" … … 167 168 168 169 ################################################# 170 # set nmbd socket directory location 171 AC_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 ################################################# 169 186 # set SWAT directory location 170 187 AC_ARG_WITH(swatdir, … … 299 316 AC_SUBST(lockdir) 300 317 AC_SUBST(piddir) 318 AC_SUBST(nmbdsocketdir) 301 319 AC_SUBST(ncalrpcdir) 302 320 AC_SUBST(logfilebase) -
trunk/server/source3/m4/samba_version.m4
r414 r745 16 16 echo "BUILD COMMIT REVISION: ${SAMBA_VERSION_GIT_COMMIT_FULLREV}" 17 17 fi 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}";then20 echo "BUILD COMMIT DATE: ${SAMBA_VERSION_ GIT_COMMIT_DATE}"18 SAMBA_VERSION_COMMIT_DATE=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_COMMIT_DATE' | cut -d ' ' -f3-` 19 if test -n "${SAMBA_VERSION_COMMIT_DATE}";then 20 echo "BUILD COMMIT DATE: ${SAMBA_VERSION_COMMIT_DATE}" 21 21 fi 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}";then24 echo "BUILD COMMIT TIME: ${SAMBA_VERSION_ GIT_COMMIT_TIME}"22 SAMBA_VERSION_COMMIT_TIME=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_COMMIT_TIME' | cut -d ' ' -f3-` 23 if test -n "${SAMBA_VERSION_COMMIT_TIME}";then 24 echo "BUILD COMMIT TIME: ${SAMBA_VERSION_COMMIT_TIME}" 25 25 26 26 # 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}" 28 28 fi 29 29
Note:
See TracChangeset
for help on using the changeset viewer.