~ubuntu-branches/ubuntu/oneiric/evince/oneiric-updates

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette, Josselin Mouette, Marc 'HE' Brockschmidt
  • Date: 2008-12-31 16:41:58 UTC
  • mfrom: (1.1.36 upstream)
  • mto: (1.5.1 sid)
  • mto: This revision was merged to the branch mainline in revision 109.
  • Revision ID: james.westby@ubuntu.com-20081231164158-xnobl1sokvvc6ho8
Tags: 2.24.2-1
[ Josselin Mouette ]
* README.Debian: document that you need to install poppler-data.
  Closes: #506836.

[ Marc 'HE' Brockschmidt ]
* debian/control: Make the Gnome team maintainer. I'm not doing the job
   anyway.

[ Josselin Mouette ]
* New upstream release.
* Require nautilus 2.22 to build the extension for the correct 
  version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008  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.
13
13
 
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])])
 
14
m4_ifndef([AC_AUTOCONF_VERSION],
 
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.
 
18
You have another version of autoconf.  It may work, but is not guaranteed to.
 
19
If you have problems, you may need to regenerate the build system entirely.
 
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
18
21
 
19
22
dnl AM_GCONF_SOURCE_2
20
23
dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas
707
710
        enable_scrollkeeper=yes)
708
711
AM_CONDITIONAL([ENABLE_SK],[test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"])
709
712
 
 
713
dnl disable scrollkeeper automatically for distcheck
 
714
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
 
715
AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)
 
716
 
710
717
AM_CONDITIONAL([HAVE_GNOME_DOC_UTILS],[test "$gdu_cv_have_gdu" = "yes"])
711
718
])
712
719
 
770
777
 
771
778
 
772
779
dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
773
 
# serial 36 IT_PROG_INTLTOOL
 
