~ubuntu-branches/ubuntu/precise/mountall/precise

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Colin Watson
  • Date: 2012-04-12 15:23:41 UTC
  • Revision ID: cjwatson@canonical.com-20120412152341-xnn1tp9h7hgeyhzq
bump configure.ac to 2.36, and general autotools update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
 
5
# Inc.
5
6
# This file is free software; the Free Software Foundation
6
7
# gives unlimited permission to copy and/or distribute it,
7
8
# with or without modifications, as long as this notice is preserved.
19
20
If you have problems, you may need to regenerate the build system entirely.
20
21
To do so, use the procedure documented by the package, typically `autoreconf'.])])
21
22
 
22
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
23
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
 
24
# Foundation, Inc.
23
25
#
24
26
# This file is free software; the Free Software Foundation
25
27
# gives unlimited permission to copy and/or distribute it,
26
28
# with or without modifications, as long as this notice is preserved.
27
29
 
 
30
# serial 1
 
31
 
28
32
# AM_AUTOMAKE_VERSION(VERSION)
29
33
# ----------------------------
30
34
# Automake X.Y traces this macro to ensure aclocal.m4 has been
34
38
[am__api_version='1.11'
35
39
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36
40
dnl require some minimum version.  Point them to the right macro.
37
 
m4_if([$1], [1.11.1], [],
 
41
m4_if([$1], [1.11.3], [],
38
42
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39
43
])
40
44
 
50
54
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51
55
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52
56
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53
 
[AM_AUTOMAKE_VERSION([1.11.1])dnl
 
57
[AM_AUTOMAKE_VERSION([1.11.3])dnl
54
58
m4_ifndef([AC_AUTOCONF_VERSION],
55
59
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56
60
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
57
61
 
58
62
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
59
63
 
60
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
64
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
61
65
#
62
66
# This file is free software; the Free Software Foundation
63
67
# gives unlimited permission to copy and/or distribute it,
64
68
# with or without modifications, as long as this notice is preserved.
65
69
 
 
70
# serial 1
 
71
 
66
72
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
67
73
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
68
74
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
144
150
Usually this means the macro was only invoked conditionally.]])
145
151
fi])])
146
152
 
147
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
148
 
# Free Software Foundation, Inc.
 
153
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
 
154
# 2010, 2011 Free Software Foundation, Inc.
149
155
#
150
156
# This file is free software; the Free Software Foundation
151
157
# gives unlimited permission to copy and/or distribute it,
152
158
# with or without modifications, as long as this notice is preserved.
153
159
 
154
 
# serial 10
 
160
# serial 12
155
161
 
156
162
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
157
163
# written in clear, in which case automake, when reading aclocal.m4,
191
197
  # instance it was reported that on HP-UX the gcc test will end up
192
198
  # making a dummy file named `D' -- because `-MD' means `put the output
193
199
  # in D'.
 
200
  rm -rf conftest.dir
194
201
  mkdir conftest.dir
195
202
  # Copy depcomp to subdir because otherwise we won't find it if we're
196
203
  # using a relative directory.
255
262
        break
256
263
      fi
257
264
      ;;
258
 
    msvisualcpp | msvcmsys)
 
265
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
259
266
      # This compiler won't grok `-c -o', but also, the minuso test has
260
267
      # not run yet.  These depmodes are late enough in the game, and
261
268
      # so weak that their functioning should not be impacted.
320
327
if test "x$enable_dependency_tracking" != xno; then
321
328
  am_depcomp="$ac_aux_dir/depcomp"
322
329
  AMDEPBACKSLASH='\'
 
330
  am__nodep='_no'
323
331
fi
324
332
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
325
333
AC_SUBST([AMDEPBACKSLASH])dnl
326
334
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 
335
AC_SUBST([am__nodep])dnl
 
336
_AM_SUBST_NOTMAKE([am__nodep])dnl
327
337
])
328
338
 
329
339
# Generate code to set up dependency tracking.              -*- Autoconf -*-
545
555
done
546
556
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
547
557
 
548
 
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
 
558
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
 
559
# Inc.
549
560
#
550
561
# This file is free software; the Free Software Foundation
551
562
# gives unlimited permission to copy and/or distribute it,
552
563
# with or without modifications, as long as this notice is preserved.
553
564
 
 
565
# serial 1
 
566
 
554
567
# AM_PROG_INSTALL_SH
555
568
# ------------------
556
569
# Define $install_sh.
590
603
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
591
604
# From Jim Meyering
592
605
 
593
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
594
 
# Free Software Foundation, Inc.
 
606
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
 
607
# 2011 Free Software Foundation, Inc.
595
608
#
596
609
# This file is free software; the Free Software Foundation
597
610
# gives unlimited permission to copy and/or distribute it,
611
624
       [disable], [m4_define([am_maintainer_other], [enable])],
612
625
       [m4_define([am_maintainer_other], [enable])
613
626
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
614
 
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
627
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
615
628
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
616
629
  AC_ARG_ENABLE([maintainer-mode],
617
630
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
757
770
fi
758
771
])
759
772
 
760
 
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
773
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
 
774
# Inc.
761
775
#
762
776
# This file is free software; the Free Software Foundation
763
777
# gives unlimited permission to copy and/or distribute it,
764
778
# with or without modifications, as long as this notice is preserved.
765
779
 
 
780
# serial 1
 
781
 
766
782
# AM_PROG_MKDIR_P
767
783
# ---------------
768
784
# Check for `mkdir -p'.
785
801
 
