~ubuntu-branches/ubuntu/vivid/ssh-contact/vivid

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Laurent Bigonville
  • Date: 2012-04-17 22:15:03 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20120417221503-7mcm2oi4pwagltto
Tags: 0.7-1
* New upstream release.
  - Bump libtelepathy-glib-dev build-dependency
* debian/control: Make ssh-contact-client depends against
  telepathy-mission-control-5
* Bump Standards-Version to 3.9.3 (no further changes)

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.
13
14
 
14
15
m4_ifndef([AC_AUTOCONF_VERSION],
15
16
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
 
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
17
 
[m4_warning([this file was generated for autoconf 2.67.
 
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
 
18
[m4_warning([this file was generated for autoconf 2.68.
18
19
You have another version of autoconf.  It may work, but is not guaranteed to.
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'.])])
85
86
    GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
86
87
    GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
87
88
    GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
 
89
    GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
88
90
 
89
91
    GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
90
92
    GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
221
223
     GLIB_GENMARSHAL=""
222
224
     GOBJECT_QUERY=""
223
225
     GLIB_MKENUMS=""
 
226
     GLIB_COMPILE_RESOURCES=""
224
227
     ifelse([$3], , :, [$3])
225
228
  fi
226
229
  AC_SUBST(GLIB_CFLAGS)
228
231
  AC_SUBST(GLIB_GENMARSHAL)
229
232
  AC_SUBST(GOBJECT_QUERY)
230
233
  AC_SUBST(GLIB_MKENUMS)
 
234
  AC_SUBST(GLIB_COMPILE_RESOURCES)
231
235
  rm -f conf.glibtest
232
236
])
233
237
 
472
476
              [CATOBJEXT=.mo
473
477
               DATADIRNAME=lib])
474
478
            ;;
 
479
            *-*-openbsd*)
 
480
            CATOBJEXT=.mo
 
481
            DATADIRNAME=share
 
482
            ;;
475
483
            *)
476
484
            CATOBJEXT=.mo
477
485
            DATADIRNAME=lib
666
674
 
667
675
 
668
676
dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
669
 
# serial 40 IT_PROG_INTLTOOL
 
677
# serial 42 IT_PROG_INTLTOOL
670
678
AC_DEFUN([IT_PROG_INTLTOOL], [
671
679
AC_PREREQ([2.50])dnl
672
680
AC_REQUIRE([AM_NLS])dnl
679
687
    ;;
680
688
esac
681
689
 
 
690
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
691
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
692
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
682
693
if test -n "$1"; then
683
694
    AC_MSG_CHECKING([for intltool >= $1])
684
 
 
685
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
686
 
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
687
 
    [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
688
 
    ]
689
695
    AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
690
696
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
691
697
        AC_MSG_ERROR([Your intltool is too old.  You need intltool $1 or later.])
698
704
    AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
699
705
fi
700
706
 
701
 
  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 $< [$]@' 
702
 
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 $< [$]@' 
703
 
     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 $< [$]@' 
704
 
     INTLTOOL_PROP_RULE='%.prop:      %.prop.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 $< [$]@' 
705
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
706
 
     INTLTOOL_PONG_RULE='%.pong:      %.pong.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 $< [$]@' 
707
 
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
708
 
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.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 $< [$]@' 
709
 
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.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 $< [$]@' 
710
 
       INTLTOOL_UI_RULE='%.ui:        %.ui.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 $< [$]@' 
711
 
      INTLTOOL_XML_RULE='%.xml:       %.xml.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 $< [$]@' 
712
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' 
713
 
      INTLTOOL_XAM_RULE='%.xam:       %.xml.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 $< [$]@' 
714
 
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
715
 
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.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 $< [$]@' 
716
 
  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 $< [$]@' 
717
 
    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 $< [$]@' 
718
 
    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 $< [$]@'
719
 
   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 $< [$]@'
 
707
if test -z "$AM_DEFAULT_VERBOSITY"; then
 
708
  AM_DEFAULT_VERBOSITY=1
 
709
fi
 
710
AC_SUBST([AM_DEFAULT_VERBOSITY])
 
711
 
 
712
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
 
713
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
 
714
INTLTOOL__v_MERGE_0='@echo "  ITMRG " [$]@;'
 
715
AC_SUBST(INTLTOOL_V_MERGE)
 
716
AC_SUBST(INTLTOOL__v_MERGE_)
 
717
AC_SUBST(INTLTOOL__v_MERGE_0)
 
718
 
 
719
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
 
720
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
 
721
intltool__v_merge_options_0='-q'
 
722
AC_SUBST(INTLTOOL_V_MERGE_OPTIONS)
 
723
AC_SUBST(intltool__v_merge_options_)
 
724
AC_SUBST(intltool__v_merge_options_0)
 
725
 
 
726
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
 
727
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
 
728
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
 
729
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
 
730
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@'
 
731
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
 
732
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
 
733
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
 
734
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
 
735
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
 
736
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
 
737
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
 
738
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@'
 
739
else
 
740
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir'
 
741
fi
 
742
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
 
743
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
 
744
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
 
745
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
 
746
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' 
 
747
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
 
748
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
720
749
 
721
750
_IT_SUBST(INTLTOOL_DESKTOP_RULE)
722
751
_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
762
791
if test $? -ne 0; then
763
792
   AC_MSG_ERROR([perl 5.8.1 is required for intltool])
764
793
else
765
 
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
794
   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
766
795
   AC_MSG_RESULT([$IT_PERL_VERSION])
767
796
fi
768
797
if test "x$2" != "xno-xml"; then
919
948
# ----------------------------------
920
949
AC_DEFUN([PKG_PROG_PKG_CONFIG],
921
950
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
922
 
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
 
951
m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
 
952
m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
923
953
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
924
954
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
925
955
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
965
995
    pkg_cv_[]$1="$$1"
966
996
 elif test -n "$PKG_CONFIG"; then
967
997
    PKG_CHECK_EXISTS([$3],
968
 
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
 
998
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
 
999
                      test "x$?" != "x0" && pkg_failed=yes ],
969
1000
                     [pkg_failed=yes])
970
1001
 else
971
1002
    pkg_failed=untried
1013
1044
        AC_MSG_RESULT([no])
1014
1045
        _PKG_SHORT_ERRORS_SUPPORTED
1015
1046
        if test $_pkg_short_errors_supported = yes; then
1016
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
 
1047
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
1017
1048
        else 
1018
 
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
 
1049
                $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
1019
1050
        fi
1020
1051
        # Put the nasty error message in config.log where it belongs
1021
1052
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
1049
1080
fi[]dnl
1050
1081
])# PKG_CHECK_MODULES
1051
1082
 
1052
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
1083
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
 
1084
# Foundation, Inc.
1053
1085
#
1054
1086
# This file is free software; the Free Software Foundation
1055
1087
# gives unlimited permission to copy and/or distribute it,
1056
1088
# with or without modifications, as long as this notice is preserved.
1057
1089
 
 
1090
# serial 1
 
1091
 
1058
1092
# AM_AUTOMAKE_VERSION(VERSION)
1059
1093
# ----------------------------
1060
1094
# Automake X.Y traces this macro to ensure aclocal.m4 has been
1064
1098
[am__api_version='1.11'
1065
1099
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1066
1100
dnl require some minimum version.  Point them to the right macro.
1067
 
m4_if([$1], [1.11.1], [],
 
1101
m4_if([$1], [1.11.3], [],
1068
1102
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1069
1103
])
1070
1104
 
1080
1114
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
1081
1115
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
1082
1116
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1083
 
[AM_AUTOMAKE_VERSION([1.11.1])dnl
 
1117
[AM_AUTOMAKE_VERSION([1.11.3])dnl
1084
1118
m4_ifndef([AC_AUTOCONF_VERSION],
1085
1119
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1086
1120
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
1087
1121
 
1088
1122
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
1089
1123
 
1090
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
1124
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1091
1125
#
1092
1126
# This file is free software; the Free Software Foundation
1093
1127
# gives unlimited permission to copy and/or distribute it,
1094
1128
# with or without modifications, as long as this notice is preserved.
1095
1129
 
 
1130
# serial 1
 
1131
 
1096
1132
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
1097
1133
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
1098
1134
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
1174
1210
Usually this means the macro was only invoked conditionally.]])
1175
1211
fi])])
1176
1212
 
