This commit is contained in:
christos 2017-10-02 22:21:31 +00:00
parent 692f2d0a6f
commit cd84452b4c
2 changed files with 45 additions and 11 deletions

View File

@ -4097,7 +4097,7 @@ fi
fi
for ac_header in sys/mtio.h sys/sysmacros.h sys/syslimits.h \
for ac_header in sys/mtio.h sys/sysmacros.h sys/syslimits.h stdio_ext.h \
getopt.h features.h malloc.h sys/poll.h pthread.h stddef.h rpc/types.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
@ -4572,19 +4572,44 @@ fi
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_FGETLN $ac_have_decl
_ACEOF
ac_fn_c_check_decl "$LINENO" "fparseln
getdelim" "ac_cv_have_decl_fparseln__getdelim" "
ac_fn_c_check_decl "$LINENO" "fparseln" "ac_cv_have_decl_fparseln" "
#include <stdio.h>
"
if test "x$ac_cv_have_decl_fparseln__getdelim" = xyes; then :
if test "x$ac_cv_have_decl_fparseln" = xyes; then :
ac_have_decl=1
else
ac_have_decl=0
fi
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_FPARSELN__GETDELIM $ac_have_decl
#define HAVE_DECL_FPARSELN $ac_have_decl
_ACEOF
ac_fn_c_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" "
#include <stdio.h>
"
if test "x$ac_cv_have_decl_fpurge" = xyes; then :
ac_have_decl=1
else
ac_have_decl=0
fi
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_FPURGE $ac_have_decl
_ACEOF
ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "
#include <stdio.h>
"
if test "x$ac_cv_have_decl_getdelim" = xyes; then :
ac_have_decl=1
else
ac_have_decl=0
fi
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_GETDELIM $ac_have_decl
_ACEOF
ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "
#include <stdio.h>
@ -4974,8 +4999,6 @@ else
# ifdef _MSC_VER
# include <malloc.h>
# define alloca _alloca
# elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
# include <stdlib.h>
# else
# ifdef HAVE_ALLOCA_H
# include <alloca.h>

View File

@ -1,6 +1,6 @@
/* nbtool_config.h.in. Generated from configure.ac by autoheader. */
/* $NetBSD: nbtool_config.h.in,v 1.40 2017/01/07 21:31:07 christos Exp $ */
/* $NetBSD: nbtool_config.h.in,v 1.41 2017/10/02 22:21:31 christos Exp $ */
#ifndef __NETBSD_NBTOOL_CONFIG_H__
#define __NETBSD_NBTOOL_CONFIG_H__
@ -126,14 +126,22 @@
*/
#undef HAVE_DECL_FGETLN
/* Define to 1 if you have the declaration of `fparseln getdelim', and to 0 if
you don't. */
#undef HAVE_DECL_FPARSELN__GETDELIM
/* Define to 1 if you have the declaration of `fparseln', and to 0 if you
don't. */
#undef HAVE_DECL_FPARSELN
/* Define to 1 if you have the declaration of `fpurge', and to 0 if you don't.
*/
#undef HAVE_DECL_FPURGE
/* Define to 1 if you have the declaration of `fstatvfs', and to 0 if you
don't. */
#undef HAVE_DECL_FSTATVFS
/* Define to 1 if you have the declaration of `getdelim', and to 0 if you
don't. */
#undef HAVE_DECL_GETDELIM
/* Define to 1 if you have the declaration of `getline', and to 0 if you
don't. */
#undef HAVE_DECL_GETLINE
@ -613,6 +621,9 @@
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdio_ext.h> header file. */
#undef HAVE_STDIO_EXT_H
/* Define to 1 if you have the <stdio.h> header file. */
#undef HAVE_STDIO_H