~pkg-ime/ibus/debian-ibus-m17n

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: LI Daobing
  • Date: 2009-11-22 04:31:11 UTC
  • mfrom: (2.1.4 upstream)
  • Revision ID: lidaobing@gmail.com-20091122043111-94iaywhcw5snmxgo
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008, 2009  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.
187
187
# generated from the m4 files accompanying Automake X.Y.
188
188
# (This private macro should not be called outside this file.)
189
189
AC_DEFUN([AM_AUTOMAKE_VERSION],
190
 
[am__api_version='1.10'
 
190
[am__api_version='1.11'
191
191
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
192
192
dnl require some minimum version.  Point them to the right macro.
193
 
m4_if([$1], [1.10.2], [],
 
193
m4_if([$1], [1.11], [],
194
194
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
195
195
])
196
196
 
206
206
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
207
207
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
208
208
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
209
 
[AM_AUTOMAKE_VERSION([1.10.2])dnl
 
209
[AM_AUTOMAKE_VERSION([1.11])dnl
210
210
m4_ifndef([AC_AUTOCONF_VERSION],
211
211
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
212
212
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
266
266
 
267
267
# AM_CONDITIONAL                                            -*- Autoconf -*-
268
268
 
269
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
269
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
270
270
# Free Software Foundation, Inc.
271
271
#
272
272
# This file is free software; the Free Software Foundation
273
273
# gives unlimited permission to copy and/or distribute it,
274
274
# with or without modifications, as long as this notice is preserved.
275
275
 
276
 
# serial 8
 
276
# serial 9
277
277
 
278
278
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
279
279
# -------------------------------------
286
286
AC_SUBST([$1_FALSE])dnl
287
287
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
288
288
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
289
m4_define([_AM_COND_VALUE_$1], [$2])dnl
289
290
if $2; then
290
291
  $1_TRUE=
291
292
  $1_FALSE='#'
299
300
Usually this means the macro was only invoked conditionally.]])
300
301
fi])])
301
302
 
302
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
303
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
303
304
# Free Software Foundation, Inc.
304
305
#
305
306
# This file is free software; the Free Software Foundation
306
307
# gives unlimited permission to copy and/or distribute it,
307
308
# with or without modifications, as long as this notice is preserved.
308
309
 
309
 
# serial 9
 
310
# serial 10
310
311
 
311
312
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
312
313
# written in clear, in which case automake, when reading aclocal.m4,
363
364
  if test "$am_compiler_list" = ""; then
364
365
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
365
366
  fi
 
367
  am__universal=false
 
368
  m4_case([$1], [CC],
 
369
    [case " $depcc " in #(
 
370
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
371
     esac],
 
372
    [CXX],
 
373
    [case " $depcc " in #(
 
374
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
375
     esac])
 
376
 
366
377
  for depmode in $am_compiler_list; do
367
378
    # Setup a source with many dependencies, because some compilers
368
379
    # like to wrap large dependency lists on column 80 (with \), and
380
391
    done
381
392
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
382
393
 
 
394
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
395
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
396
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
397
    # versions had trouble with output in subdirs
 
398
    am__obj=sub/conftest.${OBJEXT-o}
 
399
    am__minus_obj="-o $am__obj"
383
400
    case $depmode in
 
401
    gcc)
 
402
      # This depmode causes a compiler race in universal mode.
 
403
      test "$am__universal" = false || continue
 
404
      ;;
384
405
    nosideeffect)
385
406
      # after this tag, mechanisms are not by side-effect, so they'll
386
407
      # only be used when explicitly requested
390
411
        break
391
412
      fi
392
413
      ;;
 
414
    msvisualcpp | msvcmsys)
 
415
      # This compiler won't grok `-c -o', but also, the minuso test has
 
416
      # not run yet.  These depmodes are late enough in the game, and
 
417
      # so weak that their functioning should not be impacted.
 
418
      am__obj=conftest.${OBJEXT-o}
 
419
      am__minus_obj=
 
420
      ;;
393
421
    none) break ;;
394
422
    esac
