~jibel/synaptic/bugs.309906.385739.403165

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-03-30 12:57:47 UTC
  • Revision ID: james.westby@ubuntu.com-20090330125747-zrhiigtq11sqah6a
Tags: 0.62.5ubuntu2
No-change upload to strip translations from .desktop files. (LP: #348225)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
4
# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
13
13
 
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
 
m4_if(AC_AUTOCONF_VERSION, [2.61],,
17
 
[m4_warning([this file was generated for autoconf 2.61.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
 
17
[m4_warning([this file was generated for autoconf 2.63.
18
18
You have another version of autoconf.  It may work, but is not guaranteed to.
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
506
506
    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 $< [$]@'
507
507
   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 $< [$]@'
508
508
 
509
 
AC_SUBST(INTLTOOL_DESKTOP_RULE)
510
 
AC_SUBST(INTLTOOL_DIRECTORY_RULE)
511
 
AC_SUBST(INTLTOOL_KEYS_RULE)
512
 
AC_SUBST(INTLTOOL_PROP_RULE)
513
 
AC_SUBST(INTLTOOL_OAF_RULE)
514
 
AC_SUBST(INTLTOOL_PONG_RULE)
515
 
AC_SUBST(INTLTOOL_SERVER_RULE)
516
 
AC_SUBST(INTLTOOL_SHEET_RULE)
517
 
AC_SUBST(INTLTOOL_SOUNDLIST_RULE)
518
 
AC_SUBST(INTLTOOL_UI_RULE)
519
 
AC_SUBST(INTLTOOL_XAM_RULE)
520
 
AC_SUBST(INTLTOOL_KBD_RULE)
521
 
AC_SUBST(INTLTOOL_XML_RULE)
522
 
AC_SUBST(INTLTOOL_XML_NOMERGE_RULE)
523
 
AC_SUBST(INTLTOOL_CAVES_RULE)
524
 
AC_SUBST(INTLTOOL_SCHEMAS_RULE)
525
 
AC_SUBST(INTLTOOL_THEME_RULE)
526
 
AC_SUBST(INTLTOOL_SERVICE_RULE)
527
 
AC_SUBST(INTLTOOL_POLICY_RULE)
 
509
_IT_SUBST(INTLTOOL_DESKTOP_RULE)
 
510
_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
 
511
_IT_SUBST(INTLTOOL_KEYS_RULE)
 
512
_IT_SUBST(INTLTOOL_PROP_RULE)
 
513
_IT_SUBST(INTLTOOL_OAF_RULE)
 
514
_IT_SUBST(INTLTOOL_PONG_RULE)
 
515
_IT_SUBST(INTLTOOL_SERVER_RULE)
 
516
_IT_SUBST(INTLTOOL_SHEET_RULE)
 
517
_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
 
518
_IT_SUBST(INTLTOOL_UI_RULE)
 
519
_IT_SUBST(INTLTOOL_XAM_RULE)
 
520
_IT_SUBST(INTLTOOL_KBD_RULE)
 
521
_IT_SUBST(INTLTOOL_XML_RULE)
 
522
_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
 
523
_IT_SUBST(INTLTOOL_CAVES_RULE)
 
524
_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
 
525
_IT_SUBST(INTLTOOL_THEME_RULE)
 
526
_IT_SUBST(INTLTOOL_SERVICE_RULE)
 
527
_IT_SUBST(INTLTOOL_POLICY_RULE)
528
528
 
529
529
# Check the gettext tools to make sure they are GNU
530
530
AC_PATH_PROG(XGETTEXT, xgettext)
541
541
    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
542
542
fi
543
543
 
544
 
AC_PATH_PROG(INTLTOOL_PERL, [perl])
 
544
AC_PATH_PROG(INTLTOOL_PERL, perl)
545
545
if test -z "$INTLTOOL_PERL"; then
546
 
   AC_MSG_ERROR([perl not found; required for intltool])
 
546
   AC_MSG_ERROR([perl not found])
547
547
fi
548
 
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
549
 
   AC_MSG_ERROR([perl 5.x required for intltool])
 
548
AC_MSG_CHECKING([for perl >= 5.8.1])
 
549
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
550
if test $? -ne 0; then
 
551
   AC_MSG_ERROR([perl 5.8.1 is required for intltool])
 
552
else
 
553
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
554
   AC_MSG_RESULT([$IT_PERL_VERSION])
550
555
fi
551
556
if test "x$2" != "xno-xml"; then
552
557
   AC_MSG_CHECKING([for XML::Parser])
602
607
dnl of config.status.
603
608
AC_CONFIG_COMMANDS_PRE([
604
609
  AC_CONFIG_COMMANDS([$1/stamp-it], [
605
 
    if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" ]; then
 
610
    if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
606
611
       AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
607
612
    fi
608
613
    rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
624
629
])dnl
625
630
])
626
631
 
 
632
# _IT_SUBST(VARIABLE)
 
633
# -------------------
 
634
# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
 
635
#
 
636
AC_DEFUN([_IT_SUBST],
 
637
[
 
638
AC_SUBST([$1])
 
639
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
 
640
]
 
641
)
 
642
 
627
643
# deprecated macros
628
644
AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
629
645
# A hint is needed for aclocal from Automake <= 1.9.4:
640
656
        AC_SUBST(LIBEPT_LIBS)
641
657
])
642
658
 
643
 
# LIBTAGCOLL_DEFS([LIBTAGCOLL_REQS=libtagcoll])
644
 
# ---------------------------------------
645
 
AC_DEFUN([LIBTAGCOLL_DEFS],
646
 
[
647
 
        dnl Import libtagcoll data
648
 
        PKG_CHECK_MODULES(LIBTAGCOLL,m4_default([$1], libtagcoll))
649
 
        AC_SUBST(LIBTAGCOLL_CFLAGS)
650
 
        AC_SUBST(LIBTAGCOLL_LIBS)
651
 
])
652
 
 
653
659
# nls.m4 serial 3 (gettext-0.15)
654
660
dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
655
661
dnl This file is free software; the Free Software Foundation
840
846
fi[]dnl
841
847
])# PKG_CHECK_MODULES
842
848
 
843
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
 
849
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
844
850
#
845
851
# This file is free software; the Free Software Foundation
846
852
# gives unlimited permission to copy and/or distribute it,
855
861
[am__api_version='1.10'
856
862
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
857
863
dnl require some minimum version.  Point them to the right macro.
858
 
m4_if([$1], [1.10.1], [],
 
864
m4_if([$1], [1.10.2], [],
859
865
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
860
866
])
861
867
 
869
875
# AM_SET_CURRENT_AUTOMAKE_VERSION
870
876
# -------------------------------
871
877
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
872
 
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
878
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
873
879
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
874
 
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
880
[AM_AUTOMAKE_VERSION([1.10.2])dnl
875
881
m4_ifndef([AC_AUTOCONF_VERSION],
876
882
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
877
 
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
 
883
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
878
884
 
879
885
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
880
886
 
1147
1153
 
1148
1154
# Generate code to set up dependency tracking.              -*- Autoconf -*-
1149
1155
 
1150
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
1156
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
1151
1157
# Free Software Foundation, Inc.
1152
1158
#
1153
1159
# This file is free software; the Free Software Foundation
1154
1160
# gives unlimited permission to copy and/or distribute it,
1155
1161
# with or without modifications, as long as this notice is preserved.
1156
1162
 
1157
 
#serial 3
 
1163
#serial 4
1158
1164
 
1159
1165
# _AM_OUTPUT_DEPENDENCY_COMMANDS
1160
1166
# ------------------------------
1161
1167
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
1162
 
[for mf in $CONFIG_FILES; do
 
1168
[# Autoconf 2.62 quotes --file arguments for eval, but not when files
 
1169
# are listed without --file.  Let's play safe and only enable the eval
 
1170
# if we detect the quoting.
 
1171
case $CONFIG_FILES in
 
1172
*\'*) eval set x "$CONFIG_FILES" ;;
 
1173
*)   set x $CONFIG_FILES ;;
 
1174
esac
 
1175
shift
 
1176
for mf
 
1177
do
1163
1178
  # Strip MF so we end up with the name of the file.
1164
1179
  mf=`echo "$mf" | sed -e 's/:.*$//'`
1165
1180
  # Check whether this is an Automake generated Makefile or not.
1532
1547
 
1533
1548
# Helper functions for option handling.                     -*- Autoconf -*-
1534
1549
 
1535
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
1550
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
1536
1551
#
1537
1552
# This file is free software; the Free Software Foundation
1538
1553
# gives unlimited permission to copy and/or distribute it,
1539
1554
# with or without modifications, as long as this notice is preserved.
1540
1555
 
1541
 
# serial 3
 
1556
# serial 4
1542
1557
 
1543
1558
# _AM_MANGLE_OPTION(NAME)
1544
1559
# -----------------------
1555
1570
# ----------------------------------
1556
1571
# OPTIONS is a space-separated list of Automake options.
1557
1572
AC_DEFUN([_AM_SET_OPTIONS],
1558
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
1573
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1559
1574
 
1560
1575
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
1561
1576
# -------------------------------------------