~ubuntu-branches/ubuntu/quantal/evince/quantal-proposed

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2012-06-07 16:47:24 UTC
  • mfrom: (1.1.76)
  • Revision ID: package-import@ubuntu.com-20120607164724-fg32ta2uv3lrkwnk
Tags: 3.5.2-0ubuntu1
* New upstream release
* debian/control:
  - Bump build-depends on libpoppler-glib-dev

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/../..'.
167
173
Usually this means the macro was only invoked conditionally.]])
168
174
fi])])
169
175
 
170
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
171
 
# Free Software Foundation, Inc.
 
176
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
 
177
# 2010, 2011 Free Software Foundation, Inc.
172
178
#
173
179
# This file is free software; the Free Software Foundation
174
180
# gives unlimited permission to copy and/or distribute it,
175
181
# with or without modifications, as long as this notice is preserved.
176
182
 
177
 
# serial 10
 
183
# serial 12
178
184
 
179
185
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
180
186
# written in clear, in which case automake, when reading aclocal.m4,
214
220
  # instance it was reported that on HP-UX the gcc test will end up
215
221
  # making a dummy file named `D' -- because `-MD' means `put the output
216
222
  # in D'.
 
223
  rm -rf conftest.dir
217
224
  mkdir conftest.dir
218
225
  # Copy depcomp to subdir because otherwise we won't find it if we're
219
226
  # using a relative directory.
278
285
        break
279
286
      fi
280
287
      ;;
281
 
    msvisualcpp | msvcmsys)
 
288
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
282
289
      # This compiler won't grok `-c -o', but also, the minuso test has
283
290
      # not run yet.  These depmodes are late enough in the game, and
284
291
      # so weak that their functioning should not be impacted.
343
350
if test "x$enable_dependency_tracking" != xno; then
344
351
  am_depcomp="$ac_aux_dir/depcomp"
345
352
  AMDEPBACKSLASH='\'
 
353
  am__nodep='_no'
346
354
fi
347
355
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
348
356
AC_SUBST([AMDEPBACKSLASH])dnl
349
357
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 
358
AC_SUBST([am__nodep])dnl
 
359
_AM_SUBST_NOTMAKE([am__nodep])dnl
350
360
])
351
361
 
352
362
# Generate code to set up dependency tracking.              -*- Autoconf -*-
568
578
done
569
579
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
570
580
 
571
 
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
 
581
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
 
582
# Inc.
572
583
#
573
584
# This file is free software; the Free Software Foundation
574
585
# gives unlimited permission to copy and/or distribute it,
575
586
# with or without modifications, as long as this notice is preserved.
576
587
 
 
588
# serial 1
 
589
 
577
590
# AM_PROG_INSTALL_SH
578
591
# ------------------
579
592
# Define $install_sh.
613
626
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
614
627
# From Jim Meyering
615
628
 
616
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
617
 
# Free Software Foundation, Inc.
 
629
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
 
630
# 2011 Free Software Foundation, Inc.
618
631
#
619
632
# This file is free software; the Free Software Foundation
620
633
# gives unlimited permission to copy and/or distribute it,
634
647
       [disable], [m4_define([am_maintainer_other], [enable])],
635
648
       [m4_define([am_maintainer_other], [enable])
636
649
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
637
 
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
650
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
638
651
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
639
652
  AC_ARG_ENABLE([maintainer-mode],
640
653
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
780
793
fi
781
794
])
782
795
 
783
 
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
796
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
 
797
# Inc.
784
798
#
785
799
# This file is free software; the Free Software Foundation
786
800
# gives unlimited permission to copy and/or distribute it,
787
801
# with or without modifications, as long as this notice is preserved.
788
802
 
 
803
# serial 1
 
804
 
789
805
# AM_PROG_MKDIR_P
790
806
# ---------------
791
807
# Check for `mkdir -p'.
808
824
 
809
825
# Helper functions for option handling.                     -*- Autoconf -*-
810
826
 
811
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
 
827
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
 
828
# Foundation, Inc.
812
829
#
813
830
# This file is free software; the Free Software Foundation
814
831
# gives unlimited permission to copy and/or distribute it,
815
832
# with or without modifications, as long as this notice is preserved.
816
833
 
817
 
# serial 4
 
834
# serial 5
818
835
 
819
836
# _AM_MANGLE_OPTION(NAME)
820
837
# -----------------------
822
839
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
823
840
 
824
841
# _AM_SET_OPTION(NAME)
825
 
# ------------------------------
 
