1
# generated automatically by aclocal 1.10 -*- Autoconf -*-
1
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005, 2006 Free Software Foundation, Inc.
4
# 2005 Free Software Foundation, Inc.
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
7
7
# with or without modifications, as long as this notice is preserved.
11
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
12
# PARTICULAR PURPOSE.
14
m4_if(m4_PACKAGE_VERSION, [2.61],,
15
[m4_fatal([this file was generated for autoconf 2.61.
16
You have another version of autoconf. If you want to use that,
17
you should regenerate the build system entirely.], [63])])
19
14
dnl AM_GCONF_SOURCE_2
20
15
dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas
21
16
dnl (i.e. pass to gconftool-2
619
dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
620
dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
621
dnl Try to locate is.
623
if test -n "$ac_aux_dir"; then
624
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
626
if test -z "$MKINSTALLDIRS"; then
627
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
629
AC_SUBST(MKINSTALLDIRS)
624
631
dnl Generate list of files to be processed by xgettext which will
625
632
dnl be included in po/Makefile.
626
633
test -d po || mkdir po
927
934
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
928
935
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
929
936
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
937
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
931
939
AC_SUBST(INTLTOOL_DESKTOP_RULE)
932
940
AC_SUBST(INTLTOOL_DIRECTORY_RULE)
971
AC_PATH_PROG(INTLTOOL_ICONV, iconv, iconv)
972
AC_PATH_PROG(INTLTOOL_MSGFMT, msgfmt, msgfmt)
973
AC_PATH_PROG(INTLTOOL_MSGMERGE, msgmerge, msgmerge)
974
AC_PATH_PROG(INTLTOOL_XGETTEXT, xgettext, xgettext)
976
980
# Substitute ALL_LINGUAS so we can use it in po/Makefile
977
981
AC_SUBST(ALL_LINGUAS)
979
983
# Set DATADIRNAME correctly if it is not set yet
980
984
# (copied from glib-gettext.m4)
981
985
if test -z "$DATADIRNAME"; then
982
AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
983
return _nl_msg_cat_cntr],
987
[AC_LANG_PROGRAM([[]],
988
[[extern int _nl_msg_cat_cntr;
989
return _nl_msg_cat_cntr]])],
984
990
[DATADIRNAME=share],
1021
1027
for file in intltool-extract intltool-merge intltool-update; do
1022
1028
sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
1023
1029
-e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
1024
-e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
1025
-e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
1026
-e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
1027
-e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
1028
1030
-e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
1029
1031
< ${ac_aux_dir}/${file}.in > ${file}.out
1030
1032
if cmp -s ${file} ${file}.out 2>/dev/null; then
7686
7686
AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
7688
7688
if test -n "$PKG_CONFIG"; then
7689
_pkg_min_version=m4_default([$1], [0.9.0])
7689
_pkg_min_version=m4_ifval([$1], [$1], [0.9.0])
7690
7690
AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
7691
7691
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7692
7692
AC_MSG_RESULT([yes])
7722
7722
# ---------------------------------------------
7723
7723
m4_define([_PKG_CONFIG],
7724
7724
[if test -n "$PKG_CONFIG"; then
7725
if test -n "$$1"; then
7728
7725
PKG_CHECK_EXISTS([$3],
7729
7726
[pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
7730
7727
[pkg_failed=yes])
7733
7729
pkg_failed=untried
7735
7731
])# _PKG_CONFIG
7737
# _PKG_SHORT_ERRORS_SUPPORTED
7738
# -----------------------------
7739
AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
7740
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
7741
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7742
_pkg_short_errors_supported=yes
7744
_pkg_short_errors_supported=no
7746
])# _PKG_SHORT_ERRORS_SUPPORTED
7749
7733
# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
7750
7734
# [ACTION-IF-NOT-FOUND])
7767
7751
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
7768
7752
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
7770
m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
7771
and $1[]_LIBS to avoid the need to call pkg-config.
7772
See the pkg-config man page for more details.])
7774
7754
if test $pkg_failed = yes; then
7775
_PKG_SHORT_ERRORS_SUPPORTED
7776
if test $_pkg_short_errors_supported = yes; then
7777
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
7779
$1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
7755
$1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
7781
7756
# Put the nasty error message in config.log where it belongs
7782
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
7757
echo "$$1[]_PKG_ERRORS" 1>&AS_MESSAGE_LOG_FD
7784
7759
ifelse([$4], , [AC_MSG_ERROR(dnl
7785
[Package requirements ($2) were not met:
7760
[Package requirements ($2) were not met.
7789
7761
Consider adjusting the PKG_CONFIG_PATH environment variable if you
7790
7762
installed software in a non-standard prefix.
7794
[AC_MSG_RESULT([no])
7764
Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
7765
to avoid the need to call pkg-config. See the pkg-config man page for
7796
7768
elif test $pkg_failed = untried; then
7797
7769
ifelse([$4], , [AC_MSG_FAILURE(dnl
7798
7770
[The pkg-config script could not be found or is too old. Make sure it
7799
7771
is in your PATH or set the PKG_CONFIG environment variable to the full
7800
7772
path to pkg-config.
7774
Alternatively you may set the $1_CFLAGS and $1_LIBS environment variables
7775
to avoid the need to call pkg-config. See the pkg-config man page for
7804
7778
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
7812
7786
])# PKG_CHECK_MODULES
7814
# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
7788
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
7816
7790
# This file is free software; the Free Software Foundation
7817
7791
# gives unlimited permission to copy and/or distribute it,
7821
7795
# ----------------------------
7822
7796
# Automake X.Y traces this macro to ensure aclocal.m4 has been
7823
7797
# generated from the m4 files accompanying Automake X.Y.
7824
# (This private macro should not be called outside this file.)
7825
AC_DEFUN([AM_AUTOMAKE_VERSION],
7826
[am__api_version='1.10'
7827
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
7828
dnl require some minimum version. Point them to the right macro.
7829
m4_if([$1], [1.10], [],
7830
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
7833
# _AM_AUTOCONF_VERSION(VERSION)
7834
# -----------------------------
7835
# aclocal traces this macro to find the Autoconf version.
7836
# This is a private macro too. Using m4_define simplifies
7837
# the logic in aclocal, which can simply ignore this definition.
7838
m4_define([_AM_AUTOCONF_VERSION], [])
7798
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
7840
7800
# AM_SET_CURRENT_AUTOMAKE_VERSION
7841
7801
# -------------------------------
7842
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
7802
# Call AM_AUTOMAKE_VERSION so it can be traced.
7843
7803
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
7844
7804
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
7845
[AM_AUTOMAKE_VERSION([1.10])dnl
7846
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
7805
[AM_AUTOMAKE_VERSION([1.9.6])])
7848
7807
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
7901
7860
# AM_CONDITIONAL -*- Autoconf -*-
7903
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
7862
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
7904
7863
# Free Software Foundation, Inc.
7906
7865
# This file is free software; the Free Software Foundation
7907
7866
# gives unlimited permission to copy and/or distribute it,
7908
7867
# with or without modifications, as long as this notice is preserved.
7912
7871
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
7913
7872
# -------------------------------------
7933
7890
Usually this means the macro was only invoked conditionally.]])
7936
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
7894
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
7937
7895
# Free Software Foundation, Inc.
7939
7897
# This file is free software; the Free Software Foundation
7940
7898
# gives unlimited permission to copy and/or distribute it,
7941
7899
# with or without modifications, as long as this notice is preserved.
7945
7903
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
7946
7904
# written in clear, in which case automake, when reading aclocal.m4,
7968
7926
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
7969
7927
[$1], CXX, [depcc="$CXX" am_compiler_list=],
7970
7928
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
7971
[$1], UPC, [depcc="$UPC" am_compiler_list=],
7972
7929
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
7973
7930
[depcc="$$1" am_compiler_list=])
8113
8068
# some people rename them; so instead we look at the file content.
8114
8069
# Grep'ing the first line is not enough: some people post-process
8115
8070
# each Makefile.in and add a new line on top of each file to say so.
8116
# Grep'ing the whole file is not good either: AIX grep has a line
8117
# limit of 2048, but all sed's we know have understand at least 4000.
8118
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
8071
# So let's grep whole file.
8072
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8119
8073
dirpart=`AS_DIRNAME("$mf")`
8163
8117
# Do all the work for Automake. -*- Autoconf -*-
8165
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8166
# 2005, 2006 Free Software Foundation, Inc.
8119
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
8120
# Free Software Foundation, Inc.
8168
8122
# This file is free software; the Free Software Foundation
8169
8123
# gives unlimited permission to copy and/or distribute it,
8186
8140
# arguments mandatory, and then we can depend on a new Autoconf
8187
8141
# release and drop the old call support.
8188
8142
AC_DEFUN([AM_INIT_AUTOMAKE],
8189
[AC_PREREQ([2.60])dnl
8143
[AC_PREREQ([2.58])dnl
8190
8144
dnl Autoconf wants to disallow AM_ names. We explicitly allow
8191
8145
dnl the ones we care about.
8192
8146
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
8193
8147
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
8194
8148
AC_REQUIRE([AC_PROG_INSTALL])dnl
8195
if test "`cd $srcdir && pwd`" != "`pwd`"; then
8196
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8197
# is not polluted with repeated "-I."
8198
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
8199
# test to see if srcdir already configured
8200
if test -f $srcdir/config.status; then
8201
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
8149
# test to see if srcdir already configured
8150
if test "`cd $srcdir && pwd`" != "`pwd`" &&
8151
test -f $srcdir/config.status; then
8152
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
8205
8155
# test whether we have cygpath
8219
8169
AC_SUBST([PACKAGE], [$1])dnl
8220
8170
AC_SUBST([VERSION], [$2])],
8221
8171
[_AM_SET_OPTIONS([$1])dnl
8222
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
8223
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
8224
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
8225
8172
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
8226
8173
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
8404
8347
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
8406
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
8349
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
8407
8350
# Free Software Foundation, Inc.
8409
8352
# This file is free software; the Free Software Foundation
8410
8353
# gives unlimited permission to copy and/or distribute it,
8411
8354
# with or without modifications, as long as this notice is preserved.
8415
8358
# AM_MISSING_PROG(NAME, PROGRAM)
8416
8359
# ------------------------------
8426
8369
# If it does, set am_missing_run to use it, otherwise, to nothing.
8427
8370
AC_DEFUN([AM_MISSING_HAS_RUN],
8428
8371
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8429
AC_REQUIRE_AUX_FILE([missing])dnl
8430
8372
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
8431
8373
# Use eval to expand $SHELL
8432
8374
if eval "$MISSING --run true"; then
8440
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8382
# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
8442
8384
# This file is free software; the Free Software Foundation
8443
8385
# gives unlimited permission to copy and/or distribute it,
8446
8388
# AM_PROG_MKDIR_P
8447
8389
# ---------------
8448
# Check for `mkdir -p'.
8390
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
8392
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
8393
# created by `make install' are always world readable, even if the
8394
# installer happens to have an overly restrictive umask (e.g. 077).
8395
# This was a mistake. There are at least two reasons why we must not
8397
# - it causes special bits like SGID to be ignored,
8398
# - it may be too restrictive (some setups expect 775 directories).
8400
# Do not use -m 0755 and let people choose whatever they expect by
8403
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
8404
# Some implementations (such as Solaris 8's) are not thread-safe: if a
8405
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
8406
# concurrently, both version can detect that a/ is missing, but only
8407
# one can create it and the other will error out. Consequently we
8408
# restrict ourselves to GNU make (using the --version option ensures
8449
8410
AC_DEFUN([AM_PROG_MKDIR_P],
8450
[AC_PREREQ([2.60])dnl
8451
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
8452
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
8453
dnl while keeping a definition of mkdir_p for backward compatibility.
8454
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
8455
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
8456
dnl Makefile.ins that do not define MKDIR_P, so we do our own
8457
dnl adjustment using top_builddir (which is defined more often than
8459
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
8461
[[\\/$]]* | ?:[[\\/]]*) ;;
8462
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
8411
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
8412
# We used to keeping the `.' as first argument, in order to
8413
# allow $(mkdir_p) to be used without argument. As in
8414
# $(mkdir_p) $(somedir)
8415
# where $(somedir) is conditionally defined. However this is wrong
8417
# 1. if the package is installed by a user who cannot write `.'
8418
# make install will fail,
8419
# 2. the above comment should most certainly read
8420
# $(mkdir_p) $(DESTDIR)$(somedir)
8421
# so it does not work when $(somedir) is undefined and
8422
# $(DESTDIR) is not.
8423
# To support the latter case, we have to write
8424
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
8425
# so the `.' trick is pointless.
8426
mkdir_p='mkdir -p --'
8428
# On NextStep and OpenStep, the `mkdir' command does not
8429
# recognize any option. It will interpret all options as
8430
# directories to create, and then abort because `.' already
8432
for d in ./-p ./--version;
8434
test -d $d && rmdir $d
8436
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
8437
if test -f "$ac_aux_dir/mkinstalldirs"; then
8438
mkdir_p='$(mkinstalldirs)'
8440
mkdir_p='$(install_sh) -d'
8443
AC_SUBST([mkdir_p])])
8466
8445
# Helper functions for option handling. -*- Autoconf -*-
8590
8569
if test "$cross_compiling" != no; then
8591
8570
AC_CHECK_TOOL([STRIP], [strip], :)
8593
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
8572
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
8594
8573
AC_SUBST([INSTALL_STRIP_PROGRAM])])
8596
# Copyright (C) 2006 Free Software Foundation, Inc.
8598
# This file is free software; the Free Software Foundation
8599
# gives unlimited permission to copy and/or distribute it,
8600
# with or without modifications, as long as this notice is preserved.
8602
# _AM_SUBST_NOTMAKE(VARIABLE)
8603
# ---------------------------
8604
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
8605
# This macro is traced by Automake.
8606
AC_DEFUN([_AM_SUBST_NOTMAKE])
8608
8575
# Check how to create a tarball. -*- Autoconf -*-
8610
8577
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.