~oif-packaging/libgrip/ubuntu

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Chase Douglas
  • Date: 2012-07-30 21:04:51 UTC
  • mfrom: (1.1.12)
  • Revision ID: chase.douglas@canonical.com-20120730210451-o3325eldn1dy8awu
* New upstream release.
  - Update dependency on libgeis due to project rename
  - Remove lp872022-disconnect-non-toplevel-signal.patch, merged upstream

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.5 -*- 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.68],,
17
 
[m4_warning([this file was generated for autoconf 2.68.
 
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
 
18
[m4_warning([this file was generated for autoconf 2.69.
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'.])])
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.5], [],
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.5])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.
762
775
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
763
776
# From Jim Meyering
764
777
 
765
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
766
 
# Free Software Foundation, Inc.
 
778
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
 
779
# 2011 Free Software Foundation, Inc.
767
780
#
768
781
# This file is free software; the Free Software Foundation
769
782
# gives unlimited permission to copy and/or distribute it,
783
796
       [disable], [m4_define([am_maintainer_other], [enable])],
784
797
       [m4_define([am_maintainer_other], [enable])
785
798
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
786
 
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
799
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
787
800
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
788
801
  AC_ARG_ENABLE([maintainer-mode],
789
802
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
894
907
fi
895
908
])
896
909
 
897
 
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
910
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
 
911
# Inc.
898
912
#
899
913
# This file is free software; the Free Software Foundation
900
914
# gives unlimited permission to copy and/or distribute it,
901
915
# with or without modifications, as long as this notice is preserved.
902
916
 
 
917
# serial 1
 
918
 
903
919
# AM_PROG_MKDIR_P
904
920
# ---------------
905
921
# Check for `mkdir -p'.
922
938
 
923
939
# Helper functions for option handling.                     -*- Autoconf -*-
924
940
 
925
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
 
941
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
 
942
# Foundation, Inc.
926
943
#
927
944
# This file is free software; the Free Software Foundation
928
945
# gives unlimited permission to copy and/or distribute it,
929
946
# with or without modifications, as long as this notice is preserved.
930
947
 
931
 
# serial 4
 
948
# serial 5
932
949
 
933
950
# _AM_MANGLE_OPTION(NAME)
934
951
# -----------------------
936
953
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
937
954
 
938
955
# _AM_SET_OPTION(NAME)
939
 
# ------------------------------
 
956
# --------------------
940
957
# Set option NAME.  Presently that only means defining a flag for this option.
941
958
AC_DEFUN([_AM_SET_OPTION],
942
959
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
943
960
 
944
961
# _AM_SET_OPTIONS(OPTIONS)
945
 
# ----------------------------------
 
962
# ------------------------
946
963
# OPTIONS is a space-separated list of Automake options.
947
964
AC_DEFUN([_AM_SET_OPTIONS],
948
965
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
953
970
AC_DEFUN([_AM_IF_OPTION],
954
971
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
955
972
 
956
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009
957
 
# Free Software Foundation, Inc.
 
973
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009,
 
974
# 2011 Free Software Foundation, Inc.
958
975
#
959
976
# This file is free software; the Free Software Foundation
960
977
# gives unlimited permission to copy and/or distribute it,
961
978
# with or without modifications, as long as this notice is preserved.
962
979
 
 
980
# serial 2
 
981
 
963
982
# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
964
983
# ---------------------------------------------------------------------------
965
984
# Adds support for distributing Python modules and packages.  To
987
1006
  dnl Find a Python interpreter.  Python versions prior to 2.0 are not
988
1007
  dnl supported. (2.0 was released on October 16, 2000).
989
1008
  m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
990
 
                    [python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 dnl
991
 
python2.1 python2.0])
 
1009
[python python2 python3 python3.2 python3.1 python3.0 python2.7 dnl
 
1010
 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0])
 
1011
 
 
1012
  AC_ARG_VAR([PYTHON], [the Python interpreter])
992
1013
 
993
1014
  m4_if([$1],[],[
994
1015
    dnl No version check is needed.
1060
1081
  dnl   site-packages directory, not the python standard library
1061
1082
  dnl   directory like in previous automake betas.  This behavior
1062
1083
  dnl   is more consistent with lispdir.m4 for example.
1063
 
  dnl Query distutils for this directory.  distutils does not exist in
1064
 
  dnl Python 1.5, so we fall back to the hardcoded directory if it
1065
 
  dnl doesn't work.
 
1084
  dnl Query distutils for this directory.
1066
1085
  AC_CACHE_CHECK([for $am_display_PYTHON script directory],
1067
1086
    [am_cv_python_pythondir],
1068
1087
    [if test "x$prefix" = xNONE
1071
1090
     else
1072
1091
       am_py_prefix=$prefix
1073
1092
     fi
1074
 
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
1075
 
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
1093
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
1076
1094
     case $am_cv_python_pythondir in
1077
1095
     $am_py_prefix*)
1078
1096
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
1098
1116
 
1099
1117
  dnl pyexecdir -- directory for installing python extension modules
1100
1118
  dnl   (shared libraries)
1101
 
  dnl Query distutils for this directory.  distutils does not exist in
1102
 
  dnl Python 1.5, so we fall back to the hardcoded directory if it
1103
 
  dnl doesn't work.
 
1119
  dnl Query distutils for this directory.
1104
1120
  AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
1105
1121
    [am_cv_python_pyexecdir],
1106
1122
    [if test "x$exec_prefix" = xNONE
1109
1125
     else
1110
1126
       am_py_exec_prefix=$exec_prefix
1111
1127
     fi
1112
 
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
1113
 
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
1128
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
1114
1129
     case $am_cv_python_pyexecdir in
1115
1130
     $am_py_exec_prefix*)
1116
1131
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
1223
1238
fi
1224
1239
AC_MSG_RESULT(yes)])
1225
1240
 
1226
 
# Copyright (C) 2009  Free Software Foundation, Inc.
 
1241
# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
1227
1242
#
1228
1243
# This file is free software; the Free Software Foundation
1229
1244
# gives unlimited permission to copy and/or distribute it,
1230
1245
# with or without modifications, as long as this notice is preserved.
1231
1246
 
1232
 
# serial 1
 
1247
# serial 2
1233
1248
 
1234
1249
# AM_SILENT_RULES([DEFAULT])
1235
1250
# --------------------------
1244
1259
no)  AM_DEFAULT_VERBOSITY=1;;
1245
1260
*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1246
1261
esac
 
1262
dnl
 
1263
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
 
1264
dnl do not support nested variable expansions.
 
1265
dnl See automake bug#9928 and bug#10237.
 
1266
am_make=${MAKE-make}
 
1267
AC_CACHE_CHECK([whether $am_make supports nested variables],
 
1268
   [am_cv_make_support_nested_variables],
 
1269
   [if AS_ECHO([['TRUE=$(BAR$(V))
 
1270
BAR0=false
 
1271
BAR1=true
 
1272
V=1
 
1273
am__doit:
 
1274
        @$(TRUE)
 
1275
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
 
1276
  am_cv_make_support_nested_variables=yes
 
1277
else
 
1278
  am_cv_make_support_nested_variables=no
 
1279
fi])
 
1280
if test $am_cv_make_support_nested_variables = yes; then
 
1281
  dnl Using `$V' instead of `$(V)' breaks IRIX make.
 
1282
  AM_V='$(V)'
 
1283
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
1284
else
 
1285
  AM_V=$AM_DEFAULT_VERBOSITY
 
1286
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
1287
fi
 
1288
AC_SUBST([AM_V])dnl
 
1289
AM_SUBST_NOTMAKE([AM_V])dnl
 
1290
AC_SUBST([AM_DEFAULT_V])dnl
 
1291
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1247
1292
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1248
1293
AM_BACKSLASH='\'
1249
1294
AC_SUBST([AM_BACKSLASH])dnl
1250
1295
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1251
1296
])
1252
1297
 
1253
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
1298
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1254
1299
#
1255
1300
# This file is free software; the Free Software Foundation
1256
1301
# gives unlimited permission to copy and/or distribute it,
1257
1302
# with or without modifications, as long as this notice is preserved.
1258
1303
 
 
1304
# serial 1
 
1305
 
1259
1306
# AM_PROG_INSTALL_STRIP
1260
1307
# ---------------------
1261
1308
# One issue with vendor `install' (even GNU) is that you can't
1278
1325
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1279
1326
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1280
1327
 
1281
 
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
 
1328
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
1282
1329
#
1283
1330
# This file is free software; the Free Software Foundation
1284
1331
# gives unlimited permission to copy and/or distribute it,
1285
1332
# with or without modifications, as long as this notice is preserved.
1286
1333
 
1287
 
# serial 2
 
1334
# serial 3
1288
1335
 
1289
1336
# _AM_SUBST_NOTMAKE(VARIABLE)
1290
1337
# ---------------------------
1293
1340
AC_DEFUN([_AM_SUBST_NOTMAKE])
1294
1341
 
1295
1342
# AM_SUBST_NOTMAKE(VARIABLE)
1296
 
# ---------------------------
 
1343
# --------------------------
1297
1344
# Public sister of _AM_SUBST_NOTMAKE.
1298
1345
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1299
1346
 
1300
1347
# Check how to create a tarball.                            -*- Autoconf -*-
1301
1348
 
1302
 
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
1349
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
1303
1350
#
1304
1351
# This file is free software; the Free Software Foundation
1305
1352
# gives unlimited permission to copy and/or distribute it,
1321
1368
# a tarball read from stdin.
1322
1369
#     $(am__untar) < result.tar
1323
1370
AC_DEFUN([_AM_PROG_TAR],
1324
 
[# Always define AMTAR for backward compatibility.
1325
 
AM_MISSING_PROG([AMTAR], [tar])
 
1371
[# Always define AMTAR for backward compatibility.  Yes, it's still used
 
1372
# in the wild :-(  We should find a proper way to deprecate it ...
 
1373
AC_SUBST([AMTAR], ['$${TAR-tar}'])
1326
1374
m4_if([$1], [v7],
1327
 
     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
 
1375
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1328
1376
     [m4_case([$1], [ustar],, [pax],,
1329
1377
              [m4_fatal([Unknown tar format])])
1330
1378
AC_MSG_CHECKING([how to create a $1 tar archive])