The Samba-Bugzilla – Attachment 1858 Details for
Bug 3689
setroctitle not detected if resides in libc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Detection of setproctitle() in libc
patch-smbd_process_model.m4 (text/plain), 926 bytes, created by
Timur Bakeyev
on 2006-04-15 23:04:48 UTC
(
hide
)
Description:
Detection of setproctitle() in libc
Filename:
MIME Type:
Creator:
Timur Bakeyev
Created:
2006-04-15 23:04:48 UTC
Size:
926 bytes
patch
obsolete
>--- smbd/process_model.m4.orig Sun Apr 16 02:21:24 2006 >+++ smbd/process_model.m4 Sun Apr 16 04:38:19 2006 >@@ -32,12 +32,15 @@ > yes) > AC_MSG_RESULT(yes) > AC_CHECK_HEADERS(setproctitle.h) >- AC_CHECK_LIB_EXT(setproctitle, SETPROCTITLE_LIBS, setproctitle) >+ AC_CHECK_FUNC(setproctitle, [], [ >+ AC_CHECK_LIB_EXT(setproctitle, SETPROCTITLE_LIBS, setproctitle) >+ ]) > AC_MSG_CHECKING(whether to use setproctitle) >- if test x"$ac_cv_header_setproctitle_h" = x"yes" -a \ >- x"$ac_cv_lib_ext_setproctitle_setproctitle" = x"yes"; then >+ 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 > 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]) > else > AC_MSG_RESULT(no)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3689
: 1858 |
1859