~ubuntu-branches/ubuntu/precise/zeromq/precise

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Martin Lucina
  • Date: 2010-10-21 16:21:20 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20101021162120-g6f3z4wlrrcgqicj
Tags: 2.0.10-1
* New upstream version.
* Upstream now uses DFSG-clean OpenPGM tarball, so dropping .dfsg from 
  the Debian version.

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.1 -*- 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.65],,
 
17
[m4_warning([this file was generated for autoconf 2.65.
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.1], [],
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.1])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.
703
759
 
704
760
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
705
761
 
706
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
762
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
707
763
#
708
764
# This file is free software; the Free Software Foundation
709
765
# gives unlimited permission to copy and/or distribute it,
710
766
# with or without modifications, as long as this notice is preserved.
711
767
 
712
 
# serial 3
 
768
# serial 4
713
769
 
714
770
# AM_MAKE_INCLUDE()
715
771
# -----------------
718
774
[am_make=${MAKE-make}
719
775
cat > confinc << 'END'
720
776
am__doit:
721
 
        @echo done
 
777
        @echo this is the am__doit target
722
778
.PHONY: am__doit
723
779
END
724
780
# If we don't find an include directive, just comment out the code.
728
784
_am_result=none
729
785
# First try GNU make style include.
730
786
echo "include confinc" > confmf
731
 
# We grep out `Entering directory' and `Leaving directory'
732
 
# messages which can occur if `w' ends up in MAKEFLAGS.
733
 
# In particular we don't look at `^make:' because GNU make might
734
 
# be invoked under some other name (usually "gmake"), in which
735
 
# case it prints its new name instead of `make'.
736
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
737
 
   am__include=include
738
 
   am__quote=
739
 
   _am_result=GNU
740
 
fi
 
787
# Ignore all kinds of additional output from `make'.
 
788
case `$am_make -s -f confmf 2> /dev/null` in #(
 
789
*the\ am__doit\ target*)
 
790
  am__include=include
 
791
  am__quote=
 
792
  _am_result=GNU
 
793
  ;;
 
794
esac
741
795
# Now try BSD make style include.
742
796
if test "$am__include" = "#"; then
743
797
   echo '.include "confinc"' > confmf
744
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
745
 
      am__include=.include
746
 
      am__quote="\""
747
 
      _am_result=BSD
748
 
   fi
 
798
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
799
   *the\ am__doit\ target*)
 
800
     am__include=.include
 
801
     am__quote="\""
 
802
     _am_result=BSD
 
803
     ;;
 
804
   esac
749
805
fi
750
806
AC_SUBST([am__include])
751
807
AC_SUBST([am__quote])
753
809
rm -f confinc confmf
754
810
])
755
811
 
756
 
# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
 
812
# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
757
813
# Free Software Foundation, Inc.
758
814
#
759
815
# This file is free software; the Free Software Foundation
760
816
# gives unlimited permission to copy and/or distribute it,
761
817
# with or without modifications, as long as this notice is preserved.
762
818
 
763
 
# serial 5
 
819
# serial 6
764
820
 
765
821
# AM_PROG_CC_C_O
766
822
# --------------
772
828
# FIXME: we rely on the cache variable name because
773
829
# there is no other way.
774
830
set dummy $CC
775
 
ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
776
 
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 
831
am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
 
832
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
833
if test "$am_t" != yes; then
777
834
   # Losing compiler, so override with the script.
778
835
   # FIXME: It is wrong to rewrite CC.
779
836
   # But if we don't then we get into trouble of one sort or another.
789
846
 
790
847
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
791
848
 
792
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
849
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
793
850
# Free Software Foundation, Inc.
794
851
#
795
852
# This file is free software; the Free Software Foundation
796
853
# gives unlimited permission to copy and/or distribute it,
797
854
# with or without modifications, as long as this notice is preserved.
798
855
 
799
 
# serial 5
 
856
# serial 6
800
857
 
801
858
# AM_MISSING_PROG(NAME, PROGRAM)
802
859
# ------------------------------
813
870
AC_DEFUN([AM_MISSING_HAS_RUN],
814
871
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
815
872
AC_REQUIRE_AUX_FILE([missing])dnl
816
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
873
if test x"${MISSING+set}" != xset; then
 
874
  case $am_aux_dir in
 
875
  *\ * | *\     *)
 
876
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
877
  *)
 
878
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
879
  esac
 
880
fi
817
881
# Use eval to expand $SHELL
818
882
if eval "$MISSING --run true"; then
819
883
  am_missing_run="$MISSING --run "
851
915
 
852
916
# Helper functions for option handling.                     -*- Autoconf -*-
853
917
 
854
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
918
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
855
919
#
856
920
# This file is free software; the Free Software Foundation
857
921
# gives unlimited permission to copy and/or distribute it,
858
922
# with or without modifications, as long as this notice is preserved.
859
923
 
860
 
# serial 3
 
924
# serial 4
861
925
 
862
926
# _AM_MANGLE_OPTION(NAME)
863
927
# -----------------------
874
938
# ----------------------------------
875
939
# OPTIONS is a space-separated list of Automake options.
876
940
AC_DEFUN([_AM_SET_OPTIONS],
877
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
941
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
878
942
 
879
943
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
880
944
# -------------------------------------------
901
965
 
902
966
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
903
967
 
904
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
968
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
905
969
# Free Software Foundation, Inc.
906
970
#
907
971
# This file is free software; the Free Software Foundation
908
972
# gives unlimited permission to copy and/or distribute it,
909
973
# with or without modifications, as long as this notice is preserved.
910
974
 
911
 
# serial 4
 
975
# serial 5
912
976
 
913
977
# AM_SANITY_CHECK
914
978
# ---------------
917
981
# Just in case
918
982
sleep 1
919
983
echo timestamp > conftest.file
 
984
# Reject unsafe characters in $srcdir or the absolute working directory
 
985
# name.  Accept space and tab only in the latter.
 
986
am_lf='
 
987
'
 
988
case `pwd` in
 
989
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
990
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
991
esac
 
992
case $srcdir in
 
993
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
994
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
995
esac
 
996
 
920
997
# Do `set' in a subshell so we don't clobber the current shell's
921
998
# arguments.  Must try -L first in case configure is actually a
922
999
# symlink; some systems play weird games with the mod time of symlinks
923
1000
# (eg FreeBSD returns the mod time of the symlink's containing
924
1001
# directory).
925
1002
if (
926
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
1003
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
927
1004
   if test "$[*]" = "X"; then
928
1005
      # -L didn't work.
929
 
      set X `ls -t $srcdir/configure conftest.file`
 
1006
      set X `ls -t "$srcdir/configure" conftest.file`
930
1007
   fi
931
1008
   rm -f conftest.file
932
1009
   if test "$[*]" != "X $srcdir/configure conftest.file" \
979
1056
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
980
1057
AC_SUBST([INSTALL_STRIP_PROGRAM])])
981
1058
 
982
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
1059
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
983
1060
#
984
1061
# This file is free software; the Free Software Foundation
985
1062
# gives unlimited permission to copy and/or distribute it,
986
1063
# with or without modifications, as long as this notice is preserved.
987
1064
 
 
1065
# serial 2
 
1066
 
988
1067
# _AM_SUBST_NOTMAKE(VARIABLE)
989
1068
# ---------------------------
990
1069
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
991
1070
# This macro is traced by Automake.
992
1071
AC_DEFUN([_AM_SUBST_NOTMAKE])
993
1072
 
 
1073
# AM_SUBST_NOTMAKE(VARIABLE)
 
1074
# ---------------------------
 
1075
# Public sister of _AM_SUBST_NOTMAKE.
 
1076
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
1077
 
994
1078
# Check how to create a tarball.                            -*- Autoconf -*-
995
1079
 
996
1080
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.