2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

Add print.c

Remove vsnprintf.c
This commit is contained in:
Mark Andrews 1999-09-14 04:28:07 +00:00
parent 34884bf789
commit f7bf83d0cc
2 changed files with 15 additions and 12 deletions

14
configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# From configure.in Revision: 1.54 # From configure.in Revision: 1.55
@ -2799,12 +2799,12 @@ fi
if eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then if eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
ISC_NEED_VSNPRINTF="#undef ISC_NEED_VSNPRINTF" ISC_PRINT_NEEDVSNPRINTF="#undef ISC_PRINT_NEEDVSNPRINTF"
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS vsnprintf.$O" ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS print.$O"
ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS vsnprintf.c" ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS print.c"
ISC_NEEDVSNPRINTF="#define ISC_NEED_VSNPRINTF 1" ISC_PRINT_NEEDVSNPRINTF="#define ISC_PRINT_NEEDVSNPRINTF 1"
fi fi
@ -2938,6 +2938,7 @@ trap 'rm -fr `echo "make/rules
lib/isc/Makefile lib/isc/Makefile
lib/isc/include/Makefile lib/isc/include/Makefile
lib/isc/include/isc/Makefile lib/isc/include/isc/Makefile
lib/isc/include/isc/print.h
lib/isc/unix/Makefile lib/isc/unix/Makefile
lib/isc/unix/include/Makefile lib/isc/unix/include/Makefile
lib/isc/unix/include/isc/Makefile lib/isc/unix/include/isc/Makefile
@ -3044,7 +3045,7 @@ s%@ISC_IPV6_C@%$ISC_IPV6_C%g
s%@ISC_NET_NEEDNTOP@%$ISC_NET_NEEDNTOP%g s%@ISC_NET_NEEDNTOP@%$ISC_NET_NEEDNTOP%g
s%@ISC_NET_NEEDPTON@%$ISC_NET_NEEDPTON%g s%@ISC_NET_NEEDPTON@%$ISC_NET_NEEDPTON%g
s%@ISC_NET_NEEDATON@%$ISC_NET_NEEDATON%g s%@ISC_NET_NEEDATON@%$ISC_NET_NEEDATON%g
s%@ISC_NEED_VSNPRINTF@%$ISC_NEED_VSNPRINTF%g s%@ISC_PRINT_NEEDVSNPRINTF@%$ISC_PRINT_NEEDVSNPRINTF%g
s%@ISC_EXTRA_OBJS@%$ISC_EXTRA_OBJS%g s%@ISC_EXTRA_OBJS@%$ISC_EXTRA_OBJS%g
s%@ISC_EXTRA_SRCS@%$ISC_EXTRA_SRCS%g s%@ISC_EXTRA_SRCS@%$ISC_EXTRA_SRCS%g
s%@BIND9_TOP_BUILDDIR@%$BIND9_TOP_BUILDDIR%g s%@BIND9_TOP_BUILDDIR@%$BIND9_TOP_BUILDDIR%g
@ -3105,6 +3106,7 @@ CONFIG_FILES=\${CONFIG_FILES-"make/rules
lib/isc/Makefile lib/isc/Makefile
lib/isc/include/Makefile lib/isc/include/Makefile
lib/isc/include/isc/Makefile lib/isc/include/isc/Makefile
lib/isc/include/isc/print.h
lib/isc/unix/Makefile lib/isc/unix/Makefile
lib/isc/unix/include/Makefile lib/isc/unix/include/Makefile
lib/isc/unix/include/isc/Makefile lib/isc/unix/include/isc/Makefile

View File

@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
dnl SOFTWARE. dnl SOFTWARE.
AC_REVISION($Revision: 1.55 $) AC_REVISION($Revision: 1.56 $)
AC_PREREQ(2.13) AC_PREREQ(2.13)
@ -363,14 +363,14 @@ AC_CHECK_FUNC(inet_aton,
ISC_NET_NEEDATON="#define ISC_NET_NEEDATON 1"] ISC_NET_NEEDATON="#define ISC_NET_NEEDATON 1"]
) )
AC_CHECK_FUNC(vsnprintf, AC_CHECK_FUNC(vsnprintf,
[ISC_NEED_VSNPRINTF="#undef ISC_NEED_VSNPRINTF"], [ISC_PRINT_NEEDVSNPRINTF="#undef ISC_PRINT_NEEDVSNPRINTF"],
[ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS vsnprintf.$O" [ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS print.$O"
ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS vsnprintf.c" ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS print.c"
ISC_NEEDVSNPRINTF="#define ISC_NEED_VSNPRINTF 1"]) ISC_PRINT_NEEDVSNPRINTF="#define ISC_PRINT_NEEDVSNPRINTF 1"])
AC_SUBST(ISC_NET_NEEDNTOP) AC_SUBST(ISC_NET_NEEDNTOP)
AC_SUBST(ISC_NET_NEEDPTON) AC_SUBST(ISC_NET_NEEDPTON)
AC_SUBST(ISC_NET_NEEDATON) AC_SUBST(ISC_NET_NEEDATON)
AC_SUBST(ISC_NEED_VSNPRINTF) AC_SUBST(ISC_PRINT_NEEDVSNPRINTF)
AC_SUBST(ISC_EXTRA_OBJS) AC_SUBST(ISC_EXTRA_OBJS)
AC_SUBST(ISC_EXTRA_SRCS) AC_SUBST(ISC_EXTRA_SRCS)
@ -398,6 +398,7 @@ AC_OUTPUT(
lib/isc/Makefile lib/isc/Makefile
lib/isc/include/Makefile lib/isc/include/Makefile
lib/isc/include/isc/Makefile lib/isc/include/isc/Makefile
lib/isc/include/isc/print.h
lib/isc/unix/Makefile lib/isc/unix/Makefile
lib/isc/unix/include/Makefile lib/isc/unix/include/Makefile
lib/isc/unix/include/isc/Makefile lib/isc/unix/include/isc/Makefile