842
# --------------------
826
843
# Set option NAME.  Presently that only means defining a flag for this option.
827
844
AC_DEFUN([_AM_SET_OPTION],
828
845
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
829
846
 
830
847
# _AM_SET_OPTIONS(OPTIONS)
831
 
# ----------------------------------
 
848
# ------------------------
832
849
# OPTIONS is a space-separated list of Automake options.
833
850
AC_DEFUN([_AM_SET_OPTIONS],
834
851
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
839
856
AC_DEFUN([_AM_IF_OPTION],
840
857
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
841
858
 
 
859
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
 
860
#
 
861
# This file is free software; the Free Software Foundation
 
862
# gives unlimited permission to copy and/or distribute it,
 
863
# with or without modifications, as long as this notice is preserved.
 
864
 
 
865
# serial 1
 
866
 
 
867
# AM_RUN_LOG(COMMAND)
 
868
# -------------------
 
869
# Run COMMAND, save the exit status in ac_status, and log it.
 
870
# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
 
871
AC_DEFUN([AM_RUN_LOG],
 
872
[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
 
873
   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
 
874
   ac_status=$?
 
875
   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
876
   (exit $ac_status); }])
 
877
 
842
878
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
843
879
 
844
880
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
904
940
fi
905
941
AC_MSG_RESULT(yes)])
906
942
 
907
 
# Copyright (C) 2009  Free Software Foundation, Inc.
 
943
# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
908
944
#
909
945
# This file is free software; the Free Software Foundation
910
946
# gives unlimited permission to copy and/or distribute it,
911
947
# with or without modifications, as long as this notice is preserved.
912
948
 
913
 
# serial 1
 
949
# serial 2
914
950
 
915
951
# AM_SILENT_RULES([DEFAULT])
916
952
# --------------------------
925
961
no)  AM_DEFAULT_VERBOSITY=1;;
926
962
*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
927
963
esac
 
964
dnl
 
965
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
 
966
dnl do not support nested variable expansions.
 
967
dnl See automake bug#9928 and bug#10237.
 
968
am_make=${MAKE-make}
 
969
AC_CACHE_CHECK([whether $am_make supports nested variables],
 
970
   [am_cv_make_support_nested_variables],
 
971
   [if AS_ECHO([['TRUE=$(BAR$(V))
 
972
BAR0=false
 
973
BAR1=true
 
974
V=1
 
975
am__doit:
 
976
        @$(TRUE)
 
977
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
 
978
  am_cv_make_support_nested_variables=yes
 
979
else
 
980
  am_cv_make_support_nested_variables=no
 
981
fi])
 
982
if test $am_cv_make_support_nested_variables = yes; then
 
983
  dnl Using `$V' instead of `$(V)' breaks IRIX make.
 
984
  AM_V='$(V)'
 
985
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
986
else
 
987
  AM_V=$AM_DEFAULT_VERBOSITY
 
988
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
989
fi
 
990
AC_SUBST([AM_V])dnl
 
991
AM_SUBST_NOTMAKE([AM_V])dnl
 
992
AC_SUBST([AM_DEFAULT_V])dnl
 
993
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
928
994
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
929
995
AM_BACKSLASH='\'
930
996
AC_SUBST([AM_BACKSLASH])dnl
931
997
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
932
998
])
933
999
 
934
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
1000
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
935
1001
#
936
1002
# This file is free software; the Free Software Foundation
937
1003
# gives unlimited permission to copy and/or distribute it,
938
1004
# with or without modifications, as long as this notice is preserved.
939
1005
 
 
1006
# serial 1
 
1007
 
940
1008
# AM_PROG_INSTALL_STRIP
941
1009
# ---------------------
942
1010
# One issue with vendor `install' (even GNU) is that you can't
959
1027
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
960
1028
AC_SUBST([INSTALL_STRIP_PROGRAM])])
961
1029
 
962
 
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
 
1030
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
963
1031
#
964
1032
# This file is free software; the Free Software Foundation
965
1033
# gives unlimited permission to copy and/or distribute it,
966
1034
# with or without modifications, as long as this notice is preserved.
967
1035
 
968
 
# serial 2
 
1036
# serial 3
969
1037
 
970
1038
# _AM_SUBST_NOTMAKE(VARIABLE)
971
1039
# ---------------------------
974
1042
AC_DEFUN([_AM_SUBST_NOTMAKE])
975
1043
 
976
1044
# AM_SUBST_NOTMAKE(VARIABLE)
977
 
# ---------------------------
 
1045
# --------------------------
978
1046
# Public sister of _AM_SUBST_NOTMAKE.
979
1047
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
980
1048
 
981
1049
# Check how to create a tarball.                            -*- Autoconf -*-
982
1050
 
