~ubuntu-branches/ubuntu/lucid/vlc/lucid-security

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2009-09-25 14:44:17 UTC
  • mfrom: (3.5.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090925144417-87vomt575d0agvqa
Tags: 1.0.2-1ubuntu1
* Merge from Debian unstable (LP: #435524), remaining changes:
  - build against xulrunner-dev instead of iceape-dev
  - build against libx264-dev and install libx264 plugin
  - add Xb-Npp header to vlc package
  - recommend vlc-plugin-pulse for vlc

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.
13
13
 
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
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.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],,
 
17
[m4_warning([this file was generated for autoconf 2.64.
18
18
You have another version of autoconf.  It may work, but is not guaranteed to.
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
298
298
# generated from the m4 files accompanying Automake X.Y.
299
299
# (This private macro should not be called outside this file.)
300
300
AC_DEFUN([AM_AUTOMAKE_VERSION],
301
 
[am__api_version='1.10'
 
301
[am__api_version='1.11'
302
302
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
303
303
dnl require some minimum version.  Point them to the right macro.
304
 
m4_if([$1], [1.10.2], [],
 
304
m4_if([$1], [1.11], [],
305
305
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
306
306
])
307
307
 
317
317
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
318
318
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
319
319
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
320
 
[AM_AUTOMAKE_VERSION([1.10.2])dnl
 
320
[AM_AUTOMAKE_VERSION([1.11])dnl
321
321
m4_ifndef([AC_AUTOCONF_VERSION],
322
322
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
323
323
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
399
399
 
400
400
# AM_CONDITIONAL                                            -*- Autoconf -*-
401
401
 
402
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
402
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
403
403
# Free Software Foundation, Inc.
404
404
#
405
405
# This file is free software; the Free Software Foundation
406
406
# gives unlimited permission to copy and/or distribute it,
407
407
# with or without modifications, as long as this notice is preserved.
408
408
 
409
 
# serial 8
 
409
# serial 9
410
410
 
411
411
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
412
412
# -------------------------------------
419
419
AC_SUBST([$1_FALSE])dnl
420
420
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
421
421
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
422
m4_define([_AM_COND_VALUE_$1], [$2])dnl
422
423
if $2; then
423
424
  $1_TRUE=
424
425
  $1_FALSE='#'
432
433
Usually this means the macro was only invoked conditionally.]])
433
434
fi])])
434
435
 
435
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
436
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
436
437
# Free Software Foundation, Inc.
437
438
#
438
439
# This file is free software; the Free Software Foundation
439
440
# gives unlimited permission to copy and/or distribute it,
440
441
# with or without modifications, as long as this notice is preserved.
441
442
 
442
 
# serial 9
 
443
# serial 10
443
444
 
444
445
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
445
446
# written in clear, in which case automake, when reading aclocal.m4,
496
497
  if test "$am_compiler_list" = ""; then
497
498
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
498
499
  fi
 
500
  am__universal=false
 
501
  m4_case([$1], [CC],
 
502
    [case " $depcc " in #(
 
503
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
504
     esac],
 
505
    [CXX],
 
506
    [case " $depcc " in #(
 
507
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
508
     esac])
 
509
 
499
510
  for depmode in $am_compiler_list; do
500
511
    # Setup a source with many dependencies, because some compilers
501
512
    # like to wrap large dependency lists on column 80 (with \), and
513
524
    done
514
525
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
515
526
 
 
527
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
528
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
529
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
530
    # versions had trouble with output in subdirs
 
531
    am__obj=sub/conftest.${OBJEXT-o}
 
532
    am__minus_obj="-o $am__obj"
516
533
    case $depmode in
 
534
    gcc)
 
535
      # This depmode causes a compiler race in universal mode.
 
536
      test "$am__universal" = false || continue
 
537
      ;;
517
538
    nosideeffect)
518
539
      # after this tag, mechanisms are not by side-effect, so they'll
519
540
      # only be used when explicitly requested
523
544
        break
524
545
      fi
525
546
      ;;
 
547
    msvisualcpp | msvcmsys)
 
548
      # This compiler won't grok `-c -o', but also, the minuso test has
 
549
      # not run yet.  These depmodes are late enough in the game, and
 
