configure.ac (fping-5.0) | : | configure.ac (fping-5.1) | ||
---|---|---|---|---|
dnl Process this file with autoconf to produce a configure script. | dnl Process this file with autoconf to produce a configure script. | |||
dnl Minimum Autoconf version required. | dnl Minimum Autoconf version required. | |||
AC_PREREQ(2.59) | AC_PREREQ(2.59) | |||
AC_INIT([fping],[5.0]) | AC_INIT([fping],[5.1]) | |||
AC_GNU_SOURCE | AC_GNU_SOURCE | |||
dnl --disable-ipv4 | dnl --disable-ipv4 | |||
AC_ARG_ENABLE([ipv4], | AC_ARG_ENABLE([ipv4], | |||
AS_HELP_STRING([--disable-ipv4], [Disable support for pinging IPv4 hosts])) | AS_HELP_STRING([--disable-ipv4], [Disable support for pinging IPv4 hosts])) | |||
AM_CONDITIONAL([IPV4], [test "x$enable_ipv4" != "xno"]) | AM_CONDITIONAL([IPV4], [test "x$enable_ipv4" != "xno"]) | |||
AM_COND_IF([IPV4], [AC_DEFINE([IPV4], [1], [IPv4 enabled])]) | AM_COND_IF([IPV4], [AC_DEFINE([IPV4], [1], [IPv4 enabled])]) | |||
dnl --disable-ipv6 | dnl --disable-ipv6 | |||
AC_ARG_ENABLE([ipv6], | AC_ARG_ENABLE([ipv6], | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |