1
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
1
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
4
# 2005, 2006, 2007, 2008, 2009 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.
596
608
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 $< [$]@'
597
609
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 $< [$]@'
599
AC_SUBST(INTLTOOL_DESKTOP_RULE)
600
AC_SUBST(INTLTOOL_DIRECTORY_RULE)
601
AC_SUBST(INTLTOOL_KEYS_RULE)
602
AC_SUBST(INTLTOOL_PROP_RULE)
603
AC_SUBST(INTLTOOL_OAF_RULE)
604
AC_SUBST(INTLTOOL_PONG_RULE)
605
AC_SUBST(INTLTOOL_SERVER_RULE)
606
AC_SUBST(INTLTOOL_SHEET_RULE)
607
AC_SUBST(INTLTOOL_SOUNDLIST_RULE)
608
AC_SUBST(INTLTOOL_UI_RULE)
609
AC_SUBST(INTLTOOL_XAM_RULE)
610
AC_SUBST(INTLTOOL_KBD_RULE)
611
AC_SUBST(INTLTOOL_XML_RULE)
612
AC_SUBST(INTLTOOL_XML_NOMERGE_RULE)
613
AC_SUBST(INTLTOOL_CAVES_RULE)
614
AC_SUBST(INTLTOOL_SCHEMAS_RULE)
615
AC_SUBST(INTLTOOL_THEME_RULE)
616
AC_SUBST(INTLTOOL_SERVICE_RULE)
617
AC_SUBST(INTLTOOL_POLICY_RULE)
611
_IT_SUBST(INTLTOOL_DESKTOP_RULE)
612
_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
613
_IT_SUBST(INTLTOOL_KEYS_RULE)
614
_IT_SUBST(INTLTOOL_PROP_RULE)
615
_IT_SUBST(INTLTOOL_OAF_RULE)
616
_IT_SUBST(INTLTOOL_PONG_RULE)
617
_IT_SUBST(INTLTOOL_SERVER_RULE)
618
_IT_SUBST(INTLTOOL_SHEET_RULE)
619
_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
620
_IT_SUBST(INTLTOOL_UI_RULE)
621
_IT_SUBST(INTLTOOL_XAM_RULE)
622
_IT_SUBST(INTLTOOL_KBD_RULE)
623
_IT_SUBST(INTLTOOL_XML_RULE)
624
_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
625
_IT_SUBST(INTLTOOL_CAVES_RULE)
626
_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
627
_IT_SUBST(INTLTOOL_THEME_RULE)
628
_IT_SUBST(INTLTOOL_SERVICE_RULE)
629
_IT_SUBST(INTLTOOL_POLICY_RULE)
619
631
# Check the gettext tools to make sure they are GNU
620
632
AC_PATH_PROG(XGETTEXT, xgettext)
631
643
AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
634
AC_PATH_PROG(INTLTOOL_PERL, [perl])
646
AC_PATH_PROG(INTLTOOL_PERL, perl)
635
647
if test -z "$INTLTOOL_PERL"; then
636
AC_MSG_ERROR([perl not found; required for intltool])
648
AC_MSG_ERROR([perl not found])
638
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
639
AC_MSG_ERROR([perl 5.x required for intltool])
650
AC_MSG_CHECKING([for perl >= 5.8.1])
651
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
652
if test $? -ne 0; then
653
AC_MSG_ERROR([perl 5.8.1 is required for intltool])
655
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
656
AC_MSG_RESULT([$IT_PERL_VERSION])
641
658
if test "x$2" != "xno-xml"; then
642
659
AC_MSG_CHECKING([for XML::Parser])
8946
8996
# AM_CONDITIONAL -*- Autoconf -*-
8948
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
8998
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
8949
8999
# Free Software Foundation, Inc.
8951
9001
# This file is free software; the Free Software Foundation
8952
9002
# gives unlimited permission to copy and/or distribute it,
8953
9003
# with or without modifications, as long as this notice is preserved.
8957
9007
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
8958
9008
# -------------------------------------
8978
9029
Usually this means the macro was only invoked conditionally.]])
8981
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
9032
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
8982
9033
# Free Software Foundation, Inc.
8984
9035
# This file is free software; the Free Software Foundation
8985
9036
# gives unlimited permission to copy and/or distribute it,
8986
9037
# with or without modifications, as long as this notice is preserved.
8990
9041
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
8991
9042
# written in clear, in which case automake, when reading aclocal.m4,
9143
msvisualcpp | msvcmsys)
9144
# This compiler won't grok `-c -o', but also, the minuso test has
9145
# not run yet. These depmodes are late enough in the game, and
9146
# so weak that their functioning should not be impacted.
9147
am__obj=conftest.${OBJEXT-o}
9074
# We check with `-c' and `-o' for the sake of the "dashmstdout"
9075
# mode. It turns out that the SunPro C++ compiler does not properly
9076
# handle `-M -o', and we need to detect this.
9077
9152
if depmode=$depmode \
9078
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
9153
source=sub/conftest.c object=$am__obj \
9079
9154
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9080
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
9155
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9081
9156
>/dev/null 2>conftest.err &&
9082
9157
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9083
9158
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9084
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
9159
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9085
9160
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9086
9161
# icc doesn't choke on unknown options, it will just issue warnings
9087
9162
# or remarks (even with -Werror). So we grep stderr for any message
9139
9214
# Generate code to set up dependency tracking. -*- Autoconf -*-
9141
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
9216
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9142
9217
# Free Software Foundation, Inc.
9144
9219
# This file is free software; the Free Software Foundation
9145
9220
# gives unlimited permission to copy and/or distribute it,
9146
9221
# with or without modifications, as long as this notice is preserved.
9150
9225
# _AM_OUTPUT_DEPENDENCY_COMMANDS
9151
9226
# ------------------------------
9152
9227
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
9153
[for mf in $CONFIG_FILES; do
9154
# Strip MF so we end up with the name of the file.
9155
mf=`echo "$mf" | sed -e 's/:.*$//'`
9156
# Check whether this is an Automake generated Makefile or not.
9157
# We used to match only the files named `Makefile.in', but
9158
# some people rename them; so instead we look at the file content.
9159
# Grep'ing the first line is not enough: some people post-process
9160
# each Makefile.in and add a new line on top of each file to say so.
9161
# Grep'ing the whole file is not good either: AIX grep has a line
9162
# limit of 2048, but all sed's we know have understand at least 4000.
9163
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9164
dirpart=`AS_DIRNAME("$mf")`
9168
# Extract the definition of DEPDIR, am__include, and am__quote
9169
# from the Makefile without running `make'.
9170
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9171
test -z "$DEPDIR" && continue
9172
am__include=`sed -n 's/^am__include = //p' < "$mf"`
9173
test -z "am__include" && continue
9174
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9175
# When using ansi2knr, U may be empty or an underscore; expand it
9176
U=`sed -n 's/^U = //p' < "$mf"`
9177
# Find all dependency output files, they are included files with
9178
# $(DEPDIR) in their names. We invoke sed twice because it is the
9179
# simplest approach to changing $(DEPDIR) to its actual value in the
9181
for file in `sed -n "
9182
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9183
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9184
# Make sure the directory exists.
9185
test -f "$dirpart/$file" && continue
9186
fdir=`AS_DIRNAME(["$file"])`
9187
AS_MKDIR_P([$dirpart/$fdir])
9188
# echo "creating $dirpart/$file"
9189
echo '# dummy' > "$dirpart/$file"
9229
# Autoconf 2.62 quotes --file arguments for eval, but not when files
9230
# are listed without --file. Let's play safe and only enable the eval
9231
# if we detect the quoting.
9232
case $CONFIG_FILES in
9233
*\'*) eval set x "$CONFIG_FILES" ;;
9234
*) set x $CONFIG_FILES ;;
9239
# Strip MF so we end up with the name of the file.
9240
mf=`echo "$mf" | sed -e 's/:.*$//'`
9241
# Check whether this is an Automake generated Makefile or not.
9242
# We used to match only the files named `Makefile.in', but
9243
# some people rename them; so instead we look at the file content.
9244
# Grep'ing the first line is not enough: some people post-process
9245
# each Makefile.in and add a new line on top of each file to say so.
9246
# Grep'ing the whole file is not good either: AIX grep has a line
9247
# limit of 2048, but all sed's we know have understand at least 4000.
9248
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9249
dirpart=`AS_DIRNAME("$mf")`
9253
# Extract the definition of DEPDIR, am__include, and am__quote
9254
# from the Makefile without running `make'.
9255
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9256
test -z "$DEPDIR" && continue
9257
am__include=`sed -n 's/^am__include = //p' < "$mf"`
9258
test -z "am__include" && continue
9259
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9260
# When using ansi2knr, U may be empty or an underscore; expand it
9261
U=`sed -n 's/^U = //p' < "$mf"`
9262
# Find all dependency output files, they are included files with
9263
# $(DEPDIR) in their names. We invoke sed twice because it is the
9264
# simplest approach to changing $(DEPDIR) to its actual value in the
9266
for file in `sed -n "
9267
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9268
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9269
# Make sure the directory exists.
9270
test -f "$dirpart/$file" && continue
9271
fdir=`AS_DIRNAME(["$file"])`
9272
AS_MKDIR_P([$dirpart/$fdir])
9273
# echo "creating $dirpart/$file"
9274
echo '# dummy' > "$dirpart/$file"
9192
9278
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
9220
9306
# Do all the work for Automake. -*- Autoconf -*-
9222
9308
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
9223
# 2005, 2006, 2008 Free Software Foundation, Inc.
9309
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
9225
9311
# This file is free software; the Free Software Foundation
9226
9312
# gives unlimited permission to copy and/or distribute it,
9227
9313
# with or without modifications, as long as this notice is preserved.
9231
9317
# This macro actually does too much. Some checks are only needed if
9232
9318
# your package does certain things. But this isn't really a big deal.
9303
9389
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
9304
9390
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9305
9391
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9306
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9307
[_AM_PROG_TAR([v7])])])
9392
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9393
[_AM_PROG_TAR([v7])])])
9308
9394
_AM_IF_OPTION([no-dependencies],,
9309
9395
[AC_PROVIDE_IFELSE([AC_PROG_CC],
9310
[_AM_DEPENDENCIES(CC)],
9311
[define([AC_PROG_CC],
9312
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9396
[_AM_DEPENDENCIES(CC)],
9397
[define([AC_PROG_CC],
9398
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9313
9399
AC_PROVIDE_IFELSE([AC_PROG_CXX],
9314
[_AM_DEPENDENCIES(CXX)],
9315
[define([AC_PROG_CXX],
9316
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9400
[_AM_DEPENDENCIES(CXX)],
9401
[define([AC_PROG_CXX],
9402
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9317
9403
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
9318
[_AM_DEPENDENCIES(OBJC)],
9319
[define([AC_PROG_OBJC],
9320
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9404
[_AM_DEPENDENCIES(OBJC)],
9405
[define([AC_PROG_OBJC],
9406
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9408
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
9409
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
9410
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
9411
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
9412
AC_CONFIG_COMMANDS_PRE(dnl
9413
[m4_provide_if([_AM_COMPILER_EXEEXT],
9414
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
9417
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
9418
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
9419
dnl mangled by Autoconf and run in a shell conditional statement.
9420
m4_define([_AC_COMPILER_EXEEXT],
9421
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
9325
9424
# When config.status generates a header, we must update the stamp-h file.
9381
9487
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
9382
9488
# From Jim Meyering
9384
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
9490
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9385
9491
# Free Software Foundation, Inc.
9387
9493
# This file is free software; the Free Software Foundation
9388
9494
# gives unlimited permission to copy and/or distribute it,
9389
9495
# with or without modifications, as long as this notice is preserved.
9499
# AM_MAINTAINER_MODE([DEFAULT-MODE])
9500
# ----------------------------------
9501
# Control maintainer-specific portions of Makefiles.
9502
# Default is to disable them, unless `enable' is passed literally.
9503
# For symmetry, `disable' may be passed as well. Anyway, the user
9504
# can override the default with the --enable/--disable switch.
9393
9505
AC_DEFUN([AM_MAINTAINER_MODE],
9394
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
9395
dnl maintainer-mode is disabled by default
9396
AC_ARG_ENABLE(maintainer-mode,
9397
[ --enable-maintainer-mode enable make rules and dependencies not useful
9506
[m4_case(m4_default([$1], [disable]),
9507
[enable], [m4_define([am_maintainer_other], [disable])],
9508
[disable], [m4_define([am_maintainer_other], [enable])],
9509
[m4_define([am_maintainer_other], [enable])
9510
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
9511
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
9512
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
9513
AC_ARG_ENABLE([maintainer-mode],
9514
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
9398
9515
(and sometimes confusing) to the casual installer],
9399
USE_MAINTAINER_MODE=$enableval,
9400
USE_MAINTAINER_MODE=no)
9516
[USE_MAINTAINER_MODE=$enableval],
9517
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
9401
9518
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
9402
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
9519
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
9403
9520
MAINT=$MAINTAINER_MODE_TRUE
9521
AC_SUBST([MAINT])dnl
9462
9579
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
9464
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
9581
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
9465
9582
# Free Software Foundation, Inc.
9467
9584
# This file is free software; the Free Software Foundation
9468
9585
# gives unlimited permission to copy and/or distribute it,
9469
9586
# with or without modifications, as long as this notice is preserved.
9473
9590
# AM_MISSING_PROG(NAME, PROGRAM)
9474
9591
# ------------------------------
9591
9715
echo timestamp > conftest.file
9716
# Reject unsafe characters in $srcdir or the absolute working directory
9717
# name. Accept space and tab only in the latter.
9721
*[[\\\"\#\$\&\'\`$am_lf]]*)
9722
AC_MSG_ERROR([unsafe absolute working directory name]);;
9725
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
9726
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
9592
9729
# Do `set' in a subshell so we don't clobber the current shell's
9593
9730
# arguments. Must try -L first in case configure is actually a
9594
9731
# symlink; some systems play weird games with the mod time of symlinks
9595
9732
# (eg FreeBSD returns the mod time of the symlink's containing
9598
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
9735
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9599
9736
if test "$[*]" = "X"; then
9600
9737
# -L didn't work.
9601
set X `ls -t $srcdir/configure conftest.file`
9738
set X `ls -t "$srcdir/configure" conftest.file`
9603
9740
rm -f conftest.file
9604
9741
if test "$[*]" != "X $srcdir/configure conftest.file" \
9651
9788
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9652
9789
AC_SUBST([INSTALL_STRIP_PROGRAM])])
9654
# Copyright (C) 2006 Free Software Foundation, Inc.
9791
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
9656
9793
# This file is free software; the Free Software Foundation
9657
9794
# gives unlimited permission to copy and/or distribute it,
9658
9795
# with or without modifications, as long as this notice is preserved.
9660
9799
# _AM_SUBST_NOTMAKE(VARIABLE)
9661
9800
# ---------------------------
9662
9801
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
9663
9802
# This macro is traced by Automake.
9664
9803
AC_DEFUN([_AM_SUBST_NOTMAKE])
9805
# AM_SUBST_NOTMAKE(VARIABLE)
9806
# ---------------------------
9807
# Public sister of _AM_SUBST_NOTMAKE.
9808
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
9666
9810
# Check how to create a tarball. -*- Autoconf -*-
9668
9812
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.