No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

traces.0 68KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648
  1. m4trace:/usr/share/aclocal-1.15/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15'
  2. dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  3. dnl require some minimum version. Point them to the right macro.
  4. m4_if([$1], [1.15], [],
  5. [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  6. ])
  7. m4trace:/usr/share/aclocal-1.15/amversion.m4:33: -1- AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.15])dnl
  8. m4_ifndef([AC_AUTOCONF_VERSION],
  9. [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  10. _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  11. m4trace:/usr/share/aclocal-1.15/auxdir.m4:47: -1- AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  12. # Expand $ac_aux_dir to an absolute path.
  13. am_aux_dir=`cd "$ac_aux_dir" && pwd`
  14. ])
  15. m4trace:/usr/share/aclocal-1.15/cond.m4:12: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl
  16. m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  17. [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  18. AC_SUBST([$1_TRUE])dnl
  19. AC_SUBST([$1_FALSE])dnl
  20. _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  21. _AM_SUBST_NOTMAKE([$1_FALSE])dnl
  22. m4_define([_AM_COND_VALUE_$1], [$2])dnl
  23. if $2; then
  24. $1_TRUE=
  25. $1_FALSE='#'
  26. else
  27. $1_TRUE='#'
  28. $1_FALSE=
  29. fi
  30. AC_CONFIG_COMMANDS_PRE(
  31. [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  32. AC_MSG_ERROR([[conditional "$1" was never defined.
  33. Usually this means the macro was only invoked conditionally.]])
  34. fi])])
  35. m4trace:/usr/share/aclocal-1.15/depend.m4:26: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
  36. AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  37. AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  38. AC_REQUIRE([AM_DEP_TRACK])dnl
  39. m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
  40. [$1], [CXX], [depcc="$CXX" am_compiler_list=],
  41. [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  42. [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
  43. [$1], [UPC], [depcc="$UPC" am_compiler_list=],
  44. [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  45. [depcc="$$1" am_compiler_list=])
  46. AC_CACHE_CHECK([dependency style of $depcc],
  47. [am_cv_$1_dependencies_compiler_type],
  48. [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  49. # We make a subdir and do the tests there. Otherwise we can end up
  50. # making bogus files that we don't know about and never remove. For
  51. # instance it was reported that on HP-UX the gcc test will end up
  52. # making a dummy file named 'D' -- because '-MD' means "put the output
  53. # in D".
  54. rm -rf conftest.dir
  55. mkdir conftest.dir
  56. # Copy depcomp to subdir because otherwise we won't find it if we're
  57. # using a relative directory.
  58. cp "$am_depcomp" conftest.dir
  59. cd conftest.dir
  60. # We will build objects and dependencies in a subdirectory because
  61. # it helps to detect inapplicable dependency modes. For instance
  62. # both Tru64's cc and ICC support -MD to output dependencies as a
  63. # side effect of compilation, but ICC will put the dependencies in
  64. # the current directory while Tru64 will put them in the object
  65. # directory.
  66. mkdir sub
  67. am_cv_$1_dependencies_compiler_type=none
  68. if test "$am_compiler_list" = ""; then
  69. am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  70. fi
  71. am__universal=false
  72. m4_case([$1], [CC],
  73. [case " $depcc " in #(
  74. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  75. esac],
  76. [CXX],
  77. [case " $depcc " in #(
  78. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  79. esac])
  80. for depmode in $am_compiler_list; do
  81. # Setup a source with many dependencies, because some compilers
  82. # like to wrap large dependency lists on column 80 (with \), and
  83. # we should not choose a depcomp mode which is confused by this.
  84. #
  85. # We need to recreate these files for each test, as the compiler may
  86. # overwrite some of them when testing with obscure command lines.
  87. # This happens at least with the AIX C compiler.
  88. : > sub/conftest.c
  89. for i in 1 2 3 4 5 6; do
  90. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  91. # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  92. # Solaris 10 /bin/sh.
  93. echo '/* dummy */' > sub/conftst$i.h
  94. done
  95. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  96. # We check with '-c' and '-o' for the sake of the "dashmstdout"
  97. # mode. It turns out that the SunPro C++ compiler does not properly
  98. # handle '-M -o', and we need to detect this. Also, some Intel
  99. # versions had trouble with output in subdirs.
  100. am__obj=sub/conftest.${OBJEXT-o}
  101. am__minus_obj="-o $am__obj"
  102. case $depmode in
  103. gcc)
  104. # This depmode causes a compiler race in universal mode.
  105. test "$am__universal" = false || continue
  106. ;;
  107. nosideeffect)
  108. # After this tag, mechanisms are not by side-effect, so they'll
  109. # only be used when explicitly requested.
  110. if test "x$enable_dependency_tracking" = xyes; then
  111. continue
  112. else
  113. break
  114. fi
  115. ;;
  116. msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  117. # This compiler won't grok '-c -o', but also, the minuso test has
  118. # not run yet. These depmodes are late enough in the game, and
  119. # so weak that their functioning should not be impacted.
  120. am__obj=conftest.${OBJEXT-o}
  121. am__minus_obj=
  122. ;;
  123. none) break ;;
  124. esac
  125. if depmode=$depmode \
  126. source=sub/conftest.c object=$am__obj \
  127. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  128. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  129. >/dev/null 2>conftest.err &&
  130. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  131. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  132. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  133. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  134. # icc doesn't choke on unknown options, it will just issue warnings
  135. # or remarks (even with -Werror). So we grep stderr for any message
  136. # that says an option was ignored or not supported.
  137. # When given -MP, icc 7.0 and 7.1 complain thusly:
  138. # icc: Command line warning: ignoring option '-M'; no argument required
  139. # The diagnosis changed in icc 8.0:
  140. # icc: Command line remark: option '-MP' not supported
  141. if (grep 'ignoring option' conftest.err ||
  142. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  143. am_cv_$1_dependencies_compiler_type=$depmode
  144. break
  145. fi
  146. fi
  147. done
  148. cd ..
  149. rm -rf conftest.dir
  150. else
  151. am_cv_$1_dependencies_compiler_type=none
  152. fi
  153. ])
  154. AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
  155. AM_CONDITIONAL([am__fastdep$1], [
  156. test "x$enable_dependency_tracking" != xno \
  157. && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
  158. ])
  159. m4trace:/usr/share/aclocal-1.15/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  160. AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  161. ])
  162. m4trace:/usr/share/aclocal-1.15/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl
  163. AS_HELP_STRING(
  164. [--enable-dependency-tracking],
  165. [do not reject slow dependency extractors])
  166. AS_HELP_STRING(
  167. [--disable-dependency-tracking],
  168. [speeds up one-time build])])
  169. if test "x$enable_dependency_tracking" != xno; then
  170. am_depcomp="$ac_aux_dir/depcomp"
  171. AMDEPBACKSLASH='\'
  172. am__nodep='_no'
  173. fi
  174. AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  175. AC_SUBST([AMDEPBACKSLASH])dnl
  176. _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  177. AC_SUBST([am__nodep])dnl
  178. _AM_SUBST_NOTMAKE([am__nodep])dnl
  179. ])
  180. m4trace:/usr/share/aclocal-1.15/depout.m4:12: -1- AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{
  181. # Older Autoconf quotes --file arguments for eval, but not when files
  182. # are listed without --file. Let's play safe and only enable the eval
  183. # if we detect the quoting.
  184. case $CONFIG_FILES in
  185. *\'*) eval set x "$CONFIG_FILES" ;;
  186. *) set x $CONFIG_FILES ;;
  187. esac
  188. shift
  189. for mf
  190. do
  191. # Strip MF so we end up with the name of the file.
  192. mf=`echo "$mf" | sed -e 's/:.*$//'`
  193. # Check whether this is an Automake generated Makefile or not.
  194. # We used to match only the files named 'Makefile.in', but
  195. # some people rename them; so instead we look at the file content.
  196. # Grep'ing the first line is not enough: some people post-process
  197. # each Makefile.in and add a new line on top of each file to say so.
  198. # Grep'ing the whole file is not good either: AIX grep has a line
  199. # limit of 2048, but all sed's we know have understand at least 4000.
  200. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  201. dirpart=`AS_DIRNAME("$mf")`
  202. else
  203. continue
  204. fi
  205. # Extract the definition of DEPDIR, am__include, and am__quote
  206. # from the Makefile without running 'make'.
  207. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  208. test -z "$DEPDIR" && continue
  209. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  210. test -z "$am__include" && continue
  211. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  212. # Find all dependency output files, they are included files with
  213. # $(DEPDIR) in their names. We invoke sed twice because it is the
  214. # simplest approach to changing $(DEPDIR) to its actual value in the
  215. # expansion.
  216. for file in `sed -n "
  217. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  218. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
  219. # Make sure the directory exists.
  220. test -f "$dirpart/$file" && continue
  221. fdir=`AS_DIRNAME(["$file"])`
  222. AS_MKDIR_P([$dirpart/$fdir])
  223. # echo "creating $dirpart/$file"
  224. echo '# dummy' > "$dirpart/$file"
  225. done
  226. done
  227. }
  228. ])
  229. m4trace:/usr/share/aclocal-1.15/depout.m4:71: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
  230. [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  231. [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
  232. ])
  233. m4trace:/usr/share/aclocal-1.15/init.m4:29: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl
  234. dnl Autoconf wants to disallow AM_ names. We explicitly allow
  235. dnl the ones we care about.
  236. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  237. AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  238. AC_REQUIRE([AC_PROG_INSTALL])dnl
  239. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  240. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  241. # is not polluted with repeated "-I."
  242. AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
  243. # test to see if srcdir already configured
  244. if test -f $srcdir/config.status; then
  245. AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  246. fi
  247. fi
  248. # test whether we have cygpath
  249. if test -z "$CYGPATH_W"; then
  250. if (cygpath --version) >/dev/null 2>/dev/null; then
  251. CYGPATH_W='cygpath -w'
  252. else
  253. CYGPATH_W=echo
  254. fi
  255. fi
  256. AC_SUBST([CYGPATH_W])
  257. # Define the identity of the package.
  258. dnl Distinguish between old-style and new-style calls.
  259. m4_ifval([$2],
  260. [AC_DIAGNOSE([obsolete],
  261. [$0: two- and three-arguments forms are deprecated.])
  262. m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  263. AC_SUBST([PACKAGE], [$1])dnl
  264. AC_SUBST([VERSION], [$2])],
  265. [_AM_SET_OPTIONS([$1])dnl
  266. dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  267. m4_if(
  268. m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
  269. [ok:ok],,
  270. [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  271. AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  272. AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  273. _AM_IF_OPTION([no-define],,
  274. [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  275. AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
  276. # Some tools Automake needs.
  277. AC_REQUIRE([AM_SANITY_CHECK])dnl
  278. AC_REQUIRE([AC_ARG_PROGRAM])dnl
  279. AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  280. AM_MISSING_PROG([AUTOCONF], [autoconf])
  281. AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  282. AM_MISSING_PROG([AUTOHEADER], [autoheader])
  283. AM_MISSING_PROG([MAKEINFO], [makeinfo])
  284. AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  285. AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  286. AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  287. # For better backward compatibility. To be removed once Automake 1.9.x
  288. # dies out for good. For more background, see:
  289. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  290. # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  291. AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  292. # We need awk for the "check" target (and possibly the TAP driver). The
  293. # system "awk" is bad on some platforms.
  294. AC_REQUIRE([AC_PROG_AWK])dnl
  295. AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  296. AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  297. _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  298. [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  299. [_AM_PROG_TAR([v7])])])
  300. _AM_IF_OPTION([no-dependencies],,
  301. [AC_PROVIDE_IFELSE([AC_PROG_CC],
  302. [_AM_DEPENDENCIES([CC])],
  303. [m4_define([AC_PROG_CC],
  304. m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  305. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  306. [_AM_DEPENDENCIES([CXX])],
  307. [m4_define([AC_PROG_CXX],
  308. m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  309. AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  310. [_AM_DEPENDENCIES([OBJC])],
  311. [m4_define([AC_PROG_OBJC],
  312. m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  313. AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  314. [_AM_DEPENDENCIES([OBJCXX])],
  315. [m4_define([AC_PROG_OBJCXX],
  316. m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  317. ])
  318. AC_REQUIRE([AM_SILENT_RULES])dnl
  319. dnl The testsuite driver may need to know about EXEEXT, so add the
  320. dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
  321. dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
  322. AC_CONFIG_COMMANDS_PRE(dnl
  323. [m4_provide_if([_AM_COMPILER_EXEEXT],
  324. [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  325. # POSIX will say in a future version that running "rm -f" with no argument
  326. # is OK; and we want to be able to make that assumption in our Makefile
  327. # recipes. So use an aggressive probe to check that the usage we want is
  328. # actually supported "in the wild" to an acceptable degree.
  329. # See automake bug#10828.
  330. # To make any issue more visible, cause the running configure to be aborted
  331. # by default if the 'rm' program in use doesn't match our expectations; the
  332. # user can still override this though.
  333. if rm -f && rm -fr && rm -rf; then : OK; else
  334. cat >&2 <<'END'
  335. Oops!
  336. Your 'rm' program seems unable to run without file operands specified
  337. on the command line, even when the '-f' option is present. This is contrary
  338. to the behaviour of most rm programs out there, and not conforming with
  339. the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  340. Please tell bug-automake@gnu.org about your system, including the value
  341. of your $PATH and any error possibly output before this message. This
  342. can help us improve future automake versions.
  343. END
  344. if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  345. echo 'Configuration will proceed anyway, since you have set the' >&2
  346. echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  347. echo >&2
  348. else
  349. cat >&2 <<'END'
  350. Aborting the configuration process, to ensure you take notice of the issue.
  351. You can download and install GNU coreutils to get an 'rm' implementation
  352. that behaves properly: <http://www.gnu.org/software/coreutils/>.
  353. If you want to complete the configuration process using your problematic
  354. 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  355. to "yes", and re-run configure.
  356. END
  357. AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
  358. fi
  359. fi
  360. dnl The trailing newline in this macro's definition is deliberate, for
  361. dnl backward compatibility and to allow trailing 'dnl'-style comments
  362. dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
  363. ])
  364. m4trace:/usr/share/aclocal-1.15/init.m4:186: -1- AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers.
  365. _am_arg=$1
  366. _am_stamp_count=1
  367. for _am_header in $config_headers :; do
  368. case $_am_header in
  369. $_am_arg | $_am_arg:* )
  370. break ;;
  371. * )
  372. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  373. esac
  374. done
  375. echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  376. m4trace:/usr/share/aclocal-1.15/install-sh.m4:11: -1- AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  377. if test x"${install_sh+set}" != xset; then
  378. case $am_aux_dir in
  379. *\ * | *\ *)
  380. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  381. *)
  382. install_sh="\${SHELL} $am_aux_dir/install-sh"
  383. esac
  384. fi
  385. AC_SUBST([install_sh])])
  386. m4trace:/usr/share/aclocal-1.15/lead-dot.m4:10: -1- AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null
  387. mkdir .tst 2>/dev/null
  388. if test -d .tst; then
  389. am__leading_dot=.
  390. else
  391. am__leading_dot=_
  392. fi
  393. rmdir .tst 2>/dev/null
  394. AC_SUBST([am__leading_dot])])
  395. m4trace:/usr/share/aclocal-1.15/make.m4:12: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
  396. cat > confinc << 'END'
  397. am__doit:
  398. @echo this is the am__doit target
  399. .PHONY: am__doit
  400. END
  401. # If we don't find an include directive, just comment out the code.
  402. AC_MSG_CHECKING([for style of include used by $am_make])
  403. am__include="#"
  404. am__quote=
  405. _am_result=none
  406. # First try GNU make style include.
  407. echo "include confinc" > confmf
  408. # Ignore all kinds of additional output from 'make'.
  409. case `$am_make -s -f confmf 2> /dev/null` in #(
  410. *the\ am__doit\ target*)
  411. am__include=include
  412. am__quote=
  413. _am_result=GNU
  414. ;;
  415. esac
  416. # Now try BSD make style include.
  417. if test "$am__include" = "#"; then
  418. echo '.include "confinc"' > confmf
  419. case `$am_make -s -f confmf 2> /dev/null` in #(
  420. *the\ am__doit\ target*)
  421. am__include=.include
  422. am__quote="\""
  423. _am_result=BSD
  424. ;;
  425. esac
  426. fi
  427. AC_SUBST([am__include])
  428. AC_SUBST([am__quote])
  429. AC_MSG_RESULT([$_am_result])
  430. rm -f confinc confmf
  431. ])
  432. m4trace:/usr/share/aclocal-1.15/missing.m4:11: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
  433. $1=${$1-"${am_missing_run}$2"}
  434. AC_SUBST($1)])
  435. m4trace:/usr/share/aclocal-1.15/missing.m4:20: -1- AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  436. AC_REQUIRE_AUX_FILE([missing])dnl
  437. if test x"${MISSING+set}" != xset; then
  438. case $am_aux_dir in
  439. *\ * | *\ *)
  440. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  441. *)
  442. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  443. esac
  444. fi
  445. # Use eval to expand $SHELL
  446. if eval "$MISSING --is-lightweight"; then
  447. am_missing_run="$MISSING "
  448. else
  449. am_missing_run=
  450. AC_MSG_WARN(['missing' script is too old or missing])
  451. fi
  452. ])
  453. m4trace:/usr/share/aclocal-1.15/options.m4:11: -1- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  454. m4trace:/usr/share/aclocal-1.15/options.m4:17: -1- AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])])
  455. m4trace:/usr/share/aclocal-1.15/options.m4:23: -1- AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  456. m4trace:/usr/share/aclocal-1.15/options.m4:29: -1- AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  457. m4trace:/usr/share/aclocal-1.15/prog-cc-c-o.m4:12: -1- AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  458. AC_REQUIRE_AUX_FILE([compile])dnl
  459. AC_LANG_PUSH([C])dnl
  460. AC_CACHE_CHECK(
  461. [whether $CC understands -c and -o together],
  462. [am_cv_prog_cc_c_o],
  463. [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
  464. # Make sure it works both with $CC and with simple cc.
  465. # Following AC_PROG_CC_C_O, we do the test twice because some
  466. # compilers refuse to overwrite an existing .o file with -o,
  467. # though they will create one.
  468. am_cv_prog_cc_c_o=yes
  469. for am_i in 1 2; do
  470. if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
  471. && test -f conftest2.$ac_objext; then
  472. : OK
  473. else
  474. am_cv_prog_cc_c_o=no
  475. break
  476. fi
  477. done
  478. rm -f core conftest*
  479. unset am_i])
  480. if test "$am_cv_prog_cc_c_o" != yes; then
  481. # Losing compiler, so override with the script.
  482. # FIXME: It is wrong to rewrite CC.
  483. # But if we don't then we get into trouble of one sort or another.
  484. # A longer-term fix would be to have automake use am__CC in this case,
  485. # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  486. CC="$am_aux_dir/compile $CC"
  487. fi
  488. AC_LANG_POP([C])])
  489. m4trace:/usr/share/aclocal-1.15/prog-cc-c-o.m4:47: -1- AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
  490. m4trace:/usr/share/aclocal-1.15/runlog.m4:12: -1- AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
  491. ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
  492. ac_status=$?
  493. echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  494. (exit $ac_status); }])
  495. m4trace:/usr/share/aclocal-1.15/sanity.m4:11: -1- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane])
  496. # Reject unsafe characters in $srcdir or the absolute working directory
  497. # name. Accept space and tab only in the latter.
  498. am_lf='
  499. '
  500. case `pwd` in
  501. *[[\\\"\#\$\&\'\`$am_lf]]*)
  502. AC_MSG_ERROR([unsafe absolute working directory name]);;
  503. esac
  504. case $srcdir in
  505. *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
  506. AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
  507. esac
  508. # Do 'set' in a subshell so we don't clobber the current shell's
  509. # arguments. Must try -L first in case configure is actually a
  510. # symlink; some systems play weird games with the mod time of symlinks
  511. # (eg FreeBSD returns the mod time of the symlink's containing
  512. # directory).
  513. if (
  514. am_has_slept=no
  515. for am_try in 1 2; do
  516. echo "timestamp, slept: $am_has_slept" > conftest.file
  517. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  518. if test "$[*]" = "X"; then
  519. # -L didn't work.
  520. set X `ls -t "$srcdir/configure" conftest.file`
  521. fi
  522. if test "$[*]" != "X $srcdir/configure conftest.file" \
  523. && test "$[*]" != "X conftest.file $srcdir/configure"; then
  524. # If neither matched, then we have a broken ls. This can happen
  525. # if, for instance, CONFIG_SHELL is bash and it inherits a
  526. # broken ls alias from the environment. This has actually
  527. # happened. Such a system could not be considered "sane".
  528. AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  529. alias in your environment])
  530. fi
  531. if test "$[2]" = conftest.file || test $am_try -eq 2; then
  532. break
  533. fi
  534. # Just in case.
  535. sleep 1
  536. am_has_slept=yes
  537. done
  538. test "$[2]" = conftest.file
  539. )
  540. then
  541. # Ok.
  542. :
  543. else
  544. AC_MSG_ERROR([newly created file is older than distributed files!
  545. Check your system clock])
  546. fi
  547. AC_MSG_RESULT([yes])
  548. # If we didn't sleep, we still need to ensure time stamps of config.status and
  549. # generated files are strictly newer.
  550. am_sleep_pid=
  551. if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  552. ( sleep 1 ) &
  553. am_sleep_pid=$!
  554. fi
  555. AC_CONFIG_COMMANDS_PRE(
  556. [AC_MSG_CHECKING([that generated files are newer than configure])
  557. if test -n "$am_sleep_pid"; then
  558. # Hide warnings about reused PIDs.
  559. wait $am_sleep_pid 2>/dev/null
  560. fi
  561. AC_MSG_RESULT([done])])
  562. rm -f conftest.file
  563. ])
  564. m4trace:/usr/share/aclocal-1.15/silent.m4:12: -1- AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl
  565. AS_HELP_STRING(
  566. [--enable-silent-rules],
  567. [less verbose build output (undo: "make V=1")])
  568. AS_HELP_STRING(
  569. [--disable-silent-rules],
  570. [verbose build output (undo: "make V=0")])dnl
  571. ])
  572. case $enable_silent_rules in @%:@ (((
  573. yes) AM_DEFAULT_VERBOSITY=0;;
  574. no) AM_DEFAULT_VERBOSITY=1;;
  575. *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  576. esac
  577. dnl
  578. dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
  579. dnl do not support nested variable expansions.
  580. dnl See automake bug#9928 and bug#10237.
  581. am_make=${MAKE-make}
  582. AC_CACHE_CHECK([whether $am_make supports nested variables],
  583. [am_cv_make_support_nested_variables],
  584. [if AS_ECHO([['TRUE=$(BAR$(V))
  585. BAR0=false
  586. BAR1=true
  587. V=1
  588. am__doit:
  589. @$(TRUE)
  590. .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
  591. am_cv_make_support_nested_variables=yes
  592. else
  593. am_cv_make_support_nested_variables=no
  594. fi])
  595. if test $am_cv_make_support_nested_variables = yes; then
  596. dnl Using '$V' instead of '$(V)' breaks IRIX make.
  597. AM_V='$(V)'
  598. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  599. else
  600. AM_V=$AM_DEFAULT_VERBOSITY
  601. AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  602. fi
  603. AC_SUBST([AM_V])dnl
  604. AM_SUBST_NOTMAKE([AM_V])dnl
  605. AC_SUBST([AM_DEFAULT_V])dnl
  606. AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
  607. AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
  608. AM_BACKSLASH='\'
  609. AC_SUBST([AM_BACKSLASH])dnl
  610. _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  611. ])
  612. m4trace:/usr/share/aclocal-1.15/strip.m4:17: -1- AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  613. # Installed binaries are usually stripped using 'strip' when the user
  614. # run "make install-strip". However 'strip' might not be the right
  615. # tool to use in cross-compilation environments, therefore Automake
  616. # will honor the 'STRIP' environment variable to overrule this program.
  617. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
  618. if test "$cross_compiling" != no; then
  619. AC_CHECK_TOOL([STRIP], [strip], :)
  620. fi
  621. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  622. AC_SUBST([INSTALL_STRIP_PROGRAM])])
  623. m4trace:/usr/share/aclocal-1.15/substnot.m4:12: -1- AC_DEFUN([_AM_SUBST_NOTMAKE])
  624. m4trace:/usr/share/aclocal-1.15/substnot.m4:17: -1- AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  625. m4trace:/usr/share/aclocal-1.15/tar.m4:23: -1- AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used
  626. # in the wild :-( We should find a proper way to deprecate it ...
  627. AC_SUBST([AMTAR], ['$${TAR-tar}'])
  628. # We'll loop over all known methods to create a tar archive until one works.
  629. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  630. m4_if([$1], [v7],
  631. [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
  632. [m4_case([$1],
  633. [ustar],
  634. [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
  635. # There is notably a 21 bits limit for the UID and the GID. In fact,
  636. # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
  637. # and bug#13588).
  638. am_max_uid=2097151 # 2^21 - 1
  639. am_max_gid=$am_max_uid
  640. # The $UID and $GID variables are not portable, so we need to resort
  641. # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
  642. # below are definitely unexpected, so allow the users to see them
  643. # (that is, avoid stderr redirection).
  644. am_uid=`id -u || echo unknown`
  645. am_gid=`id -g || echo unknown`
  646. AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
  647. if test $am_uid -le $am_max_uid; then
  648. AC_MSG_RESULT([yes])
  649. else
  650. AC_MSG_RESULT([no])
  651. _am_tools=none
  652. fi
  653. AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
  654. if test $am_gid -le $am_max_gid; then
  655. AC_MSG_RESULT([yes])
  656. else
  657. AC_MSG_RESULT([no])
  658. _am_tools=none
  659. fi],
  660. [pax],
  661. [],
  662. [m4_fatal([Unknown tar format])])
  663. AC_MSG_CHECKING([how to create a $1 tar archive])
  664. # Go ahead even if we have the value already cached. We do so because we
  665. # need to set the values for the 'am__tar' and 'am__untar' variables.
  666. _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  667. for _am_tool in $_am_tools; do
  668. case $_am_tool in
  669. gnutar)
  670. for _am_tar in tar gnutar gtar; do
  671. AM_RUN_LOG([$_am_tar --version]) && break
  672. done
  673. am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  674. am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  675. am__untar="$_am_tar -xf -"
  676. ;;
  677. plaintar)
  678. # Must skip GNU tar: if it does not support --format= it doesn't create
  679. # ustar tarball either.
  680. (tar --version) >/dev/null 2>&1 && continue
  681. am__tar='tar chf - "$$tardir"'
  682. am__tar_='tar chf - "$tardir"'
  683. am__untar='tar xf -'
  684. ;;
  685. pax)
  686. am__tar='pax -L -x $1 -w "$$tardir"'
  687. am__tar_='pax -L -x $1 -w "$tardir"'
  688. am__untar='pax -r'
  689. ;;
  690. cpio)
  691. am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  692. am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  693. am__untar='cpio -i -H $1 -d'
  694. ;;
  695. none)
  696. am__tar=false
  697. am__tar_=false
  698. am__untar=false
  699. ;;
  700. esac
  701. # If the value was cached, stop now. We just wanted to have am__tar
  702. # and am__untar set.
  703. test -n "${am_cv_prog_tar_$1}" && break
  704. # tar/untar a dummy directory, and stop if the command works.
  705. rm -rf conftest.dir
  706. mkdir conftest.dir
  707. echo GrepMe > conftest.dir/file
  708. AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  709. rm -rf conftest.dir
  710. if test -s conftest.tar; then
  711. AM_RUN_LOG([$am__untar <conftest.tar])
  712. AM_RUN_LOG([cat conftest.dir/file])
  713. grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  714. fi
  715. done
  716. rm -rf conftest.dir
  717. AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  718. AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  719. AC_SUBST([am__tar])
  720. AC_SUBST([am__untar])
  721. ])
  722. m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?A[CHUM]_])
  723. m4trace:configure.ac:1: -1- m4_pattern_forbid([_AC_])
  724. m4trace:configure.ac:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  725. m4trace:configure.ac:1: -1- m4_pattern_allow([^AS_FLAGS$])
  726. m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?m4_])
  727. m4trace:configure.ac:1: -1- m4_pattern_forbid([^dnl$])
  728. m4trace:configure.ac:1: -1- m4_pattern_forbid([^_?AS_])
  729. m4trace:configure.ac:1: -1- m4_pattern_allow([^SHELL$])
  730. m4trace:configure.ac:1: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  731. m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
  732. m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  733. m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  734. m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
  735. m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  736. m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_URL$])
  737. m4trace:configure.ac:1: -1- m4_pattern_allow([^exec_prefix$])
  738. m4trace:configure.ac:1: -1- m4_pattern_allow([^prefix$])
  739. m4trace:configure.ac:1: -1- m4_pattern_allow([^program_transform_name$])
  740. m4trace:configure.ac:1: -1- m4_pattern_allow([^bindir$])
  741. m4trace:configure.ac:1: -1- m4_pattern_allow([^sbindir$])
  742. m4trace:configure.ac:1: -1- m4_pattern_allow([^libexecdir$])
  743. m4trace:configure.ac:1: -1- m4_pattern_allow([^datarootdir$])
  744. m4trace:configure.ac:1: -1- m4_pattern_allow([^datadir$])
  745. m4trace:configure.ac:1: -1- m4_pattern_allow([^sysconfdir$])
  746. m4trace:configure.ac:1: -1- m4_pattern_allow([^sharedstatedir$])
  747. m4trace:configure.ac:1: -1- m4_pattern_allow([^localstatedir$])
  748. m4trace:configure.ac:1: -1- m4_pattern_allow([^runstatedir$])
  749. m4trace:configure.ac:1: -1- m4_pattern_allow([^includedir$])
  750. m4trace:configure.ac:1: -1- m4_pattern_allow([^oldincludedir$])
  751. m4trace:configure.ac:1: -1- m4_pattern_allow([^docdir$])
  752. m4trace:configure.ac:1: -1- m4_pattern_allow([^infodir$])
  753. m4trace:configure.ac:1: -1- m4_pattern_allow([^htmldir$])
  754. m4trace:configure.ac:1: -1- m4_pattern_allow([^dvidir$])
  755. m4trace:configure.ac:1: -1- m4_pattern_allow([^pdfdir$])
  756. m4trace:configure.ac:1: -1- m4_pattern_allow([^psdir$])
  757. m4trace:configure.ac:1: -1- m4_pattern_allow([^libdir$])
  758. m4trace:configure.ac:1: -1- m4_pattern_allow([^localedir$])
  759. m4trace:configure.ac:1: -1- m4_pattern_allow([^mandir$])
  760. m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_NAME$])
  761. m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  762. m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  763. m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_STRING$])
  764. m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  765. m4trace:configure.ac:1: -1- m4_pattern_allow([^PACKAGE_URL$])
  766. m4trace:configure.ac:1: -1- m4_pattern_allow([^DEFS$])
  767. m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_C$])
  768. m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_N$])
  769. m4trace:configure.ac:1: -1- m4_pattern_allow([^ECHO_T$])
  770. m4trace:configure.ac:1: -1- m4_pattern_allow([^LIBS$])
  771. m4trace:configure.ac:1: -1- m4_pattern_allow([^build_alias$])
  772. m4trace:configure.ac:1: -1- m4_pattern_allow([^host_alias$])
  773. m4trace:configure.ac:1: -1- m4_pattern_allow([^target_alias$])
  774. m4trace:configure.ac:3: -1- AM_INIT_AUTOMAKE
  775. m4trace:configure.ac:3: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
  776. m4trace:configure.ac:3: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
  777. m4trace:configure.ac:3: -1- AM_AUTOMAKE_VERSION([1.15])
  778. m4trace:configure.ac:3: -1- _AM_AUTOCONF_VERSION([2.69])
  779. m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  780. m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  781. m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_DATA$])
  782. m4trace:configure.ac:3: -1- m4_pattern_allow([^am__isrc$])
  783. m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([am__isrc])
  784. m4trace:configure.ac:3: -1- m4_pattern_allow([^CYGPATH_W$])
  785. m4trace:configure.ac:3: -1- _AM_SET_OPTIONS([])
  786. m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE$])
  787. m4trace:configure.ac:3: -1- m4_pattern_allow([^VERSION$])
  788. m4trace:configure.ac:3: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  789. AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])
  790. m4trace:configure.ac:3: -2- _AM_MANGLE_OPTION([no-define])
  791. m4trace:configure.ac:3: -1- m4_pattern_allow([^PACKAGE$])
  792. m4trace:configure.ac:3: -1- m4_pattern_allow([^VERSION$])
  793. m4trace:configure.ac:3: -1- AM_SANITY_CHECK
  794. m4trace:configure.ac:3: -1- AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  795. m4trace:configure.ac:3: -1- AM_MISSING_HAS_RUN
  796. m4trace:configure.ac:3: -1- AM_AUX_DIR_EXPAND
  797. m4trace:configure.ac:3: -1- m4_pattern_allow([^ACLOCAL$])
  798. m4trace:configure.ac:3: -1- AM_MISSING_PROG([AUTOCONF], [autoconf])
  799. m4trace:configure.ac:3: -1- m4_pattern_allow([^AUTOCONF$])
  800. m4trace:configure.ac:3: -1- AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  801. m4trace:configure.ac:3: -1- m4_pattern_allow([^AUTOMAKE$])
  802. m4trace:configure.ac:3: -1- AM_MISSING_PROG([AUTOHEADER], [autoheader])
  803. m4trace:configure.ac:3: -1- m4_pattern_allow([^AUTOHEADER$])
  804. m4trace:configure.ac:3: -1- AM_MISSING_PROG([MAKEINFO], [makeinfo])
  805. m4trace:configure.ac:3: -1- m4_pattern_allow([^MAKEINFO$])
  806. m4trace:configure.ac:3: -1- AM_PROG_INSTALL_SH
  807. m4trace:configure.ac:3: -1- m4_pattern_allow([^install_sh$])
  808. m4trace:configure.ac:3: -1- AM_PROG_INSTALL_STRIP
  809. m4trace:configure.ac:3: -1- m4_pattern_allow([^STRIP$])
  810. m4trace:configure.ac:3: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
  811. m4trace:configure.ac:3: -1- m4_pattern_allow([^MKDIR_P$])
  812. m4trace:configure.ac:3: -1- m4_pattern_allow([^mkdir_p$])
  813. m4trace:configure.ac:3: -1- m4_pattern_allow([^AWK$])
  814. m4trace:configure.ac:3: -1- m4_pattern_allow([^SET_MAKE$])
  815. m4trace:configure.ac:3: -1- AM_SET_LEADING_DOT
  816. m4trace:configure.ac:3: -1- m4_pattern_allow([^am__leading_dot$])
  817. m4trace:configure.ac:3: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  818. [_AM_PROG_TAR([v7])])])
  819. m4trace:configure.ac:3: -2- _AM_MANGLE_OPTION([tar-ustar])
  820. m4trace:configure.ac:3: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
  821. m4trace:configure.ac:3: -2- _AM_MANGLE_OPTION([tar-pax])
  822. m4trace:configure.ac:3: -1- _AM_PROG_TAR([v7])
  823. m4trace:configure.ac:3: -1- m4_pattern_allow([^AMTAR$])
  824. m4trace:configure.ac:3: -1- m4_pattern_allow([^am__tar$])
  825. m4trace:configure.ac:3: -1- m4_pattern_allow([^am__untar$])
  826. m4trace:configure.ac:3: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
  827. [_AM_DEPENDENCIES([CC])],
  828. [m4_define([AC_PROG_CC],
  829. m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  830. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  831. [_AM_DEPENDENCIES([CXX])],
  832. [m4_define([AC_PROG_CXX],
  833. m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  834. AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  835. [_AM_DEPENDENCIES([OBJC])],
  836. [m4_define([AC_PROG_OBJC],
  837. m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  838. AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  839. [_AM_DEPENDENCIES([OBJCXX])],
  840. [m4_define([AC_PROG_OBJCXX],
  841. m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  842. ])
  843. m4trace:configure.ac:3: -2- _AM_MANGLE_OPTION([no-dependencies])
  844. m4trace:configure.ac:3: -1- AM_SILENT_RULES
  845. m4trace:configure.ac:3: -1- m4_pattern_allow([^AM_V$])
  846. m4trace:configure.ac:3: -1- AM_SUBST_NOTMAKE([AM_V])
  847. m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([AM_V])
  848. m4trace:configure.ac:3: -1- m4_pattern_allow([^AM_DEFAULT_V$])
  849. m4trace:configure.ac:3: -1- AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  850. m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([AM_DEFAULT_V])
  851. m4trace:configure.ac:3: -1- m4_pattern_allow([^AM_DEFAULT_VERBOSITY$])
  852. m4trace:configure.ac:3: -1- m4_pattern_allow([^AM_BACKSLASH$])
  853. m4trace:configure.ac:3: -1- _AM_SUBST_NOTMAKE([AM_BACKSLASH])
  854. m4trace:configure.ac:28: -1- m4_pattern_allow([^LN_S$])
  855. m4trace:configure.ac:29: -1- m4_include([m4/python.m4])
  856. m4trace:m4/python.m4:35: -1- AC_DEFUN([AM_PATH_PYTHON], [
  857. dnl Find a Python interpreter. Python versions prior to 2.0 are not
  858. dnl supported. (2.0 was released on October 16, 2000).
  859. m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
  860. [python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 dnl
  861. python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0])
  862. AC_ARG_VAR([PYTHON], [the Python interpreter])
  863. m4_if([$1],[],[
  864. dnl No version check is needed.
  865. # Find any Python interpreter.
  866. if test -z "$PYTHON"; then
  867. AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :)
  868. fi
  869. am_display_PYTHON=python
  870. ], [
  871. dnl A version check is needed.
  872. if test -n "$PYTHON"; then
  873. # If the user set $PYTHON, use it and don't search something else.
  874. AC_MSG_CHECKING([whether $PYTHON version is >= $1])
  875. AM_PYTHON_CHECK_VERSION([$PYTHON], [$1],
  876. [AC_MSG_RESULT([yes])],
  877. [AC_MSG_RESULT([no])
  878. AC_MSG_ERROR([Python interpreter is too old])])
  879. am_display_PYTHON=$PYTHON
  880. else
  881. # Otherwise, try each interpreter until we find one that satisfies
  882. # VERSION.
  883. AC_CACHE_CHECK([for a Python interpreter with version >= $1],
  884. [am_cv_pathless_PYTHON],[
  885. for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do
  886. test "$am_cv_pathless_PYTHON" = none && break
  887. AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break])
  888. done])
  889. # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
  890. if test "$am_cv_pathless_PYTHON" = none; then
  891. PYTHON=:
  892. else
  893. AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])
  894. fi
  895. am_display_PYTHON=$am_cv_pathless_PYTHON
  896. fi
  897. ])
  898. if test "$PYTHON" = :; then
  899. dnl Run any user-specified action, or abort.
  900. m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])])
  901. else
  902. dnl Query Python for its version number. Getting [:3] seems to be
  903. dnl the best way to do this; it's what "site.py" does in the standard
  904. dnl library.
  905. AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],
  906. [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`])
  907. AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
  908. dnl Use the values of $prefix and $exec_prefix for the corresponding
  909. dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made
  910. dnl distinct variables so they can be overridden if need be. However,
  911. dnl general consensus is that you shouldn't need this ability.
  912. AC_SUBST([PYTHON_PREFIX], ['${prefix}'])
  913. AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
  914. dnl At times (like when building shared libraries) you may want
  915. dnl to know which OS platform Python thinks this is.
  916. AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform],
  917. [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`])
  918. AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform])
  919. # Just factor out some code duplication.
  920. am_python_setup_sysconfig="\
  921. import sys
  922. # Prefer sysconfig over distutils.sysconfig, for better compatibility
  923. # with python 3.x. See automake bug#10227.
  924. # But not see <https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1408092>
  925. try:
  926. import sysconfig
  927. except ImportError:
  928. can_use_sysconfig = 0
  929. else:
  930. can_use_sysconfig = 1
  931. # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
  932. # <https://github.com/pypa/virtualenv/issues/118>
  933. # Can't use sysconfig in CPython > 3.0 in debian since it's broken :
  934. # <https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1408092>
  935. try:
  936. from platform import python_implementation
  937. if python_implementation() == 'CPython' and ( \
  938. float(sys.version[[:3]]) > 3.0 or sys.version[[:3]] == '2.7'):
  939. can_use_sysconfig = 0
  940. except ImportError:
  941. pass"
  942. dnl Set up 4 directories:
  943. dnl pythondir -- where to install python scripts. This is the
  944. dnl site-packages directory, not the python standard library
  945. dnl directory like in previous automake betas. This behavior
  946. dnl is more consistent with lispdir.m4 for example.
  947. dnl Query distutils for this directory.
  948. AC_CACHE_CHECK([for $am_display_PYTHON script directory],
  949. [am_cv_python_pythondir],
  950. [if test "x$prefix" = xNONE
  951. then
  952. am_py_prefix=$ac_default_prefix
  953. else
  954. am_py_prefix=$prefix
  955. fi
  956. am_cv_python_pythondir=`$PYTHON -c "
  957. $am_python_setup_sysconfig
  958. if can_use_sysconfig:
  959. sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
  960. else:
  961. from distutils import sysconfig
  962. sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
  963. sys.stdout.write(sitedir)"`
  964. case $am_cv_python_pythondir in
  965. $am_py_prefix*)
  966. am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
  967. am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
  968. ;;
  969. *)
  970. case $am_py_prefix in
  971. /usr|/System*) ;;
  972. *)
  973. am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
  974. ;;
  975. esac
  976. ;;
  977. esac
  978. ])
  979. AC_SUBST([pythondir], [$am_cv_python_pythondir])
  980. dnl pkgpythondir -- $PACKAGE directory under pythondir. Was
  981. dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is
  982. dnl more consistent with the rest of automake.
  983. AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
  984. dnl pyexecdir -- directory for installing python extension modules
  985. dnl (shared libraries)
  986. dnl Query distutils for this directory.
  987. AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
  988. [am_cv_python_pyexecdir],
  989. [if test "x$exec_prefix" = xNONE
  990. then
  991. am_py_exec_prefix=$am_py_prefix
  992. else
  993. am_py_exec_prefix=$exec_prefix
  994. fi
  995. am_cv_python_pyexecdir=`$PYTHON -c "
  996. $am_python_setup_sysconfig
  997. if can_use_sysconfig:
  998. sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
  999. else:
  1000. from distutils import sysconfig
  1001. sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
  1002. sys.stdout.write(sitedir)"`
  1003. case $am_cv_python_pyexecdir in
  1004. $am_py_exec_prefix*)
  1005. am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
  1006. am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
  1007. ;;
  1008. *)
  1009. case $am_py_exec_prefix in
  1010. /usr|/System*) ;;
  1011. *)
  1012. am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
  1013. ;;
  1014. esac
  1015. ;;
  1016. esac
  1017. ])
  1018. AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
  1019. dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)
  1020. AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE])
  1021. dnl Run any user-specified action.
  1022. $2
  1023. fi
  1024. ])
  1025. m4trace:m4/python.m4:233: -1- AC_DEFUN([AM_PYTHON_CHECK_VERSION], [prog="import sys
  1026. # split strings by '.' and convert to numeric. Append some zeros
  1027. # because we need at least 4 digits for the hex conversion.
  1028. # map returns an iterator in Python 3.0 and a list in 2.x
  1029. minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]]
  1030. minverhex = 0
  1031. # xrange is not present in Python 3.0 and range returns an iterator
  1032. for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]]
  1033. sys.exit(sys.hexversion < minverhex)"
  1034. AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
  1035. m4trace:configure.ac:30: -1- m4_include([m4/python_pyconfigure.m4])
  1036. m4trace:m4/python_pyconfigure.m4:63: -1- AU_DEFUN([AC_LANG_PYTHON], [AC_LANG(Python)])
  1037. m4trace:m4/python_pyconfigure.m4:63: -1- AC_DEFUN([AC_LANG_PYTHON], [AC_DIAGNOSE([obsolete], [The macro `AC_LANG_PYTHON' is obsolete.
  1038. You should run autoupdate.])dnl
  1039. AC_LANG(Python)])
  1040. m4trace:m4/python_pyconfigure.m4:109: -1- AC_DEFUN([AC_LANG_COMPILER(Python)], [AC_REQUIRE([PC_PROG_PYTHON])])
  1041. m4trace:m4/python_pyconfigure.m4:117: -1- AC_DEFUN([PC_INIT], [PC_PROG_PYTHON([], [$1], [$2])
  1042. dnl If we found something, do a sanity check that the interpreter really
  1043. dnl has the version its name would suggest.
  1044. m4_ifval([PYTHON],
  1045. [PC_PYTHON_VERIFY_VERSION([>=], [pc_min_ver], [],
  1046. [AC_MSG_FAILURE([No compatible Python interpreter found. If you're sure that you have one, try setting the PYTHON environment variable to the location of the interpreter.])])])
  1047. m4_ifval([PYTHON],
  1048. [PC_PYTHON_VERIFY_VERSION([<=], [pc_max_ver], [],
  1049. [AC_MSG_FAILURE([No compatible Python interpreter found. If you're sure that you have one, try setting the PYTHON environment variable to the location of the interpreter.])])])
  1050. ])
  1051. m4trace:m4/python_pyconfigure.m4:133: -1- AC_DEFUN_ONCE([PC_PROG_PYTHON], [AC_ARG_VAR([PYTHON], [the Python interpreter])
  1052. dnl The default minimum version is 2.0
  1053. m4_define_default([pc_min_ver], m4_ifval([$2], [$2], [2.0]))
  1054. dnl The default maximum version is 3.3
  1055. m4_define_default([pc_max_ver], m4_ifval([$3], [$3], [4.0]))
  1056. dnl Build up a list of possible interpreter names.
  1057. m4_define_default([_PC_PYTHON_INTERPRETER_LIST],
  1058. [dnl If we want some Python 3 versions (max version >= 3.0),
  1059. dnl also search for "python3"
  1060. m4_if(m4_version_compare(pc_max_ver, [2.9]), [1], [python3], []) \
  1061. dnl If we want some Python 2 versions (min version <= 2.7),
  1062. dnl also search for "python2".
  1063. m4_if(m4_version_compare(pc_min_ver, [2.8]), [-1], [python2], []) \
  1064. dnl Construct a comma-separated list of interpreter names (python2.6,
  1065. dnl python2.7, etc). We only care about the first 3 characters of the
  1066. dnl version strings (major-dot-minor; not
  1067. dnl major-dot-minor-dot-bugfix[-dot-whatever])
  1068. m4_foreach([pc_ver],
  1069. m4_esyscmd_s(seq -s[[", "]] -f["[[%.1f]]"] m4_substr(pc_max_ver, [0], [3]) -0.1 m4_substr(pc_min_ver, [0], [3])),
  1070. dnl Remove python2.8 and python2.9 since they will never exist
  1071. [m4_bmatch(pc_ver, [2.[89]], [], [python]pc_ver)]) \
  1072. [python]])
  1073. dnl Do the actual search at last.
  1074. m4_ifval([$1],
  1075. [AC_PATH_PROGS(PYTHON, [$1 _PC_PYTHON_INTERPRETER_LIST])],
  1076. [AC_PATH_PROGS(PYTHON, [_PC_PYTHON_INTERPRETER_LIST])])
  1077. ])
  1078. m4trace:m4/python_pyconfigure.m4:166: -1- AC_DEFUN([PC_PYTHON_PROG_PYTHON_CONFIG], [AC_REQUIRE([PC_PROG_PYTHON])[]dnl
  1079. AC_ARG_VAR([PYTHON_CONFIG], [the Python-config program])
  1080. dnl python-config's binary name is normally based on the Python interpreter's
  1081. dnl binary name (i.e. python2.7 -> python2.7-config)
  1082. m4_define([_PYTHON_BASENAME], [`basename $PYTHON`])
  1083. m4_ifval([$1],
  1084. [AC_PATH_PROGS(PYTHON_CONFIG, [$1 _PYTHON_BASENAME-config])],
  1085. [AC_PATH_PROG(PYTHON_CONFIG, _PYTHON_BASENAME-config)])
  1086. ])
  1087. m4trace:m4/python_pyconfigure.m4:187: -1- AC_DEFUN([PC_PYTHON_VERIFY_VERSION], [m4_define([pc_python_safe_ver], m4_bpatsubsts($2, [\.], [_]))
  1088. AC_CACHE_CHECK([if Python $1 '$2'],
  1089. [[pc_cv_python_req_version_]pc_python_safe_ver],
  1090. [AC_LANG_PUSH(Python)[]dnl
  1091. AC_RUN_IFELSE(
  1092. [AC_LANG_PROGRAM([dnl
  1093. import sys
  1094. ], [dnl
  1095. # split strings by '.' and convert to numeric. Append some zeros
  1096. # because we need at least 4 digits for the hex conversion.
  1097. # map returns an iterator in Python 3.0 and a list in 2.x
  1098. reqver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]]
  1099. reqverhex = 0
  1100. # xrange is not present in Python 3.0 and range returns an iterator
  1101. for i in list(range(4)):
  1102. reqverhex = (reqverhex << 8) + reqver[[i]]
  1103. # the final 8 bits are "0xf0" for final versions, which are all
  1104. # we'll test against, since it's doubtful that a released software
  1105. # will depend on an alpha- or beta-state Python.
  1106. reqverhex += 0xf0
  1107. if sys.hexversion $1 reqverhex:
  1108. sys.exit()
  1109. else:
  1110. sys.exit(1)
  1111. ])],
  1112. [[pc_cv_python_req_version_]pc_python_safe_ver=yes],
  1113. [[pc_cv_python_req_version_]pc_python_safe_ver=no])
  1114. AC_LANG_POP(Python)[]dnl
  1115. ])
  1116. AS_IF([test "$[pc_cv_python_req_version_]pc_python_safe_ver" = "no"], [$4], [$3])
  1117. ])
  1118. m4trace:m4/python_pyconfigure.m4:226: -1- AC_DEFUN([PC_PYTHON_CHECK_VERSION], [AC_REQUIRE([PC_PROG_PYTHON])[]dnl
  1119. AC_CACHE_CHECK([for $1 version],
  1120. [pc_cv_python_version],
  1121. [AC_LANG_PUSH(Python)[]dnl
  1122. AC_LINK_IFELSE([AC_LANG_PROGRAM([dnl
  1123. import sys
  1124. ], [dnl
  1125. sys.stdout.write(sys.version[[:3]])
  1126. ])],
  1127. [pc_cv_python_version=`./conftest`],
  1128. [AC_MSG_FAILURE([failed to run Python program])])
  1129. AC_LANG_POP(Python)[]dnl
  1130. ])
  1131. AC_SUBST([PYTHON_VERSION], [$pc_cv_python_version])
  1132. ])
  1133. m4trace:m4/python_pyconfigure.m4:250: -1- AC_DEFUN([PC_PYTHON_CHECK_PREFIX], [AC_REQUIRE([PC_PYTHON_PROG_PYTHON_CONFIG])[]dnl
  1134. dnl Try to get it with python-config otherwise do it from within Python
  1135. AC_CACHE_CHECK([for Python prefix], [pc_cv_python_prefix],
  1136. [if test -x "$PYTHON_CONFIG"; then
  1137. pc_cv_python_prefix=`$PYTHON_CONFIG --prefix 2>&AS_MESSAGE_LOG_FD`
  1138. else
  1139. AC_LANG_PUSH(Python)[]dnl
  1140. AC_LINK_IFELSE([AC_LANG_PROGRAM([dnl
  1141. import sys
  1142. ], [dnl
  1143. sys.stdout.write(sys.prefix)
  1144. ])], [pc_cv_python_prefix=`./conftest`;
  1145. if test $? != 0; then
  1146. AC_MSG_FAILURE([could not determine Python prefix])
  1147. fi],
  1148. [AC_MSG_FAILURE([failed to run Python program])])
  1149. AC_LANG_POP(Python)[]dnl
  1150. fi])
  1151. AC_SUBST([PYTHON_PREFIX], [$pc_cv_python_prefix])])
  1152. m4trace:m4/python_pyconfigure.m4:275: -1- AC_DEFUN([PC_PYTHON_CHECK_EXEC_PREFIX], [AC_REQUIRE([PC_PYTHON_PROG_PYTHON_CONFIG])[]dnl
  1153. dnl Try to get it with python-config otherwise do it from within Python
  1154. AC_CACHE_CHECK([for Python exec-prefix], [pc_cv_python_exec_prefix],
  1155. [if test -x "$PYTHON_CONFIG"; then
  1156. pc_cv_python_exec_prefix=`$PYTHON_CONFIG --exec-prefix 2>&AS_MESSAGE_LOG_FD`
  1157. else
  1158. AC_LANG_PUSH(Python)[]dnl
  1159. AC_LINK_IFELSE([AC_LANG_PROGRAM([dnl
  1160. import sys
  1161. ], [dnl
  1162. sys.stdout.write(sys.exec_prefix)
  1163. ])],
  1164. [pc_cv_python_exec_prefix=`./conftest`;
  1165. if test $? != 0; then
  1166. AC_MSG_FAILURE([could not determine Python exec_prefix])
  1167. fi],
  1168. [AC_MSG_FAILURE([failed to run Python program])])
  1169. AC_LANG_POP(Python)[]dnl
  1170. fi
  1171. ])
  1172. AC_SUBST([PYTHON_EXEC_PREFIX], [$pc_cv_python_exec_prefix])])
  1173. m4trace:m4/python_pyconfigure.m4:303: -1- AC_DEFUN([PC_PYTHON_CHECK_INCLUDES], [AC_REQUIRE([PC_PYTHON_PROG_PYTHON_CONFIG])[]dnl
  1174. dnl Try to find the headers location with python-config otherwise guess
  1175. AC_CACHE_CHECK([for Python includes], [pc_cv_python_includes],
  1176. [if test -x "$PYTHON_CONFIG"; then
  1177. pc_cv_python_includes=`$PYTHON_CONFIG --includes 2>&AS_MESSAGE_LOG_FD`
  1178. else
  1179. pc_cv_python_includes="[-I$includedir/$_PYTHON_BASENAME]m4_ifdef(PYTHON_ABI_FLAGS,
  1180. PYTHON_ABI_FLAGS,)"
  1181. fi
  1182. ])
  1183. AC_SUBST([PYTHON_INCLUDES], [$pc_cv_python_includes])])
  1184. m4trace:m4/python_pyconfigure.m4:320: -1- AC_DEFUN([PC_PYTHON_CHECK_HEADERS], [AC_REQUIRE([PC_PYTHON_CHECK_INCLUDES])[]dnl
  1185. pc_cflags_store=$CPPFLAGS
  1186. CPPFLAGS="$CFLAGS $PYTHON_INCLUDES"
  1187. AC_CHECK_HEADER([Python.h], [$1], [$2])
  1188. CPPFLAGS=$pc_cflags_store
  1189. ])
  1190. m4trace:m4/python_pyconfigure.m4:332: -1- AC_DEFUN([PC_PYTHON_CHECK_LIBS], [AC_REQUIRE([PC_PYTHON_PROG_PYTHON_CONFIG])[]dnl
  1191. dnl Try to find the lib flags with python-config otherwise guess
  1192. AC_CACHE_CHECK([for Python libs], [pc_cv_python_libs],
  1193. [if test -x "$PYTHON_CONFIG"; then
  1194. pc_cv_python_libs=`$PYTHON_CONFIG --libs 2>&AS_MESSAGE_LOG_FD`
  1195. else
  1196. pc_cv_python_libs="[-l$_PYTHON_BASENAME]m4_ifdef(PYTHON_ABI_FLAGS, PYTHON_ABI_FLAGS,)"
  1197. fi
  1198. ])
  1199. AC_SUBST([PYTHON_LIBS], [$pc_cv_python_libs])])
  1200. m4trace:m4/python_pyconfigure.m4:348: -1- AC_DEFUN([PC_PYTHON_TEST_LIBS], [AC_REQUIRE([PC_PYTHON_CHECK_LIBS])[]dnl
  1201. pc_libflags_store=$LIBS
  1202. for lflag in $PYTHON_LIBS; do
  1203. case $lflag in
  1204. -lpython*@:}@
  1205. LIBS="$LIBS $lflag"
  1206. pc_libpython=`echo $lflag | sed -e 's/^-l//'`
  1207. ;;
  1208. *@:}@;;
  1209. esac
  1210. done
  1211. AC_CHECK_LIB([$pc_libpython], [$1], [$2], [$3])])
  1212. m4trace:m4/python_pyconfigure.m4:366: -1- AC_DEFUN([PC_PYTHON_CHECK_CFLAGS], [AC_REQUIRE([PC_PYTHON_PROG_PYTHON_CONFIG])[]dnl
  1213. dnl Try to find the CFLAGS with python-config otherwise give up
  1214. AC_CACHE_CHECK([for Python CFLAGS], [pc_cv_python_cflags],
  1215. [if test -x "$PYTHON_CONFIG"; then
  1216. pc_cv_python_cflags=`$PYTHON_CONFIG --cflags 2>&AS_MESSAGE_LOG_FD`
  1217. else
  1218. pc_cv_python_cflags=
  1219. fi
  1220. ])
  1221. AC_SUBST([PYTHON_CFLAGS], [$pc_cv_python_cflags])])
  1222. m4trace:m4/python_pyconfigure.m4:382: -1- AC_DEFUN([PC_PYTHON_CHECK_LDFLAGS], [AC_REQUIRE([PC_PYTHON_PROG_PYTHON_CONFIG])[]dnl
  1223. dnl Try to find the LDFLAGS with python-config otherwise give up
  1224. AC_CACHE_CHECK([for Python LDFLAGS], [pc_cv_python_ldflags],
  1225. [if test -x "$PYTHON_CONFIG"; then
  1226. pc_cv_python_ldflags=`$PYTHON_CONFIG --ldflags 2>&AS_MESSAGE_LOG_FD`
  1227. else
  1228. pc_cv_python_ldflags=
  1229. fi
  1230. ])
  1231. AC_SUBST([PYTHON_LDFLAGS], [$pc_cv_python_ldflags])])
  1232. m4trace:m4/python_pyconfigure.m4:398: -1- AC_DEFUN([PC_PYTHON_CHECK_EXTENSION_SUFFIX], [AC_REQUIRE([PC_PYTHON_PROG_PYTHON_CONFIG])[]dnl
  1233. dnl Try to find the suffix with python-config otherwise give up
  1234. AC_CACHE_CHECK([for Python extension suffix], [pc_cv_python_extension_suffix],
  1235. [if test -x "$PYTHON_CONFIG"; then
  1236. pc_cv_python_extension_suffix=`$PYTHON_CONFIG --extension-suffix 2>&AS_MESSAGE_LOG_FD`
  1237. else
  1238. pc_cv_python_extension_suffix=
  1239. fi
  1240. ])
  1241. AC_SUBST([PYTHON_EXTENSION_SUFFIX], [$pc_cv_python_extension_suffix])])
  1242. m4trace:m4/python_pyconfigure.m4:414: -1- AC_DEFUN([PC_PYTHON_CHECK_ABI_FLAGS], [AC_REQUIRE([PC_PYTHON_PROG_PYTHON_CONFIG])[]dnl
  1243. dnl Try to find the ABI flags with python-config otherwise give up
  1244. AC_CACHE_CHECK([for Python ABI flags], [pc_cv_python_abi_flags],
  1245. [if test -x "$PYTHON_CONFIG"; then
  1246. pc_cv_python_abi_flags=`$PYTHON_CONFIG --abiflags 2>&AS_MESSAGE_LOG_FD`
  1247. else
  1248. pc_cv_python_abi_flags=
  1249. fi
  1250. ])
  1251. AC_SUBST([PYTHON_ABI_FLAGS], [$pc_cv_python_abi_flags])])
  1252. m4trace:m4/python_pyconfigure.m4:431: -1- AC_DEFUN([PC_PYTHON_CHECK_PLATFORM], [AC_REQUIRE([PC_PROG_PYTHON])[]dnl
  1253. dnl Get the platform from within Python (sys.platform)
  1254. AC_CACHE_CHECK([for Python platform], [pc_cv_python_platform],
  1255. [AC_LANG_PUSH(Python)[]dnl
  1256. AC_LINK_IFELSE([AC_LANG_PROGRAM([dnl
  1257. import sys
  1258. ], [dnl
  1259. sys.stdout.write(sys.platform)
  1260. ])], [pc_cv_python_platform=`./conftest`;
  1261. if test $? != 0; then
  1262. AC_MSG_FAILURE([could not determine Python platform])
  1263. fi],
  1264. [AC_MSG_FAILURE([failed to run Python program])])
  1265. AC_LANG_POP(Python)[]dnl
  1266. ])
  1267. AC_SUBST([PYTHON_PLATFORM], [$pc_cv_python_platform])
  1268. ])
  1269. m4trace:m4/python_pyconfigure.m4:455: -1- AC_DEFUN([PC_PYTHON_CHECK_SITE_DIR], [AC_REQUIRE([PC_PROG_PYTHON])AC_REQUIRE([PC_PYTHON_CHECK_PREFIX])[]dnl
  1270. AC_CACHE_CHECK([for Python site-packages directory],
  1271. [pc_cv_python_site_dir],
  1272. [AC_LANG_PUSH(Python)[]dnl
  1273. if test "x$prefix" = xNONE
  1274. then
  1275. pc_py_prefix=$ac_default_prefix
  1276. else
  1277. pc_py_prefix=$prefix
  1278. fi
  1279. AC_LINK_IFELSE([AC_LANG_PROGRAM([dnl
  1280. import sys
  1281. from platform import python_implementation
  1282. # sysconfig in CPython 2.7 doesn't work in virtualenv
  1283. # <https://github.com/pypa/virtualenv/issues/118>
  1284. try:
  1285. import sysconfig
  1286. except:
  1287. can_use_sysconfig = False
  1288. else:
  1289. can_use_sysconfig = True
  1290. if can_use_sysconfig:
  1291. # Can't use sysconfig in CPython > 3.0 in debian since it's broken :
  1292. # <https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1408092>
  1293. if python_implementation() == "CPython" (
  1294. float(sys.version[[:3]]) > 3.0 or sys.version[[:3]] == '2.7'):
  1295. can_use_sysconfig = False
  1296. if not can_use_sysconfig:
  1297. from distutils import sysconfig
  1298. sitedir = sysconfig.get_python_lib(False, False, prefix='$pc_py_prefix')
  1299. else:
  1300. sitedir = sysconfig.get_path('purelib', vars={'base':'$pc_py_prefix'})
  1301. ], [dnl
  1302. sys.stdout.write(sitedir)
  1303. ])], [pc_cv_python_site_dir=`./conftest`],
  1304. [AC_MSG_FAILURE([failed to run Python program])])
  1305. AC_LANG_POP(Python)[]dnl
  1306. case $pc_cv_python_site_dir in
  1307. $pc_py_prefix*)
  1308. pc__strip_prefix=`echo "$pc_py_prefix" | sed 's|.|.|g'`
  1309. pc_cv_python_site_dir=`echo "$pc_cv_python_site_dir" | sed "s,^$pc__strip_prefix/,,"`
  1310. ;;
  1311. *)
  1312. case $pc_py_prefix in
  1313. /usr|/System*) ;;
  1314. *)
  1315. pc_cv_python_site_dir=lib/python$PYTHON_VERSION/site-packages
  1316. ;;
  1317. esac
  1318. ;;
  1319. esac
  1320. ])
  1321. AC_SUBST([pythondir], [\${prefix}/$pc_cv_python_site_dir])])
  1322. m4trace:m4/python_pyconfigure.m4:513: -1- AC_DEFUN([PC_PYTHON_SITE_PACKAGE_DIR], [AC_REQUIRE([PC_PYTHON_CHECK_SITE_DIR])[]dnl
  1323. AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE_NAME])])
  1324. m4trace:m4/python_pyconfigure.m4:521: -1- AC_DEFUN([PC_PYTHON_CHECK_EXEC_DIR], [AC_REQUIRE([PC_PROG_PYTHON])AC_REQUIRE([PC_PYTHON_CHECK_EXEC_PREFIX])[]dnl
  1325. AC_CACHE_CHECK([for Python extension module directory],
  1326. [pc_cv_python_exec_dir],
  1327. [AC_LANG_PUSH(Python)[]dnl
  1328. if test "x$pc_cv_python_exec_prefix" = xNONE
  1329. then
  1330. pc_py_exec_prefix=$pc_cv_python_prefix
  1331. else
  1332. pc_py_exec_prefix=$pc_cv_python_exec_prefix
  1333. fi
  1334. AC_LINK_IFELSE([AC_LANG_PROGRAM([dnl
  1335. import sys
  1336. from platform import python_implementation
  1337. # sysconfig in CPython 2.7 doesn't work in virtualenv
  1338. # <https://github.com/pypa/virtualenv/issues/118>
  1339. try:
  1340. import sysconfig
  1341. except:
  1342. can_use_sysconfig = False
  1343. else:
  1344. can_use_sysconfig = True
  1345. if can_use_sysconfig:
  1346. if python_implementation() == "CPython" and sys.version[[:3]] == '2.7':
  1347. can_use_sysconfig = False
  1348. if not can_use_sysconfig:
  1349. from distutils import sysconfig
  1350. sitedir = sysconfig.get_python_lib(False, False, prefix='$pc_py__exec_prefix')
  1351. else:
  1352. sitedir = sysconfig.get_path('purelib', vars={'platbase':'$pc_py_exec_prefix'})
  1353. ], [dnl
  1354. sys.stdout.write(sitedir)
  1355. ])], [pc_cv_python_exec_dir=`./conftest`],
  1356. [AC_MSG_FAILURE([failed to run Python program])])
  1357. AC_LANG_POP(Python)[]dnl
  1358. case $pc_cv_python_exec_dir in
  1359. $pc_py_exec_prefix*)
  1360. pc__strip_prefix=`echo "$pc_py_exec_prefix" | sed 's|.|.|g'`
  1361. pc_cv_python_exec_dir=`echo "$pc_cv_python_exec_dir" | sed "s,^$pc__strip_prefix/,,"`
  1362. ;;
  1363. *)
  1364. case $pc_py_exec_prefix in
  1365. /usr|/System*) ;;
  1366. *)
  1367. pc_cv_python_exec_dir=lib/python$PYTHON_VERSION/site-packages
  1368. ;;
  1369. esac
  1370. ;;
  1371. esac
  1372. ])
  1373. AC_SUBST([pyexecdir], [\${exec_prefix}/$pc_cv_python_pyexecdir])])
  1374. m4trace:m4/python_pyconfigure.m4:577: -1- AC_DEFUN([PC_PYTHON_EXEC_PACKAGE_DIR], [AC_REQUIRE([PC_PYTHON_CHECK_EXEC_DIR])[]dnl
  1375. AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE_NAME])])
  1376. m4trace:m4/python_pyconfigure.m4:590: -1- AC_DEFUN([PC_PYTHON_CHECK_MODULE], [AC_REQUIRE([PC_PROG_PYTHON])[]dnl
  1377. m4_define([pc_python_safe_mod], m4_bpatsubsts($1, [\.], [_]))
  1378. AC_CACHE_CHECK([for Python '$1' library],
  1379. [[pc_cv_python_module_]pc_python_safe_mod],
  1380. [AC_LANG_PUSH(Python)[]dnl
  1381. AC_RUN_IFELSE(
  1382. [AC_LANG_PROGRAM([dnl
  1383. import sys
  1384. try:
  1385. import $1
  1386. except:
  1387. sys.exit(1)
  1388. else:
  1389. sys.exit(0)
  1390. ], [])],
  1391. [[pc_cv_python_module_]pc_python_safe_mod="yes"],
  1392. [[pc_cv_python_module_]pc_python_safe_mod="no"])
  1393. AC_LANG_POP(Python)[]dnl
  1394. ])
  1395. AS_IF([test "$[pc_cv_python_module_]pc_python_safe_mod" = "no"], [$3], [$2])
  1396. ])
  1397. m4trace:m4/python_pyconfigure.m4:618: -1- AC_DEFUN([PC_PYTHON_CHECK_FUNC], [AC_REQUIRE([PC_PROG_PYTHON])[]dnl
  1398. m4_define([pc_python_safe_mod], m4_bpatsubsts($1, [\.], [_]))
  1399. AC_CACHE_CHECK([for Python m4_ifnblank($1, '$1.$2()', '$2()') function],
  1400. [[pc_cv_python_func_]pc_python_safe_mod[_$2]],
  1401. [AC_LANG_PUSH(Python)[]dnl
  1402. AC_RUN_IFELSE(
  1403. [AC_LANG_PROGRAM([dnl
  1404. import sys
  1405. m4_ifnblank([$1], [dnl
  1406. try:
  1407. import $1
  1408. except:
  1409. sys.exit(1)
  1410. ], [])],
  1411. [
  1412. m4_ifnblank([$1], [
  1413. try:
  1414. $1.$2($3)], [
  1415. try:
  1416. $2($3)])
  1417. except:
  1418. sys.exit(1)
  1419. else:
  1420. sys.exit(0)
  1421. ])],
  1422. [[pc_cv_python_func_]pc_python_safe_mod[_$2]="yes"],
  1423. [[pc_cv_python_func_]pc_python_safe_mod[_$2]="no"])
  1424. AC_LANG_POP(Python)[]dnl
  1425. ])
  1426. AS_IF([test "$[pc_cv_python_func_]pc_python_safe_mod[_$2]" = "no"], [$5], [$4])
  1427. ])
  1428. m4trace:m4/python_pyconfigure.m4:655: -1- AC_DEFUN([PC_PYTHON_CHECK_MODULE_MATCH_VERSION], [AC_REQUIRE([PC_PROG_PYTHON])[]dnl
  1429. m4_define([pc_python_safe_mod], m4_bpatsubsts($1, [\.], [_]))
  1430. AC_CACHE_CHECK([for Python '$1' library version '$2'],
  1431. [[pc_cv_python_module_version]pc_python_safe_mod],
  1432. [AC_LANG_PUSH(Python)[]dnl
  1433. AC_LINK_IFELSE(
  1434. [AC_LANG_PROGRAM([dnl
  1435. import sys
  1436. try:
  1437. import $1
  1438. except:
  1439. version='no'
  1440. else:
  1441. for vers_attr in ('__version__', 'version', 'version_info'):
  1442. if hasattr($1, vers_attr):
  1443. version = getattr($1, vers_attr)
  1444. break
  1445. else:
  1446. version = 'unknown'
  1447. sys.stdout.write(version)
  1448. ], [])],
  1449. [[pc_cv_python_module_version]pc_python_safe_mod=`./conftest`],
  1450. [AC_MSG_FAILURE([failed to run Python program])])
  1451. AC_LANG_POP(Python)[]dnl
  1452. ])
  1453. AS_IF([test "x$[pc_cv_python_module_version]pc_python_safe_mod" = "x$2" ],
  1454. [$3],
  1455. [ AS_IF(
  1456. [test "x$[pc_cv_python_module_version]pc_python_safe_mod" = 'unknown'],
  1457. AC_MSG_WARN([Unable to fetch version of Python module $1]))
  1458. [$4]
  1459. ])
  1460. ])
  1461. m4trace:m4/python_pyconfigure.m4:696: -1- AC_DEFUN([PC_PYTHON_CHECK_MODULE_VERSION], [AC_REQUIRE([PC_PROG_PYTHON])[]dnl
  1462. m4_define([pc_python_safe_mod], m4_bpatsubsts($1, [\.], [_]))
  1463. m4_append([pc_python_safe_mod], m4_bpatsubsts($2, [\.], [_]))
  1464. m4_append([pc_python_safe_mod], m4_bpatsubsts($3, [\.], [_]))
  1465. AC_CACHE_CHECK(
  1466. [for Python '$1' library m4_ifnblank([$2],['$2' <= ]) version m4_ifnblank([$3], [<= '$3'])],
  1467. [[pc_cv_python_module_version]pc_python_safe_mod],
  1468. [AC_LANG_PUSH(Python)[]dnl
  1469. AC_LINK_IFELSE(
  1470. [AC_LANG_PROGRAM([dnl
  1471. import sys
  1472. def cmp_vers(v1,v2):
  1473. v1 = v1.split('.')
  1474. v2 = v2.split('.')
  1475. for i in range(max([len](v1), [len](v2))):
  1476. v1v = int(v1[[i]] if i < [len](v1) else 0)
  1477. v2v = int(v2[[i]] if i < [len](v2) else 0)
  1478. if v1v > v2v:
  1479. return 1
  1480. if v1v < v2v:
  1481. return -1
  1482. return 0
  1483. try:
  1484. import $1
  1485. except:
  1486. result='not found'
  1487. else:
  1488. result='yes'
  1489. vmin = '$2'
  1490. vmax = '$3'
  1491. for vers_attr in ('__version__', 'version', 'version_info'):
  1492. if hasattr($1, vers_attr):
  1493. version = getattr($1, vers_attr)
  1494. break
  1495. else:
  1496. result = 'unknown'
  1497. if version not in ('unknonwn', 'no'):
  1498. failmsg = "but "+ version + " found"
  1499. if [len](vmin) > 0:
  1500. if cmp_vers(version, vmin) < 0:
  1501. result = failmsg
  1502. if [len](vmax) > 0:
  1503. if cmp_vers(version, vmax) > 0:
  1504. result = failmsg
  1505. sys.stdout.write(result)
  1506. ], [])],
  1507. [[pc_cv_python_module_version]pc_python_safe_mod=`./conftest`],
  1508. [AC_MSG_FAILURE([failed to run Python program])])
  1509. AC_LANG_POP(Python)[]dnl
  1510. ])
  1511. AS_IF( [test "$[pc_cv_python_module_version]pc_python_safe_mod" = "yes"],
  1512. [$4],
  1513. [ AS_IF(
  1514. [test "x$[pc_cv_python_module_version]pc_python_safe_mod" = 'unknown'],
  1515. AC_MSG_WARN([Unable to fetch version of Python module $1]))
  1516. [$5]
  1517. ])
  1518. ])
  1519. m4trace:configure.ac:33: -1- AM_PATH_PYTHON([3.4.2])
  1520. m4trace:configure.ac:33: -1- m4_pattern_allow([^PYTHON$])
  1521. m4trace:configure.ac:33: -1- AM_PYTHON_CHECK_VERSION([$PYTHON], [3.4.2], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])
  1522. AC_MSG_ERROR([Python interpreter is too old])])
  1523. m4trace:configure.ac:33: -1- AM_RUN_LOG([$PYTHON -c "$prog"])
  1524. m4trace:configure.ac:33: -1- AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [3.4.2], [break])
  1525. m4trace:configure.ac:33: -1- AM_RUN_LOG([$am_cv_pathless_PYTHON -c "$prog"])
  1526. m4trace:configure.ac:33: -1- m4_pattern_allow([^PYTHON$])
  1527. m4trace:configure.ac:33: -1- m4_pattern_allow([^PYTHON_VERSION$])
  1528. m4trace:configure.ac:33: -1- m4_pattern_allow([^PYTHON_PREFIX$])
  1529. m4trace:configure.ac:33: -1- m4_pattern_allow([^PYTHON_EXEC_PREFIX$])
  1530. m4trace:configure.ac:33: -1- m4_pattern_allow([^PYTHON_PLATFORM$])
  1531. m4trace:configure.ac:33: -1- m4_pattern_allow([^pythondir$])
  1532. m4trace:configure.ac:33: -1- m4_pattern_allow([^pkgpythondir$])
  1533. m4trace:configure.ac:33: -1- m4_pattern_allow([^pyexecdir$])
  1534. m4trace:configure.ac:33: -1- m4_pattern_allow([^pkgpyexecdir$])
  1535. m4trace:configure.ac:34: -1- PC_INIT([3.4.2], [3.6])
  1536. m4trace:configure.ac:34: -1- PC_PROG_PYTHON([], [3.4.2], [3.6])
  1537. m4trace:configure.ac:34: -1- m4_pattern_allow([^PYTHON$])
  1538. m4trace:configure.ac:34: -1- m4_pattern_allow([^PYTHON$])
  1539. m4trace:configure.ac:34: -1- PC_PYTHON_VERIFY_VERSION([>=], [pc_min_ver], [], [AC_MSG_FAILURE([No compatible Python interpreter found. If you're sure that you have one, try setting the PYTHON environment variable to the location of the interpreter.])])
  1540. m4trace:configure.ac:34: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2759: AC_RUN_IFELSE is expanded from...
  1541. ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
  1542. ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
  1543. ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
  1544. m4/python_pyconfigure.m4:187: PC_PYTHON_VERIFY_VERSION is expanded from...
  1545. m4/python_pyconfigure.m4:117: PC_INIT is expanded from...
  1546. configure.ac:34: the top level])
  1547. m4trace:configure.ac:34: -1- PC_PYTHON_VERIFY_VERSION([<=], [pc_max_ver], [], [AC_MSG_FAILURE([No compatible Python interpreter found. If you're sure that you have one, try setting the PYTHON environment variable to the location of the interpreter.])])
  1548. m4trace:configure.ac:34: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2759: AC_RUN_IFELSE is expanded from...
  1549. ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
  1550. ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
  1551. ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
  1552. m4/python_pyconfigure.m4:187: PC_PYTHON_VERIFY_VERSION is expanded from...
  1553. m4/python_pyconfigure.m4:117: PC_INIT is expanded from...
  1554. configure.ac:34: the top level])
  1555. m4trace:configure.ac:36: -1- PC_PYTHON_VERIFY_VERSION([>=], [3.4.2], [], [AC_MSG_ERROR(Python interpreter too old)])
  1556. m4trace:configure.ac:36: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2759: AC_RUN_IFELSE is expanded from...
  1557. ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
  1558. ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
  1559. ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
  1560. m4/python_pyconfigure.m4:187: PC_PYTHON_VERIFY_VERSION is expanded from...
  1561. configure.ac:36: the top level])
  1562. m4trace:configure.ac:39: -1- m4_pattern_allow([^SITEPACKAGES$])
  1563. m4trace:configure.ac:41: -1- PC_PYTHON_CHECK_MODULE([lxml], [], [as_fn_error $? "Module lxml not found but mandatory for lodel2" "$LINENO" 5])
  1564. m4trace:configure.ac:41: -1- _m4_warn([cross], [AC_RUN_IFELSE called without default to allow cross compiling], [../../lib/autoconf/general.m4:2759: AC_RUN_IFELSE is expanded from...
  1565. ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
  1566. ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from...
  1567. ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from...
  1568. m4/python_pyconfigure.m4:590: PC_PYTHON_CHECK_MODULE is expanded from...
  1569. configure.ac:41: the top level])
  1570. m4trace:configure.ac:44: -1- m4_pattern_allow([^WEBUI$])
  1571. m4trace:configure.ac:47: -2- m4_pattern_allow([^WEBUI$])
  1572. m4trace:configure.ac:45: -1- PC_PYTHON_CHECK_MODULE_VERSION([jinja2], [2.7.3], [], [], [{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Module jinja2 not found but mandatory for default web interface" >&5
  1573. $as_echo "$as_me: WARNING: Module jinja2 not found but mandatory for default web interface" >&2;}
  1574. WEBUI='False'
  1575. ])
  1576. m4trace:configure.ac:50: -2- m4_pattern_allow([^WEBUI$])
  1577. m4trace:configure.ac:48: -1- PC_PYTHON_CHECK_MODULE_VERSION([werkzeug], [0.9], [], [], [{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Module werkzeug not found but mandatory for default web interface" >&5
  1578. $as_echo "$as_me: WARNING: Module werkzeug not found but mandatory for default web interface" >&2;}
  1579. WEBUI='False'
  1580. ])
  1581. m4trace:configure.ac:52: -1- m4_pattern_allow([^PYMONGO$])
  1582. m4trace:configure.ac:55: -2- m4_pattern_allow([^PYMONGO$])
  1583. m4trace:configure.ac:53: -1- PC_PYTHON_CHECK_MODULE_VERSION([pymongo], [2.7], [2.8], [], [{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Module pymongo not found. The mongodb datasource will not be able to work" >&5
  1584. $as_echo "$as_me: WARNING: Module pymongo not found. The mongodb datasource will not be able to work" >&2;}
  1585. PYMONGO='False'
  1586. ])
  1587. m4trace:configure.ac:59: -1- m4_pattern_allow([^DOCOK$])
  1588. m4trace:configure.ac:60: -1- m4_pattern_allow([^DOXYGEN$])
  1589. m4trace:configure.ac:64: -1- m4_pattern_allow([^DOCOK$])
  1590. m4trace:configure.ac:66: -1- m4_pattern_allow([^GRAPHVIZ$])
  1591. m4trace:configure.ac:70: -1- m4_pattern_allow([^DOCOK$])
  1592. m4trace:configure.ac:72: -1- m4_pattern_allow([^DOXYPY$])
  1593. m4trace:configure.ac:76: -1- m4_pattern_allow([^DOCOK$])
  1594. m4trace:configure.ac:79: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  1595. m4trace:configure.ac:79: -1- m4_pattern_allow([^LTLIBOBJS$])