~ubuntu-branches/ubuntu/intrepid/at-spi/intrepid-proposed

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-07-21 22:12:57 UTC
  • mfrom: (1.1.32 upstream)
  • Revision ID: james.westby@ubuntu.com-20080721221257-yvasos92mp7vefgr
Tags: 1.23.5-0ubuntu1
* New upstream bugfix release
* debian/control.in:
  - Bump Standards-Version to 3.8.0 (no changes)
* debian/patches/at-spi-memleak.patch:
  - Removed, merged upstream

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.9.6 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008  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.
13
13
 
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'.])])
21
 
 
22
14
# Copyright (C) 1995-2002 Free Software Foundation, Inc.
23
15
# Copyright (C) 2001-2003,2004 Red Hat, Inc.
24
16
#
7704
7696
fi[]dnl
7705
7697
])# PKG_CHECK_MODULES
7706
7698
 
7707
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
 
7699
# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
7708
7700
#
7709
7701
# This file is free software; the Free Software Foundation
7710
7702
# gives unlimited permission to copy and/or distribute it,
7714
7706
# ----------------------------
7715
7707
# Automake X.Y traces this macro to ensure aclocal.m4 has been
7716
7708
# generated from the m4 files accompanying Automake X.Y.
7717
 
# (This private macro should not be called outside this file.)
7718
 
AC_DEFUN([AM_AUTOMAKE_VERSION],
7719
 
[am__api_version='1.10'
7720
 
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
7721
 
dnl require some minimum version.  Point them to the right macro.
7722
 
m4_if([$1], [1.10.1], [],
7723
 
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
7724
 
])
7725
 
 
7726
 
# _AM_AUTOCONF_VERSION(VERSION)
7727
 
# -----------------------------
7728
 
# aclocal traces this macro to find the Autoconf version.
7729
 
# This is a private macro too.  Using m4_define simplifies
7730
 
# the logic in aclocal, which can simply ignore this definition.
7731
 
m4_define([_AM_AUTOCONF_VERSION], [])
 
7709
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
7732
7710
 
7733
7711
# AM_SET_CURRENT_AUTOMAKE_VERSION
7734
7712
# -------------------------------
7735
 
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
 
7713
# Call AM_AUTOMAKE_VERSION so it can be traced.
7736
7714
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
7737
7715
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
7738
 
[AM_AUTOMAKE_VERSION([1.10.1])dnl
7739
 
m4_ifndef([AC_AUTOCONF_VERSION],
7740
 
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
7741
 
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
 
7716
         [AM_AUTOMAKE_VERSION([1.9.6])])
7742
7717
 
7743
7718
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
7744
7719
 
7795
7770
 
7796
7771
# AM_CONDITIONAL                                            -*- Autoconf -*-
7797
7772
 
7798
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
7773
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
7799
7774
# Free Software Foundation, Inc.
7800
7775
#
7801
7776
# This file is free software; the Free Software Foundation
7802
7777
# gives unlimited permission to copy and/or distribute it,
7803
7778
# with or without modifications, as long as this notice is preserved.
7804
7779
 
7805
 
# serial 8
 
7780
# serial 7
7806
7781
 
7807
7782
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
7808
7783
# -------------------------------------
7811
7786
[AC_PREREQ(2.52)dnl
7812
7787
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
7813
7788
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
7814
 
AC_SUBST([$1_TRUE])dnl
7815
 
AC_SUBST([$1_FALSE])dnl
7816
 
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
7817
 
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
7789
AC_SUBST([$1_TRUE])
 
7790
AC_SUBST([$1_FALSE])
7818
7791
if $2; then
7819
7792
  $1_TRUE=
7820
7793
  $1_FALSE='#'
7828
7801
Usually this means the macro was only invoked conditionally.]])
7829
7802
fi])])
7830
7803
 
7831
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
7804
 
 
7805
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
7832
7806
# Free Software Foundation, Inc.
7833
7807
#
7834
7808
# This file is free software; the Free Software Foundation
7835
7809
# gives unlimited permission to copy and/or distribute it,
7836
7810
# with or without modifications, as long as this notice is preserved.
7837
7811
 
7838
 
# serial 9
 
7812
# serial 8
7839
7813
 
7840
7814
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
7841
7815
# written in clear, in which case automake, when reading aclocal.m4,
7863
7837
ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
7864
7838
       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
7865
7839
       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
7866
 
       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
7867
7840
       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
7868
7841
                   [depcc="$$1"   am_compiler_list=])
7869
7842
 
7929
7902
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7930
7903
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7931
7904
         >/dev/null 2>conftest.err &&
7932
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7933
7905
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7934
7906
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7935
7907
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7982
7954
  AMDEPBACKSLASH='\'
7983
7955
fi
7984
7956
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
7985
 
