~ubuntu-branches/ubuntu/jaunty/arp-scan/jaunty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Tim Brown
  • Date: 2007-05-22 21:57:35 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070522215735-42zr032pmyfi4m4m
Tags: 1.6-2
* Checksums weren't matching
* Upload sponsored by Philipp Hug <debian@hug.cx>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
 
# From configure.ac Revision: 8258 .
 
2
# From configure.ac Revision: 10543 .
3
3
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated by GNU Autoconf 2.59 for arp-scan 1.5.
 
4
# Generated by GNU Autoconf 2.59 for arp-scan 1.6.
5
5
#
6
6
# Report bugs to <arp-scan@nta-monitor.com>.
7
7
#
270
270
# Identity of this package.
271
271
PACKAGE_NAME='arp-scan'
272
272
PACKAGE_TARNAME='arp-scan'
273
 
PACKAGE_VERSION='1.5'
274
 
PACKAGE_STRING='arp-scan 1.5'
 
273
PACKAGE_VERSION='1.6'
 
274
PACKAGE_STRING='arp-scan 1.6'
275
275
PACKAGE_BUGREPORT='arp-scan@nta-monitor.com'
276
276
 
277
277
ac_unique_file="arp-scan.c"
781
781
  # Omit some internal or obsolete options to make the list less imposing.
782
782
  # This message is too long to be a string in the A/UX 3.1 sh.
783
783
  cat <<_ACEOF
784
 