550
      # so weak that their functioning should not be impacted.
 
551
      am__obj=conftest.${OBJEXT-o}
 
552
      am__minus_obj=
 
553
      ;;
526
554
    none) break ;;
527
555
    esac
528
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
529
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
530
 
    # handle `-M -o', and we need to detect this.
531
556
    if depmode=$depmode \
532
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
557
       source=sub/conftest.c object=$am__obj \
533
558
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
534
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
559
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
535
560
         >/dev/null 2>conftest.err &&
536
561
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
537
562
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
538
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
563
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
539
564
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
540
565
      # icc doesn't choke on unknown options, it will just issue warnings
541
566
      # or remarks (even with -Werror).  So we grep stderr for any message
599
624
# gives unlimited permission to copy and/or distribute it,
600
625
# with or without modifications, as long as this notice is preserved.
601
626
 
602
 
#serial 4
 
627
#serial 5
603
628
 
604
629
# _AM_OUTPUT_DEPENDENCY_COMMANDS
605
630
# ------------------------------
606
631
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
607
 
[# Autoconf 2.62 quotes --file arguments for eval, but not when files
608
 
# are listed without --file.  Let's play safe and only enable the eval
609
 
# if we detect the quoting.
610
 
case $CONFIG_FILES in
611
 
*\'*) eval set x "$CONFIG_FILES" ;;
612
 
*)   set x $CONFIG_FILES ;;
613
 
esac
614
 
shift
615
 
for mf
616
 
do
617
 
  # Strip MF so we end up with the name of the file.
618
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
619
 
  # Check whether this is an Automake generated Makefile or not.
620
 
  # We used to match only the files named `Makefile.in', but
621
 
  # some people rename them; so instead we look at the file content.
622
 
  # Grep'ing the first line is not enough: some people post-process
623
 
  # each Makefile.in and add a new line on top of each file to say so.
624
 
  # Grep'ing the whole file is not good either: AIX grep has a line
625
 
  # limit of 2048, but all sed's we know have understand at least 4000.
626
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
627
 
    dirpart=`AS_DIRNAME("$mf")`
628
 
  else
629
 
    continue
630
 
  fi
631
 
  # Extract the definition of DEPDIR, am__include, and am__quote
632
 
  # from the Makefile without running `make'.
633
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
634
 
  test -z "$DEPDIR" && continue
635
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
636
 
  test -z "am__include" && continue
637
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
638
 
  # When using ansi2knr, U may be empty or an underscore; expand it
639
 
  U=`sed -n 's/^U = //p' < "$mf"`
640
 
  # Find all dependency output files, they are included files with
641
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
642
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
643
 
  # expansion.
644
 
  for file in `sed -n "
645
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
646
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
647
 
    # Make sure the directory exists.
648
 
    test -f "$dirpart/$file" && continue
649
 
    fdir=`AS_DIRNAME(["$file"])`
650
 
    AS_MKDIR_P([$dirpart/$fdir])
651
 
    # echo "creating $dirpart/$file"
652
 
    echo '# dummy' > "$dirpart/$file"
 
632
[{
 
633
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
634
  # are listed without --file.  Let's play safe and only enable the eval
 
635
  # if we detect the quoting.
 
636
  case $CONFIG_FILES in
 
637
  *\'*) eval set x "$CONFIG_FILES" ;;
 
638
  *)   set x $CONFIG_FILES ;;
 
639
  esac
 
640
  shift
 
641
  for mf
 
642
  do
 
643
    # Strip MF so we end up with the name of the file.
 
644
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
645
    # Check whether this is an Automake generated Makefile or not.
 
646
    # We used to match only the files named `Makefile.in', but
 
647
    # some people rename them; so instead we look at the file content.
 
648
    # Grep'ing the first line is not enough: some people post-process
 
649
    # each Makefile.in and add a new line on top of each file to say so.
 
650
    # Grep'ing the whole file is not good either: AIX grep has a line
 
651
    # limit of 2048, but all sed's we know have understand at least 4000.
 
652
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
653
      dirpart=`AS_DIRNAME("$mf")`
 
654
    else
 
655
      continue
 
656
    fi
 
