From 387d65cb53e6f9e8527ba690403baa264e041bfd Mon Sep 17 00:00:00 2001 From: erg Date: Mon, 25 Jun 2007 18:44:55 +0000 Subject: [PATCH] Add test for HAVE_CONFIG_DECL --- config.iffe | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/config.iffe b/config.iffe index e6fe5ef50..940eb0a3f 100644 --- a/config.iffe +++ b/config.iffe @@ -103,6 +103,20 @@ link{ #define HAVE_INTPTR_T 1 }end +link{ + #include + #include + #if HAVE_UNISTD_H + #include + #endif + int main () { + if ( optopt ) exit(0); else exit(1); + } +}end yes{ +/* Define if getopt externs are declared */ +#define HAVE_GETOPT_DECL 1 +}end + link{ #if HAVE_NETDB_H #include -- 2.40.0