From: Andrew Tridgell Date: Wed, 18 May 2005 04:28:49 +0000 (+0200) Subject: ran autoheader X-Git-Tag: v3.0pre0~207 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=317615e4cffaa9a6d7a8cc7dca43e4afbe757a8b;p=thirdparty%2Fccache.git ran autoheader --- diff --git a/config.h.in b/config.h.in index 286f0385c..f62239e07 100644 --- a/config.h.in +++ b/config.h.in @@ -19,6 +19,9 @@ /* Define to 1 if you have the `gethostname' function. */ #undef HAVE_GETHOSTNAME +/* Define to 1 if you have the `getpwuid' function. */ +#undef HAVE_GETPWUID + /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H @@ -31,6 +34,9 @@ /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_NDIR_H +/* Define to 1 if you have the header file. */ +#undef HAVE_PWD_H + /* Define to 1 if you have the `realpath' function. */ #undef HAVE_REALPATH @@ -98,3 +104,8 @@ /* Define _GNU_SOURCE so that we get all necessary prototypes */ #undef _GNU_SOURCE + +/* Define on UNIX to activate XPG/5 features. */ +#if !defined(_XOPEN_SOURCE) +# define _XOPEN_SOURCE 500 +#endif diff --git a/configure b/configure index 227567798..5586c37b5 100755 --- a/configure +++ b/configure @@ -2560,6 +2560,11 @@ cat >>confdefs.h <<\_ACEOF _ACEOF +# The definition of _GNU_SOURCE potentially causes a change of the value +# of _XOPEN_SOURCE. So define it only conditionally. + + + # If GCC, turn on warnings. if test "x$GCC" = "xyes" then