\`configure' configures arp-scan 1.5 to adapt to many kinds of systems.
 
784
\`configure' configures arp-scan 1.6 to adapt to many kinds of systems.
785
785
 
786
786
Usage: $0 [OPTION]... [VAR=VALUE]...
787
787
 
847
847
 
848
848
if test -n "$ac_init_help"; then
849
849
  case $ac_init_help in
850
 
     short | recursive ) echo "Configuration of arp-scan 1.5:";;
 
850
     short | recursive ) echo "Configuration of arp-scan 1.6:";;
851
851
   esac
852
852
  cat <<\_ACEOF
853
853
 
965
965
test -n "$ac_init_help" && exit 0
966
966
if $ac_init_version; then
967
967
  cat <<\_ACEOF
968
 
arp-scan configure 1.5
 
968
arp-scan configure 1.6
969
969
generated by GNU Autoconf 2.59
970
970
 
971
971
Copyright (C) 2003 Free Software Foundation, Inc.
979
979
This file contains any messages produced by compilers while
980
980
running configure, to aid debugging if configure makes a mistake.
981
981
 
982
 
It was created by arp-scan $as_me 1.5, which was
 
982
It was created by arp-scan $as_me 1.6, which was
983
983
generated by GNU Autoconf 2.59.  Invocation command line was
984
984
 
985
985
  $ $0 $@
1625
1625
 
1626
1626
# Define the identity of the package.
1627
1627
 PACKAGE='arp-scan'
1628
 
 VERSION='1.5'
 
1628
 VERSION='1.6'
1629
1629
 
1630
1630
 
1631
1631
cat >>confdefs.h <<_ACEOF
3378
3378
  test "$ac_cv_search_pcap_open_live" = "none required" || LIBS="$ac_cv_search_pcap_open_live $LIBS"
3379
3379
 
3380
3380
else
3381
 
  { { echo "$as_me:$LINENO: error: Cannot find libpcap library containing pcap_open_live" >&5
3382
 
echo "$as_me: error: Cannot find libpcap library containing pcap_open_live" >&2;}
 
3381
 
 
3382
   { echo "$as_me:$LINENO: Cannot find pcap library containing pcap_open_live" >&5
 
3383
echo "$as_me: Cannot find pcap library containing pcap_open_live" >&6;}
 
3384
   { { echo "$as_me:$LINENO: error: Check that you have libpcap version 0.8 or later installed" >&5
 
3385
echo "$as_me: error: Check that you have libpcap version 0.8 or later installed" >&2;}
3383
3386
   { (exit 1); exit 1; }; }
 
3387
 
3384
3388
fi
3385
3389
 
3386
3390
 
3399
3403
#endif
3400
3404
/* We use char because int might match the return type of a gcc2
3401
3405
   builtin and then its argument prototype would still apply.  */
3402
 
char pcap_datalink_val_to_name ();
 
3406
char pcap_lib_version ();
3403
3407
int
3404
3408
main ()
3405
3409
{
3406
 
pcap_datalink_val_to_name ();
 
3410
pcap_lib_version ();
3407
3411
  ;
3408
3412
  return 0;
3409
3413
}
3438
3442
 
3439
3443
   echo "$as_me:$LINENO: result: no" >&5
3440
3444
echo "${ECHO_T}no" >&6
3441
 
   { echo "$as_me:$LINENO: Cannot find pcap_datalink_val_to_name in pcap library" >&5
3442
 
echo "$as_me: Cannot find pcap_datalink_val_to_name in pcap library" >&6;}
 
3445
   { echo "$as_me:$LINENO: Cannot find pcap_lib_version in pcap library" >&5
 
3446
echo "$as_me: Cannot find pcap_lib_version in pcap library" >&6;}
3443
3447
   { { echo "$as_me:$LINENO: error: Check that the pcap library is at least version 0.8" >&5
3444
3448
echo "$as_me: error: Check that the pcap library is at least version 0.8" >&2;}
3445
3449
   { (exit 1); exit 1; }; }
5416
5420
esac
5417
5421
 
5418
5422
      ;;
 
5423
   *solaris* )
 
5424
      { echo "$as_me:$LINENO: Using DLPI link layer implementation." >&5
 
5425
echo "$as_me: Using DLPI link layer implementation." >&6;};
 
5426
 
 
5427
 
 
5428
 
 
5429
 
 
5430
 
 
5431
 
 
5432
 
 
5433
 
 
5434
 
 
5435
for ac_header in sys/dlpi.h sys/dlpihdr.h sys/stat.h fcntl.h stropts.h sys/ioctl.h sys/sockio.h net/if.h sys/bufmod.h
 
5436
do
 
5437
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5438
echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5439
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 
5440
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5441
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5442
else
 
5443
  cat >conftest.$ac_ext <<_ACEOF
 
5444
/* confdefs.h.  */
 
5445
_ACEOF
 
5446
cat confdefs.h >>conftest.$ac_ext
 
5447
cat >>conftest.$ac_ext <<_ACEOF
 
5448
/* end confdefs.h.  */
 
5449
 
 
5450
      #include <sys/types.h>
 
5451
      #ifdef HAVE_SYS_SOCKET_H
 
5452
      #include <sys/socket.h>
 
5453
      #endif
 
5454
 
 
5455
 
 
5456
#include <$ac_header>
 
5457
_ACEOF
 
5458
rm -f conftest.$ac_objext
 
5459
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5460
  (eval $ac_compile) 2>conftest.er1
 
5461
  ac_status=$?
 
5462
  grep -v '^ *+' conftest.er1 >conftest.err
 
5463
  rm -f conftest.er1
 
5464
  cat conftest.err >&5
 
5465
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5466
  (exit $ac_status); } &&
 
5467
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5468
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5469
  (eval $ac_try) 2>&5
 
5470
  ac_status=$?
 
5471
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5472
  (exit $ac_status); }; } &&
 
5473
         { ac_try='test -s conftest.$ac_objext'
 
5474
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5475
  (eval $ac_try) 2>&5
 
5476
  ac_status=$?
 
5477
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5478
  (exit $ac_status); }; }; then
 
5479
  eval "$as_ac_Header=yes"
 
5480
else
 
5481
  echo "$as_me: failed program was:" >&5
 
5482
sed 's/^/| /' conftest.$ac_ext >&5
 
5483
 
 
5484
eval "$as_ac_Header=no"
 
5485
fi
 
5486
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5487
fi
 
5488
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 
5489
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5490
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
5491
  cat >>confdefs.h <<_ACEOF
 
5492
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5493
_ACEOF
 
5494
 
 
5495
fi
 
5496
 
 
5497
done
 
5498
 
 
5499
 
 
5500
cat >>confdefs.h <<\_ACEOF
 
5501
#define ARP_PCAP_DLPI 1
 
5502
_ACEOF
 
5503
 
 
5504
      case $LIBOBJS in
 
5505
    "link-dlpi.$ac_objext"   | \
 
5506
  *" link-dlpi.$ac_objext"   | \
 
5507
    "link-dlpi.$ac_objext "* | \
 
5508
  *" link-dlpi.$ac_objext "* ) ;;
 
5509
  *) LIBOBJS="$LIBOBJS link-dlpi.$ac_objext" ;;
 
5510
esac
 
5511
 
 
5512
      ;;
5419
5513
   * )
5420
5514
      { { echo "$as_me:$LINENO: error: Host operating system $host_os is not supported" >&5
5421
5515
echo "$as_me: error: Host operating system $host_os is not supported" >&2;}
5638
5732
fi
5639
5733
 
5640
5734
 
 
5735
echo "$as_me:$LINENO: checking for strlcat" >&5
 
5736
echo $ECHO_N "checking for strlcat... $ECHO_C" >&6
 
5737
if test "${ac_cv_func_strlcat+set}" = set; then
 
5738
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5739
else
 
5740
  cat >conftest.$ac_ext <<_ACEOF
 
5741
/* confdefs.h.  */
 
5742
_ACEOF
 
5743
cat confdefs.h >>conftest.$ac_ext
 
5744
cat >>conftest.$ac_ext <<_ACEOF
 
5745
/* end confdefs.h.  */
 
5746
/* Define strlcat to an innocuous variant, in case <limits.h> declares strlcat.
 
5747
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
5748
#define strlcat innocuous_strlcat
 
5749
 
 
5750
/* System header to define __stub macros and hopefully few prototypes,
 
5751
    which can conflict with char strlcat (); below.
 
5752
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5753
    <limits.h> exists even on freestanding compilers.  */
 
5754
 
 
5755
#ifdef __STDC__
 
5756
# include <limits.h>
 
5757
#else
 
5758
# include <assert.h>
 
5759
#endif
 
5760
 
 
5761
#undef strlcat
 
5762
 
 
5763
/* Override any gcc2 internal prototype to avoid an error.  */
 
5764
#ifdef __cplusplus
 
5765
extern "C"
 
5766
{
 
5767
#endif
 
5768
/* We use char because int might match the return type of a gcc2
 
5769
   builtin and then its argument prototype would still apply.  */
 
5770
char strlcat ();
 
5771
/* The GNU C library defines this for functions which it implements
 
5772
    to always fail with ENOSYS.  Some functions are actually named
 
5773
    something starting with __ and the normal name is an alias.  */
 
5774
#if defined (__stub_strlcat) || defined (__stub___strlcat)
 
5775
choke me
 
5776
#else
 
5777
char (*f) () = strlcat;
 
5778
#endif
 
5779
#ifdef __cplusplus
 
5780
}
 
5781
#endif
 
5782
 
 
5783
int
 
5784
main ()
 
5785
{
 
5786
return f != strlcat;
 
5787
  ;
 
5788
  return 0;
 
5789
}
 
5790
_ACEOF
 
5791
rm -f conftest.$ac_objext conftest$ac_exeext
 
5792
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5793
  (eval $ac_link) 2>conftest.er1
 
5794
  ac_status=$?
 
5795
  grep -v '^ *+' conftest.er1 >conftest.err
 
5796
  rm -f conftest.er1
 
5797
  cat conftest.err >&5
 
5798
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5799
  (exit $ac_status); } &&
 
5800
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5801
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5802
  (eval $ac_try) 2>&5
 
5803
  ac_status=$?
 
5804
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5805
  (exit $ac_status); }; } &&
 
5806
         { ac_try='test -s conftest$ac_exeext'
 
5807
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5808
  (eval $ac_try) 2>&5
 
5809
  ac_status=$?
 
5810
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5811
  (exit $ac_status); }; }; then
 
5812
  ac_cv_func_strlcat=yes
 
5813
else
 
5814
  echo "$as_me: failed program was:" >&5
 
5815
sed 's/^/| /' conftest.$ac_ext >&5
 
5816
 
 
5817
ac_cv_func_strlcat=no
 
5818
fi
 
5819
rm -f conftest.err conftest.$ac_objext \
 
5820
      conftest$ac_exeext conftest.$ac_ext
 
5821
fi
 
5822
echo "$as_me:$LINENO: result: $ac_cv_func_strlcat" >&5
 
5823
echo "${ECHO_T}$ac_cv_func_strlcat" >&6
 
5824
if test $ac_cv_func_strlcat = yes; then
 
5825
 
 
5826
cat >>confdefs.h <<\_ACEOF
 
5827
#define HAVE_STRLCAT 1
 
5828
_ACEOF
 
5829
 
 
5830
else
 
5831
  case $LIBOBJS in
 
5832
    "strlcat.$ac_objext"   | \
 
5833
  *" strlcat.$ac_objext"   | \
 
5834
    "strlcat.$ac_objext "* | \
 
5835
  *" strlcat.$ac_objext "* ) ;;
 
5836
  *) LIBOBJS="$LIBOBJS strlcat.$ac_objext" ;;
 
5837
esac
 
5838
 
 
5839
fi
 
5840
 
 
5841
echo "$as_me:$LINENO: checking for strlcpy" >&5
 
5842
echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6
 
5843
if test "${ac_cv_func_strlcpy+set}" = set; then
 
5844
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5845
else
 
5846
  cat >conftest.$ac_ext <<_ACEOF
 
5847
/* confdefs.h.  */
 
5848
_ACEOF
 
5849
cat confdefs.h >>conftest.$ac_ext
 
5850
cat >>conftest.$ac_ext <<_ACEOF
 
5851
/* end confdefs.h.  */
 
5852
/* Define strlcpy to an innocuous variant, in case <limits.h> declares strlcpy.
 
5853
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
5854
#define strlcpy innocuous_strlcpy
 
5855
 
 
5856
/* System header to define __stub macros and hopefully few prototypes,
 
5857
    which can conflict with char strlcpy (); below.
 
5858
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5859
    <limits.h> exists even on freestanding compilers.  */
 
5860
 
 
5861
#ifdef __STDC__
 
5862
# include <limits.h>
 
5863
#else
 
5864
# include <assert.h>
 
5865
#endif
 
5866
 
 
5867
#undef strlcpy
 
5868
 
 
5869
/* Override any gcc2 internal prototype to avoid an error.  */
 
5870
#ifdef __cplusplus
 
5871
extern "C"
 
5872
{
 
5873
#endif
 
5874
/* We use char because int might match the return type of a gcc2
 
5875
   builtin and then its argument prototype would still apply.  */
 
5876
char strlcpy ();
 
5877
/* The GNU C library defines this for functions which it implements
 
5878
    to always fail with ENOSYS.  Some functions are actually named
 
5879
    something starting with __ and the normal name is an alias.  */
 
5880
#if defined (__stub_strlcpy) || defined (__stub___strlcpy)
 
5881
choke me
 
5882
#else
 
5883
char (*f) () = strlcpy;
 
5884
#endif
 
5885
#ifdef __cplusplus
 
5886
}
 
5887
#endif
 
5888
 
 
5889
int
 
5890
main ()
 
5891
{
 
5892
return f != strlcpy;
 
5893
  ;
 
5894
  return 0;
 
5895
}
 
5896
_ACEOF
 
5897
rm -f conftest.$ac_objext conftest$ac_exeext
 
5898
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
5899
  (eval $ac_link) 2>conftest.er1
 
5900
  ac_status=$?
 
5901
  grep -v '^ *+' conftest.er1 >conftest.err
 
5902
  rm -f conftest.er1
 
5903
  cat conftest.err >&5
 
5904
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5905
  (exit $ac_status); } &&
 
5906
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
5907
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5908
  (eval $ac_try) 2>&5
 
5909
  ac_status=$?
 
5910
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5911
  (exit $ac_status); }; } &&
 
5912
         { ac_try='test -s conftest$ac_exeext'
 
5913
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
5914
  (eval $ac_try) 2>&5
 
5915
  ac_status=$?
 
5916
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5917
  (exit $ac_status); }; }; then
 
5918
  ac_cv_func_strlcpy=yes
 
5919
else
 
5920
  echo "$as_me: failed program was:" >&5
 
5921
sed 's/^/| /' conftest.$ac_ext >&5
 
5922
 
 
5923
ac_cv_func_strlcpy=no
 
5924
fi
 
5925
rm -f conftest.err conftest.$ac_objext \
 
5926
      conftest$ac_exeext conftest.$ac_ext
 
5927
fi
 
5928
echo "$as_me:$LINENO: result: $ac_cv_func_strlcpy" >&5
 
5929
echo "${ECHO_T}$ac_cv_func_strlcpy" >&6
 
5930
if test $ac_cv_func_strlcpy = yes; then
 
5931
 
 
5932
cat >>confdefs.h <<\_ACEOF
 
5933
#define HAVE_STRLCPY 1
 
5934
_ACEOF
 
5935
 
 
5936
else
 
5937
  case $LIBOBJS in
 
5938
    "strlcpy.$ac_objext"   | \
 
5939
  *" strlcpy.$ac_objext"   | \
 
5940
    "strlcpy.$ac_objext "* | \
 
5941
  *" strlcpy.$ac_objext "* ) ;;
 
5942
  *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext" ;;
 
5943
esac
 
5944
 
 
5945
fi
 
5946
 
 
5947
 
5641
5948
          ac_config_files="$ac_config_files Makefile"
5642
5949
 
5643
5950
cat >confcache <<\_ACEOF
6016
6323
} >&5
6017
6324
cat >&5 <<_CSEOF
6018
6325
 
6019
 
This file was extended by arp-scan $as_me 1.5, which was
 
6326
This file was extended by arp-scan $as_me 1.6, which was
6020
6327
generated by GNU Autoconf 2.59.  Invocation command line was
6021
6328
 
6022
6329
  CONFIG_FILES    = $CONFIG_FILES
6079
6386
 
6080
6387
cat >>$CONFIG_STATUS <<_ACEOF
6081
6388
ac_cs_version="\\
6082
 
arp-scan config.status 1.5
 
6389
arp-scan config.status 1.6
6083
6390
configured by $0, generated by GNU Autoconf 2.59,
6084
6391
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6085
6392