AC_SUBST([AMDEPBACKSLASH])dnl
7986
 
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 
7957
AC_SUBST([AMDEPBACKSLASH])
7987
7958
])
7988
7959
 
7989
7960
# Generate code to set up dependency tracking.              -*- Autoconf -*-
8008
7979
  # some people rename them; so instead we look at the file content.
8009
7980
  # Grep'ing the first line is not enough: some people post-process
8010
7981
  # each Makefile.in and add a new line on top of each file to say so.
8011
 
  # Grep'ing the whole file is not good either: AIX grep has a line
8012
 
  # limit of 2048, but all sed's we know have understand at least 4000.
8013
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
7982
  # So let's grep whole file.
 
7983
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8014
7984
    dirpart=`AS_DIRNAME("$mf")`
8015
7985
  else
8016
7986
    continue
8069
8039
 
8070
8040
# Do all the work for Automake.                             -*- Autoconf -*-
8071
8041
 
8072
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8073
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
8042
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
8043
# Free Software Foundation, Inc.
8074
8044
#
8075
8045
# This file is free software; the Free Software Foundation
8076
8046
# gives unlimited permission to copy and/or distribute it,
8077
8047
# with or without modifications, as long as this notice is preserved.
8078
8048
 
8079
 
# serial 13
 
8049
# serial 12
8080
8050
 
8081
8051
# This macro actually does too much.  Some checks are only needed if
8082
8052
# your package does certain things.  But this isn't really a big deal.
8093
8063
# arguments mandatory, and then we can depend on a new Autoconf
8094
8064
# release and drop the old call support.
8095
8065
AC_DEFUN([AM_INIT_AUTOMAKE],
8096
 
[AC_PREREQ([2.60])dnl
 
8066
[AC_PREREQ([2.58])dnl
8097
8067
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
8098
8068
dnl the ones we care about.
8099
8069
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
8100
8070
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
8101
8071
AC_REQUIRE([AC_PROG_INSTALL])dnl
8102
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
8103
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
8104
 
  # is not polluted with repeated "-I."
8105
 
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
8106
 
  # test to see if srcdir already configured
8107
 
  if test -f $srcdir/config.status; then
8108
 
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
8109
 
  fi
 
8072
# test to see if srcdir already configured
 
8073
if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
8074
   test -f $srcdir/config.status; then
 
8075
  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
8110
8076
fi
8111
8077
 
8112
8078
# test whether we have cygpath
8126
8092
 AC_SUBST([PACKAGE], [$1])dnl
8127
8093
 AC_SUBST([VERSION], [$2])],
8128
8094
[_AM_SET_OPTIONS([$1])dnl
8129
 
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
8130
 
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
8131
 
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
8132
8095
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
8133
8096
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
8134
8097
 
8164
8127
                  [_AM_DEPENDENCIES(CXX)],
8165
8128
                  [define([AC_PROG_CXX],
8166
8129
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
8167
 
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
8168
 
                  [_AM_DEPENDENCIES(OBJC)],
8169
 
                  [define([AC_PROG_OBJC],
8170
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
8171
8130
])
8172
8131
])
8173
8132
 
8181
8140
# our stamp files there.
8182
8141
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
8183
8142
[# Compute $1's index in $config_headers.
8184
 
_am_arg=$1
8185
8143
_am_stamp_count=1
8186
8144
for _am_header in $config_headers :; do
8187
8145
  case $_am_header in
8188
 
    $_am_arg | $_am_arg:* )
 
8146
    $1 | $1:* )
8189
8147
      break ;;
8190
8148
    * )
8191
8149
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8192
8150
  esac
8193
8151
done
8194
 
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
 
8152
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
8195
8153
 
8196
8154
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
8197
8155
#
8204
8162
# Define $install_sh.
8205
8163
AC_DEFUN([AM_PROG_INSTALL_SH],
8206
8164
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8207
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
8165
install_sh=${install_sh-"$am_aux_dir/install-sh"}
8208
8166
AC_SUBST(install_sh)])
8209
8167
 
8210
8168
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
8311
8269
 
8312
8270
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
8313
8271
 
8314
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
8272
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
8315
8273
# Free Software Foundation, Inc.
8316
8274
#
8317
8275
# This file is free software; the Free Software Foundation
8318
8276
# gives unlimited permission to copy and/or distribute it,
8319
8277
# with or without modifications, as long as this notice is preserved.
8320
8278
 
8321
 
# serial 5
 
8279
# serial 4
8322
8280
 
