From c175d44072c6a54eb921a3c55fdc2bf2f7816ddd Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 2 Mar 2013 06:17:34 -0500 Subject: Auto-commit of generated files. --- autogen/config.in | 8 +++++++- autogen/configure | 13 +++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/autogen/config.in b/autogen/config.in index 10cc3c68196..12bfc70b090 100644 --- a/autogen/config.in +++ b/autogen/config.in @@ -1130,6 +1130,9 @@ along with GNU Emacs. If not, see . */ /* Define to 1 if you have the `_ftime' function. */ #undef HAVE__FTIME +/* Define to 1 if you have the `_putenv' function. */ +#undef HAVE__PUTENV + /* Define to 1 if _setjmp and _longjmp work. */ #undef HAVE__SETJMP @@ -1570,13 +1573,16 @@ along with GNU Emacs. If not, see . */ _GL_INLINE_HEADER_END contains useful stuff to put in the same include file, after uses of _GL_INLINE. + Suppress extern inline with HP-UX cc, as it appears to be broken; see + . + Suppress the use of extern inline on Apple's platforms, as Libc-825.25 (2012-09-19) is incompatible with it; see . Perhaps Apple will fix this some day. */ #if ((__GNUC__ \ ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ - : 199901L <= __STDC_VERSION__) \ + : 199901L <= __STDC_VERSION__ && !defined __HP_cc) \ && !defined __APPLE__) # define _GL_INLINE inline # define _GL_EXTERN_INLINE extern inline diff --git a/autogen/configure b/autogen/configure index b8ced336979..a1844067f9d 100755 --- a/autogen/configure +++ b/autogen/configure @@ -23273,6 +23273,19 @@ $as_echo "$gl_cv_func_svid_putenv" >&6; } gl_LIBOBJS="$gl_LIBOBJS putenv.$ac_objext" + + for ac_func in _putenv +do : + ac_fn_c_check_func "$LINENO" "_putenv" "ac_cv_func__putenv" +if test "x$ac_cv_func__putenv" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE__PUTENV 1 +_ACEOF + +fi +done + + fi -- cgit v1.2.1