786
802
# Helper functions for option handling.                     -*- Autoconf -*-
787
803
 
788
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
 
804
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
 
805
# Foundation, Inc.
789
806
#
790
807
# This file is free software; the Free Software Foundation
791
808
# gives unlimited permission to copy and/or distribute it,
792
809
# with or without modifications, as long as this notice is preserved.
793
810
 
794
 
# serial 4
 
811
# serial 5
795
812
 
796
813
# _AM_MANGLE_OPTION(NAME)
797
814
# -----------------------
799
816
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
800
817
 
801
818
# _AM_SET_OPTION(NAME)
802
 
# ------------------------------
 
819
# --------------------
803
820
# Set option NAME.  Presently that only means defining a flag for this option.
804
821
AC_DEFUN([_AM_SET_OPTION],
805
822
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
806
823
 
807
824
# _AM_SET_OPTIONS(OPTIONS)
808
 
# ----------------------------------
 
825
# ------------------------
809
826
# OPTIONS is a space-separated list of Automake options.
810
827
AC_DEFUN([_AM_SET_OPTIONS],
811
828
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
881
898
fi
882
899
AC_MSG_RESULT(yes)])
883
900
 
884
 
# Copyright (C) 2009  Free Software Foundation, Inc.
 
901
# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
885
902
#
886
903
# This file is free software; the Free Software Foundation
887
904
# gives unlimited permission to copy and/or distribute it,
888
905
# with or without modifications, as long as this notice is preserved.
889
906
 
890
 
# serial 1
 
907
# serial 2
891
908
 
892
909
# AM_SILENT_RULES([DEFAULT])
893
910
# --------------------------
902
919
no)  AM_DEFAULT_VERBOSITY=1;;
903
920
*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
904
921
esac
 
922
dnl
 
923
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
 
924
dnl do not support nested variable expansions.
 
925
dnl See automake bug#9928 and bug#10237.
 
926
am_make=${MAKE-make}
 
927
AC_CACHE_CHECK([whether $am_make supports nested variables],
 
928
   [am_cv_make_support_nested_variables],
 
929
   [if AS_ECHO([['TRUE=$(BAR$(V))
 
930
BAR0=false
 
931
BAR1=true
 
932
V=1
 
933
am__doit:
 
934
        @$(TRUE)
 
935
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
 
936
  am_cv_make_support_nested_variables=yes
 
937
else
 
938
  am_cv_make_support_nested_variables=no
 
939
fi])
 
940
if test $am_cv_make_support_nested_variables = yes; then
 
941
  dnl Using `$V' instead of `$(V)' breaks IRIX make.
 
942
  AM_V='$(V)'
 
943
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
944
else
 
945
  AM_V=$AM_DEFAULT_VERBOSITY
 
946
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
947
fi
 
948
AC_SUBST([AM_V])dnl
 
949
AM_SUBST_NOTMAKE([AM_V])dnl
 
950
AC_SUBST([AM_DEFAULT_V])dnl
 
951
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
905
952
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
906
953
AM_BACKSLASH='\'
907
954
AC_SUBST([AM_BACKSLASH])dnl
908
955
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
909
956
])
910
957
 
911
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
958
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
912
959
#
913
960
# This file is free software; the Free Software Foundation
914
961
# gives unlimited permission to copy and/or distribute it,
915
962
# with or without modifications, as long as this notice is preserved.
916
963
 
 
964
# serial 1
 
965
 
917
966
# AM_PROG_INSTALL_STRIP
918
967
# ---------------------
919
968
# One issue with vendor `install' (even GNU) is that you can't
936
985
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
937
986
AC_SUBST([INSTALL_STRIP_PROGRAM])])
938
987
 
939
 
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
 
988
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
940
989
#
941
990
# This file is free software; the Free Software Foundation
942
991
# gives unlimited permission to copy and/or distribute it,
943
992
# with or without modifications, as long as this notice is preserved.
944
993
 
945
 
# serial 2
 
994
# serial 3
946
995
 
947
996
# _AM_SUBST_NOTMAKE(VARIABLE)
948
997
# ---------------------------
951
1000
AC_DEFUN([_AM_SUBST_NOTMAKE])
952
1001
 
953
1002
# AM_SUBST_NOTMAKE(VARIABLE)
954
 
# ---------------------------
 
1003
# --------------------------
955
1004
# Public sister of _AM_SUBST_NOTMAKE.
956
1005
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
957
1006
 
958
1007
# Check how to create a tarball.                            -*- Autoconf -*-
959
1008
 
960
 
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
1009
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
961
1010
#
962
1011
# This file is free software; the Free Software Foundation
963
1012
# gives unlimited permission to copy and/or distribute it,
979
1028
# a tarball read from stdin.
980
1029
#     $(am__untar) < result.tar
981
1030
AC_DEFUN([_AM_PROG_TAR],
982
 
[# Always define AMTAR for backward compatibility.
983
 
AM_MISSING_PROG([AMTAR], [tar])
 
1031
[# Always define AMTAR for backward compatibility.  Yes, it's still used
 
1032
# in the wild :-(  We should find a proper way to deprecate it ...
 
1033
AC_SUBST([AMTAR], ['$${TAR-tar}'])
984
1034
m4_if([$1], [v7],
985
 
     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
 
1035
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
986
1036
     [m4_case([$1], [ustar],, [pax],,
987
1037
              [m4_fatal([Unknown tar format])])
988
1038
AC_MSG_CHECKING([how to create a $1 tar archive])