983
 
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
1051
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
984
1052
#
985
1053
# This file is free software; the Free Software Foundation
986
1054
# gives unlimited permission to copy and/or distribute it,
1002
1070
# a tarball read from stdin.
1003
1071
#     $(am__untar) < result.tar
1004
1072
AC_DEFUN([_AM_PROG_TAR],
1005
 
[# Always define AMTAR for backward compatibility.
1006
 
AM_MISSING_PROG([AMTAR], [tar])
 
1073
[# Always define AMTAR for backward compatibility.  Yes, it's still used
 
1074
# in the wild :-(  We should find a proper way to deprecate it ...
 
1075
AC_SUBST([AMTAR], ['$${TAR-tar}'])
1007
1076
m4_if([$1], [v7],
1008
 
     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
 
1077
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1009
1078
     [m4_case([$1], [ustar],, [pax],,
1010
1079
              [m4_fatal([Unknown tar format])])
1011
1080
AC_MSG_CHECKING([how to create a $1 tar archive])
1074
1143
AC_SUBST([am__untar])
1075
1144
]) # _AM_PROG_TAR
1076
1145
 
 
1146
# nls.m4 serial 5 (gettext-0.18)
 
1147
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
 
1148
dnl Inc.
 
1149
dnl This file is free software; the Free Software Foundation
 
1150
dnl gives unlimited permission to copy and/or distribute it,
 
1151
dnl with or without modifications, as long as this notice is preserved.
 
1152
dnl
 
1153
dnl This file can can be used in projects which are not available under
 
1154
dnl the GNU General Public License or the GNU Library General Public
 
1155
dnl License but which still want to provide support for the GNU gettext
 
1156
dnl functionality.
 
1157
dnl Please note that the actual code of the GNU gettext library is covered
 
1158
dnl by the GNU Library General Public License, and the rest of the GNU
 
1159
dnl gettext package package is covered by the GNU General Public License.
 
1160
dnl They are *not* in the public domain.
 
1161
 
 
1162
dnl Authors:
 
1163
dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
 
1164
dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
 
1165
 
 
1166
AC_PREREQ([2.50])
 
1167
 
 
1168
AC_DEFUN([AM_NLS],
 
1169
[
 
1170
  AC_MSG_CHECKING([whether NLS is requested])
 
1171
  dnl Default is enabled NLS
 
1172
  AC_ARG_ENABLE([nls],
 
1173
    [  --disable-nls           do not use Native Language Support],
 
1174
    USE_NLS=$enableval, USE_NLS=yes)
 
1175
  AC_MSG_RESULT([$USE_NLS])
 
1176
  AC_SUBST([USE_NLS])
 
1177
])
 
1178
 
1077
1179
# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
1078
1180
# serial 1 (pkg-config-0.24)
1079
1181
1897
1999
]
1898
2000
)
1899
2001
 
1900
 
# nls.m4 serial 5 (gettext-0.18)
1901
 
dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
1902
 
dnl Inc.
1903
 
dnl This file is free software; the Free Software Foundation
1904
 
dnl gives unlimited permission to copy and/or distribute it,
1905
 
dnl with or without modifications, as long as this notice is preserved.
1906
 
dnl
1907
 
dnl This file can can be used in projects which are not available under
1908
 
dnl the GNU General Public License or the GNU Library General Public
1909
 
dnl License but which still want to provide support for the GNU gettext
1910
 
dnl functionality.
1911
 
dnl Please note that the actual code of the GNU gettext library is covered
1912
 
dnl by the GNU Library General Public License, and the rest of the GNU
1913
 
dnl gettext package package is covered by the GNU General Public License.
1914
 
dnl They are *not* in the public domain.
1915
 
 
1916
 
dnl Authors:
1917
 
dnl   Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
1918
 
dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
1919
 
 
1920
 
AC_PREREQ([2.50])
1921
 
 
1922
 
AC_DEFUN([AM_NLS],
1923
 
[
1924
 
  AC_MSG_CHECKING([whether NLS is requested])
1925
 
  dnl Default is enabled NLS
1926
 
  AC_ARG_ENABLE([nls],
1927
 
    [  --disable-nls           do not use Native Language Support],
1928
 
    USE_NLS=$enableval, USE_NLS=yes)
1929
 
  AC_MSG_RESULT([$USE_NLS])
1930
 
  AC_SUBST([USE_NLS])
1931
 
])
1932
 
 
1933
2002
m4_include([m4/gnome-doc-utils.m4])
1934
2003
m4_include([m4/gtk-doc.m4])
1935
2004
m4_include([m4/intltool.m4])