~ubuntu-branches/ubuntu/trusty/kbd/trusty

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-02-18 13:25:55 UTC
  • mfrom: (1.1.22 sid)
  • Revision ID: package-import@ubuntu.com-20130218132555-9aiwvswlo12fo32s
Tags: 1.15.5-1ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Add setfont, kbd_mode, and loadkeys to initramfs for console-setup.
  - Use ckbcomp to get the keyboard layout if other data files are not
    available.
  - Depend on console-setup, and remove config file; we now only support
    systems using console-setup and so it no longer serves a purpose. The
    removed config file for console-screen has changed names from
    /etc/init.d/console-screen.kbd.sh to /etc/init.d/kbd.
  - Change loadkeys to find any console not in raw mode when invoked
    without an explicit console parameter, in case the foreground console
    is in raw mode.
  - Simplify maintainer scripts for conffile removal, using new features
    in debhelper 8.1.0.
  - Add setvtrgb to kbd-udeb.
* Fix incorrect keymap sanity check in loadkeys_ckbcomp.diff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.11.1a -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11.6 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008, 2009, 2010  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.
13
14
 
14
15
m4_ifndef([AC_AUTOCONF_VERSION],
15
16
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
 
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
17
 
[m4_warning([this file was generated for autoconf 2.65.
 
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
 
18
[m4_warning([this file was generated for autoconf 2.68.
18
19
You have another version of autoconf.  It may work, but is not guaranteed to.
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.1a], [],
 
41
m4_if([$1], [1.11.6], [],
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.1a])dnl
 
57
[AM_AUTOMAKE_VERSION([1.11.6])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/../..'.
145
151
fi])])
146
152
 
147
153
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
148
 
# 2010  Free Software Foundation, Inc.
 
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 11
 
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.
548
555
done
549
556
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
550
557
 
551
 
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
 
558
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
 
559
# Inc.
552
560
#
553
561
# This file is free software; the Free Software Foundation
554
562
# gives unlimited permission to copy and/or distribute it,
555
563
# with or without modifications, as long as this notice is preserved.
556
564
 
 
565
# serial 1
 
566
 
557
567
# AM_PROG_INSTALL_SH
558
568
# ------------------
559
569
# Define $install_sh.
720
730
fi
721
731
])
722
732
 
723
 
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
733
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
 
734
# Inc.
724
735
#
725
736
# This file is free software; the Free Software Foundation
726
737
# gives unlimited permission to copy and/or distribute it,
727
738
# with or without modifications, as long as this notice is preserved.
728
739
 
 
740
# serial 1
 
741
 
729
742
# AM_PROG_MKDIR_P
730
743
# ---------------
731
744
# Check for `mkdir -p'.
748
761
 
749
762
# Helper functions for option handling.                     -*- Autoconf -*-
750
763
 
751
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
 
764
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
 
765
# Foundation, Inc.
752
766
#
753
767
# This file is free software; the Free Software Foundation
754
768
# gives unlimited permission to copy and/or distribute it,
755
769
# with or without modifications, as long as this notice is preserved.
756
770
 
757
 
# serial 4
 
771
# serial 5
758
772
 
759
773
# _AM_MANGLE_OPTION(NAME)
760
774
# -----------------------
762
776
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
763
777
 
764
778
# _AM_SET_OPTION(NAME)
765
 
# ------------------------------
 
779
# --------------------
766
780
# Set option NAME.  Presently that only means defining a flag for this option.
767
781
AC_DEFUN([_AM_SET_OPTION],
768
782
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
769
783
 
770
784
# _AM_SET_OPTIONS(OPTIONS)
771
 
# ----------------------------------
 
785
# ------------------------
772
786
# OPTIONS is a space-separated list of Automake options.
773
787
AC_DEFUN([_AM_SET_OPTIONS],
774
788
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
844
858
fi
845
859
AC_MSG_RESULT(yes)])
846
860
 
847
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
848
 
#
849
 
# This file is free software; the Free Software Foundation
850
 
# gives unlimited permission to copy and/or distribute it,
851
 
# with or without modifications, as long as this notice is preserved.
 
861
# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
 
862
#
 
863
# This file is free software; the Free Software Foundation
 
864
# gives unlimited permission to copy and/or distribute it,
 
865
# with or without modifications, as long as this notice is preserved.
 
866
 
 
867
# serial 2
 
868
 
 
869
# AM_SILENT_RULES([DEFAULT])
 
870
# --------------------------
 
871
# Enable less verbose build rules; with the default set to DEFAULT
 