657
    # Extract the definition of DEPDIR, am__include, and am__quote
 
658
    # from the Makefile without running `make'.
 
659
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
660
    test -z "$DEPDIR" && continue
 
661
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
662
    test -z "am__include" && continue
 
663
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
664
    # When using ansi2knr, U may be empty or an underscore; expand it
 
665
    U=`sed -n 's/^U = //p' < "$mf"`
 
666
    # Find all dependency output files, they are included files with
 
667
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
668
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
669
    # expansion.
 
670
    for file in `sed -n "
 
671
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
672
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
673
      # Make sure the directory exists.
 
674
      test -f "$dirpart/$file" && continue
 
675
      fdir=`AS_DIRNAME(["$file"])`
 
676
      AS_MKDIR_P([$dirpart/$fdir])
 
677
      # echo "creating $dirpart/$file"
 
678
      echo '# dummy' > "$dirpart/$file"
 
679
    done
653
680
  done
654
 
done
 
681
}
655
682
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
656
683
 
657
684
 
683
710
# Do all the work for Automake.                             -*- Autoconf -*-
684
711
 
685
712
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
686
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
713
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
687
714
#
688
715
# This file is free software; the Free Software Foundation
689
716
# gives unlimited permission to copy and/or distribute it,
690
717
# with or without modifications, as long as this notice is preserved.
691
718
 
692
 
# serial 13
 
719
# serial 16
693
720
 
694
721
# This macro actually does too much.  Some checks are only needed if
695
722
# your package does certain things.  But this isn't really a big deal.
706
733
# arguments mandatory, and then we can depend on a new Autoconf
707
734
# release and drop the old call support.
708
735
AC_DEFUN([AM_INIT_AUTOMAKE],
709
 
[AC_PREREQ([2.60])dnl
 
736
[AC_PREREQ([2.62])dnl
710
737
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
711
738
dnl the ones we care about.
712
739
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
757
784
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
758
785
AM_MISSING_PROG(AUTOHEADER, autoheader)
759
786
AM_MISSING_PROG(MAKEINFO, makeinfo)
760
 
AM_PROG_INSTALL_SH
761
 
AM_PROG_INSTALL_STRIP
 
787
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
788
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
762
789
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
763
790
# We need awk for the "check" target.  The system "awk" is bad on
764
791
# some platforms.
766
793
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
767
794
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
768
795
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
769
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
770
 
                             [_AM_PROG_TAR([v7])])])
 
796
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
797
                             [_AM_PROG_TAR([v7])])])
771
798
_AM_IF_OPTION([no-dependencies],,
772
799
[AC_PROVIDE_IFELSE([AC_PROG_CC],
773
 
                  [_AM_DEPENDENCIES(CC)],
774
 
                  [define([AC_PROG_CC],
775
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
800
                  [_AM_DEPENDENCIES(CC)],
 
801
                  [define([AC_PROG_CC],
 
802
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
776
803
AC_PROVIDE_IFELSE([AC_PROG_CXX],
777
 
                  [_AM_DEPENDENCIES(CXX)],
778
 
                  [define([AC_PROG_CXX],
779
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
804
                  [_AM_DEPENDENCIES(CXX)],
 
805
                  [define([AC_PROG_CXX],
 
806
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
780
807
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
781
 
                  [_AM_DEPENDENCIES(OBJC)],
782
 
                  [define([AC_PROG_OBJC],
783
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
784
 
])
785
 
])
 
808
                  [_AM_DEPENDENCIES(OBJC)],
 
809
                  [define([AC_PROG_OBJC],
 
810
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
811
])
 
812
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
 
813
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
 
814
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
815
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
816
AC_CONFIG_COMMANDS_PRE(dnl
 
817
[m4_provide_if([_AM_COMPILER_EXEEXT],
 
818
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 
819
])
 
820
 
 
821
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
822
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 
823
dnl mangled by Autoconf and run in a shell conditional statement.
 
824
m4_define([_AC_COMPILER_EXEEXT],
 
825
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
786
826
 
787
827
 
788
828
# When config.status generates a header, we must update the stamp-h file.
806
846
done
807
847
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
808
848
 
809
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
849
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
810
850
#
811
851
# This file is free software; the Free Software Foundation
812
852
# gives unlimited permission to copy and/or distribute it,
817
857
# Define $install_sh.
818
858
AC_DEFUN([AM_PROG_INSTALL_SH],
819
859
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
820
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
860
if test x"${install_sh}" != xset; then
 
861
  case $am_aux_dir in
 
862
  *\ * | *\     *)
 
863
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
864
  *)
 
865
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
866
  esac
 
867
fi
821
868
AC_SUBST(install_sh)])
822
869
 
823
870
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
844
891
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
845
892
# From Jim Meyering
846
893
 
847
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
 
894
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
848
895
# Free Software Foundation, Inc.
849
896
#
850
897
# This file is free software; the Free Software Foundation
851
898
# gives unlimited permission to copy and/or distribute it,
852
899
# with or without modifications, as long as this notice is preserved.
853
900
 
854
 
# serial 4
 
901
# serial 5
855
902
 
 
903
# AM_MAINTAINER_MODE([DEFAULT-MODE])
 
904
# ----------------------------------
 
905
# Control maintainer-specific portions of Makefiles.
 
906
# Default is to disable them, unless `enable' is passed literally.
 
