~ubuntu-branches/ubuntu/saucy/ucarp/saucy

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Eric Evans
  • Date: 2004-12-24 12:39:30 UTC
  • Revision ID: james.westby@ubuntu.com-20041224123930-9qnzcd6o5j0jjjvm
Tags: 1.1-2
Patched to correct a bug that caused upscript to also be applied
when state changed to BACKUP, if --dowscript was passed before
--upscript, (Closes: #284891). Thanks Michail Bachmann
<michail.bachmann@cms.hu-berlin.de>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.8.2 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.8.5 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
4
4
# Free Software Foundation, Inc.
40
40
# Call AM_AUTOMAKE_VERSION so it can be traced.
41
41
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
42
42
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
43
 
         [AM_AUTOMAKE_VERSION([1.8.2])])
 
43
         [AM_AUTOMAKE_VERSION([1.8.5])])
44
44
 
45
45
# AM_AUX_DIR_EXPAND
46
46
 
149
149
Usually this means the macro was only invoked conditionally.])
150
150
fi])])
151
151
 
152
 
# serial 6                                              -*- Autoconf -*-
 
152
# serial 7                                              -*- Autoconf -*-
153
153
 
154
154
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
155
155
# Free Software Foundation, Inc.
236
236
    : > sub/conftest.c
237
237
    for i in 1 2 3 4 5 6; do
238
238
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
239
 
      : > sub/conftst$i.h
 
239
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
240
      # Solaris 8's {/usr,}/bin/sh.
 
241
      touch sub/conftst$i.h
240
242
    done
241
243
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
242
244
 
264
266
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
265
267
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
266
268
      # icc doesn't choke on unknown options, it will just issue warnings
267
 
      # (even with -Werror).  So we grep stderr for any message
268
 
      # that says an option was ignored.
269
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
269
      # or remarks (even with -Werror).  So we grep stderr for any message
 
270
      # that says an option was ignored or not supported.
 
271
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
272
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
273
      # The diagnosis changed in icc 8.0:
 
274
      #   icc: Command line remark: option '-MP' not supported
 
275
      if (grep 'ignoring option' conftest.err ||
 
276
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
270
277
        am_cv_$1_dependencies_compiler_type=$depmode
271
278
        break
272
279
      fi
312
319
 
313
320
# Generate code to set up dependency tracking.   -*- Autoconf -*-
314
321
 
315
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
322
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
316
323
 
317
324
# This program is free software; you can redistribute it and/or modify
318
325
# it under the terms of the GNU General Public License as published by
351
358
  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
352
359
  # Extract the definition of DEP_FILES from the Makefile without
353
360
  # running `make'.
354
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
361
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
355
362
  test -z "$DEPDIR" && continue
356
363
  # When using ansi2knr, U may be empty or an underscore; expand it
357
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
 
364
  U=`sed -n 's/^U = //p' < "$mf"`
358
365
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
359
366
  # We invoke sed twice because it is the simplest approach to
360
367
  # changing $(DEPDIR) to its actual value in the expansion.
361
 
  for file in `sed -n -e '
 
368
  for file in `sed -n '
362
369
    /^DEP_FILES = .*\\\\$/ {
363
370
      s/^DEP_FILES = //
364
371
      :loop
717
724
#
718
725
# Do not use -m 0755 and let people choose whatever they expect by
719
726
# setting umask.
 
727
#
 
728
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
 
729
# Some implementations (such as Solaris 8's) are not thread-safe: if a
 
730
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
 
731
# concurrently, both version can detect that a/ is missing, but only
 
732
# one can create it and the other will error out.  Consequently we
 
733
# restrict ourselves to GNU make (using the --version option ensures
 
734
# this.)
720
735
AC_DEFUN([AM_PROG_MKDIR_P],
721
 
[if mkdir -p -- . 2>/dev/null; then
 
736
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
722
737
  # Keeping the `.' argument allows $(mkdir_p) to be used without
723
738
  # argument.  Indeed, we sometimes output rules like
724
739
  #   $(mkdir_p) $(somedir)
731
746
  # recognize any option.  It will interpret all options as
732
747
  # directories to create, and then abort because `.' already
733
748
  # exists.
734
 
  for d in ./-p ./--;
 
749
  for d in ./-p ./--version;
735
750
  do
736
751
    test -d $d && rmdir $d
737
752
  done
891
906
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
892
907
AC_SUBST([INSTALL_STRIP_PROGRAM])])
893
908
 
 
909
m4_include([m4/gettext.m4])
 
910
m4_include([m4/iconv.m4])
 
911
m4_include([m4/lib-ld.m4])
 
912
m4_include([m4/lib-link.m4])
 
913
m4_include([m4/lib-prefix.m4])
 
914
m4_include([m4/nls.m4])
 
915
m4_include([m4/po.m4])
 
916
m4_include([m4/progtest.m4])