1177
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
1178
 
# Free Software Foundation, Inc.
 
1213
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
 
1214
# 2010, 2011 Free Software Foundation, Inc.
1179
1215
#
1180
1216
# This file is free software; the Free Software Foundation
1181
1217
# gives unlimited permission to copy and/or distribute it,
1182
1218
# with or without modifications, as long as this notice is preserved.
1183
1219
 
1184
 
# serial 10
 
1220
# serial 12
1185
1221
 
1186
1222
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
1187
1223
# written in clear, in which case automake, when reading aclocal.m4,
1221
1257
  # instance it was reported that on HP-UX the gcc test will end up
1222
1258
  # making a dummy file named `D' -- because `-MD' means `put the output
1223
1259
  # in D'.
 
1260
  rm -rf conftest.dir
1224
1261
  mkdir conftest.dir
1225
1262
  # Copy depcomp to subdir because otherwise we won't find it if we're
1226
1263
  # using a relative directory.
1285
1322
        break
1286
1323
      fi
1287
1324
      ;;
1288
 
    msvisualcpp | msvcmsys)
 
1325
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1289
1326
      # This compiler won't grok `-c -o', but also, the minuso test has
1290
1327
      # not run yet.  These depmodes are late enough in the game, and
1291
1328
      # so weak that their functioning should not be impacted.
