1 dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.120.2.8 2006/04/07 07:08:50 guy Exp $ (LBL)
3 dnl Copyright (c) 1994, 1995, 1996, 1997
4 dnl The Regents of the University of California. All rights reserved.
6 dnl Process this file with autoconf to produce a configure script.
9 AC_REVISION($Revision: 1.120.2.8 $)
15 AC_LBL_C_INIT(V_CCOPT, V_INCLS, V_LIBS)
19 AC_LBL_CHECK_TYPE(u_int8_t, u_char)
20 AC_LBL_CHECK_TYPE(u_int16_t, u_short)
21 AC_LBL_CHECK_TYPE(u_int32_t, u_int)
24 dnl libpcap doesn't itself use <sys/ioccom.h>; however, the test program
25 dnl in "AC_LBL_FIXINCLUDES" in "aclocal.m4" uses it, so we have to
26 dnl test for it and set "HAVE_SYS_IOCCOM_H" if we have it, otherwise
27 dnl "AC_LBL_FIXINCLUDES" won't work on some platforms such as Solaris.
29 AC_CHECK_HEADERS(sys/ioccom.h sys/sockio.h limits.h)
30 AC_CHECK_HEADERS(netinet/if_ether.h, , , [#include <sys/types.h>
31 #include <sys/socket.h>])
32 if test "$ac_cv_header_netinet_if_ether_h" != yes; then
34 # The simple test didn't work.
35 # Do we need to include <net/if.h> first?
36 # Unset ac_cv_header_netinet_if_ether_h so we don't
37 # treat the previous failure as a cached value and
38 # suppress the next test.
40 AC_MSG_NOTICE([Rechecking with some additional includes])
41 unset ac_cv_header_netinet_if_ether_h
42 AC_CHECK_HEADERS(netinet/if_ether.h, , , [#include <sys/types.h>
43 #include <sys/socket.h>
44 #include <netinet/in.h>
52 AC_CHECK_FUNCS(strerror strlcpy)
55 AC_CHECK_FUNCS(vsnprintf snprintf,,
57 if test $needsnprintf = yes; then
62 # Do this before checking for ether_hostton(), as it's a
63 # "gethostbyname() -ish function".
68 # You are in a twisty little maze of UN*Xes, all different.
69 # Some might not have ether_hostton().
70 # Some might have it, but not declare it in any header file.
71 # Some might have it, but declare it in <netinet/if_ether.h>.
72 # Some might have it, but declare it in <netinet/ether.h>
73 # (And some might have it but document it as something declared in
74 # <netinet/ethernet.h>, although <netinet/if_ether.h> appears to work.)
76 # Before you is a C compiler.
78 AC_CHECK_FUNCS(ether_hostton)
79 if test "$ac_cv_func_ether_hostton" = yes; then
81 # OK, we have ether_hostton(). Do we have <netinet/if_ether.h>?
83 if test "$ac_cv_header_netinet_if_ether_h" = yes; then
85 # Yes. Does it declare ether_hostton()?
87 AC_CHECK_DECL(ether_hostton,
89 AC_DEFINE(NETINET_IF_ETHER_H_DECLARES_ETHER_HOSTTON,,
90 [Define to 1 if netinet/if_ether.h declares `ether_hostton'])
93 #include <sys/types.h>
94 #include <sys/socket.h>
95 #include <netinet/in.h>
96 #include <arpa/inet.h>
100 #include <netinet/if_ether.h>
106 if test "$ac_cv_have_decl_ether_hostton" != yes; then
108 # No, how about <netinet/ether.h>, as on Linux?
110 AC_CHECK_HEADERS(netinet/ether.h)
111 if test "$ac_cv_header_netinet_ether_h" = yes; then
113 # We have it - does it declare ether_hostton()?
114 # Unset ac_cv_have_decl_ether_hostton so we don't
115 # treat the previous failure as a cached value and
116 # suppress the next test.
118 unset ac_cv_have_decl_ether_hostton
119 AC_CHECK_DECL(ether_hostton,
121 AC_DEFINE(NETINET_ETHER_H_DECLARES_ETHER_HOSTTON,,
122 [Define to 1 if netinet/ether.h declares `ether_hostton'])
125 #include <netinet/ether.h>
130 # Is ether_hostton() declared?
132 if test "$ac_cv_have_decl_ether_hostton" != yes; then
134 # No, we'll have to declare it ourselves.
135 # Do we have "struct ether_addr"?
137 AC_CHECK_TYPES(struct ether_addr,,,
139 #include <sys/types.h>
140 #include <sys/socket.h>
141 #include <netinet/in.h>
142 #include <arpa/inet.h>
146 #include <netinet/if_ether.h>
148 AC_DEFINE(HAVE_DECL_ETHER_HOSTTON, 0,
149 [Define to 1 if you have the declaration of `ether_hostton', and to 0 if you
152 AC_DEFINE(HAVE_DECL_ETHER_HOSTTON, 1,
153 [Define to 1 if you have the declaration of `ether_hostton', and to 0 if you
158 dnl to pacify those who hate protochain insn
159 AC_MSG_CHECKING(if --disable-protochain option is specified)
160 AC_ARG_ENABLE(protochain, [ --disable-protochain disable \"protochain\" insn])
161 case "x$enable_protochain" in
162 xyes) enable_protochain=enabled ;;
163 xno) enable_protochain=disabled ;;
164 x) enable_protochain=enabled ;;
167 if test "$enable_protochain" = "disabled"; then
168 AC_DEFINE(NO_PROTOCHAIN,1,[do not use protochain])
170 AC_MSG_RESULT(${enable_protochain})
173 dnl Not all versions of test support -c (character special) but it's a
174 dnl better way of testing since the device might be protected. So we
175 dnl check in our normal order using -r and then check the for the /dev
176 dnl guys again using -c.
178 dnl XXX This could be done for cross-compiling, but for now it's not.
180 if test -z "$with_pcap" && test "$cross_compiling" = yes; then
181 AC_MSG_ERROR(pcap type not determined when cross-compiling; use --with-pcap=...)
183 AC_ARG_WITH(pcap, [ --with-pcap=TYPE use packet capture TYPE])
184 AC_MSG_CHECKING(packet capture type)
185 if test ! -z "$with_pcap" ; then
187 elif test -r /dev/bpf0 ; then
189 elif test -r /usr/include/net/pfilt.h ; then
191 elif test -r /dev/enet ; then
193 elif test -r /dev/nit ; then
195 elif test -r /usr/include/sys/net/nit.h ; then
197 elif test -r /usr/include/linux/socket.h ; then
199 elif test -r /usr/include/net/raw.h ; then
201 elif test -r /usr/include/odmi.h ; then
203 # On AIX, the BPF devices might not yet be present - they're
204 # created the first time libpcap runs after booting.
205 # We check for odmi.h instead.
208 elif test -r /usr/include/sys/dlpi.h ; then
210 elif test -c /dev/bpf0 ; then # check again in case not readable
212 elif test -c /dev/enet ; then # check again in case not readable
214 elif test -c /dev/nit ; then # check again in case not readable
219 AC_MSG_RESULT($V_PCAP)
222 dnl Now figure out how we get a list of interfaces and addresses,
223 dnl if we support capturing. Don't bother if we don't support
226 if test "$V_PCAP" = null
229 # We can't capture, so we can't open any capture
230 # devices, so we won't return any interfaces.
234 AC_CHECK_FUNC(getifaddrs,[
236 # We have "getifaddrs()"; make sure we have <ifaddrs.h>
237 # as well, just in case some platform is really weird.
239 AC_CHECK_HEADER(ifaddrs.h,[
241 # We have the header, so we use "getifaddrs()" to
242 # get the list of interfaces.
247 # We don't have the header - give up.
248 # XXX - we could also fall back on some other
249 # mechanism, but, for now, this'll catch this
250 # problem so that we can at least try to figure
251 # out something to do on systems with "getifaddrs()"
252 # but without "ifaddrs.h", if there is something
253 # we can do on those systems.
255 AC_MSG_ERROR([Your system has getifaddrs() but doesn't have a usable <ifaddrs.h>.])
259 # Well, we don't have "getifaddrs()", so we have to use
260 # some other mechanism; determine what that mechanism is.
262 # The first thing we use is the type of capture mechanism,
263 # which is somewhat of a proxy for the OS we're using.
269 # This might be Solaris 8 or later, with
270 # SIOCGLIFCONF, or it might be some other OS
271 # or some older version of Solaris, with
274 AC_MSG_CHECKING(whether we have SIOCGLIFCONF)
275 AC_CACHE_VAL(ac_cv_lbl_have_siocglifconf,
277 [#include <sys/param.h>
278 #include <sys/file.h>
279 #include <sys/ioctl.h>
280 #include <sys/socket.h>
281 #include <sys/sockio.h>],
282 [ioctl(0, SIOCGLIFCONF, (char *)0);],
283 ac_cv_lbl_have_siocglifconf=yes,
284 ac_cv_lbl_have_siocglifconf=no))
285 AC_MSG_RESULT($ac_cv_lbl_have_siocglifconf)
286 if test $ac_cv_lbl_have_siocglifconf = yes ; then
295 # Assume we just have SIOCGIFCONF.
296 # (XXX - on at least later Linux kernels, there's
297 # another mechanism, and we should be using that
306 AC_MSG_CHECKING(if --disable-remote option is specified)
307 AC_ARG_ENABLE(remote, [ --disable-remote disable remote capture capabilities])
309 case "x$enable_remote" in
310 xyes) enable_remote=enabled ;;
311 xno) enable_remote=disabled ;;
312 x) enable_remote=enabled ;;
315 AC_MSG_RESULT(${enable_remote})
318 if test "$enable_remote" = "enabled"; then
321 dnl Checking if the remote features of libpcap are supported by
322 dnl the OS and must be compiled
325 AC_MSG_CHECKING(if remote capture is supported)
327 if test -e ./remote-ext.h ; then # Check that the remote extensions are there
332 V_REMOTE_FILES="pcap-new.c pcap-remote.c sockutils.c"
333 V_HAVE_REMOTE="-DHAVE_REMOTE"
334 AC_DEFINE(HAVE_REMOTE,1,[Enable remote capture support])
339 V_REMOTE_FILES="pcap-new.c pcap-remote.c sockutils.c"
340 V_HAVE_REMOTE="-DHAVE_REMOTE"
341 AC_DEFINE(HAVE_REMOTE,1,[Enable remote capture support])
351 AC_MSG_RESULT(${have_remote})
357 AC_MSG_CHECKING(if --enable-ipv6 option is specified)
358 AC_ARG_ENABLE(ipv6, [ --enable-ipv6 build IPv6-capable version])
359 if test "$enable_ipv6" = "yes"; then
360 AC_DEFINE(INET6,1,[IPv6])
362 AC_MSG_RESULT(${enable_ipv6-no})
364 AC_MSG_CHECKING(whether to build optimizer debugging code)
365 AC_ARG_ENABLE(optimizer-dbg, [ --enable-optimizer-dbg build optimizer debugging code])
366 if test "$enable_optimizer_dbg" = "yes"; then
367 AC_DEFINE(BDEBUG,1,[Enable optimizer debugging])
369 AC_MSG_RESULT(${enable_optimizer_dbg-no})
371 AC_MSG_CHECKING(whether to build parser debugging code)
372 AC_ARG_ENABLE(yydebug, [ --enable-yydebug build parser debugging code])
373 if test "$enable_yydebug" = "yes"; then
374 AC_DEFINE(YYDEBUG,1,[Enable parser debugging])
376 AC_MSG_RESULT(${enable_yydebug-no})
381 AC_CHECK_HEADERS(sys/bufmod.h sys/dlpi_ext.h)
382 AC_MSG_CHECKING(for /dev/dlpi device)
383 if test -c /dev/dlpi ; then
385 AC_DEFINE(HAVE_DEV_DLPI, 1, [define if you have a /dev/dlpi])
389 AC_MSG_CHECKING(for $dir directory)
390 if test -d $dir ; then
392 AC_DEFINE_UNQUOTED(PCAP_DEV_PREFIX, "$dir", [/dev/dlpi directory])
400 AC_MSG_CHECKING(Linux kernel version)
401 if test "$cross_compiling" = yes; then
402 AC_CACHE_VAL(ac_cv_linux_vers,
403 ac_cv_linux_vers=unknown)
405 AC_CACHE_VAL(ac_cv_linux_vers,
406 ac_cv_linux_vers=`uname -r 2>&1 | \
407 sed -n -e '$s/.* //' -e '$s/\..*//p'`)
409 AC_MSG_RESULT($ac_cv_linux_vers)
410 if test $ac_cv_linux_vers = unknown ; then
411 AC_MSG_ERROR(cannot determine linux version when cross-compiling)
413 if test $ac_cv_linux_vers -lt 2 ; then
414 AC_MSG_ERROR(version 2 or higher required; see the INSTALL doc for more info)
420 V_DEFS="$V_DEFS -DDAG_ONLY"
424 V_DEFS="$V_DEFS -DSEPTEL_ONLY"
428 AC_MSG_WARN(cannot determine packet capture interface)
429 AC_MSG_WARN((see the INSTALL doc for more info))
434 AC_MSG_CHECKING(whether we have /proc/net/dev)
435 if test -r /proc/net/dev ; then
436 ac_cv_lbl_proc_net_dev=yes
438 ac_cv_lbl_proc_net_dev=no
440 if test $ac_cv_lbl_proc_net_dev = yes; then
441 AC_DEFINE(HAVE_PROC_NET_DEV, 1, [define if you have a /proc/net/dev])
443 AC_MSG_RESULT($ac_cv_lbl_proc_net_dev)
445 # Check for Endace DAG card support.
446 AC_ARG_WITH([dag], [ --with-dag[[=DIR]] include Endace DAG support ("yes", "no" or DIR; default="yes" on BSD and Linux if present)],
448 if test "$withval" = no
450 # User doesn't want DAG support.
452 elif test "$withval" = yes
454 # User wants DAG support but hasn't specified a directory.
457 # User wants DAG support and has specified a directory, so use the provided value.
463 # Use DAG API if present, otherwise don't
468 AC_ARG_WITH([dag-includes], [ --with-dag-includes=DIR Endace DAG include directory],
470 # User wants DAG support and has specified a header directory, so use the provided value.
472 dag_include_dir=$withval
475 AC_ARG_WITH([dag-libraries], [ --with-dag-libraries=DIR Endace DAG library directory],
477 # User wants DAG support and has specified a library directory, so use the provided value.
485 # We support the DAG API if we're on Linux or BSD, or if we're
486 # building a DAG-only libpcap.
491 # If the user explicitly requested DAG, tell them it's not
494 # If they expressed no preference, don't include it.
496 if test $want_dag = yes; then
497 AC_MSG_ERROR([DAG support is only available with 'linux' 'bpf' and 'dag' packet capture types])
498 elif test $want_dag = yes; then
505 if test "$want_dag" != no; then
507 AC_MSG_CHECKING([whether we have DAG API headers])
509 # If necessary, set default paths for DAG API headers and libraries.
510 if test -z "$dag_root"; then
514 if test -z "$dag_include_dir"; then
515 dag_include_dir="$dag_root/include"
518 if test -z "$dag_lib_dir"; then
519 dag_lib_dir="$dag_root/lib"
522 if test -z "$dag_tools_dir"; then
523 dag_tools_dir="$dag_root/tools"
526 if test -r $dag_include_dir/dagapi.h; then
527 ac_cv_lbl_dag_api=yes
529 AC_MSG_RESULT([$ac_cv_lbl_dag_api ($dag_include_dir)])
532 if test $ac_cv_lbl_dag_api = yes; then
534 AC_MSG_CHECKING([dagapi.o])
536 if test -r $dag_tools_dir/dagapi.o; then
538 dagapi_obj=$dag_tools_dir/dagapi.o
539 elif test -r $dag_lib_dir/dagapi.o; then
541 dagapi_obj=$dag_lib_dir/dagapi.o
542 elif test -r $dag_lib_dir/libdag.a; then
544 ar x $dag_lib_dir/libdag.a dagapi.o
545 if test -r ./dagapi.o; then
546 dagapi_obj=./dagapi.o
550 if test $dagapi_obj = no; then
551 AC_MSG_RESULT([no (checked $dag_lib_dir $dag_tools_dir $dag_lib_dir/libdag.a)])
554 AC_MSG_RESULT([yes ($dagapi_obj)])
558 if test $ac_cv_lbl_dag_api = yes; then
560 AC_MSG_CHECKING([dagopts.o])
562 if test -r $dag_tools_dir/dagopts.o; then
564 dagopts_obj=$dag_tools_dir/dagopts.o
565 elif test -r $dag_lib_dir/dagopts.o; then
567 dagopts_obj=$dag_lib_dir/dagopts.o
568 elif test -r $dag_lib_dir/libdag.a; then
570 ar x $dag_lib_dir/libdag.a dagopts.o
571 if test -r ./dagopts.o; then
572 dagopts_obj=./dagopts.o
576 if test $dagopts_obj = no; then
577 AC_MSG_RESULT([no (checked $dag_lib_dir $dag_tools_dir $dag_lib_dir/libdag.a)])
580 AC_MSG_RESULT([yes ($dagopts_obj)])
584 if test $ac_cv_lbl_dag_api = yes; then
585 # Under 2.5.x only we need to add dagreg.o.
586 if test -r $dag_include_dir/dagreg.h; then
587 AC_MSG_CHECKING([dagreg.o])
589 if test -r $dag_lib_dir/dagreg.o; then
590 # Object file is ready and waiting.
591 dagreg_obj=$dag_lib_dir/dagreg.o
592 elif test -r $dag_lib_dir/libdag.a; then
593 # Extract from libdag.a.
594 ar x $dag_lib_dir/libdag.a dagreg.o
595 if test -r ./dagreg.o; then
596 dagreg_obj=./dagreg.o
600 if test $dagreg_obj = no; then
601 AC_MSG_RESULT([no (checked $dag_lib_dir $dag_lib_dir/libdag.a)])
604 AC_MSG_RESULT([yes ($dagreg_obj)])
609 if test $ac_cv_lbl_dag_api = yes; then
610 V_INCLS="$V_INCLS -I$dag_include_dir"
611 V_LIBS="$V_LIBS $dagapi_obj $dagopts_obj $dagreg_obj"
612 if test $V_PCAP != dag ; then
616 # See if we can find a general version string.
617 # Don't need to save and restore LIBS to prevent -ldag being
618 # included if there's a found-action (arg 3).
619 saved_ldflags=$LDFLAGS
620 LDFLAGS="-L$dag_lib_dir"
621 AC_CHECK_LIB([dag], [dag_attach_stream], [dag_version="2.5.x"], [dag_version="2.4.x"])
622 AC_CHECK_LIB([dag],[dag_get_erf_types], [
623 AC_DEFINE(HAVE_DAG_GET_ERF_TYPES, 1, [define if you have dag_get_erf_types()])]
625 LDFLAGS=$saved_ldflags
627 if test "$dag_version" = 2.5.x; then
628 AC_DEFINE(HAVE_DAG_STREAMS_API, 1, [define if you have streams capable DAG API])
631 # See if we can find a specific version string.
632 AC_MSG_CHECKING([the DAG API version])
633 if test -r "$dag_root/VERSION"; then
634 dag_version="`cat $dag_root/VERSION`"
636 AC_MSG_RESULT([$dag_version])
637 AC_DEFINE(HAVE_DAG_API, 1, [define if you have the DAG API])
640 if test $ac_cv_lbl_dag_api = no; then
641 if test "$want_dag" = yes; then
642 # User wanted DAG support but we couldn't find it.
643 AC_MSG_ERROR([DAG API requested, but not found at $dag_root: use --without-dag])
646 if test "$V_PCAP" = dag; then
647 # User requested "dag" capture type but the DAG API wasn't
649 AC_MSG_ERROR([Specifying the capture type as "dag" requires the DAG API to be present; use the --with-dag options to specify the location. (Try "./configure --help" for more information.)])
653 AC_ARG_WITH(septel, [ --with-septel[[=DIR]] include Septel support (located in directory DIR, if supplied). [default=yes, on Linux, if present]],
655 if test "$withval" = no
658 elif test "$withval" = yes
668 # Use Septel API if present, otherwise don't
670 want_septel=ifpresent
671 septel_root=./../septel
673 ac_cv_lbl_septel_api=no
677 # We support the Septel API if we're on Linux, or if we're building
678 # a Septel-only libpcap.
683 # If the user explicitly requested Septel, tell them it's not
686 # If they expressed no preference, don't include it.
688 if test $want_septel = yes; then
689 AC_MSG_ERROR(Septel support only available with 'linux' and 'septel' packet capture types)
690 elif test $want_septel = yes; then
696 if test "$with_septel" != no; then
697 AC_MSG_CHECKING(whether we have Septel API)
699 if test -z "$septel_root"; then
700 septel_root=$srcdir/../septel
704 septel_tools_dir="$septel_root"
705 septel_include_dir="$septel_root/INC"
706 DEF="-DHAVE_SEPTEL_API"
708 ac_cv_lbl_septel_api=no
709 if test -r "$septel_include_dir/msg.h"; then
710 V_INCLS="$V_INCLS -I$septel_include_dir"
711 V_DEFS="$V_DEFS $DEF"
712 V_LIBS="$V_LIBS $septel_tools_dir/asciibin.o $septel_tools_dir/bit2byte.o $septel_tools_dir/confirm.o $septel_tools_dir/fmtmsg.o $septel_tools_dir/gct_unix.o $septel_tools_dir/hqueue.o $septel_tools_dir/ident.o $septel_tools_dir/mem.o $septel_tools_dir/pack.o $septel_tools_dir/parse.o $septel_tools_dir/pool.o $septel_tools_dir/sdlsig.o $septel_tools_dir/strtonum.o $septel_tools_dir/timer.o $septel_tools_dir/trace.o "
714 if test "$V_PCAP" != septel ; then
718 ac_cv_lbl_septel_api=yes
721 AC_MSG_RESULT($ac_cv_lbl_septel_api)
722 if test $ac_cv_lbl_septel_api = no; then
723 if test "$want_septel" = yes; then
724 AC_MSG_ERROR(Septel API not found under directory $septel_root; use --without-septel)
727 AC_DEFINE(HAVE_SEPTEL_API, 1, [define if you have a Septel API])
731 if test "$V_PCAP" = septel -a "$ac_cv_lbl_septel_api" = no; then
732 AC_MSG_ERROR(Specifying the capture type as 'septel' requires the Septel API to be present; use --with-septel=DIR)
736 AC_LBL_LEX_AND_YACC(V_LEX, V_YACC, pcap_)
737 if test "$V_LEX" = lex ; then
738 # Some versions of lex can't handle the definitions section of scanner.l .
739 # Try lexing it and complain if it can't deal.
740 AC_CACHE_CHECK([for capable lex], tcpdump_cv_capable_lex,
741 if lex -t scanner.l > /dev/null 2>&1; then
742 tcpdump_cv_capable_lex=yes
744 tcpdump_cv_capable_lex=insufficient
746 if test $tcpdump_cv_capable_lex = insufficient ; then
747 AC_MSG_ERROR([Your operating system's lex is insufficient to compile
748 libpcap. flex is a lex replacement that has many advantages, including
749 being able to compile libpcap. For more information, see
750 http://www.gnu.org/software/flex/flex.html .])
758 dnl Workaround to enable certain features
759 AC_DEFINE(_SUN,1,[define on AIX to get certain functions])
763 AC_DEFINE(HAVE_HPUX9,1,[on HP-UX 9.x])
773 dnl HPUX 10.20 and above is similar to HPUX 9, but
776 dnl XXX - DYEXT should be set to "sl" if this is building
777 dnl for 32-bit PA-RISC, but should be left as "so" for
778 dnl 64-bit PA-RISC or, I suspect, IA-64.
779 AC_DEFINE(HAVE_HPUX10_20_OR_LATER,1,[on HP-UX 10.20 or later])
783 AC_MSG_CHECKING(if SINIX compiler defines sinix)
784 AC_CACHE_VAL(ac_cv_cc_sinix_defined,
788 ac_cv_cc_sinix_defined=yes,
789 ac_cv_cc_sinix_defined=no))
790 AC_MSG_RESULT($ac_cv_cc_sinix_defined)
791 if test $ac_cv_cc_sinix_defined = no ; then
792 AC_DEFINE(sinix,1,[on sinix])
797 AC_DEFINE(HAVE_SOLARIS,1,[On solaris])
802 V_CCOPT="$V_CCOPT -fno-common"
808 AC_LBL_DEVEL(V_CCOPT)
810 AC_LBL_SOCKADDR_SA_LEN
812 AC_LBL_SOCKADDR_STORAGE
814 AC_LBL_HP_PPA_INFO_T_DL_MODULE_ID_1
816 AC_LBL_UNALIGNED_ACCESS
819 # Makefile.in includes rules to generate version.h, so we assume
820 # that it will be generated if autoconf is used.
822 AC_DEFINE(HAVE_VERSION_H, 1, [define if version.h is generated in the build procedure])
825 ln -s ${srcdir}/bpf/net net
833 AC_SUBST(V_FINDALLDEVS)
835 AC_SUBST(V_HAVE_REMOTE)
836 AC_SUBST(V_REMOTE_FILES)
845 AC_CONFIG_HEADER(config.h)
849 if test -f .devel ; then