~ubuntu-branches/ubuntu/trusty/dhcpcd/trusty-security

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Simon Kelley
  • Date: 2005-09-30 02:21:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050930022151-vq3xlcazj0bdpyf4
Tags: 1:2.0.0-2
Clear out /etc/dhcpc/resolv.conf and /var/lib/dhcpc/* 
during purge. (closes: #330515)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.7.2 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.7.9 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
4
4
# Free Software Foundation, Inc.
16
16
# This macro actually does too much some checks are only needed if
17
17
# your package does certain things.  But this isn't really a big deal.
18
18
 
19
 
# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
 
19
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
20
20
# Free Software Foundation, Inc.
21
21
 
22
22
# This program is free software; you can redistribute it and/or modify
34
34
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
35
35
# 02111-1307, USA.
36
36
 
37
 
# serial 8
38
 
 
39
 
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
40
 
# written in clear, in which case automake, when reading aclocal.m4,
41
 
# will think it sees a *use*, and therefore will trigger all it's
42
 
# C support machinery.  Also note that it means that autoscan, seeing
43
 
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
44
 
 
 
37
# serial 10
45
38
 
46
39
AC_PREREQ([2.54])
47
40
 
86
79
 AC_SUBST([PACKAGE], [$1])dnl
87
80
 AC_SUBST([VERSION], [$2])],
88
81
[_AM_SET_OPTIONS([$1])dnl
89
 
 AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
90
 
 AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
 
82
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
 
83
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
91
84
 
92
85
_AM_IF_OPTION([no-define],,
93
86
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
108
101
# some platforms.
109
102
AC_REQUIRE([AC_PROG_AWK])dnl
110
103
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
 
104
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
111
105
 
112
106
_AM_IF_OPTION([no-dependencies],,
113
107
[AC_PROVIDE_IFELSE([AC_PROG_CC],
130
124
# loop where config.status creates the headers, so we can generate
131
125
# our stamp files there.
132
126
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
133
 
[_am_stamp_count=`expr ${_am_stamp_count-0} + 1`
 
127
[# Compute $1's index in $config_headers.
 
128
_am_stamp_count=1
 
129
for _am_header in $config_headers :; do
 
130
  case $_am_header in
 
131
    $1 | $1:* )
 
132
      break ;;
 
133
    * )
 
134
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
135
  esac
 
136
done
134
137
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
135
138
 
136
139
# Copyright 2002  Free Software Foundation, Inc.
160
163
# Call AM_AUTOMAKE_VERSION so it can be traced.
161
164
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
162
165
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
163
 
         [AM_AUTOMAKE_VERSION([1.7.2])])
 
166
         [AM_AUTOMAKE_VERSION([1.7.9])])
164
167
 
165
168
# Helper functions for option handling.                    -*- Autoconf -*-
166
169
 
446
449
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
447
450
AC_SUBST([INSTALL_STRIP_PROGRAM])])
448
451
 
449
 
# serial 4                                              -*- Autoconf -*-
450
 
 
451
 
# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
 
452
#                                                          -*- Autoconf -*-
 
453
# Copyright (C) 2003  Free Software Foundation, Inc.
 
454
 
 
455
# This program is free software; you can redistribute it and/or modify
 
456
# it under the terms of the GNU General Public License as published by
 
457
# the Free Software Foundation; either version 2, or (at your option)
 
458
# any later version.
 
459
 
 
460
# This program is distributed in the hope that it will be useful,
 
461
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
462
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
463
# GNU General Public License for more details.
 
464
 
 
465
# You should have received a copy of the GNU General Public License
 
466
# along with this program; if not, write to the Free Software
 
467
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
468
# 02111-1307, USA.
 
469
 
 
470
# serial 1
 
471
 
 
472
# Check whether the underlying file-system supports filenames
 
473
# with a leading dot.  For instance MS-DOS doesn't.
 
474
AC_DEFUN([AM_SET_LEADING_DOT],
 
475
[rm -rf .tst 2>/dev/null
 
476
mkdir .tst 2>/dev/null
 
477
if test -d .tst; then
 
478
  am__leading_dot=.
 
479
else
 
480
  am__leading_dot=_
 
481
fi
 
482
rmdir .tst 2>/dev/null
 
483
AC_SUBST([am__leading_dot])])
 
484
 
 
485
# serial 5                                              -*- Autoconf -*-
 
486
 
 
487
# Copyright (C) 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.
452
488
 
453
489
# This program is free software; you can redistribute it and/or modify
454
490
# it under the terms of the GNU General Public License as published by
509
545
  # using a relative directory.
510
546
  cp "$am_depcomp" conftest.dir
511
547
  cd conftest.dir
 
548
  # We will build objects and dependencies in a subdirectory because
 
549
  # it helps to detect inapplicable dependency modes.  For instance
 
550
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
551
  # side effect of compilation, but ICC will put the dependencies in
 
552
  # the current directory while Tru64 will put them in the object
 
553
  # directory.
 
554
  mkdir sub
512
555
 
513
556
  am_cv_$1_dependencies_compiler_type=none
514
557
  if test "$am_compiler_list" = ""; then
515
558
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
516
559
  fi
517
560
  for depmode in $am_compiler_list; do
 
561
    # Setup a source with many dependencies, because some compilers
 
562
    # like to wrap large dependency lists on column 80 (with \), and
 
563
    # we should not choose a depcomp mode which is confused by this.
 
564
    #
518
565
    # We need to recreate these files for each test, as the compiler may
519
566
    # overwrite some of them when testing with obscure command lines.
520
567
    # This happens at least with the AIX C compiler.
521
 
    echo '#include "conftest.h"' > conftest.c
522
 
    echo 'int i;' > conftest.h
523
 
    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
 
568
    : > sub/conftest.c
 
569
    for i in 1 2 3 4 5 6; do
 
570
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
571
      : > sub/conftst$i.h
 
572
    done
 
573
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
524
574
 
525
575
    case $depmode in
526
576
    nosideeffect)
538
588
    # mode.  It turns out that the SunPro C++ compiler does not properly
539
589
    # handle `-M -o', and we need to detect this.
540
590
    if depmode=$depmode \
541
 
       source=conftest.c object=conftest.o \
542
 
       depfile=conftest.Po tmpdepfile=conftest.TPo \
543
 
       $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
544
 
       grep conftest.h conftest.Po > /dev/null 2>&1 &&
 
591
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
592
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
593
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
594
         >/dev/null 2>conftest.err &&
 
595
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
596
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
545
597
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
546
 
      am_cv_$1_dependencies_compiler_type=$depmode
547
 
      break
 
598
      # icc doesn't choke on unknown options, it will just issue warnings
 
599
      # (even with -Werror).  So we grep stderr for any message
 
600
      # that says an option was ignored.
 
601
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
602
        am_cv_$1_dependencies_compiler_type=$depmode
 
603
        break
 
604
      fi
548
605
    fi
549
606
  done
550
607
 
566
623
# Choose a directory name for dependency files.
567
624
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
568
625
AC_DEFUN([AM_SET_DEPDIR],
569
 
[rm -f .deps 2>/dev/null
570
 
mkdir .deps 2>/dev/null
571
 
if test -d .deps; then
572
 
  DEPDIR=.deps
573
 
else
574
 
  # MS-DOS does not allow filenames that begin with a dot.
575
 
  DEPDIR=_deps
576
 
fi
577
 
rmdir .deps 2>/dev/null
578
 
AC_SUBST([DEPDIR])
 
626
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 
627
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
579
628
])
580
629
 
581
630
 
679
728
 
680
729
# Check to see how 'make' treats includes.      -*- Autoconf -*-
681
730
 
682
 
# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
 
731
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
683
732
 
684
733
# This program is free software; you can redistribute it and/or modify
685
734
# it under the terms of the GNU General Public License as published by
704
753
AC_DEFUN([AM_MAKE_INCLUDE],
705
754
[am_make=${MAKE-make}
706
755
cat > confinc << 'END'
707
 
doit:
 
756
am__doit:
708
757
        @echo done
 
758
.PHONY: am__doit
709
759
END
710
760
# If we don't find an include directive, just comment out the code.
711
761
AC_MSG_CHECKING([for style of include used by $am_make])
733
783
      _am_result=BSD
734
784
   fi
735
785
fi
736
 
AC_SUBST(am__include)
737
 
AC_SUBST(am__quote)
738
 
AC_MSG_RESULT($_am_result)
 
786
AC_SUBST([am__include])
 
787
AC_SUBST([am__quote])
 
788
AC_MSG_RESULT([$_am_result])
739
789
rm -f confinc confmf
740
790
])
741
791