svn commit: samba r15182 - in branches/SAMBA_4_0/source/smbd: .
metze at samba.org
metze at samba.org
Sun Apr 23 22:45:56 GMT 2006
Author: metze
Date: 2006-04-23 22:45:54 +0000 (Sun, 23 Apr 2006)
New Revision: 15182
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15182
Log:
make stuff more portable
metze
Modified:
branches/SAMBA_4_0/source/smbd/process_model.m4
Changeset:
Modified: branches/SAMBA_4_0/source/smbd/process_model.m4
===================================================================
--- branches/SAMBA_4_0/source/smbd/process_model.m4 2006-04-23 17:22:32 UTC (rev 15181)
+++ branches/SAMBA_4_0/source/smbd/process_model.m4 2006-04-23 22:45:54 UTC (rev 15182)
@@ -36,13 +36,13 @@
AC_CHECK_LIB_EXT(setproctitle, SETPROCTITLE_LIBS, setproctitle)
])
AC_MSG_CHECKING(whether to use setproctitle)
- if test x"$ac_cv_func_setproctitle" = x"yes" ||
- ( x"$ac_cv_header_setproctitle_h" = x"yes" &&
- x"$ac_cv_lib_ext_setproctitle_setproctitle" = x"yes" ); then
+ if test x"$ac_cv_func_setproctitle" = x"yes" -o \
+ \( x"$ac_cv_header_setproctitle_h" = x"yes" -a \
+ x"$ac_cv_lib_ext_setproctitle_setproctitle" = x"yes" \) ; then
AC_MSG_RESULT(yes)
SMB_EXT_LIB_ENABLE(SETPROCTITLE, YES)
AC_DEFINE(HAVE_SETPROCTITLE,1,[Whether setproctitle() is available])
- else
+ else
AC_MSG_RESULT(no)
fi
;;
More information about the samba-cvs
mailing list