~sil2100/nux/precise_sru-1

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Didier Roche
  • Date: 2012-02-17 10:28:35 UTC
  • mfrom: (159.3.34)
  • Revision ID: didier.roche@canonical.com-20120217102835-7fyqcabz0vad239t
New upstream release.

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.
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.3], [],
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.3])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/../..'.
270
276
 
271
277
# AM_COND_IF                                            -*- Autoconf -*-
272
278
 
273
 
# Copyright (C) 2008 Free Software Foundation, Inc.
 
279
# Copyright (C) 2008, 2010 Free Software Foundation, Inc.
274
280
#
275
281
# This file is free software; the Free Software Foundation
276
282
# gives unlimited permission to copy and/or distribute it,
277
283
# with or without modifications, as long as this notice is preserved.
278
284
 
279
 
# serial 1
 
285
# serial 3
280
286
 
281
287
# _AM_COND_IF
282
288
# _AM_COND_ELSE
290
296
 
291
297
# AM_COND_IF(COND, [IF-TRUE], [IF-FALSE])
292
298
# ---------------------------------------
293
 
# If the shell condition matching COND is true, execute IF-TRUE,
294
 
# otherwise execute IF-FALSE.  Allow automake to learn about conditional
295
 
# instantiating macros (the AC_CONFIG_FOOS).
 
299
# If the shell condition COND is true, execute IF-TRUE, otherwise execute
 
300
# IF-FALSE.  Allow automake to learn about conditional instantiating macros
 
301
# (the AC_CONFIG_FOOS).
296
302
AC_DEFUN([AM_COND_IF],
297
303
[m4_ifndef([_AM_COND_VALUE_$1],
298
304
           [m4_fatal([$0: no such condition "$1"])])dnl
299
305
_AM_COND_IF([$1])dnl
300
 
if _AM_COND_VALUE_$1; then
301
 
  m4_default([$2], [:])
 
306
if test -z "$$1_TRUE"; then :
 
307
  m4_n([$2])[]dnl
302
308
m4_ifval([$3],
303
309
[_AM_COND_ELSE([$1])dnl
304
310
else
344
350
Usually this means the macro was only invoked conditionally.]])
345
351
fi])])
346
352
 
347
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
348
 
# Free Software Foundation, Inc.
 
353
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
 
354
# 2010, 2011 Free Software Foundation, Inc.
349
355
#
350
356
# This file is free software; the Free Software Foundation
351
357
# gives unlimited permission to copy and/or distribute it,
352
358
# with or without modifications, as long as this notice is preserved.
353
359
 
354
 
# serial 10
 
360
# serial 12
355
361
 
356
362
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
357
363
# written in clear, in which case automake, when reading aclocal.m4,
391
397
  # instance it was reported that on HP-UX the gcc test will end up
392
398
  # making a dummy file named `D' -- because `-MD' means `put the output
393
399
  # in D'.
 
400
  rm -rf conftest.dir
394
401
  mkdir conftest.dir
395
402
  # Copy depcomp to subdir because otherwise we won't find it if we're
396
403
  # using a relative directory.
455
462
        break
456
463
      fi
457
464
      ;;
458
 
    msvisualcpp | msvcmsys)
 
465
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
459
466
      # This compiler won't grok `-c -o', but also, the minuso test has
460
467
      # not run yet.  These depmodes are late enough in the game, and
461
468
      # so weak that their functioning should not be impacted.
520
527
if test "x$enable_dependency_tracking" != xno; then
521
528
  am_depcomp="$ac_aux_dir/depcomp"
522
529
  AMDEPBACKSLASH='\'
 
530
  am__nodep='_no'
523
531
fi
524
532
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
525
533
AC_SUBST([AMDEPBACKSLASH])dnl
526
534
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
 
535
AC_SUBST([am__nodep])dnl
 
536
_AM_SUBST_NOTMAKE([am__nodep])dnl
527
537
])
528
538
 
529
539
# Generate code to set up dependency tracking.              -*- Autoconf -*-
757
767
done
758
768
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
759
769
 
760
 
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
 
770
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
 
771
# Inc.
761
772
#
762
773
# This file is free software; the Free Software Foundation
763
774
# gives unlimited permission to copy and/or distribute it,
764
775
# with or without modifications, as long as this notice is preserved.
765
776
 
 
777
# serial 1
 
778
 
766
779
# AM_PROG_INSTALL_SH
767
780
# ------------------
768
781
# Define $install_sh.
929
942
fi
930
943
])
931
944
 
932
 
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
 
945
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
 
946
# Inc.
933
947
#
934
948
# This file is free software; the Free Software Foundation
935
949
# gives unlimited permission to copy and/or distribute it,
936
950
# with or without modifications, as long as this notice is preserved.
937
951
 
 
952
# serial 1
 
953
 
938
954
# AM_PROG_MKDIR_P
939
955
# ---------------
940
956
# Check for `mkdir -p'.
957
973
 
958
974
# Helper functions for option handling.                     -*- Autoconf -*-
959
975
 
960
 
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
 
976
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
 
977
# Foundation, Inc.
961
978
#
962
979
# This file is free software; the Free Software Foundation
963
980
# gives unlimited permission to copy and/or distribute it,
964
981
# with or without modifications, as long as this notice is preserved.
965
982
 
966
 
# serial 4
 
983
# serial 5
967
984
 
968
985
# _AM_MANGLE_OPTION(NAME)
969
986
# -----------------------
971
988
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
972
989
 
