mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r15182: make stuff more portable
metze
This commit is contained in:
parent
3be3b1130c
commit
2b0ce388a4
@ -36,9 +36,9 @@ AC_ARG_WITH(setproctitle,
|
|||||||
AC_CHECK_LIB_EXT(setproctitle, SETPROCTITLE_LIBS, setproctitle)
|
AC_CHECK_LIB_EXT(setproctitle, SETPROCTITLE_LIBS, setproctitle)
|
||||||
])
|
])
|
||||||
AC_MSG_CHECKING(whether to use setproctitle)
|
AC_MSG_CHECKING(whether to use setproctitle)
|
||||||
if test x"$ac_cv_func_setproctitle" = x"yes" ||
|
if test x"$ac_cv_func_setproctitle" = x"yes" -o \
|
||||||
( x"$ac_cv_header_setproctitle_h" = x"yes" &&
|
\( x"$ac_cv_header_setproctitle_h" = x"yes" -a \
|
||||||
x"$ac_cv_lib_ext_setproctitle_setproctitle" = x"yes" ); then
|
x"$ac_cv_lib_ext_setproctitle_setproctitle" = x"yes" \) ; then
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
SMB_EXT_LIB_ENABLE(SETPROCTITLE, YES)
|
SMB_EXT_LIB_ENABLE(SETPROCTITLE, YES)
|
||||||
AC_DEFINE(HAVE_SETPROCTITLE,1,[Whether setproctitle() is available])
|
AC_DEFINE(HAVE_SETPROCTITLE,1,[Whether setproctitle() is available])
|
||||||
|
Loading…
Reference in New Issue
Block a user