1350
1387
if test "x$enable_dependency_tracking" != xno; then
1351
1388
  am_depcomp="$ac_aux_dir/depcomp"
1352
1389
  AMDEPBACKSLASH='\'
 
1390
  am__nodep='_no'
1353
1391
fi
1354
1392
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
1355
1393
AC_SUBST([AMDEPBACKSLASH])dnl
1356
1394
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 
1395
AC_SUBST([am__nodep])dnl
 
1396
_AM_SUBST_NOTMAKE([am__nodep])dnl
1357
1397
])
1358
1398
 
1359
1399
# Generate code to set up dependency tracking.              -*- Autoconf -*-
1575
1615
done
1576
1616
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1577
1617
 
1578
 
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
 
1618
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
 
1619
# Inc.
1579
1620
#
1580
1621
# This file is free software; the Free Software Foundation
1581
1622
# gives unlimited permission to copy and/or distribute it,
1582
1623
# with or without modifications, as long as this notice is preserved.
1583
1624
 
 
1625
# serial 1
 
1626
 
1584
1627
# AM_PROG_INSTALL_SH
1585
1628
# ------------------
1586
1629
# Define $install_sh.
1620
1663
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
1621
1664
# From Jim Meyering
1622
1665
 
1623
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
1624
 
# Free Software Foundation, Inc.
 
1666
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
 
1667
# 2011 Free Software Foundation, Inc.
1625
1668
#
1626
1669
# This file is free software; the Free Software Foundation
1627
1670
# gives unlimited permission to copy and/or distribute it,
1641
1684
       [disable], [m4_define([am_maintainer_other], [enable])],
1642
1685
       [m4_define([am_maintainer_other], [enable])
1643
1686
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1644
 
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
1687
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1645
1688
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1646
1689
  AC_ARG_ENABLE([maintainer-mode],
1647
1690
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
1752
1795
fi
1753
1796
])
1754
1797
 
1755
 
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
1798
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
 
1799
# Inc.
1756
1800
#
1757
1801
# This file is free software; the Free Software Foundation
1758
1802
# gives unlimited permission to copy and/or distribute it,
1759
1803
# with or without modifications, as long as this notice is preserved.
1760
1804
 
 
1805
# serial 1
 
1806
 
1761
1807
# AM_PROG_MKDIR_P
1762
1808
# ---------------
1763
1809
# Check for `mkdir -p'.
1780
1826
 
1781
1827
# Helper functions for option handling.                     -*- Autoconf -*-
1782
1828
 
1783
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
 
1829
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
 
1830
# Foundation, Inc.
1784
1831
#
1785
1832
# This file is free software; the Free Software Foundation
1786
1833
# gives unlimited permission to copy and/or distribute it,
1787
1834
# with or without modifications, as long as this notice is preserved.
1788
1835
 
1789
 
# serial 4
 
1836
# serial 5
1790
1837
 
1791
1838
# _AM_MANGLE_OPTION(NAME)
1792
1839
# -----------------------
1794
1841
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
1795
1842
 
1796
1843
# _AM_SET_OPTION(NAME)
1797
 
# ------------------------------
 
1844
# --------------------
1798
1845
# Set option NAME.  Presently that only means defining a flag for this option.
1799
1846
AC_DEFUN([_AM_SET_OPTION],
1800
1847
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
1801
1848
 
1802
1849
# _AM_SET_OPTIONS(OPTIONS)
1803
 
# ----------------------------------
 
1850
# ------------------------
1804
1851
# OPTIONS is a space-separated list of Automake options.
1805
1852
AC_DEFUN([_AM_SET_OPTIONS],
1806
1853
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1876
1923
fi
1877
1924
AC_MSG_RESULT(yes)])
1878
1925
 
1879
 
# Copyright (C) 2009  Free Software Foundation, Inc.
 
