~ubuntu-branches/ubuntu/quantal/arp-scan/quantal

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): William Vera
  • Date: 2011-07-04 19:37:30 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110704193730-r8fb49mpqqlaic1f
Tags: 1.8.1-1
* New upstream release (Closes: #543383).
* Added William Vera as Uploader.
* Added a debian/watch file.
* Added "Homepage" in debian/control.
* Added libwww-perl as Recommend depend (Closes: #630563).
* Fixed empty-directory usr/sbin/.
* Added a patch to fix hyphen-used-as-minus-sign.
* Updated debian/copyright
* Updated debhelper version (>= 8).
* Updated debian/compat to 8.
* Updated Standards Version to 3.9.2.
* Cleanup debian/rules.
   + distclean rule.
* Switch to dpkg-source 3.0 (quilt) format

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.10 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005  Free Software Foundation, Inc.
 
4
# 2005, 2006  Free Software Foundation, Inc.
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
7
7
# with or without modifications, as long as this notice is preserved.
11
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
12
# PARTICULAR PURPOSE.
13
13
 
14
 
# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
 
14
m4_if(m4_PACKAGE_VERSION, [2.61],,
 
15
[m4_fatal([this file was generated for autoconf 2.61.
 
16
You have another version of autoconf.  If you want to use that,
 
17
you should regenerate the build system entirely.], [63])])
 
18
 
 
19
# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
15
20
#
16
21
# This file is free software; the Free Software Foundation
17
22
# gives unlimited permission to copy and/or distribute it,
21
26
# ----------------------------
22
27
# Automake X.Y traces this macro to ensure aclocal.m4 has been
23
28
# generated from the m4 files accompanying Automake X.Y.
24
 
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
 
29
# (This private macro should not be called outside this file.)
 
30
AC_DEFUN([AM_AUTOMAKE_VERSION],
 
31
[am__api_version='1.10'
 
32
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 
33
dnl require some minimum version.  Point them to the right macro.
 
34
m4_if([$1], [1.10], [],
 
35
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 
36
])
 
37
 
 
38
# _AM_AUTOCONF_VERSION(VERSION)
 
39
# -----------------------------
 
40
# aclocal traces this macro to find the Autoconf version.
 
41
# This is a private macro too.  Using m4_define simplifies
 
42
# the logic in aclocal, which can simply ignore this definition.
 
43
m4_define([_AM_AUTOCONF_VERSION], [])
25
44
 
26
45
# AM_SET_CURRENT_AUTOMAKE_VERSION
27
46
# -------------------------------
28
 
# Call AM_AUTOMAKE_VERSION so it can be traced.
 
47
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
29
48
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
30
49
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
31
 
         [AM_AUTOMAKE_VERSION([1.9.5])])
 
50
[AM_AUTOMAKE_VERSION([1.10])dnl
 
51
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
32
52
 
33
53
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
34
54
 
85
105
 
86
106
# AM_CONDITIONAL                                            -*- Autoconf -*-
87
107
 
88
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
 
108
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
89
109
# Free Software Foundation, Inc.
90
110
#
91
111
# This file is free software; the Free Software Foundation
92
112
# gives unlimited permission to copy and/or distribute it,
93
113
# with or without modifications, as long as this notice is preserved.
94
114
 
95
 
# serial 7
 
115
# serial 8
96
116
 
97
117
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
98
118
# -------------------------------------
101
121
[AC_PREREQ(2.52)dnl
102
122
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
103
123
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
104
 
AC_SUBST([$1_TRUE])
105
 
AC_SUBST([$1_FALSE])
 
124
AC_SUBST([$1_TRUE])dnl
 
125
AC_SUBST([$1_FALSE])dnl
 
126
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
 
127
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
106
128
if $2; then
107
129
  $1_TRUE=
108
130
  $1_FALSE='#'
116
138
Usually this means the macro was only invoked conditionally.]])
117
139
fi])])
118
140
 
119
 
 
120
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
141
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
121
142
# Free Software Foundation, Inc.
122
143
#
123
144
# This file is free software; the Free Software Foundation
124
145
# gives unlimited permission to copy and/or distribute it,
125
146
# with or without modifications, as long as this notice is preserved.
126
147
 
127
 
# serial 8
 
148
# serial 9
128
149
 
129
150
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
130
151
# written in clear, in which case automake, when reading aclocal.m4,
152
173
ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
153
174
       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