907
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
908
# can override the default with the --enable/--disable switch.
856
909
AC_DEFUN([AM_MAINTAINER_MODE],
857
 
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
858
 
  dnl maintainer-mode is disabled by default
859
 
  AC_ARG_ENABLE(maintainer-mode,
860
 
[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
910
[m4_case(m4_default([$1], [disable]),
 
911
       [enable], [m4_define([am_maintainer_other], [disable])],
 
912
       [disable], [m4_define([am_maintainer_other], [enable])],
 
913
       [m4_define([am_maintainer_other], [enable])
 
914
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
 
915
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
916
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
 
917
  AC_ARG_ENABLE([maintainer-mode],
 
918
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
861
919
                          (and sometimes confusing) to the casual installer],
862
 
      USE_MAINTAINER_MODE=$enableval,
863
 
      USE_MAINTAINER_MODE=no)
 
920
      [USE_MAINTAINER_MODE=$enableval],
 
921
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
864
922
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
865
 
  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
923
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
866
924
  MAINT=$MAINTAINER_MODE_TRUE
867
 
  AC_SUBST(MAINT)dnl
 
925
  AC_SUBST([MAINT])dnl
868
926
]
869
927
)
870
928
 
872
930
 
873
931
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
874
932
 
875
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
933
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
876
934
#
877
935
# This file is free software; the Free Software Foundation
878
936
# gives unlimited permission to copy and/or distribute it,
879
937
# with or without modifications, as long as this notice is preserved.
880
938
 
881
 
# serial 3
 
939
# serial 4
882
940
 
883
941
# AM_MAKE_INCLUDE()
884
942
# -----------------
887
945
[am_make=${MAKE-make}
888
946
cat > confinc << 'END'
889
947
am__doit:
890
 
        @echo done
 
948
        @echo this is the am__doit target
891
949
.PHONY: am__doit
892
950
END
893
951
# If we don't find an include directive, just comment out the code.
897
955
_am_result=none
898
956
# First try GNU make style include.
899
957
echo "include confinc" > confmf
900
 
# We grep out `Entering directory' and `Leaving directory'
901
 
# messages which can occur if `w' ends up in MAKEFLAGS.
902
 
# In particular we don't look at `^make:' because GNU make might
903
 
# be invoked under some other name (usually "gmake"), in which
904
 
# case it prints its new name instead of `make'.
905
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
906
 
   am__include=include
907
 
   am__quote=
908
 
   _am_result=GNU
909
 
fi
 
958
# Ignore all kinds of additional output from `make'.
 
959
case `$am_make -s -f confmf 2> /dev/null` in #(
 
960
*the\ am__doit\ target*)
 
961
  am__include=include
 
962
  am__quote=
 
963
  _am_result=GNU
 
964
  ;;
 
965
esac
910
966
# Now try BSD make style include.
911
967
if test "$am__include" = "#"; then
912
968
   echo '.include "confinc"' > confmf
913
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
914
 
      am__include=.include
915
 
      am__quote="\""
916
 
      _am_result=BSD
917
 
   fi
 
969
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
970
   *the\ am__doit\ target*)
 
971
     am__include=.include
 
972
     am__quote="\""
 
973
     _am_result=BSD
 
974
     ;;
 
975
   esac
918
976
fi
919
977
AC_SUBST([am__include])
920
978
AC_SUBST([am__quote])
959
1017
 
960
1018
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
961
1019
 
962
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
1020
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
963
1021
# Free Software Foundation, Inc.
964
1022
#
965
1023
# This file is free software; the Free Software Foundation
966
1024
# gives unlimited permission to copy and/or distribute it,
967
1025
# with or without modifications, as long as this notice is preserved.
968
1026
 
969
 
# serial 5
 
1027
# serial 6
970
1028
 
971
1029
# AM_MISSING_PROG(NAME, PROGRAM)
972
1030
# ------------------------------
983
1041
AC_DEFUN([AM_MISSING_HAS_RUN],
984
1042
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
985
1043
AC_REQUIRE_AUX_FILE([missing])dnl
986
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1044
if test x"${MISSING+set}" != xset; then
 
1045
  case $am_aux_dir in
 
1046
  *\ * | *\     *)
 
1047
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
1048
  *)
 
1049
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
1050
  esac
 
1051
fi
987
1052
# Use eval to expand $SHELL
988
1053
if eval "$MISSING --run true"; then
989
1054
  am_missing_run="$MISSING --run "
1071
1136
 
1072
1137
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
1073
1138
 
1074
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
1139
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
1075
1140
# Free Software Foundation, Inc.
1076
1141
#
1077
1142
# This file is free software; the Free Software Foundation
1078
1143
# gives unlimited permission to copy and/or distribute it,
1079
1144
# with or without modifications, as long as this notice is preserved.
1080
1145
 
1081
 
# serial 4
 
1146
# serial 5
1082
1147
 
1083
1148
# AM_SANITY_CHECK
1084
1149
# ---------------
1087
1152
# Just in case
1088
1153
sleep 1
1089
1154
echo timestamp > conftest.file
 
1155
# Reject unsafe characters in $srcdir or the absolute working directory
 
1156
# name.  Accept space and tab only in the latter.
 
1157
am_lf='
 
1158
'
 
1159
case `pwd` in
 
1160
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
1161
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
1162
esac
 
1163
case $srcdir in
 
1164
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
1165
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
1166
esac
 
1167
 
1090
1168
# Do `set' in a subshell so we don't clobber the current shell's
1091
1169
# arguments.  Must try -L first in case configure is actually a
1092
1170
# symlink; some systems play weird games with the mod time of symlinks
1093
1171
# (eg FreeBSD returns the mod time of the symlink's containing
1094
1172
# directory).
1095
1173
if (
1096
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1174
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1097
1175
   if test "$[*]" = "X"; then
1098
1176
      # -L didn't work.
1099
 
      set X `ls -t $srcdir/configure conftest.file`
 
1177
      set X `ls -t "$srcdir/configure" conftest.file`
1100
1178
   fi
1101
1179
   rm -f conftest.file
1102
1180
   if test "$[*]" != "X $srcdir/configure conftest.file" \
1149
1227
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1150
1228
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1151
1229
 
1152
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
1230
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
1153
1231
#
1154
1232
# This file is free software; the Free Software Foundation
1155
1233
# gives unlimited permission to copy and/or distribute it,
1156
1234
# with or without modifications, as long as this notice is preserved.
1157
1235
 
 
1236
# serial 2
 
1237
 
1158
1238
# _AM_SUBST_NOTMAKE(VARIABLE)
1159
1239
# ---------------------------
1160
1240
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1161
1241
# This macro is traced by Automake.
1162
1242
AC_DEFUN([_AM_SUBST_NOTMAKE])
1163
1243
 
 
1244
# AM_SUBST_NOTMAKE(VARIABLE)
 
1245
# ---------------------------
 
1246
# Public sister of _AM_SUBST_NOTMAKE.
 
1247
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
1248
 
1164
1249
# Check how to create a tarball.                            -*- Autoconf -*-
1165
1250
 
1166
1251
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.