1926
# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
1880
1927
#
1881
1928
# This file is free software; the Free Software Foundation
1882
1929
# gives unlimited permission to copy and/or distribute it,
1883
1930
# with or without modifications, as long as this notice is preserved.
1884
1931
 
1885
 
# serial 1
 
1932
# serial 2
1886
1933
 
1887
1934
# AM_SILENT_RULES([DEFAULT])
1888
1935
# --------------------------
1897
1944
no)  AM_DEFAULT_VERBOSITY=1;;
1898
1945
*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1899
1946
esac
 
1947
dnl
 
1948
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
 
1949
dnl do not support nested variable expansions.
 
1950
dnl See automake bug#9928 and bug#10237.
 
1951
am_make=${MAKE-make}
 
1952
AC_CACHE_CHECK([whether $am_make supports nested variables],
 
1953
   [am_cv_make_support_nested_variables],
 
1954
   [if AS_ECHO([['TRUE=$(BAR$(V))
 
1955
BAR0=false
 
1956
BAR1=true
 
1957
V=1
 
1958
am__doit:
 
1959
        @$(TRUE)
 
1960
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
 
1961
  am_cv_make_support_nested_variables=yes
 
1962
else
 
1963
  am_cv_make_support_nested_variables=no
 
1964
fi])
 
1965
if test $am_cv_make_support_nested_variables = yes; then
 
1966
  dnl Using `$V' instead of `$(V)' breaks IRIX make.
 
1967
  AM_V='$(V)'
 
1968
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
1969
else
 
1970
  AM_V=$AM_DEFAULT_VERBOSITY
 
1971
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
1972
fi
 
1973
AC_SUBST([AM_V])dnl
 
1974
AM_SUBST_NOTMAKE([AM_V])dnl
 
1975
AC_SUBST([AM_DEFAULT_V])dnl
 
1976
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1900
1977
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1901
1978
AM_BACKSLASH='\'
1902
1979
AC_SUBST([AM_BACKSLASH])dnl
1903
1980
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1904
1981
])
1905
1982
 
1906
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
1983
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1907
1984
#
1908
1985
# This file is free software; the Free Software Foundation
1909
1986
# gives unlimited permission to copy and/or distribute it,
1910
1987
# with or without modifications, as long as this notice is preserved.
1911
1988
 
 
1989
# serial 1
 
1990
 
1912
1991
# AM_PROG_INSTALL_STRIP
1913
1992
# ---------------------
1914
1993
# One issue with vendor `install' (even GNU) is that you can't
1931
2010
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1932
2011
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1933
2012
 
1934
 
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
 
2013
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
1935
2014
#
1936
2015
# This file is free software; the Free Software Foundation
1937
2016
# gives unlimited permission to copy and/or distribute it,
1938
2017
# with or without modifications, as long as this notice is preserved.
1939
2018
 
1940
 
# serial 2
 
2019
# serial 3
1941
2020
 
1942
2021
# _AM_SUBST_NOTMAKE(VARIABLE)
1943
2022
# ---------------------------
1946
2025
AC_DEFUN([_AM_SUBST_NOTMAKE])
1947
2026
 
1948
2027
# AM_SUBST_NOTMAKE(VARIABLE)
1949
 
# ---------------------------
 
2028
# --------------------------
1950
2029
# Public sister of _AM_SUBST_NOTMAKE.
1951
2030
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1952
2031
 
1953
2032
# Check how to create a tarball.                            -*- Autoconf -*-
1954
2033
 
1955
 
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
2034
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
1956
2035
#
1957
2036
# This file is free software; the Free Software Foundation
1958
2037
# gives unlimited permission to copy and/or distribute it,
1974
2053
# a tarball read from stdin.
1975
2054
#     $(am__untar) < result.tar
1976
2055
AC_DEFUN([_AM_PROG_TAR],
1977
 
[# Always define AMTAR for backward compatibility.
1978
 
AM_MISSING_PROG([AMTAR], [tar])
 
2056
[# Always define AMTAR for backward compatibility.  Yes, it's still used
 
2057
# in the wild :-(  We should find a proper way to deprecate it ...
 
2058
AC_SUBST([AMTAR], ['$${TAR-tar}'])
1979
2059
m4_if([$1], [v7],
1980
 
     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
 
2060
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1981
2061
     [m4_case([$1], [ustar],, [pax],,
1982
2062
              [m4_fatal([Unknown tar format])])
1983
2063
AC_MSG_CHECKING([how to create a $1 tar archive])