extern char *optarg;
extern int optind;
#ifdef HAVE_OPTRESET
extern int optreset;
#endif
#ifdef UNIX_COMPAT
char* solaris_needs_strsep(char** str, char* delims)
* now use getopt to look for our problem option
*/
#ifdef HAVE_GETOPT
optreset=1;
#ifdef __GLIBC__
optind=0;
#else
optind=1;
/*
* tell getopt to only be strict if the 'opts' is well defined