summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@courtesan.com>2013-08-16 13:50:48 -0600
committerTodd C. Miller <Todd.Miller@courtesan.com>2013-08-16 13:50:48 -0600
commit39f80e9e5e09566593c2e8bcde7280bca2aa118c (patch)
treedda7dd05c4320938e0eafb7d7e51dbc8b55add10 /config.h.in
parent795188a4413bf479c0bd01e00b22f2d5e47706c9 (diff)
downloadsudo-39f80e9e5e09566593c2e8bcde7280bca2aa118c.tar.gz
Don't redefine opterr, optind, optopt, optarg in getopt_long.c.
Add a check for optreset which is a BSD extension and provide a definition in getopt_long.c if it is not present.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 483d76f9c..a28142c9a 100644
--- a/config.h.in
+++ b/config.h.in
@@ -412,6 +412,9 @@
/* Define to 1 if you use NRL OPIE. */
#undef HAVE_OPIE
+/* Define to 1 if you have the `optreset' symbol. */
+#undef HAVE_OPTRESET
+
/* Define to 1 if you use PAM authentication. */
#undef HAVE_PAM