1999-12-02 02:42:23 -05:00
|
|
|
/* Configuration header file.
|
2001-05-27 15:35:15 -04:00
|
|
|
Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001
|
|
|
|
Free Software Foundation, Inc.
|
1999-12-02 02:42:23 -05:00
|
|
|
|
2001-05-27 15:35:15 -04:00
|
|
|
This file is part of GNU Wget.
|
1999-12-02 02:42:23 -05:00
|
|
|
|
2001-05-27 15:35:15 -04:00
|
|
|
GNU Wget is free software; you can redistribute it and/or modify
|
1999-12-02 02:42:23 -05:00
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
2001-05-27 15:35:15 -04:00
|
|
|
GNU Wget is distributed in the hope that it will be useful,
|
1999-12-02 02:42:23 -05:00
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
2001-05-27 15:35:15 -04:00
|
|
|
along with Wget; if not, write to the Free Software
|
1999-12-02 02:42:23 -05:00
|
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|
|
|
|
|
|
|
#ifndef CONFIG_H
|
|
|
|
#define CONFIG_H
|
|
|
|
|
|
|
|
/* Define if you have the <alloca.h> header file. */
|
|
|
|
#undef HAVE_ALLOCA_H
|
|
|
|
|
|
|
|
/* AIX requires this to be the first thing in the file. */
|
|
|
|
#ifdef __GNUC__
|
|
|
|
# define alloca __builtin_alloca
|
|
|
|
#else
|
|
|
|
# if HAVE_ALLOCA_H
|
|
|
|
# include <alloca.h>
|
|
|
|
# else
|
|
|
|
# ifdef _AIX
|
|
|
|
#pragma alloca
|
|
|
|
# else
|
|
|
|
# ifndef alloca /* predefined by HP cc +Olibcalls */
|
|
|
|
char *alloca ();
|
|
|
|
# endif
|
|
|
|
# endif
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Define if on AIX 3.
|
|
|
|
System headers sometimes define this.
|
|
|
|
We just want to avoid a redefinition error message. */
|
|
|
|
#ifndef _ALL_SOURCE
|
|
|
|
#undef _ALL_SOURCE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Define to empty if the keyword does not work. */
|
|
|
|
#undef const
|
|
|
|
|
2001-04-12 20:34:24 -04:00
|
|
|
/* Define to empty or __inline__ or __inline. */
|
|
|
|
#undef inline
|
|
|
|
|
1999-12-02 02:42:23 -05:00
|
|
|
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
|
|
|
#undef size_t
|
|
|
|
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
|
|
#undef pid_t
|
|
|
|
|
|
|
|
/* Define if you have the ANSI C header files. */
|
|
|
|
#undef STDC_HEADERS
|
|
|
|
|
|
|
|
/* Define as the return type of signal handlers (int or void). */
|
|
|
|
#undef RETSIGTYPE
|
|
|
|
|
|
|
|
/* Define if your architecture is big endian (with the most
|
|
|
|
significant byte first). */
|
|
|
|
#undef WORDS_BIGENDIAN
|
|
|
|
|
2000-11-01 16:51:25 -05:00
|
|
|
/* Define to the length of long. */
|
|
|
|
#undef SIZEOF_LONG
|
|
|
|
|
|
|
|
/* Define to the length of long long. */
|
|
|
|
#undef SIZEOF_LONG_LONG
|
|
|
|
|
|
|
|
#undef HAVE_LONG_LONG
|
|
|
|
#if SIZEOF_LONG_LONG != 0
|
|
|
|
# define HAVE_LONG_LONG
|
|
|
|
#endif
|
|
|
|
|
1999-12-02 02:42:23 -05:00
|
|
|
/* Define this if you want the NLS support. */
|
|
|
|
#undef HAVE_NLS
|
|
|
|
|
|
|
|
/* Define if you want the FTP support for Opie compiled in. */
|
|
|
|
#undef USE_OPIE
|
|
|
|
|
|
|
|
/* Define if you want the HTTP Digest Authorization compiled in. */
|
|
|
|
#undef USE_DIGEST
|
|
|
|
|
|
|
|
/* Define if you want the debug output support compiled in. */
|
|
|
|
#undef DEBUG
|
|
|
|
|
|
|
|
/* Define if you have sys/time.h header. */
|
|
|
|
#undef HAVE_SYS_TIME_H
|
|
|
|
|
|
|
|
/* Define if you can safely include both <sys/time.h> and <time.h>. */
|
|
|
|
#undef TIME_WITH_SYS_TIME
|
|
|
|
|
|
|
|
/* Define if you have struct utimbuf. */
|
|
|
|
#undef HAVE_STRUCT_UTIMBUF
|
|
|
|
|
|
|
|
/* Define if you have the uname function. */
|
|
|
|
#undef HAVE_UNAME
|
|
|
|
|
2000-11-19 15:50:10 -05:00
|
|
|
/* Define if you have a working version of mmap. */
|
|
|
|
#undef HAVE_MMAP
|
|
|
|
|
1999-12-02 02:42:23 -05:00
|
|
|
/* Define if you have the gethostname function. */
|
|
|
|
#undef HAVE_GETHOSTNAME
|
|
|
|
|
|
|
|
/* Define if you have the select function. */
|
|
|
|
#undef HAVE_SELECT
|
|
|
|
|
|
|
|
/* Define if you have the gettimeofday function. */
|
|
|
|
#undef HAVE_GETTIMEOFDAY
|
|
|
|
|
|
|
|
/* Define if you have the strdup function. */
|
|
|
|
#undef HAVE_STRDUP
|
|
|
|
|
|
|
|
/* Define if you have the sys/utsname.h header. */
|
|
|
|
#undef HAVE_SYS_UTSNAME_H
|
|
|
|
|
|
|
|
/* Define if you have the strerror function. */
|
|
|
|
#undef HAVE_STRERROR
|
|
|
|
|
2000-11-04 23:38:31 -05:00
|
|
|
/* Define if you have the snprintf function. */
|
|
|
|
#undef HAVE_SNPRINTF
|
|
|
|
|
1999-12-02 02:42:23 -05:00
|
|
|
/* Define if you have the vsnprintf function. */
|
|
|
|
#undef HAVE_VSNPRINTF
|
|
|
|
|
|
|
|
/* Define if you have the strstr function. */
|
|
|
|
#undef HAVE_STRSTR
|
|
|
|
|
|
|
|
/* Define if you have the strcasecmp function. */
|
|
|
|
#undef HAVE_STRCASECMP
|
|
|
|
|
|
|
|
/* Define if you have the strncasecmp function. */
|
|
|
|
#undef HAVE_STRNCASECMP
|
|
|
|
|
|
|
|
/* Define if you have the strptime function. */
|
|
|
|
#undef HAVE_STRPTIME
|
|
|
|
|
|
|
|
/* Define if you have the mktime function. */
|
|
|
|
#undef HAVE_MKTIME
|
|
|
|
|
|
|
|
/* Define if you have the symlink function. */
|
|
|
|
#undef HAVE_SYMLINK
|
|
|
|
|
|
|
|
/* Define if you have the access function. */
|
|
|
|
#undef HAVE_ACCESS
|
|
|
|
|
|
|
|
/* Define if you have the isatty function. */
|
|
|
|
#undef HAVE_ISATTY
|
|
|
|
|
|
|
|
/* Define if you have the signal function. */
|
|
|
|
#undef HAVE_SIGNAL
|
|
|
|
|
|
|
|
/* Define if you have the gettext function. */
|
|
|
|
#undef HAVE_GETTEXT
|
|
|
|
|
|
|
|
/* Define if you have the <string.h> header file. */
|
|
|
|
#undef HAVE_STRING_H
|
|
|
|
|
|
|
|
/* Define if you have the <stdarg.h> header file. */
|
|
|
|
#undef HAVE_STDARG_H
|
|
|
|
|
|
|
|
/* Define if you have the <unistd.h> header file. */
|
|
|
|
#undef HAVE_UNISTD_H
|
|
|
|
|
|
|
|
/* Define if you have the <utime.h> header file. */
|
|
|
|
#undef HAVE_UTIME_H
|
|
|
|
|
|
|
|
/* Define if you have the <sys/utime.h> header file. */
|
|
|
|
#undef HAVE_SYS_UTIME_H
|
|
|
|
|
|
|
|
/* Define if you have the <sys/select.h> header file. */
|
|
|
|
#undef HAVE_SYS_SELECT_H
|
|
|
|
|
|
|
|
/* Define if you have the <pwd.h> header file. */
|
|
|
|
#undef HAVE_PWD_H
|
|
|
|
|
|
|
|
/* Define if you have the <signal.h> header file. */
|
|
|
|
#undef HAVE_SIGNAL_H
|
|
|
|
|
|
|
|
/* Define if you have the <libintl.h> header file. */
|
|
|
|
#undef HAVE_LIBINTL_H
|
|
|
|
|
|
|
|
/* Define if you have the <locale.h> header file. */
|
|
|
|
#undef HAVE_LOCALE_H
|
|
|
|
|
|
|
|
/* Define to be the name of the operating system. */
|
|
|
|
#undef OS_TYPE
|
|
|
|
|
|
|
|
/* Define if you wish to compile with socks support. */
|
|
|
|
#undef HAVE_SOCKS
|
|
|
|
|
|
|
|
/* Define to 1 if ANSI function prototypes are usable. */
|
|
|
|
#undef PROTOTYPES
|
|
|
|
|
2001-04-05 23:41:59 -04:00
|
|
|
/* Define if all libs needed for ssl support are existing */
|
|
|
|
#undef HAVE_SSL
|
2000-11-06 16:24:57 -05:00
|
|
|
|
2001-11-17 23:36:21 -05:00
|
|
|
/* Define if we're compiling in support for MD5. */
|
|
|
|
#undef HAVE_MD5
|
|
|
|
|
|
|
|
/* Define if we're using Solaris libmd5. */
|
|
|
|
#undef HAVE_SOLARIS_MD5
|
|
|
|
|
|
|
|
/* Define if we're using builtin (GNU) md5.c. */
|
|
|
|
#undef HAVE_BUILTIN_MD5
|
|
|
|
|
2001-04-06 00:44:04 -04:00
|
|
|
/* First a gambit to see whether we're on Solaris. We'll
|
|
|
|
need it below. */
|
|
|
|
#ifdef __sun
|
|
|
|
# ifdef __SVR4
|
|
|
|
# define solaris
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2001-04-05 23:41:59 -04:00
|
|
|
/* The following several lines can be very dangerous; they can cripple
|
2001-04-06 00:44:04 -04:00
|
|
|
the header files and break compilation in _verY_ non-obvious ways.
|
|
|
|
Because of that, we define them only on architectures we know
|
|
|
|
about. */
|
|
|
|
|
|
|
|
#undef NAMESPACE_TWEAKS
|
|
|
|
|
|
|
|
#ifdef solaris
|
|
|
|
# define NAMESPACE_TWEAKS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __linux__
|
|
|
|
# define NAMESPACE_TWEAKS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef NAMESPACE_TWEAKS
|
2000-11-06 16:24:57 -05:00
|
|
|
|
2001-04-05 23:41:59 -04:00
|
|
|
/* Request the "Unix 98 compilation environment". */
|
|
|
|
#define _XOPEN_SOURCE 500
|
2000-11-15 13:10:01 -05:00
|
|
|
|
2001-04-05 23:41:59 -04:00
|
|
|
/* For Solaris: request everything else that is available and doesn't
|
|
|
|
conflict with the above. */
|
|
|
|
#define __EXTENSIONS__
|
2000-11-06 16:24:57 -05:00
|
|
|
|
2001-04-05 23:41:59 -04:00
|
|
|
/* For Linux: request features of 4.3BSD and SVID (System V Interface
|
|
|
|
Definition). */
|
|
|
|
#define _SVID_SOURCE
|
|
|
|
#define _BSD_SOURCE
|
2000-12-05 18:09:41 -05:00
|
|
|
|
2001-04-06 00:44:04 -04:00
|
|
|
#endif /* NAMESPACE_TWEAKS */
|
|
|
|
|
1999-12-02 02:42:23 -05:00
|
|
|
#endif /* CONFIG_H */
|