973
990
# _AM_SET_OPTION(NAME)
974
 
# ------------------------------
 
991
# --------------------
975
992
# Set option NAME.  Presently that only means defining a flag for this option.
976
993
AC_DEFUN([_AM_SET_OPTION],
977
994
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
978
995
 
979
996
# _AM_SET_OPTIONS(OPTIONS)
980
 
# ----------------------------------
 
997
# ------------------------
981
998
# OPTIONS is a space-separated list of Automake options.
982
999
AC_DEFUN([_AM_SET_OPTIONS],
983
1000
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
1053
1070
fi
1054
1071
AC_MSG_RESULT(yes)])
1055
1072
 
1056
 
# Copyright (C) 2009  Free Software Foundation, Inc.
 
1073
# Copyright (C) 2009, 2011  Free Software Foundation, Inc.
1057
1074
#
1058
1075
# This file is free software; the Free Software Foundation
1059
1076
# gives unlimited permission to copy and/or distribute it,
1060
1077
# with or without modifications, as long as this notice is preserved.
1061
1078
 
1062
 
# serial 1
 
1079
# serial 2
1063
1080
 
1064
1081
# AM_SILENT_RULES([DEFAULT])
1065
1082
# --------------------------
1074
1091
no)  AM_DEFAULT_VERBOSITY=1;;
1075
1092
*)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
1076
1093
esac
 
1094
dnl
 
1095
dnl A few `make' implementations (e.g., NonStop OS and NextStep)
 
1096
dnl do not support nested variable expansions.
 
1097
dnl See automake bug#9928 and bug#10237.
 
1098
am_make=${MAKE-make}
 
1099
AC_CACHE_CHECK([whether $am_make supports nested variables],
 
1100
   [am_cv_make_support_nested_variables],
 
1101
   [if AS_ECHO([['TRUE=$(BAR$(V))
 
1102
BAR0=false
 
1103
BAR1=true
 
1104
V=1
 
1105
am__doit:
 
1106
        @$(TRUE)
 
1107
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
 
1108
  am_cv_make_support_nested_variables=yes
 
1109
else
 
1110
  am_cv_make_support_nested_variables=no
 
1111
fi])
 
1112
if test $am_cv_make_support_nested_variables = yes; then
 
1113
  dnl Using `$V' instead of `$(V)' breaks IRIX make.
 
1114
  AM_V='$(V)'
 
1115
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
1116
else
 
1117
  AM_V=$AM_DEFAULT_VERBOSITY
 
1118
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
1119
fi
 
1120
AC_SUBST([AM_V])dnl
 
1121
AM_SUBST_NOTMAKE([AM_V])dnl
 
1122
AC_SUBST([AM_DEFAULT_V])dnl
 
1123
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
1077
1124
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
1078
1125
AM_BACKSLASH='\'
1079
1126
AC_SUBST([AM_BACKSLASH])dnl
1080
1127
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1081
1128
])
1082
1129
 
1083
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
1130
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
1084
1131
#
1085
1132
# This file is free software; the Free Software Foundation
1086
1133
# gives unlimited permission to copy and/or distribute it,
1087
1134
# with or without modifications, as long as this notice is preserved.
1088
1135
 
 
1136
# serial 1
 
1137
 
1089
1138
# AM_PROG_INSTALL_STRIP
1090
1139
# ---------------------
1091
1140
# One issue with vendor `install' (even GNU) is that you can't
1108
1157
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1109
1158
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1110
1159
 
1111
 
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
 
1160
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
1112
1161
#
1113
1162
# This file is free software; the Free Software Foundation
1114
1163
# gives unlimited permission to copy and/or distribute it,
1115
1164
# with or without modifications, as long as this notice is preserved.
1116
1165
 
1117
 
# serial 2
 
1166
# serial 3
1118
1167
 
1119
1168
# _AM_SUBST_NOTMAKE(VARIABLE)
1120
1169
# ---------------------------
1123
1172
AC_DEFUN([_AM_SUBST_NOTMAKE])
1124
1173
 
1125
1174
# AM_SUBST_NOTMAKE(VARIABLE)
1126
 
# ---------------------------
 
1175
# --------------------------
1127
1176
# Public sister of _AM_SUBST_NOTMAKE.
1128
1177
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1129
1178
 
1130
1179
# Check how to create a tarball.                            -*- Autoconf -*-
1131
1180
 
1132
 
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
 
1181
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
1133
1182
#
1134
1183
# This file is free software; the Free Software Foundation
1135
1184
# gives unlimited permission to copy and/or distribute it,
1151
1200
# a tarball read from stdin.
1152
1201
#     $(am__untar) < result.tar
1153
1202
AC_DEFUN([_AM_PROG_TAR],
1154
 
[# Always define AMTAR for backward compatibility.
1155
 
AM_MISSING_PROG([AMTAR], [tar])
 
1203
[# Always define AMTAR for backward compatibility.  Yes, it's still used
 
1204
# in the wild :-(  We should find a proper way to deprecate it ...
 
1205
AC_SUBST([AMTAR], ['$${TAR-tar}'])
1156
1206
m4_if([$1], [v7],
1157
 
     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
 
1207
     [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
1158
1208
     [m4_case([$1], [ustar],, [pax],,
1159
1209
              [m4_fatal([Unknown tar format])])
1160
1210
AC_MSG_CHECKING([how to create a $1 tar archive])