| | | | |
| Offset 0, 0 lines modified | Offset 1, 1196 lines modified |
| | 1 | #·generated·automatically·by·aclocal·1.16.5·-*-·Autoconf·-*- |
| | |
| | 2 | #·Copyright·(C)·1996-2021·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 | m4_ifndef([AC_AUTOCONF_VERSION], |
| | 12 | ··[m4_copy([m4_PACKAGE_VERSION],·[AC_AUTOCONF_VERSION])])dnl |
| | 13 | m4_if(m4_defn([AC_AUTOCONF_VERSION]),·[2.72],, |
| | 14 | [m4_warning([this·file·was·generated·for·autoconf·2.72. |
| | 15 | You·have·another·version·of·autoconf.··It·may·work,·but·is·not·guaranteed·to. |
| | 16 | If·you·have·problems,·you·may·need·to·regenerate·the·build·system·entirely. |
| | 17 | To·do·so,·use·the·procedure·documented·by·the·package,·typically·'autoreconf'.])]) |
| | |
| | 18 | #·Copyright·(C)·2002-2021·Free·Software·Foundation,·Inc. |
| | 19 | # |
| | 20 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 21 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 22 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 23 | #·AM_AUTOMAKE_VERSION(VERSION) |
| | 24 | #·---------------------------- |
| | 25 | #·Automake·X.Y·traces·this·macro·to·ensure·aclocal.m4·has·been |
| | 26 | #·generated·from·the·m4·files·accompanying·Automake·X.Y. |
| | 27 | #·(This·private·macro·should·not·be·called·outside·this·file.) |
| | 28 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
| | 29 | [am__api_version='1.16' |
| | 30 | dnl·Some·users·find·AM_AUTOMAKE_VERSION·and·mistake·it·for·a·way·to |
| | 31 | dnl·require·some·minimum·version.··Point·them·to·the·right·macro. |
| | 32 | m4_if([$1],·[1.16.5],·[], |
| | 33 | ······[AC_FATAL([Do·not·call·$0,·use·AM_INIT_AUTOMAKE([$1]).])])dnl |
| | 34 | ]) |
| | |
| | 35 | #·_AM_AUTOCONF_VERSION(VERSION) |
| | 36 | #·----------------------------- |
| | 37 | #·aclocal·traces·this·macro·to·find·the·Autoconf·version. |
| | 38 | #·This·is·a·private·macro·too.··Using·m4_define·simplifies |
| | 39 | #·the·logic·in·aclocal,·which·can·simply·ignore·this·definition. |
| | 40 | m4_define([_AM_AUTOCONF_VERSION],·[]) |
| | |
| | 41 | #·AM_SET_CURRENT_AUTOMAKE_VERSION |
| | 42 | #·------------------------------- |
| | 43 | #·Call·AM_AUTOMAKE_VERSION·and·AM_AUTOMAKE_VERSION·so·they·can·be·traced. |
| | 44 | #·This·function·is·AC_REQUIREd·by·AM_INIT_AUTOMAKE. |
| | 45 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
| | 46 | [AM_AUTOMAKE_VERSION([1.16.5])dnl |
| | 47 | m4_ifndef([AC_AUTOCONF_VERSION], |
| | 48 | ··[m4_copy([m4_PACKAGE_VERSION],·[AC_AUTOCONF_VERSION])])dnl |
| | 49 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
| | |
| | 50 | #·Figure·out·how·to·run·the·assembler.······················-*-·Autoconf·-*- |
| | |
| | 51 | #·Copyright·(C)·2001-2021·Free·Software·Foundation,·Inc. |
| | 52 | # |
| | 53 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 54 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 55 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 56 | #·AM_PROG_AS |
| | 57 | #·---------- |
| | 58 | AC_DEFUN([AM_PROG_AS], |
| | 59 | [#·By·default·we·simply·use·the·C·compiler·to·build·assembly·code. |
| | 60 | AC_REQUIRE([AC_PROG_CC]) |
| | 61 | test·"${CCAS+set}"·=·set·||·CCAS=$CC |
| | 62 | test·"${CCASFLAGS+set}"·=·set·||·CCASFLAGS=$CFLAGS |
| | 63 | AC_ARG_VAR([CCAS],······[assembler·compiler·command·(defaults·to·CC)]) |
| | 64 | AC_ARG_VAR([CCASFLAGS],·[assembler·compiler·flags·(defaults·to·CFLAGS)]) |
| | 65 | _AM_IF_OPTION([no-dependencies],,·[_AM_DEPENDENCIES([CCAS])])dnl |
| | 66 | ]) |
| | |
| | 67 | #·AM_AUX_DIR_EXPAND·········································-*-·Autoconf·-*- |
| | |
| | 68 | #·Copyright·(C)·2001-2021·Free·Software·Foundation,·Inc. |
| | 69 | # |
| | 70 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 71 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 72 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 73 | #·For·projects·using·AC_CONFIG_AUX_DIR([foo]),·Autoconf·sets |
| | 74 | #·$ac_aux_dir·to·'$srcdir/foo'.··In·other·projects,·it·is·set·to |
| | 75 | #·'$srcdir',·'$srcdir/..',·or·'$srcdir/../..'. |
| | 76 | # |
| | 77 | #·Of·course,·Automake·must·honor·this·variable·whenever·it·calls·a |
| | 78 | #·tool·from·the·auxiliary·directory.··The·problem·is·that·$srcdir·(and |
| | 79 | #·therefore·$ac_aux_dir·as·well)·can·be·either·absolute·or·relative, |
| | 80 | #·depending·on·how·configure·is·run.··This·is·pretty·annoying,·since |
| | 81 | #·it·makes·$ac_aux_dir·quite·unusable·in·subdirectories:·in·the·top |
| | 82 | #·source·directory,·any·form·will·work·fine,·but·in·subdirectories·a |
| | 83 | #·relative·path·needs·to·be·adjusted·first. |
| | 84 | # |
| | 85 | #·$ac_aux_dir/missing |
| | 86 | #····fails·when·called·from·a·subdirectory·if·$ac_aux_dir·is·relative |
| | 87 | #·$top_srcdir/$ac_aux_dir/missing |
| | 88 | #····fails·if·$ac_aux_dir·is·absolute, |
| | 89 | #····fails·when·called·from·a·subdirectory·in·a·VPATH·build·with |
| | 90 | #··········a·relative·$ac_aux_dir |
| | 91 | # |
| | 92 | #·The·reason·of·the·latter·failure·is·that·$top_srcdir·and·$ac_aux_dir |
| | 93 | #·are·both·prefixed·by·$srcdir.··In·an·in-source·build·this·is·usually |
| | 94 | #·harmless·because·$srcdir·is·'.',·but·things·will·broke·when·you |
| | 95 | #·start·a·VPATH·build·or·use·an·absolute·$srcdir. |
| | 96 | # |
| | 97 | #·So·we·could·use·something·similar·to·$top_srcdir/$ac_aux_dir/missing, |
| | 98 | #·iff·we·strip·the·leading·$srcdir·from·$ac_aux_dir.··That·would·be: |
| | 99 | #···am_aux_dir='\$(top_srcdir)/'`expr·"$ac_aux_dir"·:·"$srcdir//*\(.*\)"` |
| | 100 | #·and·then·we·would·define·$MISSING·as |
| | 101 | #···MISSING="\${SHELL}·$am_aux_dir/missing" |
| | 102 | #·This·will·work·as·long·as·MISSING·is·not·called·from·configure,·because |
| | 103 | #·unfortunately·$(top_srcdir)·has·no·meaning·in·configure. |
| | 104 | #·However·there·are·other·variables,·like·CC,·which·are·often·used·in |
| | 105 | #·configure,·and·could·therefore·not·use·this·"fixed"·$ac_aux_dir. |
| | 106 | # |
| | 107 | #·Another·solution,·used·here,·is·to·always·expand·$ac_aux_dir·to·an |
| | 108 | #·absolute·PATH.··The·drawback·is·that·using·absolute·paths·prevent·a |
| | 109 | #·configured·tree·to·be·moved·without·reconfiguration. |
| | |
| | 110 | AC_DEFUN([AM_AUX_DIR_EXPAND], |
| | 111 | [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl |
| | 112 | #·Expand·$ac_aux_dir·to·an·absolute·path. |
| | 113 | am_aux_dir=`cd·"$ac_aux_dir"·&&·pwd` |
| | 114 | ]) |
| | |
| | 115 | #·AM_CONDITIONAL············································-*-·Autoconf·-*- |
| | |
| | 116 | #·Copyright·(C)·1997-2021·Free·Software·Foundation,·Inc. |
| | 117 | # |
| | 118 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 119 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 120 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 121 | #·AM_CONDITIONAL(NAME,·SHELL-CONDITION) |
| | 122 | #·------------------------------------- |
| | 123 | #·Define·a·conditional. |
| | 124 | AC_DEFUN([AM_CONDITIONAL], |
| | 125 | [AC_PREREQ([2.52])dnl |
| | 126 | ·m4_if([$1],·[TRUE],··[AC_FATAL([$0:·invalid·condition:·$1])], |
| | 127 | ·······[$1],·[FALSE],·[AC_FATAL([$0:·invalid·condition:·$1])])dnl |
| | 128 | AC_SUBST([$1_TRUE])dnl |
| | 129 | AC_SUBST([$1_FALSE])dnl |
| | 130 | _AM_SUBST_NOTMAKE([$1_TRUE])dnl |
| | 131 | _AM_SUBST_NOTMAKE([$1_FALSE])dnl |
| | 132 | m4_define([_AM_COND_VALUE_$1],·[$2])dnl |
| | 133 | if·$2;·then |
| | 134 | ··$1_TRUE= |
| | 135 | ··$1_FALSE='#' |
| | 136 | else |
| | 137 | ··$1_TRUE='#' |
| | 138 | ··$1_FALSE= |
| | 139 | fi |
| | 140 | AC_CONFIG_COMMANDS_PRE( |
| | 141 | [if·test·-z·"${$1_TRUE}"·&&·test·-z·"${$1_FALSE}";·then |
| | 142 | ··AC_MSG_ERROR([[conditional·"$1"·was·never·defined. |
| | 143 | Usually·this·means·the·macro·was·only·invoked·conditionally.]]) |
| | 144 | fi])]) |
| | |
| | 145 | #·Copyright·(C)·1999-2021·Free·Software·Foundation,·Inc. |
| | 146 | # |
| | 147 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 148 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 149 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | |
| | 150 | #·There·are·a·few·dirty·hacks·below·to·avoid·letting·'AC_PROG_CC'·be |
| | 151 | #·written·in·clear,·in·which·case·automake,·when·reading·aclocal.m4, |
| | 152 | #·will·think·it·sees·a·*use*,·and·therefore·will·trigger·all·it's |
| | 153 | #·C·support·machinery.··Also·note·that·it·means·that·autoscan,·seeing |
| | 154 | #·CC·etc.·in·the·Makefile,·will·ask·for·an·AC_PROG_CC·use... |
| | |
| | |
| | 155 | #·_AM_DEPENDENCIES(NAME) |
| | 156 | #·---------------------- |
| | 157 | #·See·how·the·compiler·implements·dependency·checking. |
| | 158 | #·NAME·is·"CC",·"CXX",·"OBJC",·"OBJCXX",·"UPC",·or·"GJC". |
| | 159 | #·We·try·a·few·techniques·and·use·that·to·set·a·single·cache·variable. |
| | 160 | # |
| | 161 | #·We·don't·AC_REQUIRE·the·corresponding·AC_PROG_CC·since·the·latter·was |
| | 162 | #·modified·to·invoke·_AM_DEPENDENCIES(CC);·we·would·have·a·circular |
| | 163 | #·dependency,·and·given·that·the·user·is·not·expected·to·run·this·macro, |
| | 164 | #·just·rely·on·AC_PROG_CC. |
| | 165 | AC_DEFUN([_AM_DEPENDENCIES], |
| | 166 | [AC_REQUIRE([AM_SET_DEPDIR])dnl |
| | 167 | AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
| | 168 | AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
| | 169 | AC_REQUIRE([AM_DEP_TRACK])dnl |
| | |
| | 170 | m4_if([$1],·[CC],···[depcc="$CC"···am_compiler_list=], |
| | 171 | ······[$1],·[CXX],··[depcc="$CXX"··am_compiler_list=], |
| | 172 | ······[$1],·[OBJC],·[depcc="$OBJC"·am_compiler_list='gcc3·gcc'], |
| | 173 | ······[$1],·[OBJCXX],·[depcc="$OBJCXX"·am_compiler_list='gcc3·gcc'], |
| | 174 | ······[$1],·[UPC],··[depcc="$UPC"··am_compiler_list=], |
| | 175 | ······[$1],·[GCJ],··[depcc="$GCJ"··am_compiler_list='gcc3·gcc'], |
| | 176 | ····················[depcc="$$1"···am_compiler_list=]) |
| | |
| | 177 | AC_CACHE_CHECK([dependency·style·of·$depcc], |
| | 178 | ···············[am_cv_$1_dependencies_compiler_type], |
| | 179 | [if·test·-z·"$AMDEP_TRUE"·&&·test·-f·"$am_depcomp";·then |
| | 180 | ··#·We·make·a·subdir·and·do·the·tests·there.··Otherwise·we·can·end·up |
| | 181 | ··#·making·bogus·files·that·we·don't·know·about·and·never·remove.··For |
| | 182 | ··#·instance·it·was·reported·that·on·HP-UX·the·gcc·test·will·end·up |
| | 183 | ··#·making·a·dummy·file·named·'D'·--·because·'-MD'·means·"put·the·output |
| | 184 | ··#·in·D". |
| | 185 | ··rm·-rf·conftest.dir |
| | 186 | ··mkdir·conftest.dir |
| | 187 | ··#·Copy·depcomp·to·subdir·because·otherwise·we·won't·find·it·if·we're |
| | 188 | ··#·using·a·relative·directory. |
| | 189 | ··cp·"$am_depcomp"·conftest.dir |
| | 190 | ··cd·conftest.dir |
| | 191 | ··#·We·will·build·objects·and·dependencies·in·a·subdirectory·because |
| | 192 | ··#·it·helps·to·detect·inapplicable·dependency·modes.··For·instance |
| | 193 | ··#·both·Tru64's·cc·and·ICC·support·-MD·to·output·dependencies·as·a |
| | 194 | ··#·side·effect·of·compilation,·but·ICC·will·put·the·dependencies·in |
| | 195 | ··#·the·current·directory·while·Tru64·will·put·them·in·the·object |
| | 196 | ··#·directory. |
| | 197 | ··mkdir·sub |
| | |
| | 198 | ··am_cv_$1_dependencies_compiler_type=none |
| | 199 | ··if·test·"$am_compiler_list"·=·"";·then |
| | 200 | ·····am_compiler_list=`sed·-n·['s/^#*\([a-zA-Z0-9]*\))$/\1/p']·<·./depcomp` |
| | 201 | ··fi |
| | 202 | ··am__universal=false |
| | 203 | ··m4_case([$1],·[CC], |
| | 204 | ····[case·"·$depcc·"·in·#( |
| | 205 | ·····*\·-arch\·*\·-arch\·*)·am__universal=true·;; |
| | 206 | ·····esac], |
| | 207 | ····[CXX], |
| | 208 | ····[case·"·$depcc·"·in·#( |
| | 209 | ·····*\·-arch\·*\·-arch\·*)·am__universal=true·;; |
| | 210 | ·····esac]) |
| | |
| | 211 | ··for·depmode·in·$am_compiler_list;·do |
| | 212 | ····#·Setup·a·source·with·many·dependencies,·because·some·compilers |
| | 213 | ····#·like·to·wrap·large·dependency·lists·on·column·80·(with·\),·and |
| | 214 | ····#·we·should·not·choose·a·depcomp·mode·which·is·confused·by·this. |
| | 215 | ····# |
| | 216 | ····#·We·need·to·recreate·these·files·for·each·test,·as·the·compiler·may |
| | 217 | ····#·overwrite·some·of·them·when·testing·with·obscure·command·lines. |
| | 218 | ····#·This·happens·at·least·with·the·AIX·C·compiler. |
| | 219 | ····:·>·sub/conftest.c |
| | 220 | ····for·i·in·1·2·3·4·5·6;·do |
| | 221 | ······echo·'#include·"conftst'$i'.h"'·>>·sub/conftest.c |
| | 222 | ······#·Using·":·>·sub/conftst$i.h"·creates·only·sub/conftst1.h·with |
| | 223 | ······#·Solaris·10·/bin/sh. |
| | 224 | ······echo·'/*·dummy·*/'·>·sub/conftst$i.h |
| | 225 | ····done |
| | 226 | ····echo·"${am__include}·${am__quote}sub/conftest.Po${am__quote}"·>·confmf |
| | |
| | 227 | ····#·We·check·with·'-c'·and·'-o'·for·the·sake·of·the·"dashmstdout" |
| | 228 | ····#·mode.··It·turns·out·that·the·SunPro·C++·compiler·does·not·properly |
| | 229 | ····#·handle·'-M·-o',·and·we·need·to·detect·this.··Also,·some·Intel |
| | 230 | ····#·versions·had·trouble·with·output·in·subdirs. |
| | 231 | ····am__obj=sub/conftest.${OBJEXT-o} |
| | 232 | ····am__minus_obj="-o·$am__obj" |
| | 233 | ····case·$depmode·in |
| | 234 | ····gcc) |
| | 235 | ······#·This·depmode·causes·a·compiler·race·in·universal·mode. |
| | 236 | ······test·"$am__universal"·=·false·||·continue |
| | 237 | ······;; |
| | 238 | ····nosideeffect) |
| | 239 | ······#·After·this·tag,·mechanisms·are·not·by·side-effect,·so·they'll |
| | 240 | ······#·only·be·used·when·explicitly·requested. |
| | 241 | ······if·test·"x$enable_dependency_tracking"·=·xyes;·then |
| | 242 | » continue |
| | 243 | ······else |
| | 244 | » break |
| | 245 | ······fi |
| | 246 | ······;; |
| | 247 | ····msvc7·|·msvc7msys·|·msvisualcpp·|·msvcmsys) |
| | 248 | ······#·This·compiler·won't·grok·'-c·-o',·but·also,·the·minuso·test·has |
| | 249 | ······#·not·run·yet.··These·depmodes·are·late·enough·in·the·game,·and |
| | 250 | ······#·so·weak·that·their·functioning·should·not·be·impacted. |
| | 251 | ······am__obj=conftest.${OBJEXT-o} |
| | 252 | ······am__minus_obj= |
| | 253 | ······;; |
| | 254 | ····none)·break·;; |
| | 255 | ····esac |
| | 256 | ····if·depmode=$depmode·\ |
| | 257 | ·······source=sub/conftest.c·object=$am__obj·\ |
| | 258 | ·······depfile=sub/conftest.Po·tmpdepfile=sub/conftest.TPo·\ |
| | 259 | ·······$SHELL·./depcomp·$depcc·-c·$am__minus_obj·sub/conftest.c·\ |
| | 260 | ·········>/dev/null·2>conftest.err·&& |
| | 261 | ·······grep·sub/conftst1.h·sub/conftest.Po·>·/dev/null·2>&1·&& |
| | 262 | ·······grep·sub/conftst6.h·sub/conftest.Po·>·/dev/null·2>&1·&& |
| | 263 | ·······grep·$am__obj·sub/conftest.Po·>·/dev/null·2>&1·&& |
| | 264 | ·······${MAKE-make}·-s·-f·confmf·>·/dev/null·2>&1;·then |
| | 265 | ······#·icc·doesn't·choke·on·unknown·options,·it·will·just·issue·warnings |
| | 266 | ······#·or·remarks·(even·with·-Werror).··So·we·grep·stderr·for·any·message |
| | 267 | ······#·that·says·an·option·was·ignored·or·not·supported. |
| | 268 | ······#·When·given·-MP,·icc·7.0·and·7.1·complain·thusly: |
| | 269 | ······#···icc:·Command·line·warning:·ignoring·option·'-M';·no·argument·required |
| | 270 | ······#·The·diagnosis·changed·in·icc·8.0: |
| | 271 | ······#···icc:·Command·line·remark:·option·'-MP'·not·supported |
| | 272 | ······if·(grep·'ignoring·option'·conftest.err·|| |
| | 273 | ··········grep·'not·supported'·conftest.err)·>/dev/null·2>&1;·then·:;·else |
| | 274 | ········am_cv_$1_dependencies_compiler_type=$depmode |
| | 275 | ········break |
| | 276 | ······fi |
| | 277 | ····fi |
| | 278 | ··done |
| | |
| | 279 | ··cd·.. |
| | 280 | ··rm·-rf·conftest.dir |
| | 281 | else |
| | 282 | ··am_cv_$1_dependencies_compiler_type=none |
| | 283 | fi |
| | 284 | ]) |
| | 285 | AC_SUBST([$1DEPMODE],·[depmode=$am_cv_$1_dependencies_compiler_type]) |
| | 286 | AM_CONDITIONAL([am__fastdep$1],·[ |
| | 287 | ··test·"x$enable_dependency_tracking"·!=·xno·\ |
| | 288 | ··&&·test·"$am_cv_$1_dependencies_compiler_type"·=·gcc3]) |
| | 289 | ]) |
| | |
| | |
| | 290 | #·AM_SET_DEPDIR |
| | 291 | #·------------- |
| | 292 | #·Choose·a·directory·name·for·dependency·files. |
| | 293 | #·This·macro·is·AC_REQUIREd·in·_AM_DEPENDENCIES. |
| | 294 | AC_DEFUN([AM_SET_DEPDIR], |
| | 295 | [AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
| | 296 | AC_SUBST([DEPDIR],·["${am__leading_dot}deps"])dnl |
| | 297 | ]) |
| | |
| | |
| | 298 | #·AM_DEP_TRACK |
| | 299 | #·------------ |
| | 300 | AC_DEFUN([AM_DEP_TRACK], |
| | 301 | [AC_ARG_ENABLE([dependency-tracking],·[dnl |
| | 302 | AS_HELP_STRING( |
| | 303 | ··[--enable-dependency-tracking], |
| | 304 | ··[do·not·reject·slow·dependency·extractors]) |
| | 305 | AS_HELP_STRING( |
| | 306 | ··[--disable-dependency-tracking], |
| | 307 | ··[speeds·up·one-time·build])]) |
| | 308 | if·test·"x$enable_dependency_tracking"·!=·xno;·then |
| | 309 | ··am_depcomp="$ac_aux_dir/depcomp" |
| | 310 | ··AMDEPBACKSLASH='\' |
| | 311 | ··am__nodep='_no' |
| | 312 | fi |
| | 313 | AM_CONDITIONAL([AMDEP],·[test·"x$enable_dependency_tracking"·!=·xno]) |
| | 314 | AC_SUBST([AMDEPBACKSLASH])dnl |
| | 315 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
| | 316 | AC_SUBST([am__nodep])dnl |
| | 317 | _AM_SUBST_NOTMAKE([am__nodep])dnl |
| | 318 | ]) |
| | |
| | 319 | #·Generate·code·to·set·up·dependency·tracking.··············-*-·Autoconf·-*- |
| | |
| | 320 | #·Copyright·(C)·1999-2021·Free·Software·Foundation,·Inc. |
| | 321 | # |
| | 322 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 323 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 324 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 325 | #·_AM_OUTPUT_DEPENDENCY_COMMANDS |
| | 326 | #·------------------------------ |
| | 327 | AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
| | 328 | [{ |
| | 329 | ··#·Older·Autoconf·quotes·--file·arguments·for·eval,·but·not·when·files |
| | 330 | ··#·are·listed·without·--file.··Let's·play·safe·and·only·enable·the·eval |
| | 331 | ··#·if·we·detect·the·quoting. |
| | 332 | ··#·TODO:·see·whether·this·extra·hack·can·be·removed·once·we·start |
| | 333 | ··#·requiring·Autoconf·2.70·or·later. |
| | 334 | ··AS_CASE([$CONFIG_FILES], |
| | 335 | ··········[*\'*],·[eval·set·x·"$CONFIG_FILES"], |
| | 336 | ··········[*],·[set·x·$CONFIG_FILES]) |
| | 337 | ··shift |
| | 338 | ··#·Used·to·flag·and·report·bootstrapping·failures. |
| | 339 | ··am_rc=0 |
| | 340 | ··for·am_mf |
| | 341 | ··do |
| | 342 | ····#·Strip·MF·so·we·end·up·with·the·name·of·the·file. |
| | 343 | ····am_mf=`AS_ECHO(["$am_mf"])·|·sed·-e·'s/:.*$//'` |
| | 344 | ····#·Check·whether·this·is·an·Automake·generated·Makefile·which·includes |
| | 345 | ····#·dependency-tracking·related·rules·and·includes. |
| | 346 | ····#·Grep'ing·the·whole·file·directly·is·not·great:·AIX·grep·has·a·line |
| | 347 | ····#·limit·of·2048,·but·all·sed's·we·know·have·understand·at·least·4000. |
| | 348 | ····sed·-n·'s,^am--depfiles:.*,X,p'·"$am_mf"·|·grep·X·>/dev/null·2>&1·\ |
| | 349 | ······||·continue |
| | 350 | ····am_dirpart=`AS_DIRNAME(["$am_mf"])` |
| | 351 | ····am_filepart=`AS_BASENAME(["$am_mf"])` |
| | 352 | ····AM_RUN_LOG([cd·"$am_dirpart"·\ |
| | 353 | ······&&·sed·-e·'/#·am--include-marker/d'·"$am_filepart"·\ |
| | 354 | ········|·$MAKE·-f·-·am--depfiles])·||·am_rc=$? |
| | 355 | ··done |
| | 356 | ··if·test·$am_rc·-ne·0;·then |
| | 357 | ····AC_MSG_FAILURE([Something·went·wrong·bootstrapping·makefile·fragments |
| | 358 | ····for·automatic·dependency·tracking.··If·GNU·make·was·not·used,·consider |
| | 359 | ····re-running·the·configure·script·with·MAKE="gmake"·(or·whatever·is |
| | 360 | ····necessary).··You·can·also·try·re-running·configure·with·the |
| | 361 | ····'--disable-dependency-tracking'·option·to·at·least·be·able·to·build |
| | 362 | ····the·package·(albeit·without·support·for·automatic·dependency·tracking).]) |
| | 363 | ··fi |
| | 364 | ··AS_UNSET([am_dirpart]) |
| | 365 | ··AS_UNSET([am_filepart]) |
| | 366 | ··AS_UNSET([am_mf]) |
| | 367 | ··AS_UNSET([am_rc]) |
| | 368 | ··rm·-f·conftest-deps.mk |
| | 369 | } |
| | 370 | ])#·_AM_OUTPUT_DEPENDENCY_COMMANDS |
| | |
| | |
| | 371 | #·AM_OUTPUT_DEPENDENCY_COMMANDS |
| | 372 | #·----------------------------- |
| | 373 | #·This·macro·should·only·be·invoked·once·--·use·via·AC_REQUIRE. |
| | 374 | # |
| | 375 | #·This·code·is·only·required·when·automatic·dependency·tracking·is·enabled. |
| | 376 | #·This·creates·each·'.Po'·and·'.Plo'·makefile·fragment·that·we'll·need·in |
| | 377 | #·order·to·bootstrap·the·dependency·handling·code. |
| | 378 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
| | 379 | [AC_CONFIG_COMMANDS([depfiles], |
| | 380 | ·····[test·x"$AMDEP_TRUE"·!=·x""·||·_AM_OUTPUT_DEPENDENCY_COMMANDS], |
| | 381 | ·····[AMDEP_TRUE="$AMDEP_TRUE"·MAKE="${MAKE-make}"])]) |
| | |
| | 382 | #·Do·all·the·work·for·Automake.·····························-*-·Autoconf·-*- |
| | |
| | 383 | #·Copyright·(C)·1996-2021·Free·Software·Foundation,·Inc. |
| | 384 | # |
| | 385 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 386 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 387 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 388 | #·This·macro·actually·does·too·much.··Some·checks·are·only·needed·if |
| | 389 | #·your·package·does·certain·things.··But·this·isn't·really·a·big·deal. |
| | |
| | 390 | dnl·Redefine·AC_PROG_CC·to·automatically·invoke·_AM_PROG_CC_C_O. |
| | 391 | m4_define([AC_PROG_CC], |
| | 392 | m4_defn([AC_PROG_CC]) |
| | 393 | [_AM_PROG_CC_C_O |
| | 394 | ]) |
| | |
| | 395 | #·AM_INIT_AUTOMAKE(PACKAGE,·VERSION,·[NO-DEFINE]) |
| | 396 | #·AM_INIT_AUTOMAKE([OPTIONS]) |
| | 397 | #·----------------------------------------------- |
| | 398 | #·The·call·with·PACKAGE·and·VERSION·arguments·is·the·old·style |
| | 399 | #·call·(pre·autoconf-2.50),·which·is·being·phased·out.··PACKAGE |
| | 400 | #·and·VERSION·should·now·be·passed·to·AC_INIT·and·removed·from |
| | 401 | #·the·call·to·AM_INIT_AUTOMAKE. |
| | 402 | #·We·support·both·call·styles·for·the·transition.··After |
| | 403 | #·the·next·Automake·release,·Autoconf·can·make·the·AC_INIT |
| | 404 | #·arguments·mandatory,·and·then·we·can·depend·on·a·new·Autoconf |
| | 405 | #·release·and·drop·the·old·call·support. |
| | 406 | AC_DEFUN([AM_INIT_AUTOMAKE], |
| | 407 | [AC_PREREQ([2.65])dnl |
| | 408 | m4_ifdef([_$0_ALREADY_INIT], |
| | 409 | ··[m4_fatal([$0·expanded·multiple·times |
| | 410 | ]m4_defn([_$0_ALREADY_INIT]))], |
| | 411 | ··[m4_define([_$0_ALREADY_INIT],·m4_expansion_stack)])dnl |
| | 412 | dnl·Autoconf·wants·to·disallow·AM_·names.··We·explicitly·allow |
| | 413 | dnl·the·ones·we·care·about. |
| | 414 | m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
| | 415 | AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
| | 416 | AC_REQUIRE([AC_PROG_INSTALL])dnl |
| | 417 | if·test·"`cd·$srcdir·&&·pwd`"·!=·"`pwd`";·then |
| | 418 | ··#·Use·-I$(srcdir)·only·when·$(srcdir)·!=·.,·so·that·make's·output |
| | 419 | ··#·is·not·polluted·with·repeated·"-I." |
| | 420 | ··AC_SUBST([am__isrc],·['·-I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
| | 421 | ··#·test·to·see·if·srcdir·already·configured |
| | 422 | ··if·test·-f·$srcdir/config.status;·then |
| | 423 | ····AC_MSG_ERROR([source·directory·already·configured;·run·"make·distclean"·there·first]) |
| | 424 | ··fi |
| | 425 | fi |
| | |
| | 426 | #·test·whether·we·have·cygpath |
| | 427 | if·test·-z·"$CYGPATH_W";·then |
| | 428 | ··if·(cygpath·--version)·>/dev/null·2>/dev/null;·then |
| | 429 | ····CYGPATH_W='cygpath·-w' |
| | 430 | ··else |
| | 431 | ····CYGPATH_W=echo |
| | 432 | ··fi |
| | 433 | fi |
| | 434 | AC_SUBST([CYGPATH_W]) |
| | |
| | 435 | #·Define·the·identity·of·the·package. |
| | 436 | dnl·Distinguish·between·old-style·and·new-style·calls. |
| | 437 | m4_ifval([$2], |
| | 438 | [AC_DIAGNOSE([obsolete], |
| | 439 | ·············[$0:·two-·and·three-arguments·forms·are·deprecated.]) |
| | 440 | m4_ifval([$3],·[_AM_SET_OPTION([no-define])])dnl |
| | 441 | ·AC_SUBST([PACKAGE],·[$1])dnl |
| | 442 | ·AC_SUBST([VERSION],·[$2])], |
| | 443 | [_AM_SET_OPTIONS([$1])dnl |
| | 444 | dnl·Diagnose·old-style·AC_INIT·with·new-style·AM_AUTOMAKE_INIT. |
| | 445 | m4_if( |
| | 446 | ··m4_ifset([AC_PACKAGE_NAME],·[ok]):m4_ifset([AC_PACKAGE_VERSION],·[ok]), |
| | 447 | ··[ok:ok],, |
| | 448 | ··[m4_fatal([AC_INIT·should·be·called·with·package·and·version·arguments])])dnl |
| | 449 | ·AC_SUBST([PACKAGE],·['AC_PACKAGE_TARNAME'])dnl |
| | 450 | ·AC_SUBST([VERSION],·['AC_PACKAGE_VERSION'])])dnl |
| | |
| | 451 | _AM_IF_OPTION([no-define],, |
| | 452 | [AC_DEFINE_UNQUOTED([PACKAGE],·["$PACKAGE"],·[Name·of·package]) |
| | 453 | ·AC_DEFINE_UNQUOTED([VERSION],·["$VERSION"],·[Version·number·of·package])])dnl |
| | |
| | 454 | #·Some·tools·Automake·needs. |
| | 455 | AC_REQUIRE([AM_SANITY_CHECK])dnl |
| | 456 | AC_REQUIRE([AC_ARG_PROGRAM])dnl |
| | 457 | AM_MISSING_PROG([ACLOCAL],·[aclocal-${am__api_version}]) |
| | 458 | AM_MISSING_PROG([AUTOCONF],·[autoconf]) |
| | 459 | AM_MISSING_PROG([AUTOMAKE],·[automake-${am__api_version}]) |
| | 460 | AM_MISSING_PROG([AUTOHEADER],·[autoheader]) |
| | 461 | AM_MISSING_PROG([MAKEINFO],·[makeinfo]) |
| | 462 | AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
| | 463 | AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
| | 464 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
| | 465 | #·For·better·backward·compatibility.··To·be·removed·once·Automake·1.9.x |
| | 466 | #·dies·out·for·good.··For·more·background,·see: |
| | 467 | #·<https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| | 468 | #·<https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| | 469 | AC_SUBST([mkdir_p],·['$(MKDIR_P)']) |
| | 470 | #·We·need·awk·for·the·"check"·target·(and·possibly·the·TAP·driver).··The |
| | 471 | #·system·"awk"·is·bad·on·some·platforms. |
| | 472 | AC_REQUIRE([AC_PROG_AWK])dnl |
| | 473 | AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
| | 474 | AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
| | 475 | _AM_IF_OPTION([tar-ustar],·[_AM_PROG_TAR([ustar])], |
| | 476 | » ······[_AM_IF_OPTION([tar-pax],·[_AM_PROG_TAR([pax])], |
| | 477 | » » » ·····[_AM_PROG_TAR([v7])])]) |
| | 478 | _AM_IF_OPTION([no-dependencies],, |
| | 479 | [AC_PROVIDE_IFELSE([AC_PROG_CC], |
| | 480 | » » ··[_AM_DEPENDENCIES([CC])], |
| | 481 | » » ··[m4_define([AC_PROG_CC], |
| | 482 | » » » ·····m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl |
| | 483 | AC_PROVIDE_IFELSE([AC_PROG_CXX], |
| | 484 | » » ··[_AM_DEPENDENCIES([CXX])], |
| | 485 | » » ··[m4_define([AC_PROG_CXX], |
| | 486 | » » » ·····m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl |
| | 487 | AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
| | 488 | » » ··[_AM_DEPENDENCIES([OBJC])], |
| | 489 | » » ··[m4_define([AC_PROG_OBJC], |
| | 490 | » » » ·····m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl |
| | 491 | AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], |
| | 492 | » » ··[_AM_DEPENDENCIES([OBJCXX])], |
| | 493 | » » ··[m4_define([AC_PROG_OBJCXX], |
| | 494 | » » » ·····m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl |
| | 495 | ]) |
| | 496 | #·Variables·for·tags·utilities;·see·am/tags.am |
| | 497 | if·test·-z·"$CTAGS";·then |
| | 498 | ··CTAGS=ctags |
| | 499 | fi |
| | 500 | AC_SUBST([CTAGS]) |
| | 501 | if·test·-z·"$ETAGS";·then |
| | 502 | ··ETAGS=etags |
| | 503 | fi |
| | 504 | AC_SUBST([ETAGS]) |
| | 505 | if·test·-z·"$CSCOPE";·then |
| | 506 | ··CSCOPE=cscope |
| | 507 | fi |
| | 508 | AC_SUBST([CSCOPE]) |
| | |
| | 509 | AC_REQUIRE([AM_SILENT_RULES])dnl |
| | 510 | dnl·The·testsuite·driver·may·need·to·know·about·EXEEXT,·so·add·the |
| | 511 | dnl·'am__EXEEXT'·conditional·if·_AM_COMPILER_EXEEXT·was·seen.··This |
| | 512 | dnl·macro·is·hooked·onto·_AC_COMPILER_EXEEXT·early,·see·below. |
| | 513 | AC_CONFIG_COMMANDS_PRE(dnl |
| | 514 | [m4_provide_if([_AM_COMPILER_EXEEXT], |
| | 515 | ··[AM_CONDITIONAL([am__EXEEXT],·[test·-n·"$EXEEXT"])])])dnl |
| | |
| | 516 | #·POSIX·will·say·in·a·future·version·that·running·"rm·-f"·with·no·argument |
| | 517 | #·is·OK;·and·we·want·to·be·able·to·make·that·assumption·in·our·Makefile |
| | 518 | #·recipes.··So·use·an·aggressive·probe·to·check·that·the·usage·we·want·is |
| | 519 | #·actually·supported·"in·the·wild"·to·an·acceptable·degree. |
| | 520 | #·See·automake·bug#10828. |
| | 521 | #·To·make·any·issue·more·visible,·cause·the·running·configure·to·be·aborted |
| | 522 | #·by·default·if·the·'rm'·program·in·use·doesn't·match·our·expectations;·the |
| | 523 | #·user·can·still·override·this·though. |
| | 524 | if·rm·-f·&&·rm·-fr·&&·rm·-rf;·then·:·OK;·else |
| | 525 | ··cat·>&2·<<'END' |
| | 526 | Oops! |
| | |
| | 527 | Your·'rm'·program·seems·unable·to·run·without·file·operands·specified |
| | 528 | on·the·command·line,·even·when·the·'-f'·option·is·present.··This·is·contrary |
| | 529 | to·the·behaviour·of·most·rm·programs·out·there,·and·not·conforming·with |
| | 530 | the·upcoming·POSIX·standard:·<http://austingroupbugs.net/view.php?id=542> |
| | |
| | 531 | Please·tell·bug-automake@gnu.org·about·your·system,·including·the·value |
| | 532 | of·your·$PATH·and·any·error·possibly·output·before·this·message.··This |
| | 533 | can·help·us·improve·future·automake·versions. |
| | |
| | 534 | END |
| | 535 | ··if·test·x"$ACCEPT_INFERIOR_RM_PROGRAM"·=·x"yes";·then |
| | 536 | ····echo·'Configuration·will·proceed·anyway,·since·you·have·set·the'·>&2 |
| | 537 | ····echo·'ACCEPT_INFERIOR_RM_PROGRAM·variable·to·"yes"'·>&2 |
| | 538 | ····echo·>&2 |
| | 539 | ··else |
| | 540 | ····cat·>&2·<<'END' |
| | 541 | Aborting·the·configuration·process,·to·ensure·you·take·notice·of·the·issue. |
| | |
| | 542 | You·can·download·and·install·GNU·coreutils·to·get·an·'rm'·implementation |
| | 543 | that·behaves·properly:·<https://www.gnu.org/software/coreutils/>. |
| | |
| | 544 | If·you·want·to·complete·the·configuration·process·using·your·problematic |
| | 545 | 'rm'·anyway,·export·the·environment·variable·ACCEPT_INFERIOR_RM_PROGRAM |
| | 546 | to·"yes",·and·re-run·configure. |
| | |
| | 547 | END |
| | 548 | ····AC_MSG_ERROR([Your·'rm'·program·is·bad,·sorry.]) |
| | 549 | ··fi |
| | 550 | fi |
| | 551 | dnl·The·trailing·newline·in·this·macro's·definition·is·deliberate,·for |
| | 552 | dnl·backward·compatibility·and·to·allow·trailing·'dnl'-style·comments |
| | 553 | dnl·after·the·AM_INIT_AUTOMAKE·invocation.·See·automake·bug#16841. |
| | 554 | ]) |
| | |
| | 555 | dnl·Hook·into·'_AC_COMPILER_EXEEXT'·early·to·learn·its·expansion.··Do·not |
| | 556 | dnl·add·the·conditional·right·here,·as·_AC_COMPILER_EXEEXT·may·be·further |
| | 557 | dnl·mangled·by·Autoconf·and·run·in·a·shell·conditional·statement. |
| | 558 | m4_define([_AC_COMPILER_EXEEXT], |
| | 559 | m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
| | |
| | 560 | #·When·config.status·generates·a·header,·we·must·update·the·stamp-h·file. |
| | 561 | #·This·file·resides·in·the·same·directory·as·the·config·header |
| | 562 | #·that·is·generated.··The·stamp·files·are·numbered·to·have·different·names. |
| | |
| | 563 | #·Autoconf·calls·_AC_AM_CONFIG_HEADER_HOOK·(when·defined)·in·the |
| | 564 | #·loop·where·config.status·creates·the·headers,·so·we·can·generate |
| | 565 | #·our·stamp·files·there. |
| | 566 | AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
| | 567 | [#·Compute·$1's·index·in·$config_headers. |
| | 568 | _am_arg=$1 |
| | 569 | _am_stamp_count=1 |
| | 570 | for·_am_header·in·$config_headers·:;·do |
| | 571 | ··case·$_am_header·in |
| | 572 | ····$_am_arg·|·$_am_arg:*·) |
| | 573 | ······break·;; |
| | 574 | ····*·) |
| | 575 | ······_am_stamp_count=`expr·$_am_stamp_count·+·1`·;; |
| | 576 | ··esac |
| | 577 | done |
| | 578 | echo·"timestamp·for·$_am_arg"·>`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
| | |
| | 579 | #·Copyright·(C)·2001-2021·Free·Software·Foundation,·Inc. |
| | 580 | # |
| | 581 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 582 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 583 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 584 | #·AM_PROG_INSTALL_SH |
| | 585 | #·------------------ |
| | 586 | #·Define·$install_sh. |
| | 587 | AC_DEFUN([AM_PROG_INSTALL_SH], |
| | 588 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| | 589 | if·test·x"${install_sh+set}"·!=·xset;·then |
| | 590 | ··case·$am_aux_dir·in |
| | 591 | ··*\·*·|·*\» *) |
| | 592 | ····install_sh="\${SHELL}·'$am_aux_dir/install-sh'"·;; |
| | 593 | ··*) |
| | 594 | ····install_sh="\${SHELL}·$am_aux_dir/install-sh" |
| | 595 | ··esac |
| | 596 | fi |
| | 597 | AC_SUBST([install_sh])]) |
| | |
| | 598 | #·Copyright·(C)·2003-2021·Free·Software·Foundation,·Inc. |
| | 599 | # |
| | 600 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 601 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 602 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 603 | #·Check·whether·the·underlying·file-system·supports·filenames |
| | 604 | #·with·a·leading·dot.··For·instance·MS-DOS·doesn't. |
| | 605 | AC_DEFUN([AM_SET_LEADING_DOT], |
| | 606 | [rm·-rf·.tst·2>/dev/null |
| | 607 | mkdir·.tst·2>/dev/null |
| | 608 | if·test·-d·.tst;·then |
| | 609 | ··am__leading_dot=. |
| | 610 | else |
| | 611 | ··am__leading_dot=_ |
| | 612 | fi |
| | 613 | rmdir·.tst·2>/dev/null |
| | 614 | AC_SUBST([am__leading_dot])]) |
| | |
| | 615 | #·Check·to·see·how·'make'·treats·includes.» ············-*-·Autoconf·-*- |
| | |
| | 616 | #·Copyright·(C)·2001-2021·Free·Software·Foundation,·Inc. |
| | 617 | # |
| | 618 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 619 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 620 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 621 | #·AM_MAKE_INCLUDE() |
| | 622 | #·----------------- |
| | 623 | #·Check·whether·make·has·an·'include'·directive·that·can·support·all |
| | 624 | #·the·idioms·we·need·for·our·automatic·dependency·tracking·code. |
| | 625 | AC_DEFUN([AM_MAKE_INCLUDE], |
| | 626 | [AC_MSG_CHECKING([whether·${MAKE-make}·supports·the·include·directive]) |
| | 627 | cat·>·confinc.mk·<<·'END' |
| | 628 | am__doit: |
| | 629 | » @echo·this·is·the·am__doit·target·>confinc.out |
| | 630 | .PHONY:·am__doit |
| | 631 | END |
| | 632 | am__include="#" |
| | 633 | am__quote= |
| | 634 | #·BSD·make·does·it·like·this. |
| | 635 | echo·'.include·"confinc.mk"·#·ignored'·>·confmf.BSD |
| | 636 | #·Other·make·implementations·(GNU,·Solaris·10,·AIX)·do·it·like·this. |
| | 637 | echo·'include·confinc.mk·#·ignored'·>·confmf.GNU |
| | 638 | _am_result=no |
| | 639 | for·s·in·GNU·BSD;·do |
| | 640 | ··AM_RUN_LOG([${MAKE-make}·-f·confmf.$s·&&·cat·confinc.out]) |
| | 641 | ··AS_CASE([$?:`cat·confinc.out·2>/dev/null`], |
| | 642 | ······['0:this·is·the·am__doit·target'], |
| | 643 | ······[AS_CASE([$s], |
| | 644 | ··········[BSD],·[am__include='.include'·am__quote='"'], |
| | 645 | ··········[am__include='include'·am__quote=''])]) |
| | 646 | ··if·test·"$am__include"·!=·"#";·then |
| | 647 | ····_am_result="yes·($s·style)" |
| | 648 | ····break |
| | 649 | ··fi |
| | 650 | done |
| | 651 | rm·-f·confinc.*·confmf.* |
| | 652 | AC_MSG_RESULT([${_am_result}]) |
| | 653 | AC_SUBST([am__include])]) |
| | 654 | AC_SUBST([am__quote])]) |
| | |
| | 655 | #·Fake·the·existence·of·programs·that·GNU·maintainers·use.··-*-·Autoconf·-*- |
| | |
| | 656 | #·Copyright·(C)·1997-2021·Free·Software·Foundation,·Inc. |
| | 657 | # |
| | 658 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 659 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 660 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 661 | #·AM_MISSING_PROG(NAME,·PROGRAM) |
| | 662 | #·------------------------------ |
| | 663 | AC_DEFUN([AM_MISSING_PROG], |
| | 664 | [AC_REQUIRE([AM_MISSING_HAS_RUN]) |
| | 665 | $1=${$1-"${am_missing_run}$2"} |
| | 666 | AC_SUBST($1)]) |
| | |
| | 667 | #·AM_MISSING_HAS_RUN |
| | 668 | #·------------------ |
| | 669 | #·Define·MISSING·if·not·defined·so·far·and·test·if·it·is·modern·enough. |
| | 670 | #·If·it·is,·set·am_missing_run·to·use·it,·otherwise,·to·nothing. |
| | 671 | AC_DEFUN([AM_MISSING_HAS_RUN], |
| | 672 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| | 673 | AC_REQUIRE_AUX_FILE([missing])dnl |
| | 674 | if·test·x"${MISSING+set}"·!=·xset;·then |
| | 675 | ··MISSING="\${SHELL}·'$am_aux_dir/missing'" |
| | 676 | fi |
| | 677 | #·Use·eval·to·expand·$SHELL |
| | 678 | if·eval·"$MISSING·--is-lightweight";·then |
| | 679 | ··am_missing_run="$MISSING·" |
| | 680 | else |
| | 681 | ··am_missing_run= |
| | 682 | ··AC_MSG_WARN(['missing'·script·is·too·old·or·missing]) |
| | 683 | fi |
| | 684 | ]) |
| | |
| | 685 | #·Helper·functions·for·option·handling.·····················-*-·Autoconf·-*- |
| | |
| | 686 | #·Copyright·(C)·2001-2021·Free·Software·Foundation,·Inc. |
| | 687 | # |
| | 688 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 689 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 690 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 691 | #·_AM_MANGLE_OPTION(NAME) |
| | 692 | #·----------------------- |
| | 693 | AC_DEFUN([_AM_MANGLE_OPTION], |
| | 694 | [[_AM_OPTION_]m4_bpatsubst($1,·[[^a-zA-Z0-9_]],·[_])]) |
| | |
| | 695 | #·_AM_SET_OPTION(NAME) |
| | 696 | #·-------------------- |
| | 697 | #·Set·option·NAME.··Presently·that·only·means·defining·a·flag·for·this·option. |
| | 698 | AC_DEFUN([_AM_SET_OPTION], |
| | 699 | [m4_define(_AM_MANGLE_OPTION([$1]),·[1])]) |
| | |
| | 700 | #·_AM_SET_OPTIONS(OPTIONS) |
| | 701 | #·------------------------ |
| | 702 | #·OPTIONS·is·a·space-separated·list·of·Automake·options. |
| | 703 | AC_DEFUN([_AM_SET_OPTIONS], |
| | 704 | [m4_foreach_w([_AM_Option],·[$1],·[_AM_SET_OPTION(_AM_Option)])]) |
| | |
| | 705 | #·_AM_IF_OPTION(OPTION,·IF-SET,·[IF-NOT-SET]) |
| | 706 | #·------------------------------------------- |
| | 707 | #·Execute·IF-SET·if·OPTION·is·set,·IF-NOT-SET·otherwise. |
| | 708 | AC_DEFUN([_AM_IF_OPTION], |
| | 709 | [m4_ifset(_AM_MANGLE_OPTION([$1]),·[$2],·[$3])]) |
| | |
| | 710 | #·Copyright·(C)·1999-2021·Free·Software·Foundation,·Inc. |
| | 711 | # |
| | 712 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 713 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 714 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 715 | #·_AM_PROG_CC_C_O |
| | 716 | #·--------------- |
| | 717 | #·Like·AC_PROG_CC_C_O,·but·changed·for·automake.··We·rewrite·AC_PROG_CC |
| | 718 | #·to·automatically·call·this. |
| | 719 | AC_DEFUN([_AM_PROG_CC_C_O], |
| | 720 | [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
| | 721 | AC_REQUIRE_AUX_FILE([compile])dnl |
| | 722 | AC_LANG_PUSH([C])dnl |
| | 723 | AC_CACHE_CHECK( |
| | 724 | ··[whether·$CC·understands·-c·and·-o·together], |
| | 725 | ··[am_cv_prog_cc_c_o], |
| | 726 | ··[AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) |
| | 727 | ··#·Make·sure·it·works·both·with·$CC·and·with·simple·cc. |
| | 728 | ··#·Following·AC_PROG_CC_C_O,·we·do·the·test·twice·because·some |
| | 729 | ··#·compilers·refuse·to·overwrite·an·existing·.o·file·with·-o, |
| | 730 | ··#·though·they·will·create·one. |
| | 731 | ··am_cv_prog_cc_c_o=yes |
| | 732 | ··for·am_i·in·1·2;·do |
| | 733 | ····if·AM_RUN_LOG([$CC·-c·conftest.$ac_ext·-o·conftest2.$ac_objext])·\ |
| | 734 | ·········&&·test·-f·conftest2.$ac_objext;·then |
| | 735 | ······:·OK |
| | 736 | ····else |
| | 737 | ······am_cv_prog_cc_c_o=no |
| | 738 | ······break |
| | 739 | ····fi |
| | 740 | ··done |
| | 741 | ··rm·-f·core·conftest* |
| | 742 | ··unset·am_i]) |
| | 743 | if·test·"$am_cv_prog_cc_c_o"·!=·yes;·then |
| | 744 | ···#·Losing·compiler,·so·override·with·the·script. |
| | 745 | ···#·FIXME:·It·is·wrong·to·rewrite·CC. |
| | 746 | ···#·But·if·we·don't·then·we·get·into·trouble·of·one·sort·or·another. |
| | 747 | ···#·A·longer-term·fix·would·be·to·have·automake·use·am__CC·in·this·case, |
| | 748 | ···#·and·then·we·could·set·am__CC="\$(top_srcdir)/compile·\$(CC)" |
| | 749 | ···CC="$am_aux_dir/compile·$CC" |
| | 750 | fi |
| | 751 | AC_LANG_POP([C])]) |
| | |
| | 752 | #·For·backward·compatibility. |
| | 753 | AC_DEFUN_ONCE([AM_PROG_CC_C_O],·[AC_REQUIRE([AC_PROG_CC])]) |
| | |
| | 754 | #·Copyright·(C)·2001-2021·Free·Software·Foundation,·Inc. |
| | 755 | # |
| | 756 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 757 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 758 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 759 | #·AM_RUN_LOG(COMMAND) |
| | 760 | #·------------------- |
| | 761 | #·Run·COMMAND,·save·the·exit·status·in·ac_status,·and·log·it. |
| | 762 | #·(This·has·been·adapted·from·Autoconf's·_AC_RUN_LOG·macro.) |
| | 763 | AC_DEFUN([AM_RUN_LOG], |
| | 764 | [{·echo·"$as_me:$LINENO:·$1"·>&AS_MESSAGE_LOG_FD |
| | 765 | ···($1)·>&AS_MESSAGE_LOG_FD·2>&AS_MESSAGE_LOG_FD |
| | 766 | ···ac_status=$? |
| | 767 | ···echo·"$as_me:$LINENO:·\$?·=·$ac_status"·>&AS_MESSAGE_LOG_FD |
| | 768 | ···(exit·$ac_status);·}]) |
| | |
| | 769 | #·Check·to·make·sure·that·the·build·environment·is·sane.····-*-·Autoconf·-*- |
| | |
| | 770 | #·Copyright·(C)·1996-2021·Free·Software·Foundation,·Inc. |
| | 771 | # |
| | 772 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 773 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 774 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 775 | #·AM_SANITY_CHECK |
| | 776 | #·--------------- |
| | 777 | AC_DEFUN([AM_SANITY_CHECK], |
| | 778 | [AC_MSG_CHECKING([whether·build·environment·is·sane]) |
| | 779 | #·Reject·unsafe·characters·in·$srcdir·or·the·absolute·working·directory |
| | 780 | #·name.··Accept·space·and·tab·only·in·the·latter. |
| | 781 | am_lf=' |
| | 782 | ' |
| | 783 | case·`pwd`·in |
| | 784 | ··*[[\\\"\#\$\&\'\`$am_lf]]*) |
| | 785 | ····AC_MSG_ERROR([unsafe·absolute·working·directory·name]);; |
| | 786 | esac |
| | 787 | case·$srcdir·in |
| | 788 | ··*[[\\\"\#\$\&\'\`$am_lf\·\» ]]*) |
| | 789 | ····AC_MSG_ERROR([unsafe·srcdir·value:·'$srcdir']);; |
| | 790 | esac |
| | |
| | 791 | #·Do·'set'·in·a·subshell·so·we·don't·clobber·the·current·shell's |
| | 792 | #·arguments.··Must·try·-L·first·in·case·configure·is·actually·a |
| | 793 | #·symlink;·some·systems·play·weird·games·with·the·mod·time·of·symlinks |
| | 794 | #·(eg·FreeBSD·returns·the·mod·time·of·the·symlink's·containing |
| | 795 | #·directory). |
| | 796 | if·( |
| | 797 | ···am_has_slept=no |
| | 798 | ···for·am_try·in·1·2;·do |
| | 799 | ·····echo·"timestamp,·slept:·$am_has_slept"·>·conftest.file |
| | 800 | ·····set·X·`ls·-Lt·"$srcdir/configure"·conftest.file·2>·/dev/null` |
| | 801 | ·····if·test·"$[*]"·=·"X";·then |
| | 802 | » #·-L·didn't·work. |
| | 803 | » set·X·`ls·-t·"$srcdir/configure"·conftest.file` |
| | 804 | ·····fi |
| | 805 | ·····if·test·"$[*]"·!=·"X·$srcdir/configure·conftest.file"·\ |
| | 806 | » &&·test·"$[*]"·!=·"X·conftest.file·$srcdir/configure";·then |
| | |
| | 807 | » #·If·neither·matched,·then·we·have·a·broken·ls.··This·can·happen |
| | 808 | » #·if,·for·instance,·CONFIG_SHELL·is·bash·and·it·inherits·a |
| | 809 | » #·broken·ls·alias·from·the·environment.··This·has·actually |
| | 810 | » #·happened.··Such·a·system·could·not·be·considered·"sane". |
| | 811 | » AC_MSG_ERROR([ls·-t·appears·to·fail.··Make·sure·there·is·not·a·broken |
| | 812 | ··alias·in·your·environment]) |
| | 813 | ·····fi |
| | 814 | ·····if·test·"$[2]"·=·conftest.file·||·test·$am_try·-eq·2;·then |
| | 815 | ·······break |
| | 816 | ·····fi |
| | 817 | ·····#·Just·in·case. |
| | 818 | ·····sleep·1 |
| | 819 | ·····am_has_slept=yes |
| | 820 | ···done |
| | 821 | ···test·"$[2]"·=·conftest.file |
| | 822 | ···) |
| | 823 | then |
| | 824 | ···#·Ok. |
| | 825 | ···: |
| | 826 | else |
| | 827 | ···AC_MSG_ERROR([newly·created·file·is·older·than·distributed·files! |
| | 828 | Check·your·system·clock]) |
| | 829 | fi |
| | 830 | AC_MSG_RESULT([yes]) |
| | 831 | #·If·we·didn't·sleep,·we·still·need·to·ensure·time·stamps·of·config.status·and |
| | 832 | #·generated·files·are·strictly·newer. |
| | 833 | am_sleep_pid= |
| | 834 | if·grep·'slept:·no'·conftest.file·>/dev/null·2>&1;·then |
| | 835 | ··(·sleep·1·)·& |
| | 836 | ··am_sleep_pid=$! |
| | 837 | fi |
| | 838 | AC_CONFIG_COMMANDS_PRE( |
| | 839 | ··[AC_MSG_CHECKING([that·generated·files·are·newer·than·configure]) |
| | 840 | ···if·test·-n·"$am_sleep_pid";·then |
| | 841 | ·····#·Hide·warnings·about·reused·PIDs. |
| | 842 | ·····wait·$am_sleep_pid·2>/dev/null |
| | 843 | ···fi |
| | 844 | ···AC_MSG_RESULT([done])]) |
| | 845 | rm·-f·conftest.file |
| | 846 | ]) |
| | |
| | 847 | #·Copyright·(C)·2009-2021·Free·Software·Foundation,·Inc. |
| | 848 | # |
| | 849 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 850 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 851 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 852 | #·AM_SILENT_RULES([DEFAULT]) |
| | 853 | #·-------------------------- |
| | 854 | #·Enable·less·verbose·build·rules;·with·the·default·set·to·DEFAULT |
| | 855 | #·("yes"·being·less·verbose,·"no"·or·empty·being·verbose). |
| | 856 | AC_DEFUN([AM_SILENT_RULES], |
| | 857 | [AC_ARG_ENABLE([silent-rules],·[dnl |
| | 858 | AS_HELP_STRING( |
| | 859 | ··[--enable-silent-rules], |
| | 860 | ··[less·verbose·build·output·(undo:·"make·V=1")]) |
| | 861 | AS_HELP_STRING( |
| | 862 | ··[--disable-silent-rules], |
| | 863 | ··[verbose·build·output·(undo:·"make·V=0")])dnl |
| | 864 | ]) |
| | 865 | case·$enable_silent_rules·in·@%:@·((( |
| | 866 | ··yes)·AM_DEFAULT_VERBOSITY=0;; |
| | 867 | ···no)·AM_DEFAULT_VERBOSITY=1;; |
| | 868 | ····*)·AM_DEFAULT_VERBOSITY=m4_if([$1],·[yes],·[0],·[1]);; |
| | 869 | esac |
| | 870 | dnl |
| | 871 | dnl·A·few·'make'·implementations·(e.g.,·NonStop·OS·and·NextStep) |
| | 872 | dnl·do·not·support·nested·variable·expansions. |
| | 873 | dnl·See·automake·bug#9928·and·bug#10237. |
| | 874 | am_make=${MAKE-make} |
| | 875 | AC_CACHE_CHECK([whether·$am_make·supports·nested·variables], |
| | 876 | ···[am_cv_make_support_nested_variables], |
| | 877 | ···[if·AS_ECHO([['TRUE=$(BAR$(V)) |
| | 878 | BAR0=false |
| | 879 | BAR1=true |
| | 880 | V=1 |
| | 881 | am__doit: |
| | 882 | » @$(TRUE) |
| | 883 | .PHONY:·am__doit']])·|·$am_make·-f·-·>/dev/null·2>&1;·then |
| | 884 | ··am_cv_make_support_nested_variables=yes |
| | 885 | else |
| | 886 | ··am_cv_make_support_nested_variables=no |
| | 887 | fi]) |
| | 888 | if·test·$am_cv_make_support_nested_variables·=·yes;·then |
| | 889 | ··dnl·Using·'$V'·instead·of·'$(V)'·breaks·IRIX·make. |
| | 890 | ··AM_V='$(V)' |
| | 891 | ··AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| | 892 | else |
| | 893 | ··AM_V=$AM_DEFAULT_VERBOSITY |
| | 894 | ··AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| | 895 | fi |
| | 896 | AC_SUBST([AM_V])dnl |
| | 897 | AM_SUBST_NOTMAKE([AM_V])dnl |
| | 898 | AC_SUBST([AM_DEFAULT_V])dnl |
| | 899 | AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl |
| | 900 | AC_SUBST([AM_DEFAULT_VERBOSITY])dnl |
| | 901 | AM_BACKSLASH='\' |
| | 902 | AC_SUBST([AM_BACKSLASH])dnl |
| | 903 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
| | 904 | ]) |
| | |
| | 905 | #·Copyright·(C)·2001-2021·Free·Software·Foundation,·Inc. |
| | 906 | # |
| | 907 | #·This·file·is·free·software;·the·Free·Software·Foundation |
| | 908 | #·gives·unlimited·permission·to·copy·and/or·distribute·it, |
| | 909 | #·with·or·without·modifications,·as·long·as·this·notice·is·preserved. |
| | |
| | 910 | #·AM_PROG_INSTALL_STRIP |
| | 911 | #·--------------------- |
| | 912 | #·One·issue·with·vendor·'install'·(even·GNU)·is·that·you·can't |
| | 913 | #·specify·the·program·used·to·strip·binaries.··This·is·especially |
| | 914 | #·annoying·in·cross-compiling·environments,·where·the·build's·strip |
| | 915 | #·is·unlikely·to·handle·the·host's·binaries. |
| | 916 | #·Fortunately·install-sh·will·honor·a·STRIPPROG·variable,·so·we |
| | 917 | #·always·use·install-sh·in·"make·install-strip",·and·initialize |
| | 918 | #·STRIPPROG·with·the·value·of·the·STRIP·variable·(set·by·the·user). |
| | 919 | AC_DEFUN([AM_PROG_INSTALL_STRIP], |
| | 920 | [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
| | 921 | #·Installed·binaries·are·usually·stripped·using·'strip'·when·the·user |
| | 922 | #·run·"make·install-strip".··However·'strip'·might·not·be·the·right |
| | 923 | #·tool·to·use·in·cross-compilation·environments,·therefore·Automake |
| | 924 | #·will·honor·the·'STRIP'·environment·variable·to·overrule·this·program. |
| | 925 | dnl·Don't·test·for·$cross_compiling·=·yes,·because·it·might·be·'maybe'. |
| | 926 | if·test·"$cross_compiling"·!=·no;·then |
| | 927 | ··AC_CHECK_TOOL([STRIP],·[strip],·:) |
| | 928 | fi |
| | 929 | INSTALL_STRIP_PROGRAM="\$(install_sh)·-c·-s" |
| | 930 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
| | |
| | 931 | #·Copyright·(C)·2006-2021·Free·Software·Foundation,·Inc. |
| | 932 | # |
| | 933 | #·This·file·is·free·software;·the·Free·Software·Foundation |
|
Max diff block lines reached; -1/45092 bytes (-0.00%) of diff not shown.
|