~ubuntu-branches/ubuntu/maverick/kde-i18n-tg/maverick

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-05-24 10:18:42 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070524101842-ak01xkfxrpicf1t8
Tags: 4:3.5.7-0ubuntu1
new upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.10 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005  Free Software Foundation, Inc.
 
4
# 2005, 2006  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
 
# Copyright (C) 2002, 2003, 2005  Free Software Foundation, Inc.
 
14
m4_if(m4_PACKAGE_VERSION, [2.61],,
 
15
[m4_fatal([this file was generated for autoconf 2.61.
 
16
You have another version of autoconf.  If you want to use that,
 
17
you should regenerate the build system entirely.], [63])])
 
18
 
 
19
# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
15
20
#
16
21
# This file is free software; the Free Software Foundation
17
22
# gives unlimited permission to copy and/or distribute it,
21
26
# ----------------------------
22
27
# Automake X.Y traces this macro to ensure aclocal.m4 has been
23
28
# generated from the m4 files accompanying Automake X.Y.
24
 
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
 
29
# (This private macro should not be called outside this file.)
 
30
AC_DEFUN([AM_AUTOMAKE_VERSION],
 
31
[am__api_version='1.10'
 
32
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 
33
dnl require some minimum version.  Point them to the right macro.
 
34
m4_if([$1], [1.10], [],
 
35
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 
36
])
 
37
 
 
38
# _AM_AUTOCONF_VERSION(VERSION)
 
39
# -----------------------------
 
40
# aclocal traces this macro to find the Autoconf version.
 
41
# This is a private macro too.  Using m4_define simplifies
 
42
# the logic in aclocal, which can simply ignore this definition.
 
43
m4_define([_AM_AUTOCONF_VERSION], [])
25
44
 
26
45
# AM_SET_CURRENT_AUTOMAKE_VERSION
27
46
# -------------------------------
28
 
# Call AM_AUTOMAKE_VERSION so it can be traced.
 
47
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
29
48
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
30
49
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
31
 
         [AM_AUTOMAKE_VERSION([1.9.6])])
 