395
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
396
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
397
 
    # handle `-M -o', and we need to detect this.
398
423
    if depmode=$depmode \
399
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
424
       source=sub/conftest.c object=$am__obj \
400
425
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
401
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
426
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
402
427
         >/dev/null 2>conftest.err &&
403
428
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
404
429
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
405
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
430
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
406
431
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
407
432
      # icc doesn't choke on unknown options, it will just issue warnings
408
433
      # or remarks (even with -Werror).  So we grep stderr for any message
466
491
# gives unlimited permission to copy and/or distribute it,
467
492
# with or without modifications, as long as this notice is preserved.
468
493
 
469
 
#serial 4
 
494
#serial 5
470
495
 
471
496
# _AM_OUTPUT_DEPENDENCY_COMMANDS
472
497
# ------------------------------
473
498
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
474
 
[# Autoconf 2.62 quotes --file arguments for eval, but not when files
475
 
# are listed without --file.  Let's play safe and only enable the eval
476
 
# if we detect the quoting.
477
 
case $CONFIG_FILES in
478
 
*\'*) eval set x "$CONFIG_FILES" ;;
479
 
*)   set x $CONFIG_FILES ;;
480
 
esac
481
 
shift
482
 
for mf
483
 
do
484
 
  # Strip MF so we end up with the name of the file.
485
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
486
 
  # Check whether this is an Automake generated Makefile or not.
487
 
  # We used to match only the files named `Makefile.in', but
488
 
  # some people rename them; so instead we look at the file content.
489
 
  # Grep'ing the first line is not enough: some people post-process
490
 
  # each Makefile.in and add a new line on top of each file to say so.
491
 
  # Grep'ing the whole file is not good either: AIX grep has a line
492
 
  # limit of 2048, but all sed's we know have understand at least 4000.
493
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
494
 
    dirpart=`AS_DIRNAME("$mf")`
495
 
  else
496
 
    continue
497
 
  fi
498
 
  # Extract the definition of DEPDIR, am__include, and am__quote
499
 
  # from the Makefile without running `make'.
500
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
501
 
  test -z "$DEPDIR" && continue
502
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
503
 
  test -z "am__include" && continue
504
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
505
 
  # When using ansi2knr, U may be empty or an underscore; expand it
506
 
  U=`sed -n 's/^U = //p' < "$mf"`
507
 
  # Find all dependency output files, they are included files with
508
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
509
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
510
 
  # expansion.
511
 
  for file in `sed -n "
512
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
513
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
514
 
    # Make sure the directory exists.
515
 
    test -f "$dirpart/$file" && continue
516
 
    fdir=`AS_DIRNAME(["$file"])`
517
 
    AS_MKDIR_P([$dirpart/$fdir])
518
 
    # echo "creating $dirpart/$file"
519
 
    echo '# dummy' > "$dirpart/$file"
 
499
[{
 
500
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
501
  # are listed without --file.  Let's play safe and only enable the eval
 
502
  # if we detect the quoting.
 
503
  case $CONFIG_FILES in
 
504
  *\'*) eval set x "$CONFIG_FILES" ;;
 
505
  *)   set x $CONFIG_FILES ;;
 
506
  esac
 
507
  shift
 
508
  for mf
 
509
  do
 
510
    # Strip MF so we end up with the name of the file.
 
511
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
512
    # Check whether this is an Automake generated Makefile or not.
 
513
    # We used to match only the files named `Makefile.in', but
 
514
    # some people rename them; so instead we look at the file content.
 
515
    # Grep'ing the first line is not enough: some people post-process
 
516
    # each Makefile.in and add a new line on top of each file to say so.
 
517
    # Grep'ing the whole file is not good either: AIX grep has a line
 
518
    # limit of 2048, but all sed's we know have understand at least 4000.
 
519
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
520
      dirpart=`AS_DIRNAME("$mf")`
 
521
    else
 
522
      continue
 
523
    fi
 
524
    # Extract the definition of DEPDIR, am__include, and am__quote
 
525
    # from the Makefile without running `make'.
 
526
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
527
    test -z "$DEPDIR" && continue
 
