~ubuntu-branches/ubuntu/karmic/kid3/karmic

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Matthäi
  • Date: 2009-05-20 16:12:30 UTC
  • mfrom: (1.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: james.westby@ubuntu.com-20090520161230-qetp532r8ydujkz2
Tags: upstream-1.2
Import upstream version 1.2

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.2 -*- 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, 2007, 2008  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_ifndef([AC_AUTOCONF_VERSION],
 
15
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
 
17
[m4_warning([this file was generated for autoconf 2.63.
 
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
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
15
23
#
16
24
# This file is free software; the Free Software Foundation
17
25
# gives unlimited permission to copy and/or distribute it,
21
29
# ----------------------------
22
30
# Automake X.Y traces this macro to ensure aclocal.m4 has been
23
31
# generated from the m4 files accompanying Automake X.Y.
24
 
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
 
32
# (This private macro should not be called outside this file.)
 
33
AC_DEFUN([AM_AUTOMAKE_VERSION],
 
34
[am__api_version='1.10'
 
35
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 
36
dnl require some minimum version.  Point them to the right macro.
 
37
m4_if([$1], [1.10.2], [],
 
38
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 
39
])
 
40
 
 
41
# _AM_AUTOCONF_VERSION(VERSION)
 
42
# -----------------------------
 
43
# aclocal traces this macro to find the Autoconf version.
 
44
# This is a private macro too.  Using m4_define simplifies
 
45
# the logic in aclocal, which can simply ignore this definition.
 
46
m4_define([_AM_AUTOCONF_VERSION], [])
25
47
 
26
48
# AM_SET_CURRENT_AUTOMAKE_VERSION
27
49
# -------------------------------
28
 
# Call AM_AUTOMAKE_VERSION so it can be traced.
29
 
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
50
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
 
51
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
30
52
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
31
 
         [AM_AUTOMAKE_VERSION([1.9.6])])
 
53
[AM_AUTOMAKE_VERSION([1.10.2])dnl
 
54
m4_ifndef([AC_AUTOCONF_VERSION],
 
55
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 
56
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
32
57
 
33
58
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
34
59
 
85
110
 
86
111
# AM_CONDITIONAL                                            -*- Autoconf -*-
87
112
 
88
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
 
113
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
89
114
# Free Software Foundation, Inc.
90
115
#
91
116
# This file is free software; the Free Software Foundation
92
117
# gives unlimited permission to copy and/or distribute it,
93
118
# with or without modifications, as long as this notice is preserved.
94
119
 
95
 
# serial 7
 
120
# serial 8
96
121
 
97
122
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
98
123
# -------------------------------------
101
126
[AC_PREREQ(2.52)dnl
102
127
 ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
103
128
        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
104
 
AC_SUBST([$1_TRUE])
105
 
AC_SUBST([$1_FALSE])
 
129
AC_SUBST([$1_TRUE])dnl
 
130
AC_SUBST([$1_FALSE])dnl
 
131
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
 
132
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
106
133
if $2; then
107
134
  $1_TRUE=
108
135
  $1_FALSE='#'
116
143
Usually this means the macro was only invoked conditionally.]])
117
144
fi])])
118
145
 
119
 
 
120
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
146
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
121
147
# Free Software Foundation, Inc.
122
148
#
123
149
# This file is free software; the Free Software Foundation
124
150
# gives unlimited permission to copy and/or distribute it,
125
151
# with or without modifications, as long as this notice is preserved.
126
152
 
127
 
# serial 8
 
153
# serial 9
128
154
 
129
155
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
130
156
# written in clear, in which case automake, when reading aclocal.m4,
152
178
ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
153
179
       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
154
180
       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
 
181
       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
155
182
       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
156
183
                   [depcc="$$1"   am_compiler_list=])
157
184
 
217
244
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
218
245
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
219
246
         >/dev/null 2>conftest.err &&
 
247
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
220
248
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
221
249
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
222
250
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
269
297
  AMDEPBACKSLASH='\'
270
298
fi
271
299
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
272
 
AC_SUBST([AMDEPBACKSLASH])
 
300
AC_SUBST([AMDEPBACKSLASH])dnl
 
301
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
273
302
])
274
303
 
275
304
# Generate code to set up dependency tracking.              -*- Autoconf -*-
276
305
 
