The Samba-Bugzilla – Attachment 901 Details for
Bug 2264
On FreeBSD getopt() requires initialisation of optreset variable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Check, that optreset variable is declared.
patch-configure.in (text/plain), 647 bytes, created by
Timur Bakeyev
on 2005-01-19 21:19:14 UTC
(
hide
)
Description:
Check, that optreset variable is declared.
Filename:
MIME Type:
Creator:
Timur Bakeyev
Created:
2005-01-19 21:19:14 UTC
Size:
647 bytes
patch
obsolete
>--- configure.in.orig Tue Nov 16 04:03:30 2004 >+++ configure.in Fri Nov 26 02:04:59 2004 >@@ -829,6 +831,13 @@ > AC_DEFINE(HAVE_SIG_ATOMIC_T_TYPE,1,[Whether we have the atomic_t variable type]) > fi > >+AC_CACHE_CHECK([for optreset], samba_cv_var_optreset, [ >+ AC_TRY_LINK([#include <unistd.h>],[optreset = 1], >+ [samba_cv_var_optreset=yes],[samba_cv_var_optreset=no])]) >+if test x"$samba_cv_var_optreset" = x"yes"; then >+ AC_DEFINE(HAVE_OPTRESET,1,[Whether the system has optreset]) >+fi >+ > # stupid headers have the functions but no declaration. grrrr. > AC_HAVE_DECL(errno, [#include <errno.h>]) > AC_HAVE_DECL(setresuid, [#include <unistd.h>])
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 2264
: 901 |
902