Autoconf 2.50 had AC_HELP_STRING, not AS_HELP_STRING; later versions
make AC_HELP_STRING an alias for AS_HELP_STRING. As we require only 2.50, use AC_HELP_STRING, not AS_HELP_STRING.
This commit is contained in:
parent
c4286ad82b
commit
a2611cdc3a
|
@ -1,5 +1,5 @@
|
|||
#! /bin/sh
|
||||
# From configure.in Revision: 1.162 .
|
||||
# From configure.in Revision: 1.163 .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.61.
|
||||
#
|
||||
|
|
26
configure.in
26
configure.in
|
@ -1,4 +1,4 @@
|
|||
dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.162 2008-11-18 07:03:09 guy Exp $ (LBL)
|
||||
dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.163 2008-11-18 07:23:04 guy Exp $ (LBL)
|
||||
dnl
|
||||
dnl Copyright (c) 1994, 1995, 1996, 1997
|
||||
dnl The Regents of the University of California. All rights reserved.
|
||||
|
@ -6,7 +6,7 @@ dnl
|
|||
dnl Process this file with autoconf to produce a configure script.
|
||||
dnl
|
||||
|
||||
AC_REVISION($Revision: 1.162 $)
|
||||
AC_REVISION($Revision: 1.163 $)
|
||||
AC_PREREQ(2.50)
|
||||
AC_INIT(pcap.c)
|
||||
|
||||
|
@ -186,7 +186,7 @@ fi
|
|||
dnl to pacify those who hate protochain insn
|
||||
AC_MSG_CHECKING(if --disable-protochain option is specified)
|
||||
AC_ARG_ENABLE(protochain,
|
||||
AS_HELP_STRING([--disable-protochain],[disable \"protochain\" insn]))
|
||||
AC_HELP_STRING([--disable-protochain],[disable \"protochain\" insn]))
|
||||
case "x$enable_protochain" in
|
||||
xyes) enable_protochain=enabled ;;
|
||||
xno) enable_protochain=disabled ;;
|
||||
|
@ -203,7 +203,7 @@ AC_MSG_RESULT(${enable_protochain})
|
|||
# "--with-sita" selects SITA support.
|
||||
#
|
||||
AC_ARG_WITH(sita,
|
||||
AS_HELP_STRING([--with-sita],[include SITA support]),
|
||||
AC_HELP_STRING([--with-sita],[include SITA support]),
|
||||
[
|
||||
if test ! "x$withval" = "xno" ; then
|
||||
AC_DEFINE(SITA,1,[include ACN support])
|
||||
|
@ -225,7 +225,7 @@ if test -z "$with_pcap" && test "$cross_compiling" = yes; then
|
|||
AC_MSG_ERROR(pcap type not determined when cross-compiling; use --with-pcap=...)
|
||||
fi
|
||||
AC_ARG_WITH(pcap,
|
||||
AS_HELP_STRING([--with-pcap=TYPE],[use packet capture TYPE]))
|
||||
AC_HELP_STRING([--with-pcap=TYPE],[use packet capture TYPE]))
|
||||
AC_MSG_CHECKING(packet capture type)
|
||||
if test ! -z "$with_pcap" ; then
|
||||
V_PCAP="$withval"
|
||||
|
@ -507,7 +507,7 @@ fi
|
|||
AC_MSG_RESULT($have_socklen_t)
|
||||
|
||||
AC_ARG_ENABLE(ipv6,
|
||||
AS_HELP_STRING([--enable-ipv6],[build IPv6-capable version @<:@default=yes, if getaddrinfo available@:>@]),
|
||||
AC_HELP_STRING([--enable-ipv6],[build IPv6-capable version @<:@default=yes, if getaddrinfo available@:>@]),
|
||||
[],
|
||||
[enable_ipv6=ifavailable])
|
||||
if test "$enable_ipv6" != "no"; then
|
||||
|
@ -524,7 +524,7 @@ fi
|
|||
|
||||
AC_MSG_CHECKING(whether to build optimizer debugging code)
|
||||
AC_ARG_ENABLE(optimizer-dbg,
|
||||
AS_HELP_STRING([--enable-optimizer-dbg],[build optimizer debugging code]))
|
||||
AC_HELP_STRING([--enable-optimizer-dbg],[build optimizer debugging code]))
|
||||
if test "$enable_optimizer_dbg" = "yes"; then
|
||||
AC_DEFINE(BDEBUG,1,[Enable optimizer debugging])
|
||||
fi
|
||||
|
@ -532,7 +532,7 @@ AC_MSG_RESULT(${enable_optimizer_dbg-no})
|
|||
|
||||
AC_MSG_CHECKING(whether to build parser debugging code)
|
||||
AC_ARG_ENABLE(yydebug,
|
||||
AS_HELP_STRING([--enable-yydebug],[build parser debugging code]))
|
||||
AC_HELP_STRING([--enable-yydebug],[build parser debugging code]))
|
||||
if test "$enable_yydebug" = "yes"; then
|
||||
AC_DEFINE(YYDEBUG,1,[Enable parser debugging])
|
||||
fi
|
||||
|
@ -551,7 +551,7 @@ AC_MSG_RESULT($ac_cv_lbl_proc_net_dev)
|
|||
|
||||
# Check for Endace DAG card support.
|
||||
AC_ARG_WITH([dag],
|
||||
AS_HELP_STRING([--with-dag@<:@=DIR@:>@],[include Endace DAG support @<:@"yes", "no" or DIR; default="yes" on BSD and Linux if present@:>@]),
|
||||
AC_HELP_STRING([--with-dag@<:@=DIR@:>@],[include Endace DAG support @<:@"yes", "no" or DIR; default="yes" on BSD and Linux if present@:>@]),
|
||||
[
|
||||
if test "$withval" = no
|
||||
then
|
||||
|
@ -574,7 +574,7 @@ AS_HELP_STRING([--with-dag@<:@=DIR@:>@],[include Endace DAG support @<:@"yes", "
|
|||
])
|
||||
|
||||
AC_ARG_WITH([dag-includes],
|
||||
AS_HELP_STRING([--with-dag-includes=DIR],[Endace DAG include directory]),
|
||||
AC_HELP_STRING([--with-dag-includes=DIR],[Endace DAG include directory]),
|
||||
[
|
||||
# User wants DAG support and has specified a header directory, so use the provided value.
|
||||
want_dag=yes
|
||||
|
@ -582,7 +582,7 @@ AS_HELP_STRING([--with-dag-includes=DIR],[Endace DAG include directory]),
|
|||
],[])
|
||||
|
||||
AC_ARG_WITH([dag-libraries],
|
||||
AS_HELP_STRING([--with-dag-libraries=DIR],[Endace DAG library directory]),
|
||||
AC_HELP_STRING([--with-dag-libraries=DIR],[Endace DAG library directory]),
|
||||
[
|
||||
# User wants DAG support and has specified a library directory, so use the provided value.
|
||||
want_dag=yes
|
||||
|
@ -777,7 +777,7 @@ else
|
|||
fi
|
||||
|
||||
AC_ARG_WITH(septel,
|
||||
AS_HELP_STRING([--with-septel@<:@=DIR@:>@],[include Septel support (located in directory DIR, if supplied). @<:@default=yes, on Linux, if present@:>@]),
|
||||
AC_HELP_STRING([--with-septel@<:@=DIR@:>@],[include Septel support (located in directory DIR, if supplied). @<:@default=yes, on Linux, if present@:>@]),
|
||||
[
|
||||
if test "$withval" = no
|
||||
then
|
||||
|
@ -1049,7 +1049,7 @@ AC_SUBST(PCAP_SUPPORT_USB)
|
|||
AC_SUBST(USB_SRC)
|
||||
|
||||
AC_ARG_ENABLE([bluetooth],
|
||||
[AS_HELP_STRING([--enable-bluetooth],[enable bluetooth support @<:@default=yes, if support available@:>@])],
|
||||
[AC_HELP_STRING([--enable-bluetooth],[enable bluetooth support @<:@default=yes, if support available@:>@])],
|
||||
,enable_bluetooth=yes)
|
||||
|
||||
if test "x$enable_bluetooth" != "xno" ; then
|
||||
|
|
Reference in New Issue