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

oldstable
Alexandre Julliard 2004-02-13 22:41:32 +00:00
parent e56178d9d5
commit 69063fa035
2 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,10 @@
# include <config.h>
#endif
#ifdef HAVE_GETOPT_LONG
#define ELIDE_CODE
#endif
#if !defined __STDC__ || !__STDC__
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */

View File

@ -24,6 +24,10 @@
#include <config.h>
#endif
#ifdef HAVE_GETOPT_LONG
#define ELIDE_CODE
#endif
#ifdef _LIBC
# include <getopt.h>
#else