8323
8281
# AM_MISSING_PROG(NAME, PROGRAM)
8324
8282
# ------------------------------
8334
8292
# If it does, set am_missing_run to use it, otherwise, to nothing.
8335
8293
AC_DEFUN([AM_MISSING_HAS_RUN],
8336
8294
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
8337
 
AC_REQUIRE_AUX_FILE([missing])dnl
8338
8295
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
8339
8296
# Use eval to expand $SHELL
8340
8297
if eval "$MISSING --run true"; then
8345
8302
fi
8346
8303
])
8347
8304
 
8348
 
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
8305
# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
8349
8306
#
8350
8307
# This file is free software; the Free Software Foundation
8351
8308
# gives unlimited permission to copy and/or distribute it,
8353
8310
 
8354
8311
# AM_PROG_MKDIR_P
8355
8312
# ---------------
8356
 
# Check for `mkdir -p'.
 
8313
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
 
8314
#
 
8315
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
 
8316
# created by `make install' are always world readable, even if the
 
8317
# installer happens to have an overly restrictive umask (e.g. 077).
 
8318
# This was a mistake.  There are at least two reasons why we must not
 
8319
# use `-m 0755':
 
8320
#   - it causes special bits like SGID to be ignored,
 
8321
#   - it may be too restrictive (some setups expect 775 directories).
 
8322
#
 
8323
# Do not use -m 0755 and let people choose whatever they expect by
 
8324
# setting umask.
 
8325
#
 
8326
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
 
8327
# Some implementations (such as Solaris 8's) are not thread-safe: if a
 
8328
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
 
8329
# concurrently, both version can detect that a/ is missing, but only
 
8330
# one can create it and the other will error out.  Consequently we
 
8331
# restrict ourselves to GNU make (using the --version option ensures
 
8332
# this.)
8357
8333
AC_DEFUN([AM_PROG_MKDIR_P],
8358
 
[AC_PREREQ([2.60])dnl
8359
 
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
8360
 
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
8361
 
dnl while keeping a definition of mkdir_p for backward compatibility.
8362
 
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
8363
 
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
8364
 
dnl Makefile.ins that do not define MKDIR_P, so we do our own
8365
 
dnl adjustment using top_builddir (which is defined more often than
8366
 
dnl MKDIR_P).
8367
 
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
8368
 
case $mkdir_p in
8369
 
  [[\\/$]]* | ?:[[\\/]]*) ;;
8370
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
8371
 
esac
8372
 
])
 
8334
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
8335
  # We used to keeping the `.' as first argument, in order to
 
8336
  # allow $(mkdir_p) to be used without argument.  As in
 
8337
  #   $(mkdir_p) $(somedir)
 
8338
  # where $(somedir) is conditionally defined.  However this is wrong
 
8339
  # for two reasons:
 
8340
  #  1. if the package is installed by a user who cannot write `.'
 
8341
  #     make install will fail,
 
8342
  #  2. the above comment should most certainly read
 
8343
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
8344
  #     so it does not work when $(somedir) is undefined and
 
8345
  #     $(DESTDIR) is not.
 
8346
  #  To support the latter case, we have to write
 
8347
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
8348
  #  so the `.' trick is pointless.
 
8349
  mkdir_p='mkdir -p --'
 
8350
else
 
8351
  # On NextStep and OpenStep, the `mkdir' command does not
 
8352
  # recognize any option.  It will interpret all options as
 
8353
  # directories to create, and then abort because `.' already
 
8354
  # exists.
 
8355
  for d in ./-p ./--version;
 
8356
  do
 
8357
    test -d $d && rmdir $d
 
8358
  done
 
8359
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
8360
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
8361
    mkdir_p='$(mkinstalldirs)'
 
8362
  else
 
8363
    mkdir_p='$(install_sh) -d'
 
8364
  fi
 
8365
fi
 
8366
AC_SUBST([mkdir_p])])
8373
8367
 
8374
8368
# Helper functions for option handling.                     -*- Autoconf -*-
8375
8369
 
8662
8656
if test "$cross_compiling" != no; then
8663
8657
  AC_CHECK_TOOL([STRIP], [strip], :)
8664
8658
fi
8665
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
8659
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
8666
8660
AC_SUBST([INSTALL_STRIP_PROGRAM])])
8667
8661
 
8668
 
# Copyright (C) 2006  Free Software Foundation, Inc.
8669
 
#
8670
 
# This file is free software; the Free Software Foundation
8671
 
# gives unlimited permission to copy and/or distribute it,
8672
 
# with or without modifications, as long as this notice is preserved.
8673
 
 
8674
 
# _AM_SUBST_NOTMAKE(VARIABLE)
8675
 
# ---------------------------
8676
 
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
8677
 
# This macro is traced by Automake.
8678
 
AC_DEFUN([_AM_SUBST_NOTMAKE])
8679
 
 
8680
8662
# Check how to create a tarball.                            -*- Autoconf -*-
8681
8663
 
8682
8664
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.