~ubuntu-branches/ubuntu/precise/dbus-python/precise

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Simon McVittie
  • Date: 2012-01-24 19:07:26 UTC
  • mfrom: (2.2.2 experimental)
  • Revision ID: package-import@ubuntu.com-20120124190726-baugtt60mzf3tfpd
Tags: 1.0.0-1
* New upstream version 1.0.0
  - increase Python requirement to 2.6
  - build for Python 3 too
  - split python-dbus-dev into a separate package to be shared between
    versions
  - make python-dbus depend on python-dbus-dev for now, to preserve
    historical functionality (but packages which use it, like PyQt, should
    switch to depending on it explicitly)

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.2 -*- 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.
179
180
fi[]dnl
180
181
])# PKG_CHECK_MODULES
181
182
 
182
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
183
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
 
184
# Foundation, Inc.
183
185
#
184
186
# This file is free software; the Free Software Foundation
185
187
# gives unlimited permission to copy and/or distribute it,
186
188
# with or without modifications, as long as this notice is preserved.
187
189
 
 
190
# serial 1
 
191
 
188
192
# AM_AUTOMAKE_VERSION(VERSION)
189
193
# ----------------------------
190
194
# Automake X.Y traces this macro to ensure aclocal.m4 has been
194
198
[am__api_version='1.11'
195
199
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
196
200
dnl require some minimum version.  Point them to the right macro.
197
 
m4_if([$1], [1.11.1], [],
 
201
m4_if([$1], [1.11.2], [],
198
202
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
199
203
])
200
204
 
210
214
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
211
215
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
212
216
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
213
 
[AM_AUTOMAKE_VERSION([1.11.1])dnl
 
217
[AM_AUTOMAKE_VERSION([1.11.2])dnl
214
218
m4_ifndef([AC_AUTOCONF_VERSION],
215
219
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
216
220
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
217
221
 
218
222
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
219
223
 
220
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
224
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
221
225
#
222
226
# This file is free software; the Free Software Foundation
223
227
# gives unlimited permission to copy and/or distribute it,
224
228
# with or without modifications, as long as this notice is preserved.
225
229
 
 
230
# serial 1
 
231
 
226
232
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
227
233
# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
228
234
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
304
310
Usually this means the macro was only invoked conditionally.]])
305
311
fi])])
306
312
 
307
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
308
 
# Free Software Foundation, Inc.
 
313
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
 
314
# 2010, 2011 Free Software Foundation, Inc.
309
315
#
310
316
# This file is free software; the Free Software Foundation
311
317
# gives unlimited permission to copy and/or distribute it,
312
318
# with or without modifications, as long as this notice is preserved.
313
319
 
314
 
# serial 10
 
320
# serial 12
315
321
 
316
322
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
317
323
# written in clear, in which case automake, when reading aclocal.m4,
351
357
  # instance it was reported that on HP-UX the gcc test will end up
352
358
  # making a dummy file named `D' -- because `-MD' means `put the output
353
359
  # in D'.
 
360
  rm -rf conftest.dir
354
361
  mkdir conftest.dir
355
362
  # Copy depcomp to subdir because otherwise we won't find it if we're
356
363
  # using a relative directory.
415
422
        break
416
423
      fi
417
424
      ;;
418
 
    msvisualcpp | msvcmsys)
 
425
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
419
426
      # This compiler won't grok `-c -o', but also, the minuso test has
420
427
      # not run yet.  These depmodes are late enough in the game, and
421
428
      # so weak that their functioning should not be impacted.
480
487
if test "x$enable_dependency_tracking" != xno; then
481
488
  am_depcomp="$ac_aux_dir/depcomp"
482
489
  AMDEPBACKSLASH='\'
 
490
  am__nodep='_no'
483
491
fi
484
492
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
485
493
AC_SUBST([AMDEPBACKSLASH])dnl
486
494
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 
495
AC_SUBST([am__nodep])dnl
 
496
_AM_SUBST_NOTMAKE([am__nodep])dnl
487
497
])
488
498
 
489
499
# Generate code to set up dependency tracking.              -*- Autoconf -*-
717
727
done
718
728
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
719
729
 
720
 
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
 
730
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
 
731
# Inc.
721
732
#
722
733
# This file is free software; the Free Software Foundation
723
734
# gives unlimited permission to copy and/or distribute it,
724
735
# with or without modifications, as long as this notice is preserved.
725
736
 
 
737
# serial 1
 
738
 
726
739
# AM_PROG_INSTALL_SH
727
740
# ------------------
728
741
# Define $install_sh.
889
902
fi
890
903
])
891
904
 
892
 
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
905
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
 