872
# (`yes' being less verbose, `no' or empty being verbose).
 
873
AC_DEFUN([AM_SILENT_RULES],
 
874
[AC_ARG_ENABLE([silent-rules],
 
875
[  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
876
  --disable-silent-rules         verbose build output (undo: `make V=0')])
 
877
case $enable_silent_rules in
 
878
yes) AM_DEFAULT_VERBOSITY=0;;
 
879
no)  AM_DEFAULT_VERBOSITY=1;;
 
880
*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
 
881
esac
 
882
dnl
 
883
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
 
884
dnl do not support nested variable expansions.
 
885
dnl See automake bug#9928 and bug#10237.
 
886
am_make=${MAKE-make}
 
887
AC_CACHE_CHECK([whether $am_make supports nested variables],
 
888
   [am_cv_make_support_nested_variables],
 
889
   [if AS_ECHO([['TRUE=$(BAR$(V))
 
890
BAR0=false
 
891
BAR1=true
 
892
V=1
 
893
am__doit:
 
894
        @$(TRUE)
 
895
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
 
896
  am_cv_make_support_nested_variables=yes
 
897
else
 
898
  am_cv_make_support_nested_variables=no
 
899
fi])
 
900
if test $am_cv_make_support_nested_variables = yes; then
 
901
  dnl Using `$V' instead of `$(V)' breaks IRIX make.
 
902
  AM_V='$(V)'
 
903
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
904
else
 
905
  AM_V=$AM_DEFAULT_VERBOSITY
 
906
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
907
fi
 
908
AC_SUBST([AM_V])dnl
 
909
AM_SUBST_NOTMAKE([AM_V])dnl
 
910
AC_SUBST([AM_DEFAULT_V])dnl
 
911
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
 
912
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
 
913
AM_BACKSLASH='\'
 
914
AC_SUBST([AM_BACKSLASH])dnl
 
915
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
 
916
])
 
917
 
 
918
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 
919
#
 
920
# This file is free software; the Free Software Foundation
 
921
# gives unlimited permission to copy and/or distribute it,
 
922
# with or without modifications, as long as this notice is preserved.
 
923
 
 
924
# serial 1
852
925
 
853
926
# AM_PROG_INSTALL_STRIP
854
927
# ---------------------
872
945
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
873
946
AC_SUBST([INSTALL_STRIP_PROGRAM])])
874
947
 
875
 
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
 
948
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
876
949
#
877
950
# This file is free software; the Free Software Foundation
878
951
# gives unlimited permission to copy and/or distribute it,
879
952
# with or without modifications, as long as this notice is preserved.
880
953
 
881
 
# serial 2
 
954
# serial 3
882
955
 
883
956
# _AM_SUBST_NOTMAKE(VARIABLE)
884
957
# ---------------------------
887
960
AC_DEFUN([_AM_SUBST_NOTMAKE])
888
961
 
889
962
# AM_SUBST_NOTMAKE(VARIABLE)
890
 
# ---------------------------
 
963
# --------------------------
891
964
# Public sister of _AM_SUBST_NOTMAKE.
892
965
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
893
966
 
894
967
# Check how to create a tarball.                            -*- Autoconf -*-
895
968
 
896
 
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
969
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
897
970
#
898
971
# This file is free software; the Free Software Foundation
899
972
# gives unlimited permission to copy and/or distribute it,
915
988
# a tarball read from stdin.
916
989
#     $(am__untar) < result.tar
917
990
AC_DEFUN([_AM_PROG_TAR],
918
 
[# Always define AMTAR for backward compatibility.
919
 
AM_MISSING_PROG([AMTAR], [tar])
 
991
[# Always define AMTAR for backward compatibility.  Yes, it's still used
 
992
# in the wild :-(  We should find a proper way to deprecate it ...
 
993
AC_SUBST([AMTAR], ['$${TAR-tar}'])
920
994
m4_if([$1], [v7],
921
 
     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
 
995
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
922
996
     [m4_case([$1], [ustar],, [pax],,
923
997
              [m4_fatal([Unknown tar format])])
924
998
AC_MSG_CHECKING([how to create a $1 tar archive])
987
1061
AC_SUBST([am__untar])
988
1062
]) # _AM_PROG_TAR
989
1063
 
 
1064
m4_include([m4/attributes.m4])
990
1065
m4_include([m4/gettext.m4])
991
1066
m4_include([m4/iconv.m4])
992
1067
m4_include([m4/lib-ld.m4])