Commit 69063fa0 authored by Alexandre Julliard's avatar Alexandre Julliard

Don't build getopt at all if it's not needed.

parent e56178d9
...@@ -33,6 +33,10 @@ ...@@ -33,6 +33,10 @@
# include <config.h> # include <config.h>
#endif #endif
#ifdef HAVE_GETOPT_LONG
#define ELIDE_CODE
#endif
#if !defined __STDC__ || !__STDC__ #if !defined __STDC__ || !__STDC__
/* This is a separate conditional since some stdc systems /* This is a separate conditional since some stdc systems
reject `defined (const)'. */ reject `defined (const)'. */
......
...@@ -24,6 +24,10 @@ ...@@ -24,6 +24,10 @@
#include <config.h> #include <config.h>
#endif #endif
#ifdef HAVE_GETOPT_LONG
#define ELIDE_CODE
#endif
#ifdef _LIBC #ifdef _LIBC
# include <getopt.h> # include <getopt.h>
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment