~ubuntu-branches/debian/sid/ltsp/sid

« back to all changes in this revision

Viewing changes to localapps/aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Vagrant Cascadian
  • Date: 2009-08-23 20:38:10 UTC
  • mfrom: (34.2.29 upstream)
  • Revision ID: james.westby@ubuntu.com-20090823203810-y6s19h60l3puzplb
Tags: 5.1.83-1
* New upstream version: 
  - Add monitor_nbd to restart nbd when it breaks.
  - localapps: Only run action on ssh socket if it exists.
  - Only install squashfs-modules package on older Debian versions, as newer
    versions include squashfs modules in the kernel.
 
* Drop writeable-dbus-hal-dirs patch, applied upstream.

* Add patch from upstream to not require hal in ltsp-client-core init
  scripts, as hal isn't required in all LTSP environments, and causes the
  package to fail to install if hal isn't installed.

* Use upstream docs for swap, workstation, FAQ and Upgrading_4.2.

* Update descriptions of ltsp-client and ltsp-client-core to distinguish
  between them.

* Update Standards-Version to 3.8.3, no changes necessary. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10.1 -*- 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(AC_AUTOCONF_VERSION, [2.61],,
17
 
[m4_warning([this file was generated for autoconf 2.61.
 
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'.])])
177
177
fi[]dnl
178
178
])# PKG_CHECK_MODULES
179
179
 
180
 
# Copyright (C) 2002, 2003, 2005, 2006, 2007  Free Software Foundation, Inc.
 
180
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
181
181
#
182
182
# This file is free software; the Free Software Foundation
183
183
# gives unlimited permission to copy and/or distribute it,
189
189
# generated from the m4 files accompanying Automake X.Y.
190
190
# (This private macro should not be called outside this file.)
191
191
AC_DEFUN([AM_AUTOMAKE_VERSION],
192
 
[am__api_version='1.10'
 
192
[am__api_version='1.11'
193
193
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
194
194
dnl require some minimum version.  Point them to the right macro.
195
 
m4_if([$1], [1.10.1], [],
 
195
m4_if([$1], [1.11], [],
196
196
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
197
197
])
198
198
 
206
206
# AM_SET_CURRENT_AUTOMAKE_VERSION
207
207
# -------------------------------
208
208
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
209
 
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
209
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
210
210
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
211
 
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
211
[AM_AUTOMAKE_VERSION([1.11])dnl
212
212
m4_ifndef([AC_AUTOCONF_VERSION],
213
213
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
214
 
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
 
214
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
215
215
 
216
216
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
217
217
 
268
268
 
269
269
# AM_CONDITIONAL                                            -*- Autoconf -*-
270
270
 
271
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
271
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
272
272
# Free Software Foundation, Inc.
273
273
#
274
274
# This file is free software; the Free Software Foundation
275
275
# gives unlimited permission to copy and/or distribute it,
276
276
# with or without modifications, as long as this notice is preserved.
277
277
 
278
 
# serial 8
 
278
# serial 9
279
279
 
280
280
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
281
281
# -------------------------------------
288
288
AC_SUBST([$1_FALSE])dnl
289
289
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
290
290
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
291
m4_define([_AM_COND_VALUE_$1], [$2])dnl
291
292
if $2; then
292
293
  $1_TRUE=
293
294
  $1_FALSE='#'
301
302
Usually this means the macro was only invoked conditionally.]])
302
303
fi])])
303
304
 
304
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
305
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
305
306
# Free Software Foundation, Inc.
306
307
#
307
308
# This file is free software; the Free Software Foundation
308
309
# gives unlimited permission to copy and/or distribute it,
309
310
# with or without modifications, as long as this notice is preserved.
310
311
 
311
 
# serial 9
 
312
# serial 10
312
313
 
313
314
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
314
315
# written in clear, in which case automake, when reading aclocal.m4,
365
366
  if test "$am_compiler_list" = ""; then
366
367
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
367
368
  fi
 
369
  am__universal=false
 
370
  m4_case([$1], [CC],
 
371
    [case " $depcc " in #(
 
372
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
373
     esac],
 
374
    [CXX],
 
375
    [case " $depcc " in #(
 
376
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
377
     esac])
 
378
 
368
379
  for depmode in $am_compiler_list; do
369
380
    # Setup a source with many dependencies, because some compilers
370
381
    # like to wrap large dependency lists on column 80 (with \), and
382
393
    done
383
394
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
384
395
 
 
396
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
397
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
398
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
399
    # versions had trouble with output in subdirs
 
