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