11
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
12
# PARTICULAR PURPOSE.
14
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
14
15
m4_ifndef([AC_AUTOCONF_VERSION],
15
16
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
19
20
If you have problems, you may need to regenerate the build system entirely.
20
21
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22
# Copyright (C) 2002-2012 Free Software Foundation, Inc.
23
# Copyright (C) 2002-2013 Free Software Foundation, Inc.
24
25
# This file is free software; the Free Software Foundation
25
26
# gives unlimited permission to copy and/or distribute it,
26
27
# with or without modifications, as long as this notice is preserved.
30
29
# AM_AUTOMAKE_VERSION(VERSION)
31
30
# ----------------------------
32
31
# Automake X.Y traces this macro to ensure aclocal.m4 has been
33
32
# generated from the m4 files accompanying Automake X.Y.
34
33
# (This private macro should not be called outside this file.)
35
34
AC_DEFUN([AM_AUTOMAKE_VERSION],
36
[am__api_version='1.12'
35
[am__api_version='1.13'
37
36
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
38
37
dnl require some minimum version. Point them to the right macro.
39
m4_if([$1], [1.12.2], [],
38
m4_if([$1], [1.13.1], [],
40
39
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
52
51
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
53
52
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
54
53
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
55
[AM_AUTOMAKE_VERSION([1.12.2])dnl
54
[AM_AUTOMAKE_VERSION([1.13.1])dnl
56
55
m4_ifndef([AC_AUTOCONF_VERSION],
57
56
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
58
57
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
60
59
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
62
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
61
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
64
63
# This file is free software; the Free Software Foundation
65
64
# gives unlimited permission to copy and/or distribute it,
66
65
# with or without modifications, as long as this notice is preserved.
70
67
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
71
68
# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
72
69
# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
115
112
# AM_CONDITIONAL -*- Autoconf -*-
117
# Copyright (C) 1997-2012 Free Software Foundation, Inc.
114
# Copyright (C) 1997-2013 Free Software Foundation, Inc.
119
116
# This file is free software; the Free Software Foundation
120
117
# gives unlimited permission to copy and/or distribute it,
121
118
# with or without modifications, as long as this notice is preserved.
125
120
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
126
121
# -------------------------------------
127
122
# Define a conditional.
147
142
Usually this means the macro was only invoked conditionally.]])
150
# Copyright (C) 1999-2012 Free Software Foundation, Inc.
145
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
152
147
# This file is free software; the Free Software Foundation
153
148
# gives unlimited permission to copy and/or distribute it,
154
149
# with or without modifications, as long as this notice is preserved.
158
152
# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
159
153
# written in clear, in which case automake, when reading aclocal.m4,
340
334
# Generate code to set up dependency tracking. -*- Autoconf -*-
342
# Copyright (C) 1999-2012 Free Software Foundation, Inc.
336
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
344
338
# This file is free software; the Free Software Foundation
345
339
# gives unlimited permission to copy and/or distribute it,
346
340
# with or without modifications, as long as this notice is preserved.
350
343
# _AM_OUTPUT_DEPENDENCY_COMMANDS
351
344
# ------------------------------
352
345
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
354
# Autoconf 2.62 quotes --file arguments for eval, but not when files
347
# Older Autoconf quotes --file arguments for eval, but not when files
355
348
# are listed without --file. Let's play safe and only enable the eval
356
349
# if we detect the quoting.
357
350
case $CONFIG_FILES in
414
407
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
417
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
419
# This file is free software; the Free Software Foundation
420
# gives unlimited permission to copy and/or distribute it,
421
# with or without modifications, as long as this notice is preserved.
425
# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
426
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
428
410
# Do all the work for Automake. -*- Autoconf -*-
430
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
412
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
432
414
# This file is free software; the Free Software Foundation
433
415
# gives unlimited permission to copy and/or distribute it,
434
416
# with or without modifications, as long as this notice is preserved.
438
418
# This macro actually does too much. Some checks are only needed if
439
419
# your package does certain things. But this isn't really a big deal.
450
430
# arguments mandatory, and then we can depend on a new Autoconf
451
431
# release and drop the old call support.
452
432
AC_DEFUN([AM_INIT_AUTOMAKE],
453
[AC_PREREQ([2.62])dnl
433
[AC_PREREQ([2.65])dnl
454
434
dnl Autoconf wants to disallow AM_ names. We explicitly allow
455
435
dnl the ones we care about.
456
436
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
480
460
dnl Distinguish between old-style and new-style calls.
482
462
[AC_DIAGNOSE([obsolete],
483
[$0: two- and three-arguments forms are deprecated. For more info, see:
484
http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
463
[$0: two- and three-arguments forms are deprecated.])
485
464
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
486
465
AC_SUBST([PACKAGE], [$1])dnl
487
466
AC_SUBST([VERSION], [$2])],
535
514
[_AM_DEPENDENCIES([OBJC])],
536
515
[m4_define([AC_PROG_OBJC],
537
516
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
538
dnl Support for Objective C++ was only introduced in Autoconf 2.65,
539
dnl but we still cater to Autoconf 2.62.
540
m4_ifdef([AC_PROG_OBJCXX],
541
[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
517
AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
542
518
[_AM_DEPENDENCIES([OBJCXX])],
543
519
[m4_define([AC_PROG_OBJCXX],
544
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
520
m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
546
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
547
dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
548
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
549
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
522
AC_REQUIRE([AM_SILENT_RULES])dnl
523
dnl The testsuite driver may need to know about EXEEXT, so add the
524
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
525
dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
550
526
AC_CONFIG_COMMANDS_PRE(dnl
551
527
[m4_provide_if([_AM_COMPILER_EXEEXT],
552
528
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
581
557
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
583
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
559
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
585
561
# This file is free software; the Free Software Foundation
586
562
# gives unlimited permission to copy and/or distribute it,
587
563
# with or without modifications, as long as this notice is preserved.
591
565
# AM_PROG_INSTALL_SH
592
566
# ------------------
593
567
# Define $install_sh.
604
578
AC_SUBST([install_sh])])
606
# Copyright (C) 2003-2012 Free Software Foundation, Inc.
580
# Copyright (C) 2003-2013 Free Software Foundation, Inc.
608
582
# This file is free software; the Free Software Foundation
609
583
# gives unlimited permission to copy and/or distribute it,
610
584
# with or without modifications, as long as this notice is preserved.
614
586
# Check whether the underlying file-system supports filenames
615
587
# with a leading dot. For instance MS-DOS doesn't.
616
588
AC_DEFUN([AM_SET_LEADING_DOT],
627
599
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
628
600
# From Jim Meyering
630
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
602
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
632
604
# This file is free software; the Free Software Foundation
633
605
# gives unlimited permission to copy and/or distribute it,
634
606
# with or without modifications, as long as this notice is preserved.
638
608
# AM_MAINTAINER_MODE([DEFAULT-MODE])
639
609
# ----------------------------------
640
610
# Control maintainer-specific portions of Makefiles.
665
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
667
635
# Check to see how 'make' treats includes. -*- Autoconf -*-
669
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
637
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
671
639
# This file is free software; the Free Software Foundation
672
640
# gives unlimited permission to copy and/or distribute it,
673
641
# with or without modifications, as long as this notice is preserved.
677
643
# AM_MAKE_INCLUDE()
678
644
# -----------------
679
645
# Check to see how make treats includes.
716
682
rm -f confinc confmf
719
# Copyright (C) 1999-2012 Free Software Foundation, Inc.
685
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
721
687
# This file is free software; the Free Software Foundation
722
688
# gives unlimited permission to copy and/or distribute it,
723
689
# with or without modifications, as long as this notice is preserved.
729
693
# Like AC_PROG_CC_C_O, but changed for automake.
753
717
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
755
# Copyright (C) 1997-2012 Free Software Foundation, Inc.
719
# Copyright (C) 1997-2013 Free Software Foundation, Inc.
757
721
# This file is free software; the Free Software Foundation
758
722
# gives unlimited permission to copy and/or distribute it,
759
723
# with or without modifications, as long as this notice is preserved.
763
725
# AM_MISSING_PROG(NAME, PROGRAM)
764
726
# ------------------------------
765
727
AC_DEFUN([AM_MISSING_PROG],
767
729
$1=${$1-"${am_missing_run}$2"}
771
732
# AM_MISSING_HAS_RUN
772
733
# ------------------
773
# Define MISSING if not defined so far and test if it supports --run.
774
# If it does, set am_missing_run to use it, otherwise, to nothing.
734
# Define MISSING if not defined so far and test if it is modern enough.
735
# If it is, set am_missing_run to use it, otherwise, to nothing.
775
736
AC_DEFUN([AM_MISSING_HAS_RUN],
776
737
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
777
738
AC_REQUIRE_AUX_FILE([missing])dnl
786
747
# Use eval to expand $SHELL
787
if eval "$MISSING --run true"; then
788
am_missing_run="$MISSING --run "
748
if eval "$MISSING --is-lightweight"; then
749
am_missing_run="$MISSING "
791
752
AC_MSG_WARN(['missing' script is too old or missing])
795
# Copyright (C) 2003-2012 Free Software Foundation, Inc.
756
# Copyright (C) 2003-2013 Free Software Foundation, Inc.
797
758
# This file is free software; the Free Software Foundation
798
759
# gives unlimited permission to copy and/or distribute it,
799
760
# with or without modifications, as long as this notice is preserved.
803
762
# AM_PROG_MKDIR_P
804
763
# ---------------
805
764
# Check for 'mkdir -p'.
806
765
AC_DEFUN([AM_PROG_MKDIR_P],
807
766
[AC_PREREQ([2.60])dnl
808
767
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
809
dnl FIXME to be removed in Automake 1.13.
768
dnl FIXME to be removed in Automake 1.14.
810
769
AC_DIAGNOSE([obsolete],
811
770
[$0: this macro is deprecated, and will soon be removed.
812
771
You should use the Autoconf-provided 'AC][_PROG_MKDIR_P' macro instead,
828
787
# Helper functions for option handling. -*- Autoconf -*-
830
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
789
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
832
791
# This file is free software; the Free Software Foundation
833
792
# gives unlimited permission to copy and/or distribute it,
834
793
# with or without modifications, as long as this notice is preserved.
838
795
# _AM_MANGLE_OPTION(NAME)
839
796
# -----------------------
840
797
AC_DEFUN([_AM_MANGLE_OPTION],
858
815
AC_DEFUN([_AM_IF_OPTION],
859
816
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
861
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
818
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
863
820
# This file is free software; the Free Software Foundation
864
821
# gives unlimited permission to copy and/or distribute it,
865
822
# with or without modifications, as long as this notice is preserved.
869
824
# AM_RUN_LOG(COMMAND)
870
825
# -------------------
871
826
# Run COMMAND, save the exit status in ac_status, and log it.
880
835
# Check to make sure that the build environment is sane. -*- Autoconf -*-
882
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
837
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
884
839
# This file is free software; the Free Software Foundation
885
840
# gives unlimited permission to copy and/or distribute it,
886
841
# with or without modifications, as long as this notice is preserved.
890
843
# AM_SANITY_CHECK
891
844
# ---------------
892
845
AC_DEFUN([AM_SANITY_CHECK],
962
915
rm -f conftest.file
965
# Copyright (C) 2009-2012 Free Software Foundation, Inc.
918
# Copyright (C) 2009-2013 Free Software Foundation, Inc.
967
920
# This file is free software; the Free Software Foundation
968
921
# gives unlimited permission to copy and/or distribute it,
969
922
# with or without modifications, as long as this notice is preserved.
973
924
# AM_SILENT_RULES([DEFAULT])
974
925
# --------------------------
975
926
# Enable less verbose build rules; with the default set to DEFAULT
1024
975
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1027
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
978
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
1029
980
# This file is free software; the Free Software Foundation
1030
981
# gives unlimited permission to copy and/or distribute it,
1031
982
# with or without modifications, as long as this notice is preserved.
1035
984
# AM_PROG_INSTALL_STRIP
1036
985
# ---------------------
1037
986
# One issue with vendor 'install' (even GNU) is that you can't
1054
1003
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1055
1004
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1057
# Copyright (C) 2006-2012 Free Software Foundation, Inc.
1006
# Copyright (C) 2006-2013 Free Software Foundation, Inc.
1059
1008
# This file is free software; the Free Software Foundation
1060
1009
# gives unlimited permission to copy and/or distribute it,
1061
1010
# with or without modifications, as long as this notice is preserved.
1065
1012
# _AM_SUBST_NOTMAKE(VARIABLE)
1066
1013
# ---------------------------
1067
1014
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1076
1023
# Check how to create a tarball. -*- Autoconf -*-
1078
# Copyright (C) 2004-2012 Free Software Foundation, Inc.
1025
# Copyright (C) 2004-2013 Free Software Foundation, Inc.
1080
1027
# This file is free software; the Free Software Foundation
1081
1028
# gives unlimited permission to copy and/or distribute it,
1082
1029
# with or without modifications, as long as this notice is preserved.
1086
1031
# _AM_PROG_TAR(FORMAT)
1087
1032
# --------------------
1088
1033
# Check how to create a tarball in format FORMAT.
1554
1499
m4_include([libgd/libgd.m4])
1500
m4_include([m4/ax_config_dir.m4])
1555
1501
m4_include([m4/gettext.m4])
1502
m4_include([m4/getting-started.m4])
1556
1503
m4_include([m4/iconv.m4])
1557
1504
m4_include([m4/intlmacosx.m4])
1558
1505
m4_include([m4/intltool.m4])