From d2065e0c9cee6ddac82ab12bdb887f3813691e34 Mon Sep 17 00:00:00 2001 From: sabetts Date: Thu, 6 Sep 2001 06:38:53 +0000 Subject: * configure.in: check for getopt and getopt_long. * src/getopt.c: wrap the whole file in an #ifndef HAVE_GETOPT_LONG * src/getopt1.c: wrap the whole file in an #ifndef HAVE_GETOPT_LONG --- src/getopt1.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/getopt1.c') diff --git a/src/getopt1.c b/src/getopt1.c index af8e681..d872f65 100644 --- a/src/getopt1.c +++ b/src/getopt1.c @@ -19,10 +19,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + #ifdef HAVE_CONFIG_H #include #endif +#ifndef HAVE_GETOPT_LONG + #include "getopt.h" #if !defined (__STDC__) || !__STDC__ @@ -187,3 +190,5 @@ main (argc, argv) } #endif /* TEST */ + +#endif /* HAVE_GETOPT_LONG */ -- cgit v1.2.3