528
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
529
    test -z "am__include" && continue
 
530
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
531
    # When using ansi2knr, U may be empty or an underscore; expand it
 
532
    U=`sed -n 's/^U = //p' < "$mf"`
 
533
    # Find all dependency output files, they are included files with
 
534
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
535
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
536
    # expansion.
 
537
    for file in `sed -n "
 
538
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
539
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
540
      # Make sure the directory exists.
 
541
      test -f "$dirpart/$file" && continue
 
542
      fdir=`AS_DIRNAME(["$file"])`
 
543
      AS_MKDIR_P([$dirpart/$fdir])
 
544
      # echo "creating $dirpart/$file"
 
545
      echo '# dummy' > "$dirpart/$file"
 
546
    done
520
547
  done
521
 
done
 
548
}
522
549
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
523
550
 
524
551
 
538
565
# Do all the work for Automake.                             -*- Autoconf -*-
539
566
 
540
567
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
541
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
568
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
542
569
#
543
570
# This file is free software; the Free Software Foundation
544
571
# gives unlimited permission to copy and/or distribute it,
545
572
# with or without modifications, as long as this notice is preserved.
546
573
 
547
 
# serial 13
 
574
# serial 16
548
575
 
549
576
# This macro actually does too much.  Some checks are only needed if
550
577
# your package does certain things.  But this isn't really a big deal.
561
588
# arguments mandatory, and then we can depend on a new Autoconf
562
589
# release and drop the old call support.
563
590
AC_DEFUN([AM_INIT_AUTOMAKE],
564
 
[AC_PREREQ([2.60])dnl
 
591
[AC_PREREQ([2.62])dnl
565
592
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
566
593
dnl the ones we care about.
567
594
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
612
639
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
613
640
AM_MISSING_PROG(AUTOHEADER, autoheader)
614
641
AM_MISSING_PROG(MAKEINFO, makeinfo)
615
 
AM_PROG_INSTALL_SH
616
 
AM_PROG_INSTALL_STRIP
 
642
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
643
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
617
644
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
618
645
# We need awk for the "check" target.  The system "awk" is bad on
619
646
# some platforms.
621
648
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
622
649
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
623
650
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
624
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
625
 
                             [_AM_PROG_TAR([v7])])])
 
651
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
652
                             [_AM_PROG_TAR([v7])])])
626
653
_AM_IF_OPTION([no-dependencies],,
627
654
[AC_PROVIDE_IFELSE([AC_PROG_CC],
628
 
                  [_AM_DEPENDENCIES(CC)],
629
 
                  [define([AC_PROG_CC],
630
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
655
                  [_AM_DEPENDENCIES(CC)],
 
656
                  [define([AC_PROG_CC],
 
657
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
631
658
AC_PROVIDE_IFELSE([AC_PROG_CXX],
632
 
                  [_AM_DEPENDENCIES(CXX)],
633
 
                  [define([AC_PROG_CXX],
634
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
659
                  [_AM_DEPENDENCIES(CXX)],
 
660
                  [define([AC_PROG_CXX],
 
661
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
635
662
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
636
 
                  [_AM_DEPENDENCIES(OBJC)],
637
 
                  [define([AC_PROG_OBJC],
638
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
639
 
])
640
 
])
 
663
                  [_AM_DEPENDENCIES(OBJC)],
 
664
                  [define([AC_PROG_OBJC],
 
665
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
666
])
 
667
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
 
668
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
 
669
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
670
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
671
AC_CONFIG_COMMANDS_PRE(dnl
 
672
[m4_provide_if([_AM_COMPILER_EXEEXT],
 
673
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 
674
])
 
675
 
 
676
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
677
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 
678
dnl mangled by Autoconf and run in a shell conditional statement.
 
679
m4_define([_AC_COMPILER_EXEEXT],
 
680
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
641
681
 
642
682
 
643
683
# When config.status generates a header, we must update the stamp-h file.
661
701
done
662
702
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
663
703
 
664
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
704
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
665
705
#
666
706
# This file is free software; the Free Software Foundation
667
707
# gives unlimited permission to copy and/or distribute it,
672
712
# Define $install_sh.
673
713
AC_DEFUN([AM_PROG_INSTALL_SH],
674
714
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
675
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
715
if test x"${install_sh}" != xset; then
 
716
  case $am_aux_dir in
 
717
  *\ * | *\     *)
 
718
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
719
  *)
 
720
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
721
  esac
 
722
fi
676
723
AC_SUBST(install_sh)])
677
724
 
678
725
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
699
746
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
700
747
# From Jim Meyering
701
748
 
702
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
 
749
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
703
750
# Free Software Foundation, Inc.
704
751
#
705
752
# This file is free software; the Free Software Foundation
706
753
# gives unlimited permission to copy and/or distribute it,
707
754
# with or without modifications, as long as this notice is preserved.
708
755
 
709
 
# serial 4
 
756
# serial 5
710
757
 
 
758
# AM_MAINTAINER_MODE([DEFAULT-MODE])
 
759
# ----------------------------------
 
760
# Control maintainer-specific portions of Makefiles.
 
761
# Default is to disable them, unless `enable' is passed literally.
 
