20
20
If you have problems, you may need to regenerate the build system entirely.
21
21
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
28
dnl Installs and validates AppData XML files.
30
dnl Call APPSTREAM_XML in configure.ac to check for the appstream-util tool.
31
dnl Add @APPSTREAM_XML_RULES@ to a Makefile.am to substitute the make rules. Add
32
dnl .appdata.xml files to appstream_XML in Makefile.am and they will be validated
33
dnl at make check time, if appstream-util is installed, as well as installed
34
dnl to the correct location automatically. Add --enable-appstream-util to
35
dnl DISTCHECK_CONFIGURE_FLAGS in Makefile.am to require valid AppData XML when
36
dnl doing a distcheck.
38
dnl Adding files to appstream_XML does not distribute them automatically.
40
AC_DEFUN([APPSTREAM_XML],
42
m4_pattern_allow([AM_V_GEN])
43
AC_ARG_ENABLE([appstream-util],
44
[AS_HELP_STRING([--disable-appstream-util],
45
[Disable validating AppData XML files during check phase])])
47
AS_IF([test "x$enable_appstream_validate" != "xno"],
48
[AC_PATH_PROG([APPSTREAM_UTIL], [appstream-util])
49
AS_IF([test "x$APPSTREAM_UTIL" = "x"],
50
[have_appstream_validate=no],
51
[have_appstream_validate=yes
52
AC_SUBST([APPSTREAM_UTIL])])],
53
[have_appstream_validate=no])
55
AS_IF([test "x$have_appstream_validate" != "xno"],
56
[appstream_validate=yes],
57
[appstream_validate=no
58
AS_IF([test "x$enable_appstream_validate" = "xyes"],
59
[AC_MSG_ERROR([AppData validation was requested but appstream-util was not found])])])
61
AC_SUBST([appstreamxmldir], [${datadir}/appdata])
64
.PHONY : uninstall-appstream-xml install-appstream-xml clean-appstream-xml
66
mostlyclean-am: clean-appstream-xml
68
%.appdata.valid: %.appdata.xml
69
$(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; \
70
if test -n "$(APPSTREAM_UTIL)"; \
71
then $(APPSTREAM_UTIL) --nonet validate $${d}$<; fi \
74
check-am: $(appstream_XML:.appdata.xml=.appdata.valid)
75
uninstall-am: uninstall-appstream-xml
76
install-data-am: install-appstream-xml
78
.SECONDARY: $(appstream_XML)
80
install-appstream-xml: $(appstream_XML)
82
if test -n "$^"; then \
83
test -z "$(appstreamxmldir)" || $(MKDIR_P) "$(DESTDIR)$(appstreamxmldir)"; \
84
$(INSTALL_DATA) $^ "$(DESTDIR)$(appstreamxmldir)"; \
87
uninstall-appstream-xml:
89
@list='\''$(appstream_XML)'\''; test -n "$(appstreamxmldir)" || list=; \
90
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
91
test -n "$$files" || exit 0; \
92
echo " ( cd '\''$(DESTDIR)$(appstreamxmldir)'\'' && rm -f" $$files ")"; \
93
cd "$(DESTDIR)$(appstreamxmldir)" && rm -f $$files
96
rm -f $(appstream_XML:.appdata.xml=.appdata.valid)
98
_APPSTREAM_XML_SUBST(APPSTREAM_XML_RULES)
101
dnl _APPSTREAM_XML_SUBST(VARIABLE)
102
dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
103
AC_DEFUN([_APPSTREAM_XML_SUBST],
106
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
115
dnl GNOME_COMMON_INIT
117
AU_DEFUN([GNOME_COMMON_INIT],
119
dnl this macro should come after AC_CONFIG_MACRO_DIR
120
AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
122
dnl ensure that when the Automake generated makefile calls aclocal,
123
dnl it honours the $ACLOCAL_FLAGS environment variable
124
ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
125
if test -n "$ac_macro_dir"; then
126
ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
129
AC_SUBST([ACLOCAL_AMFLAGS])
131
[[$0: This macro is deprecated. You should set put "ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}"
132
in your top-level Makefile.am, instead, where "m4" is the macro directory set
133
with AC_CONFIG_MACRO_DIR() in your configure.ac]])
135
AU_DEFUN([GNOME_DEBUG_CHECK],
137
AX_CHECK_ENABLE_DEBUG([no],[GNOME_ENABLE_DEBUG])
139
[[$0: This macro is deprecated. You should use AX_CHECK_ENABLE_DEBUG instead and
140
replace uses of GNOME_ENABLE_DEBUG with ENABLE_DEBUG.
141
See: http://www.gnu.org/software/autoconf-archive/ax_check_enable_debug.html#ax_check_enable_debug]])
143
dnl GNOME_MAINTAINER_MODE_DEFINES ()
144
dnl define DISABLE_DEPRECATED
146
AU_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
148
AC_REQUIRE([AM_MAINTAINER_MODE])
150
DISABLE_DEPRECATED=""
151
if test $USE_MAINTAINER_MODE = yes; then
152
DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP"
153
for DOMAIN in $DOMAINS; do
154
DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
158
AC_SUBST(DISABLE_DEPRECATED)
160
[[$0: This macro is deprecated. All of the modules it disables deprecations for
161
are obsolete. Remove it and all uses of DISABLE_DEPRECATED.]])
164
dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether
165
dnl the schema should be compiled
168
AC_DEFUN([GLIB_GSETTINGS],
170
m4_pattern_allow([AM_V_GEN])
171
AC_ARG_ENABLE(schemas-compile,
172
AS_HELP_STRING([--disable-schemas-compile],
173
[Disable regeneration of gschemas.compiled on install]),
174
[case ${enableval} in
175
yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
176
no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
177
*) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-compile]) ;;
179
AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE])
180
PKG_PROG_PKG_CONFIG([0.16])
181
AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas])
182
if test x$cross_compiling != xyes; then
183
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
185
AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas)
187
AC_SUBST(GLIB_COMPILE_SCHEMAS)
188
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
189
ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2])
191
ifelse([$1],,[:],[$1])
195
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
197
mostlyclean-am: clean-gsettings-schemas
199
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
201
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
202
$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p [$](@D) && touch [$]@
204
all-am: $(gsettings_SCHEMAS:.xml=.valid)
205
uninstall-am: uninstall-gsettings-schemas
206
install-data-am: install-gsettings-schemas
208
.SECONDARY: $(gsettings_SCHEMAS)
210
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
212
if test -n "$^"; then \
213
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
214
$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
215
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
218
uninstall-gsettings-schemas:
220
@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
221
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
222
test -n "$$files" || exit 0; \
223
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
224
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
225
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
227
clean-gsettings-schemas:
228
rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
230
ifdef gsettings_ENUM_NAMESPACE
231
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
232
$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" [$]^ > [$]@.tmp && mv [$]@.tmp [$]@
235
_GSETTINGS_SUBST(GSETTINGS_RULES)
238
dnl _GSETTINGS_SUBST(VARIABLE)
239
dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
240
AC_DEFUN([_GSETTINGS_SUBST],
243
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
24
248
dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
25
249
# serial 42 IT_PROG_INTLTOOL
483
682
AS_VAR_IF([$1], [""], [$5], [$4])dnl
484
683
])# PKG_CHECK_VAR
491
dnl GNOME_COMMON_INIT
493
AU_DEFUN([GNOME_COMMON_INIT],
495
dnl this macro should come after AC_CONFIG_MACRO_DIR
496
AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
498
dnl ensure that when the Automake generated makefile calls aclocal,
499
dnl it honours the $ACLOCAL_FLAGS environment variable
500
ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
501
if test -n "$ac_macro_dir"; then
502
ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
505
AC_SUBST([ACLOCAL_AMFLAGS])
507
[[$0: This macro is deprecated. You should set put "ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}"
508
in your top-level Makefile.am, instead, where "m4" is the macro directory set
509
with AC_CONFIG_MACRO_DIR() in your configure.ac]])
511
AU_DEFUN([GNOME_DEBUG_CHECK],
513
AX_CHECK_ENABLE_DEBUG([no],[GNOME_ENABLE_DEBUG])
515
[[$0: This macro is deprecated. You should use AX_CHECK_ENABLE_DEBUG instead and
516
replace uses of GNOME_ENABLE_DEBUG with ENABLE_DEBUG.
517
See: http://www.gnu.org/software/autoconf-archive/ax_check_enable_debug.html#ax_check_enable_debug]])
519
dnl GNOME_MAINTAINER_MODE_DEFINES ()
520
dnl define DISABLE_DEPRECATED
522
AU_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
524
AC_REQUIRE([AM_MAINTAINER_MODE])
526
DISABLE_DEPRECATED=""
527
if test $USE_MAINTAINER_MODE = yes; then
528
DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP"
529
for DOMAIN in $DOMAINS; do
530
DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
534
AC_SUBST(DISABLE_DEPRECATED)
536
[[$0: This macro is deprecated. All of the modules it disables deprecations for
537
are obsolete. Remove it and all uses of DISABLE_DEPRECATED.]])
540
dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether
541
dnl the schema should be compiled
544
AC_DEFUN([GLIB_GSETTINGS],
546
m4_pattern_allow([AM_V_GEN])
547
AC_ARG_ENABLE(schemas-compile,
548
AS_HELP_STRING([--disable-schemas-compile],
549
[Disable regeneration of gschemas.compiled on install]),
550
[case ${enableval} in
551
yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
552
no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
553
*) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-compile]) ;;
555
AC_SUBST([GSETTINGS_DISABLE_SCHEMAS_COMPILE])
556
PKG_PROG_PKG_CONFIG([0.16])
557
AC_SUBST(gsettingsschemadir, [${datadir}/glib-2.0/schemas])
558
if test x$cross_compiling != xyes; then
559
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
561
AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, glib-compile-schemas)
563
AC_SUBST(GLIB_COMPILE_SCHEMAS)
564
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
565
ifelse([$2],,[AC_MSG_ERROR([glib-compile-schemas not found.])],[$2])
567
ifelse([$1],,[:],[$1])
571
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
573
mostlyclean-am: clean-gsettings-schemas
575
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
577
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
578
$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p [$](@D) && touch [$]@
580
all-am: $(gsettings_SCHEMAS:.xml=.valid)
581
uninstall-am: uninstall-gsettings-schemas
582
install-data-am: install-gsettings-schemas
584
.SECONDARY: $(gsettings_SCHEMAS)
586
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
588
if test -n "$^"; then \
589
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
590
$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
591
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
594
uninstall-gsettings-schemas:
596
@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
597
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
598
test -n "$$files" || exit 0; \
599
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
600
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
601
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
603
clean-gsettings-schemas:
604
rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
606
ifdef gsettings_ENUM_NAMESPACE
607
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
608
$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" [$]^ > [$]@.tmp && mv [$]@.tmp [$]@
611
_GSETTINGS_SUBST(GSETTINGS_RULES)
614
dnl _GSETTINGS_SUBST(VARIABLE)
615
dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
616
AC_DEFUN([_GSETTINGS_SUBST],
619
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
623
685
AC_DEFUN([YELP_HELP_INIT],
625
687
AC_REQUIRE([AC_PROG_LN_S])
1340
1407
AC_CONFIG_COMMANDS_PRE(dnl
1341
1408
[m4_provide_if([_AM_COMPILER_EXEEXT],
1342
1409
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1411
# POSIX will say in a future version that running "rm -f" with no argument
1412
# is OK; and we want to be able to make that assumption in our Makefile
1413
# recipes. So use an aggressive probe to check that the usage we want is
1414
# actually supported "in the wild" to an acceptable degree.
1415
# See automake bug#10828.
1416
# To make any issue more visible, cause the running configure to be aborted
1417
# by default if the 'rm' program in use doesn't match our expectations; the
1418
# user can still override this though.
1419
if rm -f && rm -fr && rm -rf; then : OK; else
1423
Your 'rm' program seems unable to run without file operands specified
1424
on the command line, even when the '-f' option is present. This is contrary
1425
to the behaviour of most rm programs out there, and not conforming with
1426
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
1428
Please tell bug-automake@gnu.org about your system, including the value
1429
of your $PATH and any error possibly output before this message. This
1430
can help us improve future automake versions.
1433
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
1434
echo 'Configuration will proceed anyway, since you have set the' >&2
1435
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
1439
Aborting the configuration process, to ensure you take notice of the issue.
1441
You can download and install GNU coreutils to get an 'rm' implementation
1442
that behaves properly: <http://www.gnu.org/software/coreutils/>.
1444
If you want to complete the configuration process using your problematic
1445
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
1446
to "yes", and re-run configure.
1449
AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
1452
dnl The trailing newline in this macro's definition is deliberate, for
1453
dnl backward compatibility and to allow trailing 'dnl'-style comments
1454
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
1345
1457
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
1496
1607
rm -f confinc confmf
1499
# Copyright (C) 1999-2013 Free Software Foundation, Inc.
1501
# This file is free software; the Free Software Foundation
1502
# gives unlimited permission to copy and/or distribute it,
1503
# with or without modifications, as long as this notice is preserved.
1507
# Like AC_PROG_CC_C_O, but changed for automake.
1508
AC_DEFUN([AM_PROG_CC_C_O],
1509
[AC_REQUIRE([AC_PROG_CC_C_O])dnl
1510
AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1511
AC_REQUIRE_AUX_FILE([compile])dnl
1512
# FIXME: we rely on the cache variable name because
1513
# there is no other way.
1515
am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
1516
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
1517
if test "$am_t" != yes; then
1518
# Losing compiler, so override with the script.
1519
# FIXME: It is wrong to rewrite CC.
1520
# But if we don't then we get into trouble of one sort or another.
1521
# A longer-term fix would be to have automake use am__CC in this case,
1522
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1523
CC="$am_aux_dir/compile $CC"
1525
dnl Make sure AC_PROG_CC is never called again, or it will override our
1527
m4_define([AC_PROG_CC],
1528
[m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
1531
1610
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1533
# Copyright (C) 1997-2013 Free Software Foundation, Inc.
1612
# Copyright (C) 1997-2014 Free Software Foundation, Inc.
1535
1614
# This file is free software; the Free Software Foundation
1536
1615
# gives unlimited permission to copy and/or distribute it,
1598
1677
AC_DEFUN([_AM_IF_OPTION],
1599
1678
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
1680
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
1682
# This file is free software; the Free Software Foundation
1683
# gives unlimited permission to copy and/or distribute it,
1684
# with or without modifications, as long as this notice is preserved.
1688
# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
1689
# to automatically call this.
1690
AC_DEFUN([_AM_PROG_CC_C_O],
1691
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1692
AC_REQUIRE_AUX_FILE([compile])dnl
1693
AC_LANG_PUSH([C])dnl
1695
[whether $CC understands -c and -o together],
1696
[am_cv_prog_cc_c_o],
1697
[AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
1698
# Make sure it works both with $CC and with simple cc.
1699
# Following AC_PROG_CC_C_O, we do the test twice because some
1700
# compilers refuse to overwrite an existing .o file with -o,
1701
# though they will create one.
1702
am_cv_prog_cc_c_o=yes
1704
if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
1705
&& test -f conftest2.$ac_objext; then
1708
am_cv_prog_cc_c_o=no
1712
rm -f core conftest*
1714
if test "$am_cv_prog_cc_c_o" != yes; then
1715
# Losing compiler, so override with the script.
1716
# FIXME: It is wrong to rewrite CC.
1717
# But if we don't then we get into trouble of one sort or another.
1718
# A longer-term fix would be to have automake use am__CC in this case,
1719
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1720
CC="$am_aux_dir/compile $CC"
1724
# For backward compatibility.
1725
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
1727
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
1729
# This file is free software; the Free Software Foundation
1730
# gives unlimited permission to copy and/or distribute it,
1731
# with or without modifications, as long as this notice is preserved.
1733
# AM_RUN_LOG(COMMAND)
1734
# -------------------
1735
# Run COMMAND, save the exit status in ac_status, and log it.
1736
# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
1737
AC_DEFUN([AM_RUN_LOG],
1738
[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
1739
($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
1741
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1742
(exit $ac_status); }])
1601
1744
# Check to make sure that the build environment is sane. -*- Autoconf -*-
1603
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
1746
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
1605
1748
# This file is free software; the Free Software Foundation
1606
1749
# gives unlimited permission to copy and/or distribute it,