154
175
       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 
176
       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
155
177
       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
156
178
                   [depcc="$$1"   am_compiler_list=])
157
179
 
217
239
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
218
240
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
219
241
         >/dev/null 2>conftest.err &&
 
242
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
220
243
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
221
244
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
222
245
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
269
292
  AMDEPBACKSLASH='\'
270
293
fi
271
294
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
272
 
AC_SUBST([AMDEPBACKSLASH])
 
295
AC_SUBST([AMDEPBACKSLASH])dnl
 
296
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
273
297
])
274
298
 
275
299
# Generate code to set up dependency tracking.              -*- Autoconf -*-
294
318
  # some people rename them; so instead we look at the file content.
295
319
  # Grep'ing the first line is not enough: some people post-process
296
320
  # each Makefile.in and add a new line on top of each file to say so.
297
 
  # So let's grep whole file.
298
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
321
  # Grep'ing the whole file is not good either: AIX grep has a line
 
322
  # limit of 2048, but all sed's we know have understand at least 4000.
 
323
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
299
324
    dirpart=`AS_DIRNAME("$mf")`
300
325
  else
301
326
    continue
340
365
     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
341
366
])
342
367
 
343
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
344
 
# Free Software Foundation, Inc.
345
 
#
346
 
# This file is free software; the Free Software Foundation
347
 
# gives unlimited permission to copy and/or distribute it,
348
 
# with or without modifications, as long as this notice is preserved.
349
 
 
350
 
# serial 8
351
 
 
352
 
# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
353
 
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
354
 
 
355
368
# Do all the work for Automake.                             -*- Autoconf -*-
356
369
 
357
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
358
 
# Free Software Foundation, Inc.
 
