From: erg Date: Mon, 25 Jun 2007 18:44:55 +0000 (+0000) Subject: Add test for HAVE_CONFIG_DECL X-Git-Tag: LAST_LIBGRAPH~32^2~5532 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=387d65cb53e6f9e8527ba690403baa264e041bfd;p=graphviz Add test for HAVE_CONFIG_DECL --- 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