400
    am__obj=sub/conftest.${OBJEXT-o}
 
401
    am__minus_obj="-o $am__obj"
385
402
    case $depmode in
 
403
    gcc)
 
404
      # This depmode causes a compiler race in universal mode.
 
405
      test "$am__universal" = false || continue
 
406
      ;;
386
407
    nosideeffect)
387
408
      # after this tag, mechanisms are not by side-effect, so they'll
388
409
      # only be used when explicitly requested
392
413
        break
393
414
      fi
394
415
      ;;
 
416
    msvisualcpp | msvcmsys)
 
417
      # This compiler won't grok `-c -o', but also, the minuso test has
 
418
      # not run yet.  These depmodes are late enough in the game, and
 
419
      # so weak that their functioning should not be impacted.
 
420
      am__obj=conftest.${OBJEXT-o}
 
421
      am__minus_obj=
 
422
      ;;
395
423
    none) break ;;
396
424
    esac
397
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
398
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
399
 
    # handle `-M -o', and we need to detect this.
400
425
    if depmode=$depmode \
401
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
426
       source=sub/conftest.c object=$am__obj \
402
427
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
403
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
428
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
404
429
         >/dev/null 2>conftest.err &&
405
430
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
406
431
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
407
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
432
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
408
433
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
409
434
      # icc doesn't choke on unknown options, it will just issue warnings
410
435
      # or remarks (even with -Werror).  So we grep stderr for any message
461
486
 
462
487
# Generate code to set up dependency tracking.              -*- Autoconf -*-
463
488
 
464
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 
489
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
465
490
# Free Software Foundation, Inc.
466
491
#
467
492
# This file is free software; the Free Software Foundation
468
493
# gives unlimited permission to copy and/or distribute it,
469
494
# with or without modifications, as long as this notice is preserved.
470
495
 
471
 
#serial 3
 
496
#serial 5
472
497
 
473
498
# _AM_OUTPUT_DEPENDENCY_COMMANDS
474
499
# ------------------------------
475
500
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
476
 
[for mf in $CONFIG_FILES; do
477
 
  # Strip MF so we end up with the name of the file.
478
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
479
 
  # Check whether this is an Automake generated Makefile or not.
480
 
  # We used to match only the files named `Makefile.in', but
481
 
  # some people rename them; so instead we look at the file content.
482
 
  # Grep'ing the first line is not enough: some people post-process
483
 
  # each Makefile.in and add a new line on top of each file to say so.
484
 
  # Grep'ing the whole file is not good either: AIX grep has a line
485
 
  # limit of 2048, but all sed's we know have understand at least 4000.
486
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
487
 
    dirpart=`AS_DIRNAME("$mf")`
488
 
  else
489
 
    continue
490
 
  fi
491
 
  # Extract the definition of DEPDIR, am__include, and am__quote
492
 
  # from the Makefile without running `make'.
493
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
494
 
  test -z "$DEPDIR" && continue
495
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
496
 
  test -z "am__include" && continue
497
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
498
 
  # When using ansi2knr, U may be empty or an underscore; expand it
499
 
  U=`sed -n 's/^U = //p' < "$mf"`
500
 
  # Find all dependency output files, they are included files with
501
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
502
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
503
 
  # expansion.
504
 
  for file in `sed -n "
505
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
506
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
507
 
    # Make sure the directory exists.
508
 
    test -f "$dirpart/$file" && continue
509
 
    fdir=`AS_DIRNAME(["$file"])`
510
 
    AS_MKDIR_P([$dirpart/$fdir])
511
 
    # echo "creating $dirpart/$file"
512
 
    echo '# dummy' > "$dirpart/$file"
 
501
[{
 
502
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
503
  # are listed without --file.  Let's play safe and only enable the eval
 
504
  # if we detect the quoting.
 
505
  case $CONFIG_FILES in
 
506
  *\'*) eval set x "$CONFIG_FILES" ;;
 
507
  *)   set x $CONFIG_FILES ;;
 
508
  esac
 
509
  shift
 
510
  for mf
 
511
  do
 
512
    # Strip MF so we end up with the name of the file.
 
513
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
514
    # Check whether this is an Automake generated Makefile or not.
 
515
    # We used to match only the files named `Makefile.in', but
 
516
    # some people rename them; so instead we look at the file content.
 
517
    # Grep'ing the first line is not enough: some people post-process
 
518
    # each Makefile.in and add a new line on top of each file to say so.
 
519
    # Grep'ing the whole file is not good either: AIX grep has a line
 
520
    # limit of 2048, but all sed's we know have understand at least 4000.
 
521
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
522
      dirpart=`AS_DIRNAME("$mf")`
 
523
    else
 
524
      continue
 
525
    fi
 
526
    # Extract the definition of DEPDIR, am__include, and am__quote
 
527
    # from the Makefile without running `make'.
 
528
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
529
    test -z "$DEPDIR" && continue
 
530
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
531
    test -z "am__include" && continue
 
532
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
533
    # When using ansi2knr, U may be empty or an underscore; expand it
 
534
    U=`sed -n 's/^U = //p' < "$mf"`
 
535
    # Find all dependency output files, they are included files with
 
536
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
537
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
538
    # expansion.
 
539
    for file in `sed -n "
 
540
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
541
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
542
      # Make sure the directory exists.
 
543
      test -f "$dirpart/$file" && continue
 
544
      fdir=`AS_DIRNAME(["$file"])`
 
545
      AS_MKDIR_P([$dirpart/$fdir])
 
546
      # echo "creating $dirpart/$file"
 
547
      echo '# dummy' > "$dirpart/$file"
 
548
    done
513
549
  done
514
 
done
 
550
}
515
551
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
516
552
 
517
553
 
543
579
# Do all the work for Automake.                             -*- Autoconf -*-
544
580
 
545
581
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
546
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
582
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
547
583
#
548
584
# This file is free software; the Free Software Foundation
549
585
# gives unlimited permission to copy and/or distribute it,
550
586
# with or without modifications, as long as this notice is preserved.
551
587
 
552
 
# serial 13
 
588
# serial 16
553
589
 
554
590
# This macro actually does too much.  Some checks are only needed if
555
591
# your package does certain things.  But this isn't really a big deal.
566
602
# arguments mandatory, and then we can depend on a new Autoconf
567
603
# release and drop the old call support.
568
604
AC_DEFUN([AM_INIT_AUTOMAKE],
569
 
[AC_PREREQ([2.60])dnl
 
605
[AC_PREREQ([2.62])dnl
570
606
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
571
607
dnl the ones we care about.
572
608
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
617
653
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
618
654
AM_MISSING_PROG(AUTOHEADER, autoheader)
619
655
AM_MISSING_PROG(MAKEINFO, makeinfo)
620
 
AM_PROG_INSTALL_SH
621
 
AM_PROG_INSTALL_STRIP
 
656
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
657
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
622
658
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
623
659
# We need awk for the "check" target.  The system "awk" is bad on
624
660
# some platforms.
626
662
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
627
663
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
628
664
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
629
 
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
630
 
                             [_AM_PROG_TAR([v7])])])
 
665
              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
 
666
                             [_AM_PROG_TAR([v7])])])
631
667
_AM_IF_OPTION([no-dependencies],,
632
668
[AC_PROVIDE_IFELSE([AC_PROG_CC],
633
 
                  [_AM_DEPENDENCIES(CC)],
634
 
                  [define([AC_PROG_CC],
635
 
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 
669
                  [_AM_DEPENDENCIES(CC)],
 
670
                  [define([AC_PROG_CC],
 
671
                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
636
672
AC_PROVIDE_IFELSE([AC_PROG_CXX],
637
 
                  [_AM_DEPENDENCIES(CXX)],
638
 
                  [define([AC_PROG_CXX],
639
 
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 
673
                  [_AM_DEPENDENCIES(CXX)],
 
674
                  [define([AC_PROG_CXX],
 
675
                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
640
676
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
641
 
                  [_AM_DEPENDENCIES(OBJC)],
642
 
                  [define([AC_PROG_OBJC],
643
 
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
644
 
])
645
 
])
 
677
                  [_AM_DEPENDENCIES(OBJC)],
 
678
                  [define([AC_PROG_OBJC],
 
679
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
680
])
 
681
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
 
682
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
 
683
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
 
684
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
 
685
AC_CONFIG_COMMANDS_PRE(dnl
 
686
[m4_provide_if([_AM_COMPILER_EXEEXT],
 
687
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 
688
])
 
689
 
 
690
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
 
691
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
 
692
dnl mangled by Autoconf and run in a shell conditional statement.
 
693
m4_define([_AC_COMPILER_EXEEXT],
 
694
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
646
695
 
647
696
 
648
697
# When config.status generates a header, we must update the stamp-h file.
666
715
done
667
716
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
668
717
 
669
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
718
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
670
719
#
671
720
# This file is free software; the Free Software Foundation
672
721
# gives unlimited permission to copy and/or distribute it,
677
726
# Define $install_sh.
678
727
AC_DEFUN([AM_PROG_INSTALL_SH],
679
728
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
680
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
729
if test x"${install_sh}" != xset; then
 
730
  case $am_aux_dir in
 
731
  *\ * | *\     *)
 
732
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
733
  *)
 
734
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
735
  esac
 
736
fi
681
737
AC_SUBST(install_sh)])
682
738
 
683
739
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
704
760
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
705
761
# From Jim Meyering
706
762
 
707
 
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
 
763
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
708
764
# Free Software Foundation, Inc.
709
765
#
710
766
# This file is free software; the Free Software Foundation
711
767
# gives unlimited permission to copy and/or distribute it,
712
768
# with or without modifications, as long as this notice is preserved.
713
769
 
714
 
# serial 4
 
770
# serial 5
715
771
 
 
772
# AM_MAINTAINER_MODE([DEFAULT-MODE])
 
773
# ----------------------------------
 
774
# Control maintainer-specific portions of Makefiles.
 
775
# Default is to disable them, unless `enable' is passed literally.
 
776
# For symmetry, `disable' may be passed as well.  Anyway, the user
 
777
# can override the default with the --enable/--disable switch.
716
778
AC_DEFUN([AM_MAINTAINER_MODE],
717
 
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
718
 
  dnl maintainer-mode is disabled by default
719
 
  AC_ARG_ENABLE(maintainer-mode,
720
 
[  --enable-maintainer-mode  enable make rules and dependencies not useful
 
779
[m4_case(m4_default([$1], [disable]),
 
780
       [enable], [m4_define([am_maintainer_other], [disable])],
 
781
       [disable], [m4_define([am_maintainer_other], [enable])],
 
782
       [m4_define([am_maintainer_other], [enable])
 
783
        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
 
784
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
 
785
  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
 
786
  AC_ARG_ENABLE([maintainer-mode],
 
787
[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
721
788
                          (and sometimes confusing) to the casual installer],
722
 
      USE_MAINTAINER_MODE=$enableval,
723
 
      USE_MAINTAINER_MODE=no)
 
789
      [USE_MAINTAINER_MODE=$enableval],
 
790
      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
724
791
  AC_MSG_RESULT([$USE_MAINTAINER_MODE])
725
 
  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
 
792
  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
726
793
  MAINT=$MAINTAINER_MODE_TRUE
727
 
  AC_SUBST(MAINT)dnl
 
794
  AC_SUBST([MAINT])dnl
728
795
]
729
796
)
730
797
 
732
799
 
733
800
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
734
801
 
735
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
802
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
736
803
#
737
804
# This file is free software; the Free Software Foundation
738
805
# gives unlimited permission to copy and/or distribute it,
739
806
# with or without modifications, as long as this notice is preserved.
740
807
 
741
 
# serial 3
 
808
# serial 4
742
809
 
743
810
# AM_MAKE_INCLUDE()
744
811
# -----------------
747
814
[am_make=${MAKE-make}
748
815
cat > confinc << 'END'
749
816
am__doit:
750
 
        @echo done
 
817
        @echo this is the am__doit target
751
818
.PHONY: am__doit
752
819
END
753
820
# If we don't find an include directive, just comment out the code.
757
824
_am_result=none
758
825
# First try GNU make style include.
759
826
echo "include confinc" > confmf
760
 
# We grep out `Entering directory' and `Leaving directory'
761
 
# messages which can occur if `w' ends up in MAKEFLAGS.
762
 
# In particular we don't look at `^make:' because GNU make might
763
 
# be invoked under some other name (usually "gmake"), in which
764
 
# case it prints its new name instead of `make'.
765
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
766
 
   am__include=include
767
 
   am__quote=
768
 
   _am_result=GNU
769
 
fi
 
827
# Ignore all kinds of additional output from `make'.
 
828
case `$am_make -s -f confmf 2> /dev/null` in #(
 
829
*the\ am__doit\ target*)
 
830
  am__include=include
 
831
  am__quote=
 
832
  _am_result=GNU
 
833
  ;;
 
834
esac
770
835
# Now try BSD make style include.
771
836
if test "$am__include" = "#"; then
772
837
   echo '.include "confinc"' > confmf
773
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
774
 
      am__include=.include
775
 
      am__quote="\""
776
 
      _am_result=BSD
777
 
   fi
 
838
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
839
   *the\ am__doit\ target*)
 
840
     am__include=.include
 
841
     am__quote="\""
 
842
     _am_result=BSD
 
843
     ;;
 
844
   esac
778
845
fi
779
846
AC_SUBST([am__include])
780
847
AC_SUBST([am__quote])
784
851
 
785
852
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
786
853
 
787
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
854
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
788
855
# Free Software Foundation, Inc.
789
856
#
790
857
# This file is free software; the Free Software Foundation
791
858
# gives unlimited permission to copy and/or distribute it,
792
859
# with or without modifications, as long as this notice is preserved.
793
860
 
794
 
# serial 5
 
861
# serial 6
795
862
 
796
863
# AM_MISSING_PROG(NAME, PROGRAM)
797
864
# ------------------------------
808
875
AC_DEFUN([AM_MISSING_HAS_RUN],
809
876
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
810
877
AC_REQUIRE_AUX_FILE([missing])dnl
811
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
878
if test x"${MISSING+set}" != xset; then
 
879
  case $am_aux_dir in
 
880
  *\ * | *\     *)
 
881
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
882
  *)
 
883
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
884
  esac
 
885
fi
812
886
# Use eval to expand $SHELL
813
887
if eval "$MISSING --run true"; then
814
888
  am_missing_run="$MISSING --run "
846
920
 
847
921
# Helper functions for option handling.                     -*- Autoconf -*-
848
922
 
849
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
923
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
850
924
#
851
925
# This file is free software; the Free Software Foundation
852
926
# gives unlimited permission to copy and/or distribute it,
853
927
# with or without modifications, as long as this notice is preserved.
854
928
 
855
 
# serial 3
 
929
# serial 4
856
930
 
857
931
# _AM_MANGLE_OPTION(NAME)
858
932
# -----------------------
869
943
# ----------------------------------
870
944
# OPTIONS is a space-separated list of Automake options.
871
945
AC_DEFUN([_AM_SET_OPTIONS],
872
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
946
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
873
947
 
874
948
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
875
949
# -------------------------------------------
879
953
 
880
954
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
881
955
 
882
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
956
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
883
957
# Free Software Foundation, Inc.
884
958
#
885
959
# This file is free software; the Free Software Foundation
886
960
# gives unlimited permission to copy and/or distribute it,
887
961
# with or without modifications, as long as this notice is preserved.
888
962
 
889
 
# serial 4
 
963
# serial 5
890
964
 
891
965
# AM_SANITY_CHECK
892
966
# ---------------
895
969
# Just in case
896
970
sleep 1
897
971
echo timestamp > conftest.file
 
972
# Reject unsafe characters in $srcdir or the absolute working directory
 
973
# name.  Accept space and tab only in the latter.
 
974
am_lf='
 
975
'
 
976
case `pwd` in
 
977
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
978
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
979
esac
 
980
case $srcdir in
 
981
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
982
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
983
esac
 
984
 
898
985
# Do `set' in a subshell so we don't clobber the current shell's
899
986
# arguments.  Must try -L first in case configure is actually a
900
987
# symlink; some systems play weird games with the mod time of symlinks
901
988
# (eg FreeBSD returns the mod time of the symlink's containing
902
989
# directory).
903
990
if (
904
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
991
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
905
992
   if test "$[*]" = "X"; then
906
993
      # -L didn't work.
907
 
      set X `ls -t $srcdir/configure conftest.file`
 
994
      set X `ls -t "$srcdir/configure" conftest.file`
908
995
   fi
909
996
   rm -f conftest.file
910
997
   if test "$[*]" != "X $srcdir/configure conftest.file" \
957
1044
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
958
1045
AC_SUBST([INSTALL_STRIP_PROGRAM])])
959
1046
 
960
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
1047
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
961
1048
#
962
1049
# This file is free software; the Free Software Foundation
963
1050
# gives unlimited permission to copy and/or distribute it,
964
1051
# with or without modifications, as long as this notice is preserved.
965
1052
 
 
1053
# serial 2
 
1054
 
966
1055
# _AM_SUBST_NOTMAKE(VARIABLE)
967
1056
# ---------------------------
968
1057
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
969
1058
# This macro is traced by Automake.
970
1059
AC_DEFUN([_AM_SUBST_NOTMAKE])
971
1060
 
 
1061
# AM_SUBST_NOTMAKE(VARIABLE)
 
1062
# ---------------------------
 
1063
# Public sister of _AM_SUBST_NOTMAKE.
 
1064
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
1065
 
972
1066
# Check how to create a tarball.                            -*- Autoconf -*-
973
1067
 
974
1068
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.