780
# serial 40 IT_PROG_INTLTOOL
774
781
AC_DEFUN([IT_PROG_INTLTOOL],
775
782
[AC_PREREQ([2.50])dnl
776
783
 
786
793
    AC_MSG_CHECKING([for intltool >= $1])
787
794
 
788
795
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
789
 
    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
790
 
    [INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
 
796
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
797
    [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
791
798
    ]
792
799
    AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
793
800
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
794
801
        AC_MSG_ERROR([Your intltool is too old.  You need intltool $1 or later.])
795
802
fi
796
803
 
 
804
AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
 
805
AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
 
806
AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
 
807
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
808
    AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
 
809
fi
 
810
 
797
811
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.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 $< [$]@' 
798
812
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.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 $< [$]@' 
799
813
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
834
848
AC_SUBST(INTLTOOL_SERVICE_RULE)
835
849
AC_SUBST(INTLTOOL_POLICY_RULE)
836
850
 
837
 
# Use the tools built into the package, not the ones that are installed.
838
 
AC_SUBST(INTLTOOL_EXTRACT, '$(top_builddir)/intltool-extract')
839
 
AC_SUBST(INTLTOOL_MERGE, '$(top_builddir)/intltool-merge')
840
 
AC_SUBST(INTLTOOL_UPDATE, '$(top_builddir)/intltool-update')
 
851
# Check the gettext tools to make sure they are GNU
 
852
AC_PATH_PROG(XGETTEXT, xgettext)
 
853
AC_PATH_PROG(MSGMERGE, msgmerge)
 
854
AC_PATH_PROG(MSGFMT, msgfmt)
 
855
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
856
    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
 
857
fi
 
858
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
859
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
860
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
861
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
862
    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
 
863
fi
841
864
 
842
 
AC_PATH_PROG(INTLTOOL_PERL, perl)
 
865
AC_PATH_PROG(INTLTOOL_PERL, [perl])
843
866
if test -z "$INTLTOOL_PERL"; then
844
867
   AC_MSG_ERROR([perl not found; required for intltool])
845
868
fi
885
908
 
886
909
IT_PO_SUBDIR([po])
887
910
 
888
 
dnl The following is very similar to
889
 
dnl
890
 
dnl     AC_CONFIG_FILES([intltool-extract intltool-merge intltool-update])
891
 
dnl
892
 
dnl with the following slight differences:
893
 
dnl  - the *.in files are in ac_aux_dir,
894
 
dnl  - if the file haven't changed upon reconfigure, it's not touched,
895
 
dnl  - the evaluation of the third parameter enables a hack which computes
896
 
dnl    the actual value of $libdir,
897
 
dnl  - the user sees "executing intltool commands", instead of
898
 
dnl    "creating intltool-extract" and such.
899
 
dnl
900
 
dnl Nothing crucial here, and we could use AC_CONFIG_FILES, if there were
901
 
dnl a reason for it.
902
 
 
903
 
AC_CONFIG_COMMANDS([intltool], [
904
 
 
905
 
for file in intltool-extract intltool-merge intltool-update; do
906
 
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
907
 
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
908
 
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
909
 
        < ${ac_aux_dir}/${file}.in > ${file}.out
910
 
  if cmp -s ${file} ${file}.out 2>/dev/null; then
911
 
    rm -f ${file}.out
912
 
  else
913
 
    mv -f ${file}.out ${file}
914
 
  fi
915
 
  chmod ugo+x ${file}
916
 
  chmod u+w ${file}
917
 
done
918
 
 
919
 
],
920
 
[INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
921
 
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir" 
922
 
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'])
923
 
 
924
911
])
925
912
 
926
913
 
7602
7589
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
7603
7590
# ---------------------------------------------
7604
7591
m4_define([_PKG_CONFIG],
7605
 
[if test -n "$PKG_CONFIG"; then
7606
 
    if test -n "$$1"; then
7607
 
        pkg_cv_[]$1="$$1"
7608
 
    else
7609
 
        PKG_CHECK_EXISTS([$3],
7610
 
                         [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
7611
 
                         [pkg_failed=yes])
7612
 
    fi
7613
 
else
7614
 
        pkg_failed=untried
 
7592
[if test -n "$$1"; then
 
7593
    pkg_cv_[]$1="$$1"
 
7594
 elif test -n "$PKG_CONFIG"; then
 
7595
    PKG_CHECK_EXISTS([$3],
 
7596
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
 
7597
                     [pkg_failed=yes])
 
7598
 else
 
7599
    pkg_failed=untried
7615
7600
fi[]dnl
7616
7601
])# _PKG_CONFIG
7617
7602
 
7655
7640
if test $pkg_failed = yes; then
7656
7641
        _PKG_SHORT_ERRORS_SUPPORTED
7657
7642
        if test $_pkg_short_errors_supported = yes; then
7658
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
 
7643
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
7659
7644
        else 
7660
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
 
7645
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
7661
7646
        fi
7662
7647
        # Put the nasty error message in config.log where it belongs
7663
7648
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
7692
7677
fi[]dnl
7693
7678
])# PKG_CHECK_MODULES
7694
7679
 
7695
 
# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
 
7680
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
7696
7681
#
7697
7682
# This file is free software; the Free Software Foundation
7698
7683
# gives unlimited permission to copy and/or distribute it,
7707
7692
[am__api_version='1.10'
7708
7693
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
7709
7694
dnl require some minimum version.  Point them to the right macro.
7710
 
m4_if([$1], [1.10], [],
 
7695
m4_if([$1], [1.10.1], [],
7711
7696
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
7712
7697
])
7713
7698
 
7723
7708
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
7724
7709
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
7725
7710
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
7726
 
[AM_AUTOMAKE_VERSION([1.10])dnl
7727
 
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
 
7711
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
7712
m4_ifndef([AC_AUTOCONF_VERSION],
 
7713
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 
7714
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
7728
7715
 
7729
7716
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
7730
7717
 
8019
8006
  # each Makefile.in and add a new line on top of each file to say so.
8020
8007
  # Grep'ing the whole file is not good either: AIX grep has a line
8021
8008
  # limit of 2048, but all sed's we know have understand at least 4000.
8022
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
8009
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8023
8010
    dirpart=`AS_DIRNAME("$mf")`
8024
8011
  else
8025
8012
    continue
8079
8066
# Do all the work for Automake.                             -*- Autoconf -*-
8080
8067
 
8081
8068
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8082
 
# 2005, 2006 Free Software Foundation, Inc.
 
8069
# 2005, 2006, 2008 Free Software Foundation, Inc.
8083
8070
#
8084
8071
# This file is free software; the Free Software Foundation
8085
8072
# gives unlimited permission to copy and/or distribute it,
8086
8073
# with or without modifications, as long as this notice is preserved.
8087
8074
 
8088
 
# serial 12
 
8075
# serial 13
8089
8076
 
8090
8077
# This macro actually does too much.  Some checks are only needed if
8091
8078
# your package does certain things.  But this isn't really a big deal.
8190
8177
# our stamp files there.
8191
8178
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
8192
8179
[# Compute $1's index in $config_headers.
 
8180
_am_arg=$1
8193
8181
_am_stamp_count=1
8194
8182
for _am_header in $config_headers :; do
8195
8183
  case $_am_header in
8196
 
    $1 | $1:* )
 
8184
    $_am_arg | $_am_arg:* )
8197
8185
      break ;;
8198
8186
    * )
8199
8187
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8200
8188
  esac
8201
8189
done
8202
 
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
 
8190
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
8203
8191
 
8204
8192
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
8205
8193
#
8500
8488
 
8501
8489
# _AM_SUBST_NOTMAKE(VARIABLE)
8502
8490
# ---------------------------
8503
 
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
 
8491
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
8504
8492
# This macro is traced by Automake.
8505
8493
AC_DEFUN([_AM_SUBST_NOTMAKE])
8506
8494