277
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
306
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
278
307
# Free Software Foundation, Inc.
279
308
#
280
309
# This file is free software; the Free Software Foundation
281
310
# gives unlimited permission to copy and/or distribute it,
282
311
# with or without modifications, as long as this notice is preserved.
283
312
 
284
 
#serial 3
 
313
#serial 5
285
314
 
286
315
# _AM_OUTPUT_DEPENDENCY_COMMANDS
287
316
# ------------------------------
288
317
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
289
 
[for mf in $CONFIG_FILES; do
290
 
  # Strip MF so we end up with the name of the file.
291
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
292
 
  # Check whether this is an Automake generated Makefile or not.
293
 
  # We used to match only the files named `Makefile.in', but
294
 
  # some people rename them; so instead we look at the file content.
295
 
  # Grep'ing the first line is not enough: some people post-process
296
 
  # each Makefile.in and add a new line on top of each file to say so.
297
 
  # So let's grep whole file.
298
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
299
 
    dirpart=`AS_DIRNAME("$mf")`
300
 
  else
301
 
    continue
302
 
  fi
303
 
  # Extract the definition of DEPDIR, am__include, and am__quote
304
 
  # from the Makefile without running `make'.
305
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
306
 
  test -z "$DEPDIR" && continue
307
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
308
 
  test -z "am__include" && continue
309
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
310
 
  # When using ansi2knr, U may be empty or an underscore; expand it
311
 
  U=`sed -n 's/^U = //p' < "$mf"`
312
 
  # Find all dependency output files, they are included files with
313
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
314
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
315
 
  # expansion.
316
 
  for file in `sed -n "
317
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
318
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
319
 
    # Make sure the directory exists.
320
 
    test -f "$dirpart/$file" && continue
321
 
    fdir=`AS_DIRNAME(["$file"])`
322
 
    AS_MKDIR_P([$dirpart/$fdir])
323
 
    # echo "creating $dirpart/$file"
324
 
    echo '# dummy' > "$dirpart/$file"
 
318
[{
 
319
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
320
  # are listed without --file.  Let's play safe and only enable the eval
 
321
  # if we detect the quoting.
 
322
  case $CONFIG_FILES in
 
323
  *\'*) eval set x "$CONFIG_FILES" ;;
 
324
  *)   set x $CONFIG_FILES ;;
 
325
  esac
 
326
  shift
 
327
  for mf
 
328
  do
 
329
    # Strip MF so we end up with the name of the file.
 
330
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
331
    # Check whether this is an Automake generated Makefile or not.
 
332
    # We used to match only the files named `Makefile.in', but
 
333
    # some people rename them; so instead we look at the file content.
 
334
    # Grep'ing the first line is not enough: some people post-process
 
335
    # each Makefile.in and add a new line on top of each file to say so.
 
336
    # Grep'ing the whole file is not good either: AIX grep has a line
 
337
    # limit of 2048, but all sed's we know have understand at least 4000.
 
338
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
339
      dirpart=`AS_DIRNAME("$mf")`
 
340
    else
 
341
      continue
 
342
    fi
 
343
    # Extract the definition of DEPDIR, am__include, and am__quote
 
344
    # from the Makefile without running `make'.
 
345
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
346
    test -z "$DEPDIR" && continue
 
347
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
348
    test -z "am__include" && continue
 
349
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
350
    # When using ansi2knr, U may be empty or an underscore; expand it
 
351
    U=`sed -n 's/^U = //p' < "$mf"`
 
352
    # Find all dependency output files, they are included files with
 
353
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
354
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
355
    # expansion.
 
356
    for file in `sed -n "
 
357
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
358
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
359
      # Make sure the directory exists.
 
360
      test -f "$dirpart/$file" && continue
 
361
      fdir=`AS_DIRNAME(["$file"])`
 
362
      AS_MKDIR_P([$dirpart/$fdir])
 
363
      # echo "creating $dirpart/$file"
 
364
      echo '# dummy' > "$dirpart/$file"
 
365
    done
325
366
  done
326
 
done
 
367
}
327
368
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
328
369
 
329
370
 
354
395
 
355
396
# Do all the work for Automake.                             -*- Autoconf -*-
356
397
 
357
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
358
 
# Free Software Foundation, Inc.
 
398
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 
399
# 2005, 2006, 2008 Free Software Foundation, Inc.
359
400
#
360
401
# This file is free software; the Free Software Foundation
361
402
# gives unlimited permission to copy and/or distribute it,
362
403
# with or without modifications, as long as this notice is preserved.
363
404
 
364
 
# serial 12
 
405
# serial 13
365
406
 
366
407
# This macro actually does too much.  Some checks are only needed if
367
408
# your package does certain things.  But this isn't really a big deal.
378
419
# arguments mandatory, and then we can depend on a new Autoconf
379
420
# release and drop the old call support.
380
421
AC_DEFUN([AM_INIT_AUTOMAKE],
381
 
[AC_PREREQ([2.58])dnl
 
422
[AC_PREREQ([2.60])dnl
382
423
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
383
424
dnl the ones we care about.
384
425
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
385
426
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
386
427
AC_REQUIRE([AC_PROG_INSTALL])dnl
387
 
# test to see if srcdir already configured
388
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
389
 
   test -f $srcdir/config.status; then
390
 
  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
428
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
429
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
430
  # is not polluted with repeated "-I."
 
431
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
 
432
  # test to see if srcdir already configured
 
433
  if test -f $srcdir/config.status; then
 
434
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
 
435
  fi
391
436
fi
392
437
 
393
438
# test whether we have cygpath
407
452
 AC_SUBST([PACKAGE], [$1])dnl
408
453
 AC_SUBST([VERSION], [$2])],
409
454
[_AM_SET_OPTIONS([$1])dnl
 
455
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
 
456
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
 
457
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
410
458
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
411
459
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
412
460
 
442
490
                  [_AM_DEPENDENCIES(CXX)],
443
491
                  [define([AC_PROG_CXX],
444
492
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
493
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
 
494
                  [_AM_DEPENDENCIES(OBJC)],
 
495
                  [define([AC_PROG_OBJC],
 
496
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
445
497
])
446
498
])
447
499
 
455
507
# our stamp files there.
456
508
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
457
509
[# Compute $1's index in $config_headers.
 
510
_am_arg=$1
458
511
_am_stamp_count=1
459
512
for _am_header in $config_headers :; do
460
513
  case $_am_header in
461
 
    $1 | $1:* )
 
514
    $_am_arg | $_am_arg:* )
462
515
      break ;;
463
516
    * )
464
517
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
465
518
  esac
466
519
done
467
 
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
 
520
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
468
521
 
469
522
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
470
523
#
477
530
# Define $install_sh.
478
531
AC_DEFUN([AM_PROG_INSTALL_SH],
479
532
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
480
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
533
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
481
534
AC_SUBST(install_sh)])
482
535
 
483
536
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
584
637
 
585
638
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
586
639
 
587
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
 
640
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
588
641
# Free Software Foundation, Inc.
589
642
#
590
643
# This file is free software; the Free Software Foundation
591
644
# gives unlimited permission to copy and/or distribute it,
592
645
# with or without modifications, as long as this notice is preserved.
593
646
 
594
 
# serial 4
 
647
# serial 5
595
648
 
596
649
# AM_MISSING_PROG(NAME, PROGRAM)
597
650
# ------------------------------
607
660
# If it does, set am_missing_run to use it, otherwise, to nothing.
608
661
AC_DEFUN([AM_MISSING_HAS_RUN],
609
662
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
663
AC_REQUIRE_AUX_FILE([missing])dnl
610
664
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
611
665
# Use eval to expand $SHELL
612
666
if eval "$MISSING --run true"; then
617
671
fi
618
672
])
619
673
 
620
 
# Copyright (C) 2003, 2004, 2005  Free Software Foundation, Inc.
 
674
# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
621
675
#
622
676
# This file is free software; the Free Software Foundation
623
677
# gives unlimited permission to copy and/or distribute it,
625
679
 
626
680
# AM_PROG_MKDIR_P
627
681
# ---------------
628
 
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
629
 
#
630
 
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
631
 
# created by `make install' are always world readable, even if the
632
 
# installer happens to have an overly restrictive umask (e.g. 077).
633
 
# This was a mistake.  There are at least two reasons why we must not
634
 
# use `-m 0755':
635
 
#   - it causes special bits like SGID to be ignored,
636
 
#   - it may be too restrictive (some setups expect 775 directories).
637
 
#
638
 
# Do not use -m 0755 and let people choose whatever they expect by
639
 
# setting umask.
640
 
#
641
 
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
642
 
# Some implementations (such as Solaris 8's) are not thread-safe: if a
643
 
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
644
 
# concurrently, both version can detect that a/ is missing, but only
645
 
# one can create it and the other will error out.  Consequently we
646
 
# restrict ourselves to GNU make (using the --version option ensures
647
 
# this.)
 
682
# Check for `mkdir -p'.
648
683
AC_DEFUN([AM_PROG_MKDIR_P],
649
 
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
650
 
  # We used to keeping the `.' as first argument, in order to
651
 
  # allow $(mkdir_p) to be used without argument.  As in
652
 
  #   $(mkdir_p) $(somedir)
653
 
  # where $(somedir) is conditionally defined.  However this is wrong
654
 
  # for two reasons:
655
 
  #  1. if the package is installed by a user who cannot write `.'
656
 
  #     make install will fail,
657
 
  #  2. the above comment should most certainly read
658
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
659
 
  #     so it does not work when $(somedir) is undefined and
660
 
  #     $(DESTDIR) is not.
661
 
  #  To support the latter case, we have to write
662
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
663
 
  #  so the `.' trick is pointless.
664
 
  mkdir_p='mkdir -p --'
665
 
else
666
 
  # On NextStep and OpenStep, the `mkdir' command does not
667
 
  # recognize any option.  It will interpret all options as
668
 
  # directories to create, and then abort because `.' already
669
 
  # exists.
670
 
  for d in ./-p ./--version;
671
 
  do
672
 
    test -d $d && rmdir $d
673
 
  done
674
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
675
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
676
 
    mkdir_p='$(mkinstalldirs)'
677
 
  else
678
 
    mkdir_p='$(install_sh) -d'
679
 
  fi
680
 
fi
681
 
AC_SUBST([mkdir_p])])
 
