Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
f6598a69
Commit
f6598a69
authored
Oct 20, 1998
by
Kurt Zeilenga
Browse files
Add getopt detection.
parent
6880f37f
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/ac/unistd.h
View file @
f6598a69
...
...
@@ -3,11 +3,24 @@
#ifndef _AC_UNISTD_H
#define _AC_UNISTD_H
#if HAVE_
UNISTD
_H
#if HAVE_
SYS_TYPES
_H
# include <sys/types.h>
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
/* getopt() defines may be in separate include file */
#if HAVE_GETOPT_H
# include <getopt.h>
#endif
#ifndef HAVE_GETOPT
/* no getopt, assume we need getopt-compat.h */
# include <getopt-compat.h>
#endif
/* use _POSIX_VERSION for POSIX.1 code */
#endif
/* _AC_UNISTD_H */
include/portable.h.in
View file @
f6598a69
...
...
@@ -230,6 +230,9 @@ is provided ``as is'' without express or implied warranty.
/* Define if you have the gethostname function. */
#undef HAVE_GETHOSTNAME
/* Define if you have the getopt function. */
#undef HAVE_GETOPT
/* Define if you have the gettimeofday function. */
#undef HAVE_GETTIMEOFDAY
...
...
@@ -323,6 +326,9 @@ is provided ``as is'' without express or implied warranty.
/* Define if you have the <gdbm.h> header file. */
#undef HAVE_GDBM_H
/* Define if you have the <getopt.h> header file. */
#undef HAVE_GETOPT_H
/* Define if you have the <kerberosIV/des.h> header file. */
#undef HAVE_KERBEROSIV_DES_H
...
...
include/portable.h.nt
View file @
f6598a69
...
...
@@ -245,6 +245,9 @@ typedef char * caddr_t;
/* Define if you have the gethostname function. */
#define HAVE_GETHOSTNAME 1
/* define if you have the getopt function */
#undef HAVE_GETOPT
/* Define if you have the gettimeofday function. */
#undef HAVE_GETTIMEOFDAY
...
...
@@ -285,7 +288,7 @@ typedef char * caddr_t;
#undef HAVE_SIGSET
/* Define if you have the socket function. */
#
un
def HAVE_SOCKET
#def
ine
HAVE_SOCKET
1
/* Define if you have the strdup function. */
#define HAVE_STRDUP 1
...
...
@@ -338,6 +341,9 @@ typedef char * caddr_t;
/* Define if you have the <gdbm.h> header file. */
#undef HAVE_GDBM_H
/* Define if you have the <getopt.h> header file. */
#undef HAVE_GETOPT_H
/* Define if you have the <kerberosIV/des.h> header file. */
#undef HAVE_KERBEROSIV_DES_H
...
...
@@ -405,7 +411,7 @@ typedef char * caddr_t;
#undef HAVE_SYS_PARAM_H
/* Define if you have the <sys/socket.h> header file. */
#def
ine
HAVE_SYS_SOCKET_H
1
#
un
def HAVE_SYS_SOCKET_H
/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment