~ubuntu-branches/ubuntu/trusty/manaplus/trusty-proposed

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-09-17 10:35:51 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20130917103551-az7p3nz9jgxwqjfn
Tags: 1.3.9.15-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.13.3 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.14 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
4
4
 
32
32
# generated from the m4 files accompanying Automake X.Y.
33
33
# (This private macro should not be called outside this file.)
34
34
AC_DEFUN([AM_AUTOMAKE_VERSION],
35
 
[am__api_version='1.13'
 
35
[am__api_version='1.14'
36
36
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
37
37
dnl require some minimum version.  Point them to the right macro.
38
 
m4_if([$1], [1.13.3], [],
 
38
m4_if([$1], [1.14], [],
39
39
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
40
40
])
41
41
 
51
51
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
52
52
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
53
53
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
54
 
[AM_AUTOMAKE_VERSION([1.13.3])dnl
 
54
[AM_AUTOMAKE_VERSION([1.14])dnl
55
55
m4_ifndef([AC_AUTOCONF_VERSION],
56
56
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
57
57
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
418
418
# This macro actually does too much.  Some checks are only needed if
419
419
# your package does certain things.  But this isn't really a big deal.
420
420
 
 
421
dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
 
422
m4_define([AC_PROG_CC],
 
423
m4_defn([AC_PROG_CC])
 
424
[_AM_PROG_CC_C_O
 
425
])
 
426
 
421
427
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
422
428
# AM_INIT_AUTOMAKE([OPTIONS])
423
429
# -----------------------------------------------
526
532
AC_CONFIG_COMMANDS_PRE(dnl
527
533
[m4_provide_if([_AM_COMPILER_EXEEXT],
528
534
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
529
 
])
 
535
 
 
536
# POSIX will say in a future version that running "rm -f" with no argument
 
537
# is OK; and we want to be able to make that assumption in our Makefile
 
538
# recipes.  So use an aggressive probe to check that the usage we want is
 
539
# actually supported "in the wild" to an acceptable degree.
 
540
# See automake bug#10828.
 
541
# To make any issue more visible, cause the running configure to be aborted
 
542
# by default if the 'rm' program in use doesn't match our expectations; the
 
543
# user can still override this though.
 
544
if rm -f && rm -fr && rm -rf; then : OK; else
 
545
  cat >&2 <<'END'
 
546
Oops!
 
547
 
 
548
Your 'rm' program seems unable to run without file operands specified
 
549
on the command line, even when the '-f' option is present.  This is contrary
 
550
to the behaviour of most rm programs out there, and not conforming with
 
551
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 
552
 
 
553
Please tell bug-automake@gnu.org about your system, including the value
 
554
of your $PATH and any error possibly output before this message.  This
 
555
can help us improve future automake versions.
 
556
 
 
557
END
 
558
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 
559
    echo 'Configuration will proceed anyway, since you have set the' >&2
 
560
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 
561
    echo >&2
 
562
  else
 
563
    cat >&2 <<'END'
 
564
Aborting the configuration process, to ensure you take notice of the issue.
 
565
 
 
566
You can download and install GNU coreutils to get an 'rm' implementation
 
567
that behaves properly: <http://www.gnu.org/software/coreutils/>.
 
568
 
 
569
If you want to complete the configuration process using your problematic
 
570
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 
571
to "yes", and re-run configure.
 
572
 
 
573
END
 
574
    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
 
575
  fi
 
576
fi])
530
577
 
531
578
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
532
579
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
534
581
m4_define([_AC_COMPILER_EXEEXT],
535
582
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
536
583
 
537
 
 
538
584
# When config.status generates a header, we must update the stamp-h file.
539
585
# This file resides in the same directory as the config header
540
586
# that is generated.  The stamp files are numbered to have different names.
646
692
rm -f confinc confmf
647
693
])
648
694
 
649
 
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
650
 
#
651
 
# This file is free software; the Free Software Foundation
652
 
# gives unlimited permission to copy and/or distribute it,
653
 
# with or without modifications, as long as this notice is preserved.
654
 
 
655
 
# AM_PROG_CC_C_O
656
 
# --------------
657
 
# Like AC_PROG_CC_C_O, but changed for automake.
658
 
AC_DEFUN([AM_PROG_CC_C_O],
659
 
[AC_REQUIRE([AC_PROG_CC_C_O])dnl
660
 
AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
661
 
AC_REQUIRE_AUX_FILE([compile])dnl
662
 
# FIXME: we rely on the cache variable name because
663
 
# there is no other way.
664
 
set dummy $CC
665
 
am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
666
 
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
667
 
if test "$am_t" != yes; then
668
 
   # Losing compiler, so override with the script.
669
 
   # FIXME: It is wrong to rewrite CC.
670
 
   # But if we don't then we get into trouble of one sort or another.
671
 
   # A longer-term fix would be to have automake use am__CC in this case,
672
 
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
673
 
   CC="$am_aux_dir/compile $CC"
674
 
fi
675
 
dnl Make sure AC_PROG_CC is never called again, or it will override our
676
 
dnl setting of CC.
677
 
m4_define([AC_PROG_CC],
678
 
          [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
679
 
])
680
 
 
681
695
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
682
696
 
683
697
# Copyright (C) 1997-2013 Free Software Foundation, Inc.
780
794
AC_DEFUN([_AM_IF_OPTION],
781
795
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
782
796
 
 
797
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
 
798
#
 
799
# This file is free software; the Free Software Foundation
 
800
# gives unlimited permission to copy and/or distribute it,
 
801
# with or without modifications, as long as this notice is preserved.
 
802
 
 
803
# _AM_PROG_CC_C_O
 
804
# ---------------
 
805
# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
 
806
# to automatically call this.
 
807
AC_DEFUN([_AM_PROG_CC_C_O],
 
808
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 
809
AC_REQUIRE_AUX_FILE([compile])dnl
 
810
AC_LANG_PUSH([C])dnl
 
811
AC_CACHE_CHECK(
 
812
  [whether $CC understands -c and -o together],
 
813
  [am_cv_prog_cc_c_o],
 
814
  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
 
815
  # Make sure it works both with $CC and with simple cc.
 
816
  # Following AC_PROG_CC_C_O, we do the test twice because some
 
817
  # compilers refuse to overwrite an existing .o file with -o,
 
818
  # though they will create one.
 
819
  am_cv_prog_cc_c_o=yes
 
820
  for am_i in 1 2; do
 
821
    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
 
822
         && test -f conftest2.$ac_objext; then
 
823
      : OK
 
824
    else
 
825
      am_cv_prog_cc_c_o=no
 
826
      break
 
827
    fi
 
828
  done
 
829
  rm -f core conftest*
 
830
  unset am_i])
 
831
if test "$am_cv_prog_cc_c_o" != yes; then
 
832
   # Losing compiler, so override with the script.
 
833
   # FIXME: It is wrong to rewrite CC.
 
834
   # But if we don't then we get into trouble of one sort or another.
 
835
   # A longer-term fix would be to have automake use am__CC in this case,
 
836
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
837
   CC="$am_aux_dir/compile $CC"
 
838
fi
 
839
AC_LANG_POP([C])])
 
840
 
 
841
# For backward compatibility.
 
842
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
 
843
 
 
844
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
 
845
#
 
846
# This file is free software; the Free Software Foundation
 
847
# gives unlimited permission to copy and/or distribute it,
 
848
# with or without modifications, as long as this notice is preserved.
 
849
 
 
850
# AM_RUN_LOG(COMMAND)
 
851
# -------------------
 
852
# Run COMMAND, save the exit status in ac_status, and log it.
 
853
# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
 
854
AC_DEFUN([AM_RUN_LOG],
 
855
[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
 
856
   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
 
857
   ac_status=$?
 
858
   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
859
   (exit $ac_status); }])
 
860
 
783
861
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
784
862
 
785
863
# Copyright (C) 1996-2013 Free Software Foundation, Inc.