50
[AM_AUTOMAKE_VERSION([1.10])dnl
 
51
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
32
52
 
33
53
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
34
54
 
85
105
 
86
106
# AM_CONDITIONAL                                            -*- Autoconf -*-
87
107
 
88
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
 
108
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
89
109
# Free Software Foundation, Inc.
90
110
#
91
111
# This file is free software; the Free Software Foundation
92
112
# gives unlimited permission to copy and/or distribute it,
93
113
# with or without modifications, as long as this notice is preserved.
94
114
 
95
 
# serial 7
 
115
# serial 8
96
116
 
97
117
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
98
118
# -------------------------------------
101
121
[AC_PREREQ(2.52)dnl
102
122
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
103
123
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
104
 
AC_SUBST([$1_TRUE])
105
 
AC_SUBST([$1_FALSE])
 
124
AC_SUBST([$1_TRUE])dnl
 
125
AC_SUBST([$1_FALSE])dnl
 
126
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
 
127
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
106
128
if $2; then
107
129
  $1_TRUE=
108
130
  $1_FALSE='#'
130
152
 
131
153
# Do all the work for Automake.                             -*- Autoconf -*-
132
154
 
133
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
134
 
# Free Software Foundation, Inc.
 
155
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 
156
# 2005, 2006 Free Software Foundation, Inc.
135
157
#
136
158
# This file is free software; the Free Software Foundation
137
159
# gives unlimited permission to copy and/or distribute it,
154
176
# arguments mandatory, and then we can depend on a new Autoconf
155
177
# release and drop the old call support.
156
178
AC_DEFUN([AM_INIT_AUTOMAKE],
157
 
[AC_PREREQ([2.58])dnl
 
179
[AC_PREREQ([2.60])dnl
158
180
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
159
181
dnl the ones we care about.
160
182
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
161
183
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
162
184
AC_REQUIRE([AC_PROG_INSTALL])dnl
163
 
# test to see if srcdir already configured
164
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
165
 
   test -f $srcdir/config.status; then
166
 
  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
185
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
186
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
187
  # is not polluted with repeated "-I."
 
188
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
 
189
  # test to see if srcdir already configured
 
190
  if test -f $srcdir/config.status; then
 
191
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
192
  fi
167
193
fi
168
194
 
169
195
# test whether we have cygpath
183
209
 AC_SUBST([PACKAGE], [$1])dnl
184
210
 AC_SUBST([VERSION], [$2])],
185
211
[_AM_SET_OPTIONS([$1])dnl
 
212
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
 
213
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
 
214
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
186
215
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
187
216
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
188
217
 
218
247
                  [_AM_DEPENDENCIES(CXX)],
219
248
                  [define([AC_PROG_CXX],
220
249
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
250
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
 
251
                  [_AM_DEPENDENCIES(OBJC)],
 
252
                  [define([AC_PROG_OBJC],
 
253
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
221
254
])
222
255
])
223
256
 
253
286
# Define $install_sh.
254
287
AC_DEFUN([AM_PROG_INSTALL_SH],
255
288
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
256
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
289
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
257
290
AC_SUBST(install_sh)])
258
291
 
259
292
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
279
312
 
280
313
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
281
314
 
282
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
 
315
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
283
316
# Free Software Foundation, Inc.
284
317
#
285
318
# This file is free software; the Free Software Foundation
286
319
# gives unlimited permission to copy and/or distribute it,
287
320
# with or without modifications, as long as this notice is preserved.
288
321
 
289
 
# serial 4
 
322
# serial 5
290
323
 
291
324
# AM_MISSING_PROG(NAME, PROGRAM)
292
325
# ------------------------------
302
335
# If it does, set am_missing_run to use it, otherwise, to nothing.
303
336
AC_DEFUN([AM_MISSING_HAS_RUN],
304
337
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
338
AC_REQUIRE_AUX_FILE([missing])dnl
305
339
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
306
340
# Use eval to expand $SHELL
307
341
if eval "$MISSING --run true"; then
312
346
fi
313
347
])
314
348
 
315
 
# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
 
349
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
316
350
#
317
351
# This file is free software; the Free Software Foundation
318
352
# gives unlimited permission to copy and/or distribute it,
320
354
 
321
355
# AM_PROG_MKDIR_P
322
356
# ---------------
323
 
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
324
 
#
325
 
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
326
 
# created by `make install' are always world readable, even if the
327
 
# installer happens to have an overly restrictive umask (e.g. 077).
328
 
# This was a mistake.  There are at least two reasons why we must not
329
 
# use `-m 0755':
330
 
#   - it causes special bits like SGID to be ignored,
331
 
#   - it may be too restrictive (some setups expect 775 directories).
332
 
#
333
 
# Do not use -m 0755 and let people choose whatever they expect by
334
 
# setting umask.
335
 
#
336
 
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
337
 
# Some implementations (such as Solaris 8's) are not thread-safe: if a
338
 
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
339
 
# concurrently, both version can detect that a/ is missing, but only
340
 
# one can create it and the other will error out.  Consequently we
341
 
# restrict ourselves to GNU make (using the --version option ensures
342
 
# this.)
 
357
# Check for `mkdir -p'.
343
358
AC_DEFUN([AM_PROG_MKDIR_P],
344
 
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
345
 
  # We used to keeping the `.' as first argument, in order to
346
 
  # allow $(mkdir_p) to be used without argument.  As in
347
 
  #   $(mkdir_p) $(somedir)
348
 
  # where $(somedir) is conditionally defined.  However this is wrong
349
 
  # for two reasons:
350
 
  #  1. if the package is installed by a user who cannot write `.'
351
 
  #     make install will fail,
352
 
  #  2. the above comment should most certainly read
353
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
354
 
  #     so it does not work when $(somedir) is undefined and
355
 
  #     $(DESTDIR) is not.
356
 
  #  To support the latter case, we have to write
357
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
358
 
  #  so the `.' trick is pointless.
359
 
  mkdir_p='mkdir -p --'
360
 
else
361
 
  # On NextStep and OpenStep, the `mkdir' command does not
362
 
  # recognize any option.  It will interpret all options as
363
 
  # directories to create, and then abort because `.' already
364
 
  # exists.
365
 
  for d in ./-p ./--version;
366
 
  do
367
 
    test -d $d && rmdir $d
368
 
  done
369
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
370
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
371
 
    mkdir_p='$(mkinstalldirs)'
372
 
  else
373
 
    mkdir_p='$(install_sh) -d'
374
 
  fi
375
 
fi
376
 
AC_SUBST([mkdir_p])])
 
359
[AC_PREREQ([2.60])dnl
 
360
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 
361
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
 
362
dnl while keeping a definition of mkdir_p for backward compatibility.
 
363
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
 
364
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
 
365
dnl Makefile.ins that do not define MKDIR_P, so we do our own
 
366
dnl adjustment using top_builddir (which is defined more often than
 
367
dnl MKDIR_P).
 
368
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
 
369
case $mkdir_p in
 
370
  [[\\/$]]* | ?:[[\\/]]*) ;;
 
371
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
372
esac
 
373
])
377
374
 
378
375
# Helper functions for option handling.                     -*- Autoconf -*-
379
376
 
485
482
if test "$cross_compiling" != no; then
486
483
  AC_CHECK_TOOL([STRIP], [strip], :)
487
484
fi
488
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
485
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
489
486
AC_SUBST([INSTALL_STRIP_PROGRAM])])
490
487
 
 
488
# Copyright (C) 2006  Free Software Foundation, Inc.
 
489
#
 
490
# This file is free software; the Free Software Foundation
 
491
# gives unlimited permission to copy and/or distribute it,
 
492
# with or without modifications, as long as this notice is preserved.
 
493
 
 
494
# _AM_SUBST_NOTMAKE(VARIABLE)
 
495
# ---------------------------
 
496
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
 
497
# This macro is traced by Automake.
 
498
AC_DEFUN([_AM_SUBST_NOTMAKE])
 
499
 
491
500
# Check how to create a tarball.                            -*- Autoconf -*-
492
501
 
493
502
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.