mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2024-12-26 05:18:21 +01:00
Update configure script.
This commit is contained in:
parent
2753a82eb9
commit
cb6b493df6
15
configure
vendored
15
configure
vendored
@ -1898,7 +1898,9 @@ struct stat;
|
|||||||
/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
|
/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
|
||||||
struct buf { int x; };
|
struct buf { int x; };
|
||||||
struct buf * (*rcsopen) (struct buf *, struct stat *, int);
|
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];
|
return p[i];
|
||||||
}
|
}
|
||||||
@ -1949,7 +1951,6 @@ extern int puts (const char *);
|
|||||||
extern int printf (const char *, ...);
|
extern int printf (const char *, ...);
|
||||||
extern int dprintf (int, const char *, ...);
|
extern int dprintf (int, const char *, ...);
|
||||||
extern void *malloc (size_t);
|
extern void *malloc (size_t);
|
||||||
extern void free (void *);
|
|
||||||
|
|
||||||
// Check varargs macros. These examples are taken from C99 6.10.3.5.
|
// Check varargs macros. These examples are taken from C99 6.10.3.5.
|
||||||
// dprintf is used instead of fprintf to avoid needing to declare
|
// 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.
|
/* Override any GCC internal prototype to avoid an error.
|
||||||
Use char because int might match the return type of a GCC
|
Use char because int might match the return type of a GCC
|
||||||
builtin and then its argument prototype would still apply.
|
builtin and then its argument prototype would still apply. */
|
||||||
The 'extern "C"' is for builds by C++ compilers;
|
char inflateCopy ();
|
||||||
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);
|
|
||||||
int
|
int
|
||||||
main (void)
|
main (void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user