summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-04-23 22:45:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:13 -0500
commite54c6cbc41ca1054856543c17d2ed80a395d29c7 (patch)
treed0a844008e4ded1899767cd4e969f2f5087a7c96 /source4/smbd
parent60f3ef505238aaceb40101d5e839d2e303c9c7bd (diff)
downloadsamba-e54c6cbc41ca1054856543c17d2ed80a395d29c7.tar.gz
samba-e54c6cbc41ca1054856543c17d2ed80a395d29c7.tar.bz2
samba-e54c6cbc41ca1054856543c17d2ed80a395d29c7.zip
r15182: make stuff more portable
metze (This used to be commit 2b0ce388a4d955ce9bf0cdb00a13cd82f8acc87d)
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process_model.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/smbd/process_model.m4 b/source4/smbd/process_model.m4
index 77dfe1f3b1..6f712a07b2 100644
--- a/source4/smbd/process_model.m4
+++ b/source4/smbd/process_model.m4
@@ -36,13 +36,13 @@ AC_ARG_WITH(setproctitle,
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
;;