906
# Inc.
893
907
#
894
908
# This file is free software; the Free Software Foundation
895
909
# gives unlimited permission to copy and/or distribute it,
896
910
# with or without modifications, as long as this notice is preserved.
897
911
 
 
912
# serial 1
 
913
 
898
914
# AM_PROG_MKDIR_P
899
915
# ---------------
900
916
# Check for `mkdir -p'.
917
933
 
918
934
# Helper functions for option handling.                     -*- Autoconf -*-
919
935
 
920
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
 
936
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
 
937
# Foundation, Inc.
921
938
#
922
939
# This file is free software; the Free Software Foundation
923
940
# gives unlimited permission to copy and/or distribute it,
924
941
# with or without modifications, as long as this notice is preserved.
925
942
 
926
 
# serial 4
 
943
# serial 5
927
944
 
928
945
# _AM_MANGLE_OPTION(NAME)
929
946
# -----------------------
931
948
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
932
949
 
933
950
# _AM_SET_OPTION(NAME)
934
 
# ------------------------------
 
951
# --------------------
935
952
# Set option NAME.  Presently that only means defining a flag for this option.
936
953
AC_DEFUN([_AM_SET_OPTION],
937
954
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
938
955
 
939
956
# _AM_SET_OPTIONS(OPTIONS)
940
 
# ----------------------------------
 
957
# ------------------------
941
958
# OPTIONS is a space-separated list of Automake options.
942
959
AC_DEFUN([_AM_SET_OPTIONS],
943
960
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
948
965
AC_DEFUN([_AM_IF_OPTION],
949
966
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
950
967
 
951
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009
952
 
# Free Software Foundation, Inc.
 
968
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009,
 
969
# 2011 Free Software Foundation, Inc.
953
970
#
954
971
# This file is free software; the Free Software Foundation
955
972
# gives unlimited permission to copy and/or distribute it,
956
973
# with or without modifications, as long as this notice is preserved.
957
974
 
 
975
# serial 1
 
976
 
958
977
# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
959
978
# ---------------------------------------------------------------------------
960
979
# Adds support for distributing Python modules and packages.  To
982
1001
  dnl Find a Python interpreter.  Python versions prior to 2.0 are not
983
1002
  dnl supported. (2.0 was released on October 16, 2000).
984
1003
  m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
985
 
                    [python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 dnl
986
 
python2.1 python2.0])
 
1004
[python python2 python3 python3.2 python3.1 python3.0 python2.7 dnl
 
1005
 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0])
 
1006
 
 
1007
  AC_ARG_VAR([PYTHON], [the Python interpreter])
987
1008
 
988
1009
  m4_if([$1],[],[
989
1010
    dnl No version check is needed.
1153
1174
sys.exit(sys.hexversion < minverhex)"
1154
1175
  AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
1155
1176
 
1156
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
1177
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1157
1178
#
1158
1179
# This file is free software; the Free Software Foundation
1159
1180
# gives unlimited permission to copy and/or distribute it,
1160
1181
# with or without modifications, as long as this notice is preserved.
1161
1182
 
 
1183
# serial 1
 
1184
 
1162
1185
# AM_RUN_LOG(COMMAND)
1163
1186
# -------------------
1164
1187
# Run COMMAND, save the exit status in ac_status, and log it.
1262
1285
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1263
1286
])
1264
1287
 
1265
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
1288
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1266
1289
#
1267
1290
# This file is free software; the Free Software Foundation
1268
1291
# gives unlimited permission to copy and/or distribute it,
1269
1292
# with or without modifications, as long as this notice is preserved.
1270
1293
 
 
1294
# serial 1
 
1295
 
1271
1296
# AM_PROG_INSTALL_STRIP
1272
1297
# ---------------------
1273
1298
# One issue with vendor `install' (even GNU) is that you can't
1290
1315
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1291
1316
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1292
1317
 
1293
 
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
 
1318
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
1294
1319
#
1295
1320
# This file is free software; the Free Software Foundation
1296
1321
# gives unlimited permission to copy and/or distribute it,
1297
1322
# with or without modifications, as long as this notice is preserved.
1298
1323
 
1299
 
# serial 2
 
1324
# serial 3
1300
1325
 
1301
1326
# _AM_SUBST_NOTMAKE(VARIABLE)
1302
1327
# ---------------------------
1305
1330
AC_DEFUN([_AM_SUBST_NOTMAKE])
1306
1331
 
1307
1332
# AM_SUBST_NOTMAKE(VARIABLE)
1308
 
# ---------------------------
 
1333
# --------------------------
1309
1334
# Public sister of _AM_SUBST_NOTMAKE.
1310
1335
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1311
1336