Changeset 740 for vendor/current/source3/m4/aclocal.m4
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/m4/aclocal.m4
r478 r740 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],
Note:
See TracChangeset
for help on using the changeset viewer.