Update configure script.

This commit is contained in:
Michael R Sweet 2023-12-10 15:38:35 -05:00
parent 2753a82eb9
commit cb6b493df6
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244

15
configure vendored
View File

@ -1898,7 +1898,9 @@ struct stat;
/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
struct buf { int x; };
struct buf * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (char **p, int i)
static char *e (p, i)
char **p;
int i;
{
return p[i];
}
@ -1949,7 +1951,6 @@ extern int puts (const char *);
extern int printf (const char *, ...);
extern int dprintf (int, const char *, ...);
extern void *malloc (size_t);
extern void free (void *);
// Check varargs macros. These examples are taken from C99 6.10.3.5.
// dprintf is used instead of fprintf to avoid needing to declare
@ -4054,14 +4055,8 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply.
The 'extern "C"' is for builds by C++ compilers;
although this is not generally supported in C code supporting it here
has little cost and some practical benefit (sr 110532). */
#ifdef __cplusplus
extern "C"
#endif
char inflateCopy (void);
builtin and then its argument prototype would still apply. */
char inflateCopy ();
int
main (void)
{