aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--awk.h4
-rw-r--r--configh.in6
-rwxr-xr-xconfigure19
-rw-r--r--configure.ac1
5 files changed, 6 insertions, 30 deletions
diff --git a/ChangeLog b/ChangeLog
index 88bf4c21..7a0e6da8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-12-16 Arnold D. Robbins <arnold@skeeve.com>
+
+ * configure.ac (AC_FUNC_VPRINTF): Remove. Not needed on current
+ systems.
+ * awk.h (HAVE_VPRINTF): Remove check.
+
2013-12-10 Scott Deifik <scottd.mail@sbcglobal.net>
* io.c (closemaybesocket): Add definition for DJGPP.
diff --git a/awk.h b/awk.h
index 469d6b63..1414358c 100644
--- a/awk.h
+++ b/awk.h
@@ -180,10 +180,6 @@ typedef int off_t;
#define O_BINARY 0
#endif
-#ifndef HAVE_VPRINTF
-#error "you lose: you need a system with vfprintf"
-#endif /* HAVE_VPRINTF */
-
#ifndef HAVE_SETLOCALE
#define setlocale(locale, val) /* nothing */
#endif /* HAVE_SETLOCALE */
diff --git a/configh.in b/configh.in
index a535fd4b..bfffd853 100644
--- a/configh.in
+++ b/configh.in
@@ -42,9 +42,6 @@
*/
#undef HAVE_DECL_TZNAME
-/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
-#undef HAVE_DOPRNT
-
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
@@ -296,9 +293,6 @@
/* Define to 1 if you have the `usleep' function. */
#undef HAVE_USLEEP
-/* Define to 1 if you have the `vprintf' function. */
-#undef HAVE_VPRINTF
-
/* Define to 1 if you have the <wchar.h> header file. */
#undef HAVE_WCHAR_H
diff --git a/configure b/configure
index a9217e0d..5959d02f 100755
--- a/configure
+++ b/configure
@@ -8980,25 +8980,6 @@ fi
-for ac_func in vprintf
-do :
- ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
-if test "x$ac_cv_func_vprintf" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_VPRINTF 1
-_ACEOF
-
-ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
-if test "x$ac_cv_func__doprnt" = xyes; then :
-
-$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
-
-fi
-
-fi
-done
-
-
diff --git a/configure.ac b/configure.ac
index 28d4f7d8..02267978 100644
--- a/configure.ac
+++ b/configure.ac
@@ -247,7 +247,6 @@ dnl Check for C11 _Noreturn
GAWK_AC_NORETURN
dnl checks for functions
-AC_FUNC_VPRINTF
AC_FUNC_MKTIME
case "$ac_cv_func_working_mktime" in
yes) AC_DEFINE(HAVE_MKTIME, 1, [we have the mktime function])