370
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 
371
# 2005, 2006 Free Software Foundation, Inc.
359
372
#
360
373
# This file is free software; the Free Software Foundation
361
374
# gives unlimited permission to copy and/or distribute it,
378
391
# arguments mandatory, and then we can depend on a new Autoconf
379
392
# release and drop the old call support.
380
393
AC_DEFUN([AM_INIT_AUTOMAKE],
381
 
[AC_PREREQ([2.58])dnl
 
394
[AC_PREREQ([2.60])dnl
382
395
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
383
396
dnl the ones we care about.
384
397
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
385
398
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
386
399
AC_REQUIRE([AC_PROG_INSTALL])dnl
387
 
# test to see if srcdir already configured
388
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
389
 
   test -f $srcdir/config.status; then
390
 
  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
400
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
401
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
402
  # is not polluted with repeated "-I."
 
403
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
 
404
  # test to see if srcdir already configured
 
405
  if test -f $srcdir/config.status; then
 
406
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
407
  fi
391
408
fi
392
409
 
393
410
# test whether we have cygpath
407
424
 AC_SUBST([PACKAGE], [$1])dnl
408
425
 AC_SUBST([VERSION], [$2])],
409
426
[_AM_SET_OPTIONS([$1])dnl
 
427
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
 
428
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
 
429
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
410
430
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
411
431
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
412
432
 
442
462
                  [_AM_DEPENDENCIES(CXX)],
443
463
                  [define([AC_PROG_CXX],
444
464
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
465
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
 
466
                  [_AM_DEPENDENCIES(OBJC)],
 
467
                  [define([AC_PROG_OBJC],
 
468
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
445
469
])
446
470
])
447
471
 
477
501
# Define $install_sh.
478
502
AC_DEFUN([AM_PROG_INSTALL_SH],
479
503
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
480
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
504
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
481
505
AC_SUBST(install_sh)])
482
506
 
483
507
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
555
579
 
556
580
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
557
581
 
558
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
 
582
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
559
583
# Free Software Foundation, Inc.
560
584
#
561
585
# This file is free software; the Free Software Foundation
562
586
# gives unlimited permission to copy and/or distribute it,
563
587
# with or without modifications, as long as this notice is preserved.
564
588
 
565
 
# serial 4
 
589
# serial 5
566
590
 
567
591
# AM_MISSING_PROG(NAME, PROGRAM)
568
592
# ------------------------------
578
602
# If it does, set am_missing_run to use it, otherwise, to nothing.
579
603
AC_DEFUN([AM_MISSING_HAS_RUN],
580
604
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
605
AC_REQUIRE_AUX_FILE([missing])dnl
581
606
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
582
607
# Use eval to expand $SHELL
583
608
if eval "$MISSING --run true"; then
588
613
fi
589
614
])
590
615
 
591
 
# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
 
616
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
592
617
#
593
618
# This file is free software; the Free Software Foundation
594
619
# gives unlimited permission to copy and/or distribute it,
596
621
 
597
622
# AM_PROG_MKDIR_P
598
623
# ---------------
599
 
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
600
 
#
601
 
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
602
 
# created by `make install' are always world readable, even if the
603
 
# installer happens to have an overly restrictive umask (e.g. 077).
604
 
# This was a mistake.  There are at least two reasons why we must not
605
 
# use `-m 0755':
606
 
#   - it causes special bits like SGID to be ignored,
607
 
#   - it may be too restrictive (some setups expect 775 directories).
608
 
#
609
 
# Do not use -m 0755 and let people choose whatever they expect by
610
 
# setting umask.
611
 
#
612
 
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
613
 
# Some implementations (such as Solaris 8's) are not thread-safe: if a
614
 
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
615
 
# concurrently, both version can detect that a/ is missing, but only
616
 
# one can create it and the other will error out.  Consequently we
617
 
# restrict ourselves to GNU make (using the --version option ensures
618
 
# this.)
 
624
# Check for `mkdir -p'.
619
625
AC_DEFUN([AM_PROG_MKDIR_P],
620
 
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
621
 
  # We used to keeping the `.' as first argument, in order to
622
 
  # allow $(mkdir_p) to be used without argument.  As in
623
 
  #   $(mkdir_p) $(somedir)
624
 
  # where $(somedir) is conditionally defined.  However this is wrong
625
 
  # for two reasons:
626
 
  #  1. if the package is installed by a user who cannot write `.'
627
 
  #     make install will fail,
628
 
  #  2. the above comment should most certainly read
629
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
630
 
  #     so it does not work when $(somedir) is undefined and
631
 
  #     $(DESTDIR) is not.
632
 
  #  To support the latter case, we have to write
633
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
634
 
  #  so the `.' trick is pointless.
635
 
  mkdir_p='mkdir -p --'
636
 
else
637
 
  # On NextStep and OpenStep, the `mkdir' command does not
638
 
  # recognize any option.  It will interpret all options as
639
 
  # directories to create, and then abort because `.' already
640
 
  # exists.
641
 
  for d in ./-p ./--version;
642
 
  do
643
 
    test -d $d && rmdir $d
644
 
  done
645
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
646
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
647
 
    mkdir_p='$(mkinstalldirs)'
648
 
  else
649
 
    mkdir_p='$(install_sh) -d'
650
 
  fi
651
 
fi
652
 
AC_SUBST([mkdir_p])])
 
626
[AC_PREREQ([2.60])dnl
 
627
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 
628
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
 
629
dnl while keeping a definition of mkdir_p for backward compatibility.
 
630
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
 
631
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
 
632
dnl Makefile.ins that do not define MKDIR_P, so we do our own
 
633
dnl adjustment using top_builddir (which is defined more often than
 
634
dnl MKDIR_P).
 
635
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
 
636
case $mkdir_p in
 
637
  [[\\/$]]* | ?:[[\\/]]*) ;;
 
638
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
639
esac
 
640
])
653
641
 
654
642
# Helper functions for option handling.                     -*- Autoconf -*-
655
643
 
761
749
if test "$cross_compiling" != no; then
762
750
  AC_CHECK_TOOL([STRIP], [strip], :)
763
751
fi
764
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
752
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
765
753
AC_SUBST([INSTALL_STRIP_PROGRAM])])
766
754
 
 
755
# Copyright (C) 2006  Free Software Foundation, Inc.
 
756
#
 
757
# This file is free software; the Free Software Foundation
 
758
# gives unlimited permission to copy and/or distribute it,
 
759
# with or without modifications, as long as this notice is preserved.
 
760
 
 
761
# _AM_SUBST_NOTMAKE(VARIABLE)
 
762
# ---------------------------
 
763
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
 
764
# This macro is traced by Automake.
 
765
AC_DEFUN([_AM_SUBST_NOTMAKE])
 
766
 
767
767
# Check how to create a tarball.                            -*- Autoconf -*-
768
768
 
769
769
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.