aclocal.m4 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. # generated automatically by aclocal 1.15.1 -*- Autoconf -*-
  2. # Copyright (C) 1996-2017 Free Software Foundation, Inc.
  3. # This file is free software; the Free Software Foundation
  4. # gives unlimited permission to copy and/or distribute it,
  5. # with or without modifications, as long as this notice is preserved.
  6. # This program is distributed in the hope that it will be useful,
  7. # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  8. # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  9. # PARTICULAR PURPOSE.
  10. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
  11. # AM_CONDITIONAL -*- Autoconf -*-
  12. # Copyright (C) 1997-2017 Free Software Foundation, Inc.
  13. #
  14. # This file is free software; the Free Software Foundation
  15. # gives unlimited permission to copy and/or distribute it,
  16. # with or without modifications, as long as this notice is preserved.
  17. # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  18. # -------------------------------------
  19. # Define a conditional.
  20. AC_DEFUN([AM_CONDITIONAL],
  21. [AC_PREREQ([2.52])dnl
  22. m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  23. [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  24. AC_SUBST([$1_TRUE])dnl
  25. AC_SUBST([$1_FALSE])dnl
  26. _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  27. _AM_SUBST_NOTMAKE([$1_FALSE])dnl
  28. m4_define([_AM_COND_VALUE_$1], [$2])dnl
  29. if $2; then
  30. $1_TRUE=
  31. $1_FALSE='#'
  32. else
  33. $1_TRUE='#'
  34. $1_FALSE=
  35. fi
  36. AC_CONFIG_COMMANDS_PRE(
  37. [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  38. AC_MSG_ERROR([[conditional "$1" was never defined.
  39. Usually this means the macro was only invoked conditionally.]])
  40. fi])])
  41. # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
  42. # From Jim Meyering
  43. # Copyright (C) 1996-2017 Free Software Foundation, Inc.
  44. #
  45. # This file is free software; the Free Software Foundation
  46. # gives unlimited permission to copy and/or distribute it,
  47. # with or without modifications, as long as this notice is preserved.
  48. # AM_MAINTAINER_MODE([DEFAULT-MODE])
  49. # ----------------------------------
  50. # Control maintainer-specific portions of Makefiles.
  51. # Default is to disable them, unless 'enable' is passed literally.
  52. # For symmetry, 'disable' may be passed as well. Anyway, the user
  53. # can override the default with the --enable/--disable switch.
  54. AC_DEFUN([AM_MAINTAINER_MODE],
  55. [m4_case(m4_default([$1], [disable]),
  56. [enable], [m4_define([am_maintainer_other], [disable])],
  57. [disable], [m4_define([am_maintainer_other], [enable])],
  58. [m4_define([am_maintainer_other], [enable])
  59. m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
  60. AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
  61. dnl maintainer-mode's default is 'disable' unless 'enable' is passed
  62. AC_ARG_ENABLE([maintainer-mode],
  63. [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
  64. am_maintainer_other[ make rules and dependencies not useful
  65. (and sometimes confusing) to the casual installer])],
  66. [USE_MAINTAINER_MODE=$enableval],
  67. [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
  68. AC_MSG_RESULT([$USE_MAINTAINER_MODE])
  69. AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
  70. MAINT=$MAINTAINER_MODE_TRUE
  71. AC_SUBST([MAINT])dnl
  72. ]
  73. )
  74. # Copyright (C) 1999-2017 Free Software Foundation, Inc.
  75. #
  76. # This file is free software; the Free Software Foundation
  77. # gives unlimited permission to copy and/or distribute it,
  78. # with or without modifications, as long as this notice is preserved.
  79. # _AM_PROG_CC_C_O
  80. # ---------------
  81. # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
  82. # to automatically call this.
  83. AC_DEFUN([_AM_PROG_CC_C_O],
  84. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  85. AC_REQUIRE_AUX_FILE([compile])dnl
  86. AC_LANG_PUSH([C])dnl
  87. AC_CACHE_CHECK(
  88. [whether $CC understands -c and -o together],
  89. [am_cv_prog_cc_c_o],
  90. [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
  91. # Make sure it works both with $CC and with simple cc.
  92. # Following AC_PROG_CC_C_O, we do the test twice because some
  93. # compilers refuse to overwrite an existing .o file with -o,
  94. # though they will create one.
  95. am_cv_prog_cc_c_o=yes
  96. for am_i in 1 2; do
  97. if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
  98. && test -f conftest2.$ac_objext; then
  99. : OK
  100. else
  101. am_cv_prog_cc_c_o=no
  102. break
  103. fi
  104. done
  105. rm -f core conftest*
  106. unset am_i])
  107. if test "$am_cv_prog_cc_c_o" != yes; then
  108. # Losing compiler, so override with the script.
  109. # FIXME: It is wrong to rewrite CC.
  110. # But if we don't then we get into trouble of one sort or another.
  111. # A longer-term fix would be to have automake use am__CC in this case,
  112. # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  113. CC="$am_aux_dir/compile $CC"
  114. fi
  115. AC_LANG_POP([C])])
  116. # For backward compatibility.
  117. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
  118. # Copyright (C) 2006-2017 Free Software Foundation, Inc.
  119. #
  120. # This file is free software; the Free Software Foundation
  121. # gives unlimited permission to copy and/or distribute it,
  122. # with or without modifications, as long as this notice is preserved.
  123. # _AM_SUBST_NOTMAKE(VARIABLE)
  124. # ---------------------------
  125. # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  126. # This macro is traced by Automake.
  127. AC_DEFUN([_AM_SUBST_NOTMAKE])
  128. # AM_SUBST_NOTMAKE(VARIABLE)
  129. # --------------------------
  130. # Public sister of _AM_SUBST_NOTMAKE.
  131. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  132. m4_include([../ltoptions.m4])
  133. m4_include([../ltsugar.m4])
  134. m4_include([../ltversion.m4])
  135. m4_include([../lt~obsolete.m4])
  136. m4_include([../config/cet.m4])
  137. m4_include([../config/lthostflags.m4])
  138. m4_include([../config/multi.m4])
  139. m4_include([../config/override.m4])
  140. m4_include([../config/toolexeclibdir.m4])
  141. m4_include([acinclude.m4])