762
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
763
# can override the default with the --enable/--disable switch.
711
764
AC_DEFUN([AM_MAINTAINER_MODE],
712
 
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
713
 
  dnl maintainer-mode is disabled by default
714
 
  AC_ARG_ENABLE(maintainer-mode,
715
 
[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
765
[m4_case(m4_default([$1], [disable]),
 
766
       [enable], [m4_define([am_maintainer_other], [disable])],
 
767
       [disable], [m4_define([am_maintainer_other], [enable])],
 
768
       [m4_define([am_maintainer_other], [enable])
 
769
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
 
770
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
771
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
 
772
  AC_ARG_ENABLE([maintainer-mode],
 
773
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
716
774
                          (and sometimes confusing) to the casual installer],
717
 
      USE_MAINTAINER_MODE=$enableval,
718
 
      USE_MAINTAINER_MODE=no)
 
775
      [USE_MAINTAINER_MODE=$enableval],
 
776
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
719
777
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
720
 
  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
778
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
721
779
  MAINT=$MAINTAINER_MODE_TRUE
722
 
  AC_SUBST(MAINT)dnl
 
780
  AC_SUBST([MAINT])dnl
723
781
]
724
782
)
725
783
 
727
785
 
728
786
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
729
787
 
730
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
788
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
731
789
#
732
790
# This file is free software; the Free Software Foundation
733
791
# gives unlimited permission to copy and/or distribute it,
734
792
# with or without modifications, as long as this notice is preserved.
735
793
 
736
 
# serial 3
 
794
# serial 4
737
795
 
738
796
# AM_MAKE_INCLUDE()
739
797
# -----------------
742
800
[am_make=${MAKE-make}
743
801
cat > confinc << 'END'
744
802
am__doit:
745
 
        @echo done
 
803
        @echo this is the am__doit target
746
804
.PHONY: am__doit
747
805
END
748
806
# If we don't find an include directive, just comment out the code.
752
810
_am_result=none
753
811
# First try GNU make style include.
754
812
echo "include confinc" > confmf
755
 
# We grep out `Entering directory' and `Leaving directory'
756
 
# messages which can occur if `w' ends up in MAKEFLAGS.
757
 
# In particular we don't look at `^make:' because GNU make might
758
 
# be invoked under some other name (usually "gmake"), in which
759
 
# case it prints its new name instead of `make'.
760
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
761
 
   am__include=include
762
 
   am__quote=
763
 
   _am_result=GNU
764
 
fi
 
813
# Ignore all kinds of additional output from `make'.
 
814
case `$am_make -s -f confmf 2> /dev/null` in #(
 
815
*the\ am__doit\ target*)
 
816
  am__include=include
 
817
  am__quote=
 
818
  _am_result=GNU
 
819
  ;;
 
820
esac
765
821
# Now try BSD make style include.
766
822
if test "$am__include" = "#"; then
767
823
   echo '.include "confinc"' > confmf
768
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
769
 
      am__include=.include
770
 
      am__quote="\""
771
 
      _am_result=BSD
772
 
   fi
 
824
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
825
   *the\ am__doit\ target*)
 
826
     am__include=.include
 
827
     am__quote="\""
 
828
     _am_result=BSD
 
829
     ;;
 
830
   esac
773
831
fi
774
832
AC_SUBST([am__include])
775
833
AC_SUBST([am__quote])
814
872
 
815
873
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
816
874
 
817
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
875
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
818
876
# Free Software Foundation, Inc.
819
877
#
820
878
# This file is free software; the Free Software Foundation
821
879
# gives unlimited permission to copy and/or distribute it,
822
880
# with or without modifications, as long as this notice is preserved.
823
881
 
824
 
# serial 5
 
882
# serial 6
825
883
 
826
884
# AM_MISSING_PROG(NAME, PROGRAM)
827
885
# ------------------------------
838
896
AC_DEFUN([AM_MISSING_HAS_RUN],
839
897
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
840
898
AC_REQUIRE_AUX_FILE([missing])dnl
841
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
899
if test x"${MISSING+set}" != xset; then
 
900
  case $am_aux_dir in
 
901
  *\ * | *\     *)
 
902
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
903
  *)
 
904
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
905
  esac
 
906
fi
842
907
# Use eval to expand $SHELL
843
908
if eval "$MISSING --run true"; then
844
909
  am_missing_run="$MISSING --run "
909
974
 
910
975
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
911
976
 
912
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
977
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
913
978
# Free Software Foundation, Inc.
914
979
#
915
980
# This file is free software; the Free Software Foundation
916
981
# gives unlimited permission to copy and/or distribute it,
917
982
# with or without modifications, as long as this notice is preserved.
918
983
 
919
 
# serial 4
 
984
# serial 5
920
985
 
921
986
# AM_SANITY_CHECK
922
987
# ---------------
925
990
# Just in case
926
991
sleep 1
927
992
echo timestamp > conftest.file
 
993
# Reject unsafe characters in $srcdir or the absolute working directory
 
994
# name.  Accept space and tab only in the latter.
 
995
am_lf='
 
996
'
 
997
case `pwd` in
 
998
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
999
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
1000
esac
 
1001
case $srcdir in
 
1002
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
1003
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
1004
esac
 
1005
 
928
1006
# Do `set' in a subshell so we don't clobber the current shell's
929
1007
# arguments.  Must try -L first in case configure is actually a
930
1008
# symlink; some systems play weird games with the mod time of symlinks
931
1009
# (eg FreeBSD returns the mod time of the symlink's containing
932
1010
# directory).
933
1011
if (
934
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1012
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
935
1013
   if test "$[*]" = "X"; then
936
1014
      # -L didn't work.
937
 
      set X `ls -t $srcdir/configure conftest.file`
 
1015
      set X `ls -t "$srcdir/configure" conftest.file`
938
1016
   fi
939
1017
   rm -f conftest.file
940
1018
   if test "$[*]" != "X $srcdir/configure conftest.file" \
987
1065
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
988
1066
AC_SUBST([INSTALL_STRIP_PROGRAM])])
989
1067
 
990
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
1068
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
991
1069
#
992
1070
# This file is free software; the Free Software Foundation
993
1071
# gives unlimited permission to copy and/or distribute it,
994
1072
# with or without modifications, as long as this notice is preserved.
995
1073
 
 
1074
# serial 2
 
1075
 
996
1076
# _AM_SUBST_NOTMAKE(VARIABLE)
997
1077
# ---------------------------
998
1078
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
999
1079
# This macro is traced by Automake.
1000
1080
AC_DEFUN([_AM_SUBST_NOTMAKE])
1001
1081
 
 
1082
# AM_SUBST_NOTMAKE(VARIABLE)
 
1083
# ---------------------------
 
1084
# Public sister of _AM_SUBST_NOTMAKE.
 
1085
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
1086
 
1002
1087
# Check how to create a tarball.                            -*- Autoconf -*-
1003
1088
 
1004
1089
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.