684
[AC_PREREQ([2.60])dnl
 
685
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 
686
dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
 
687
dnl while keeping a definition of mkdir_p for backward compatibility.
 
688
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
 
689
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
 
690
dnl Makefile.ins that do not define MKDIR_P, so we do our own
 
691
dnl adjustment using top_builddir (which is defined more often than
 
692
dnl MKDIR_P).
 
693
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
 
694
case $mkdir_p in
 
695
  [[\\/$]]* | ?:[[\\/]]*) ;;
 
696
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
697
esac
 
698
])
682
699
 
683
700
# Helper functions for option handling.                     -*- Autoconf -*-
684
701
 
685
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
702
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
686
703
#
687
704
# This file is free software; the Free Software Foundation
688
705
# gives unlimited permission to copy and/or distribute it,
689
706
# with or without modifications, as long as this notice is preserved.
690
707
 
691
 
# serial 3
 
708
# serial 4
692
709
 
693
710
# _AM_MANGLE_OPTION(NAME)
694
711
# -----------------------
705
722
# ----------------------------------
706
723
# OPTIONS is a space-separated list of Automake options.
707
724
AC_DEFUN([_AM_SET_OPTIONS],
708
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
725
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
709
726
 
710
727
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
711
728
# -------------------------------------------
790
807
if test "$cross_compiling" != no; then
791
808
  AC_CHECK_TOOL([STRIP], [strip], :)
792
809
fi
793
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
810
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
794
811
AC_SUBST([INSTALL_STRIP_PROGRAM])])
795
812
 
 
813
# Copyright (C) 2006  Free Software Foundation, Inc.
 
814
#
 
815
# This file is free software; the Free Software Foundation
 
816
# gives unlimited permission to copy and/or distribute it,
 
817
# with or without modifications, as long as this notice is preserved.
 
818
 
 
819
# _AM_SUBST_NOTMAKE(VARIABLE)
 
820
# ---------------------------
 
821
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
 
822
# This macro is traced by Automake.
 
823
AC_DEFUN([_AM_SUBST_NOTMAKE])
 
824
 
796
825
# Check how to create a tarball.                            -*- Autoconf -*-
797
826
 
798
827
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.