traces.0 85 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037
  1. m4trace:../config/codeset.m4:11: -1- AC_DEFUN([AM_LANGINFO_CODESET], [
  2. AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
  3. [AC_TRY_LINK([#include <langinfo.h>],
  4. [char* cs = nl_langinfo(CODESET);],
  5. am_cv_langinfo_codeset=yes,
  6. am_cv_langinfo_codeset=no)
  7. ])
  8. if test $am_cv_langinfo_codeset = yes; then
  9. AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
  10. [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
  11. fi
  12. ])
  13. m4trace:../config/gettext.m4:59: -1- AC_DEFUN([AM_GNU_GETTEXT], [
  14. dnl Argument checking.
  15. ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
  16. [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
  17. ])])])])])
  18. ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
  19. [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
  20. ])])])])
  21. define(gt_included_intl, ifelse([$1], [external], [no], [yes]))
  22. define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], []))
  23. AC_REQUIRE([AM_PO_SUBDIRS])dnl
  24. ifelse(gt_included_intl, yes, [
  25. AC_REQUIRE([AM_INTL_SUBDIR])dnl
  26. ])
  27. dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
  28. AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
  29. AC_REQUIRE([AC_LIB_RPATH])
  30. dnl Sometimes libintl requires libiconv, so first search for libiconv.
  31. dnl Ideally we would do this search only after the
  32. dnl if test "$USE_NLS" = "yes"; then
  33. dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then
  34. dnl tests. But if configure.ac invokes AM_ICONV after AM_GNU_GETTEXT
  35. dnl the configure script would need to contain the same shell code
  36. dnl again, outside any 'if'. There are two solutions:
  37. dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
  38. dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
  39. dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
  40. dnl documented, we avoid it.
  41. ifelse(gt_included_intl, yes, , [
  42. AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
  43. ])
  44. dnl Set USE_NLS.
  45. AM_NLS
  46. ifelse(gt_included_intl, yes, [
  47. BUILD_INCLUDED_LIBINTL=no
  48. USE_INCLUDED_LIBINTL=no
  49. ])
  50. LIBINTL=
  51. LTLIBINTL=
  52. POSUB=
  53. dnl If we use NLS figure out what method
  54. if test "$USE_NLS" = "yes"; then
  55. gt_use_preinstalled_gnugettext=no
  56. ifelse(gt_included_intl, yes, [
  57. AC_MSG_CHECKING([whether included gettext is requested])
  58. AC_ARG_WITH(included-gettext,
  59. [ --with-included-gettext use the GNU gettext library included here],
  60. nls_cv_force_use_gnu_gettext=$withval,
  61. nls_cv_force_use_gnu_gettext=no)
  62. AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
  63. nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
  64. if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
  65. ])
  66. dnl User does not insist on using GNU NLS library. Figure out what
  67. dnl to use. If GNU gettext is available we use this. Else we have
  68. dnl to fall back to GNU NLS library.
  69. dnl Add a version number to the cache macros.
  70. define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))
  71. define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
  72. define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
  73. AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
  74. [AC_TRY_LINK([#include <libintl.h>
  75. ]ifelse([$2], [need-formatstring-macros],
  76. [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
  77. #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
  78. #endif
  79. changequote(,)dnl
  80. typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
  81. changequote([,])dnl
  82. ], [])[extern int _nl_msg_cat_cntr;
  83. extern int *_nl_domain_bindings;],
  84. [bindtextdomain ("", "");
  85. return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
  86. gt_cv_func_gnugettext_libc=yes,
  87. gt_cv_func_gnugettext_libc=no)])
  88. if test "$gt_cv_func_gnugettext_libc" != "yes"; then
  89. dnl Sometimes libintl requires libiconv, so first search for libiconv.
  90. ifelse(gt_included_intl, yes, , [
  91. AM_ICONV_LINK
  92. ])
  93. dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
  94. dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
  95. dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
  96. dnl even if libiconv doesn't exist.
  97. AC_LIB_LINKFLAGS_BODY([intl])
  98. AC_CACHE_CHECK([for GNU gettext in libintl],
  99. gt_cv_func_gnugettext_libintl,
  100. [gt_save_CPPFLAGS="$CPPFLAGS"
  101. CPPFLAGS="$CPPFLAGS $INCINTL"
  102. gt_save_LIBS="$LIBS"
  103. LIBS="$LIBS $LIBINTL"
  104. dnl Now see whether libintl exists and does not depend on libiconv.
  105. AC_TRY_LINK([#include <libintl.h>
  106. ]ifelse([$2], [need-formatstring-macros],
  107. [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
  108. #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
  109. #endif
  110. changequote(,)dnl
  111. typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
  112. changequote([,])dnl
  113. ], [])[extern int _nl_msg_cat_cntr;
  114. extern
  115. #ifdef __cplusplus
  116. "C"
  117. #endif
  118. const char *_nl_expand_alias ();],
  119. [bindtextdomain ("", "");
  120. return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
  121. gt_cv_func_gnugettext_libintl=yes,
  122. gt_cv_func_gnugettext_libintl=no)
  123. dnl Now see whether libintl exists and depends on libiconv.
  124. if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
  125. LIBS="$LIBS $LIBICONV"
  126. AC_TRY_LINK([#include <libintl.h>
  127. ]ifelse([$2], [need-formatstring-macros],
  128. [#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
  129. #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
  130. #endif
  131. changequote(,)dnl
  132. typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
  133. changequote([,])dnl
  134. ], [])[extern int _nl_msg_cat_cntr;
  135. extern
  136. #ifdef __cplusplus
  137. "C"
  138. #endif
  139. const char *_nl_expand_alias ();],
  140. [bindtextdomain ("", "");
  141. return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
  142. [LIBINTL="$LIBINTL $LIBICONV"
  143. LTLIBINTL="$LTLIBINTL $LTLIBICONV"
  144. gt_cv_func_gnugettext_libintl=yes
  145. ])
  146. fi
  147. CPPFLAGS="$gt_save_CPPFLAGS"
  148. LIBS="$gt_save_LIBS"])
  149. fi
  150. dnl If an already present or preinstalled GNU gettext() is found,
  151. dnl use it. But if this macro is used in GNU gettext, and GNU
  152. dnl gettext is already preinstalled in libintl, we update this
  153. dnl libintl. (Cf. the install rule in intl/Makefile.in.)
  154. if test "$gt_cv_func_gnugettext_libc" = "yes" \
  155. || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
  156. && test "$PACKAGE" != gettext-runtime \
  157. && test "$PACKAGE" != gettext-tools; }; then
  158. gt_use_preinstalled_gnugettext=yes
  159. else
  160. dnl Reset the values set by searching for libintl.
  161. LIBINTL=
  162. LTLIBINTL=
  163. INCINTL=
  164. fi
  165. ifelse(gt_included_intl, yes, [
  166. if test "$gt_use_preinstalled_gnugettext" != "yes"; then
  167. dnl GNU gettext is not found in the C library.
  168. dnl Fall back on included GNU gettext library.
  169. nls_cv_use_gnu_gettext=yes
  170. fi
  171. fi
  172. if test "$nls_cv_use_gnu_gettext" = "yes"; then
  173. dnl Mark actions used to generate GNU NLS library.
  174. BUILD_INCLUDED_LIBINTL=yes
  175. USE_INCLUDED_LIBINTL=yes
  176. LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
  177. LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
  178. LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
  179. fi
  180. if test "$gt_use_preinstalled_gnugettext" = "yes" \
  181. || test "$nls_cv_use_gnu_gettext" = "yes"; then
  182. dnl Mark actions to use GNU gettext tools.
  183. CATOBJEXT=.gmo
  184. fi
  185. ])
  186. if test "$gt_use_preinstalled_gnugettext" = "yes" \
  187. || test "$nls_cv_use_gnu_gettext" = "yes"; then
  188. AC_DEFINE(ENABLE_NLS, 1,
  189. [Define to 1 if translation of program messages to the user's native language
  190. is requested.])
  191. else
  192. USE_NLS=no
  193. fi
  194. fi
  195. AC_MSG_CHECKING([whether to use NLS])
  196. AC_MSG_RESULT([$USE_NLS])
  197. if test "$USE_NLS" = "yes"; then
  198. AC_MSG_CHECKING([where the gettext function comes from])
  199. if test "$gt_use_preinstalled_gnugettext" = "yes"; then
  200. if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
  201. gt_source="external libintl"
  202. else
  203. gt_source="libc"
  204. fi
  205. else
  206. gt_source="included intl directory"
  207. fi
  208. AC_MSG_RESULT([$gt_source])
  209. fi
  210. if test "$USE_NLS" = "yes"; then
  211. if test "$gt_use_preinstalled_gnugettext" = "yes"; then
  212. if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
  213. AC_MSG_CHECKING([how to link with libintl])
  214. AC_MSG_RESULT([$LIBINTL])
  215. AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
  216. fi
  217. dnl For backward compatibility. Some packages may be using this.
  218. AC_DEFINE(HAVE_GETTEXT, 1,
  219. [Define if the GNU gettext() function is already present or preinstalled.])
  220. AC_DEFINE(HAVE_DCGETTEXT, 1,
  221. [Define if the GNU dcgettext() function is already present or preinstalled.])
  222. fi
  223. dnl We need to process the po/ directory.
  224. POSUB=po
  225. fi
  226. ifelse(gt_included_intl, yes, [
  227. dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
  228. dnl to 'yes' because some of the testsuite requires it.
  229. if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
  230. BUILD_INCLUDED_LIBINTL=yes
  231. fi
  232. dnl Make all variables we use known to autoconf.
  233. AC_SUBST(BUILD_INCLUDED_LIBINTL)
  234. AC_SUBST(USE_INCLUDED_LIBINTL)
  235. AC_SUBST(CATOBJEXT)
  236. dnl For backward compatibility. Some configure.acs may be using this.
  237. nls_cv_header_intl=
  238. nls_cv_header_libgt=
  239. dnl For backward compatibility. Some Makefiles may be using this.
  240. DATADIRNAME=share
  241. AC_SUBST(DATADIRNAME)
  242. dnl For backward compatibility. Some Makefiles may be using this.
  243. INSTOBJEXT=.mo
  244. AC_SUBST(INSTOBJEXT)
  245. dnl For backward compatibility. Some Makefiles may be using this.
  246. GENCAT=gencat
  247. AC_SUBST(GENCAT)
  248. dnl For backward compatibility. Some Makefiles may be using this.
  249. if test "$USE_INCLUDED_LIBINTL" = yes; then
  250. INTLOBJS="\$(GETTOBJS)"
  251. fi
  252. AC_SUBST(INTLOBJS)
  253. dnl Enable libtool support if the surrounding package wishes it.
  254. INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
  255. AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
  256. ])
  257. dnl For backward compatibility. Some Makefiles may be using this.
  258. INTLLIBS="$LIBINTL"
  259. AC_SUBST(INTLLIBS)
  260. dnl Make all documented variables known to autoconf.
  261. AC_SUBST(LIBINTL)
  262. AC_SUBST(LTLIBINTL)
  263. AC_SUBST(POSUB)
  264. ])
  265. m4trace:../config/gettext.m4:347: -1- AC_DEFUN([AM_INTL_SUBDIR], [
  266. AC_REQUIRE([AC_PROG_INSTALL])dnl
  267. AC_REQUIRE([AM_MKINSTALLDIRS])dnl
  268. AC_REQUIRE([AC_PROG_CC])dnl
  269. AC_REQUIRE([AC_CANONICAL_HOST])dnl
  270. AC_REQUIRE([AC_PROG_RANLIB])dnl
  271. AC_REQUIRE([AC_ISC_POSIX])dnl
  272. AC_REQUIRE([AC_HEADER_STDC])dnl
  273. AC_REQUIRE([AC_C_CONST])dnl
  274. AC_REQUIRE([AC_C_INLINE])dnl
  275. AC_REQUIRE([AC_TYPE_OFF_T])dnl
  276. AC_REQUIRE([AC_TYPE_SIZE_T])dnl
  277. AC_REQUIRE([AC_FUNC_ALLOCA])dnl
  278. AC_REQUIRE([AC_FUNC_MMAP])dnl
  279. AC_REQUIRE([jm_GLIBC21])dnl
  280. AC_REQUIRE([gt_INTDIV0])dnl
  281. AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl
  282. AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
  283. AC_REQUIRE([gt_INTTYPES_PRI])dnl
  284. AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
  285. stdlib.h string.h unistd.h sys/param.h])
  286. AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
  287. geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
  288. strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next \
  289. __fsetlocking])
  290. AM_ICONV
  291. AM_LANGINFO_CODESET
  292. if test $ac_cv_header_locale_h = yes; then
  293. AM_LC_MESSAGES
  294. fi
  295. dnl intl/plural.c is generated from intl/plural.y. It requires bison,
  296. dnl because plural.y uses bison specific features. It requires at least
  297. dnl bison-1.26 because earlier versions generate a plural.c that doesn't
  298. dnl compile.
  299. dnl bison is only needed for the maintainer (who touches plural.y). But in
  300. dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
  301. dnl the rule in general Makefile. Now, some people carelessly touch the
  302. dnl files or have a broken "make" program, hence the plural.c rule will
  303. dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
  304. dnl present or too old.
  305. AC_CHECK_PROGS([INTLBISON], [bison])
  306. if test -z "$INTLBISON"; then
  307. ac_verc_fail=yes
  308. else
  309. dnl Found it, now check the version.
  310. AC_MSG_CHECKING([version of bison])
  311. changequote(<<,>>)dnl
  312. ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
  313. case $ac_prog_version in
  314. '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
  315. 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
  316. changequote([,])dnl
  317. ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
  318. *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
  319. esac
  320. AC_MSG_RESULT([$ac_prog_version])
  321. fi
  322. if test $ac_verc_fail = yes; then
  323. INTLBISON=:
  324. fi
  325. ])
  326. m4trace:../config/gettext.m4:415: -1- AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
  327. m4trace:../config/glibc21.m4:12: -1- AC_DEFUN([jm_GLIBC21], [
  328. AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
  329. ac_cv_gnu_library_2_1,
  330. [AC_EGREP_CPP([Lucky GNU user],
  331. [
  332. #include <features.h>
  333. #ifdef __GNU_LIBRARY__
  334. #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
  335. Lucky GNU user
  336. #endif
  337. #endif
  338. ],
  339. ac_cv_gnu_library_2_1=yes,
  340. ac_cv_gnu_library_2_1=no)
  341. ]
  342. )
  343. AC_SUBST(GLIBC21)
  344. GLIBC21="$ac_cv_gnu_library_2_1"
  345. ])
  346. m4trace:../config/iconv.m4:12: -1- AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [
  347. dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
  348. AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
  349. AC_REQUIRE([AC_LIB_RPATH])
  350. dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
  351. dnl accordingly.
  352. AC_LIB_LINKFLAGS_BODY([iconv])
  353. ])
  354. m4trace:../config/iconv.m4:23: -1- AC_DEFUN([AM_ICONV_LINK], [
  355. dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
  356. dnl those with the standalone portable GNU libiconv installed).
  357. dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
  358. dnl accordingly.
  359. AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
  360. AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
  361. am_cv_func_iconv="no, consider installing GNU libiconv"
  362. am_cv_lib_iconv=no
  363. dnl Add $INCICONV to CPPFLAGS before performing the first check,
  364. dnl because if the user has installed libiconv and not disabled its use
  365. dnl via --without-libiconv-prefix, he wants to use it. This first
  366. dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
  367. am_save_CPPFLAGS="$CPPFLAGS"
  368. CPPFLAGS="$CPPFLAGS $INCICONV"
  369. AC_TRY_LINK([#include <stdlib.h>
  370. #include <iconv.h>],
  371. [iconv_t cd = iconv_open("","");
  372. iconv(cd,NULL,NULL,NULL,NULL);
  373. iconv_close(cd);],
  374. am_cv_func_iconv=yes)
  375. CPPFLAGS="$am_save_CPPFLAGS"
  376. if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
  377. for _libs in .libs _libs; do
  378. am_save_CPPFLAGS="$CPPFLAGS"
  379. am_save_LIBS="$LIBS"
  380. CPPFLAGS="$CPPFLAGS -I../libiconv/include"
  381. LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
  382. AC_TRY_LINK([#include <stdlib.h>
  383. #include <iconv.h>],
  384. [iconv_t cd = iconv_open("","");
  385. iconv(cd,NULL,NULL,NULL,NULL);
  386. iconv_close(cd);],
  387. INCICONV="-I../libiconv/include"
  388. LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
  389. LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
  390. am_cv_lib_iconv=yes
  391. am_cv_func_iconv=yes)
  392. CPPFLAGS="$am_save_CPPFLAGS"
  393. LIBS="$am_save_LIBS"
  394. if test "$am_cv_func_iconv" = "yes"; then
  395. break
  396. fi
  397. done
  398. fi
  399. if test "$am_cv_func_iconv" != yes; then
  400. am_save_CPPFLAGS="$CPPFLAGS"
  401. am_save_LIBS="$LIBS"
  402. CPPFLAGS="$LIBS $INCICONV"
  403. LIBS="$LIBS $LIBICONV"
  404. AC_TRY_LINK([#include <stdlib.h>
  405. #include <iconv.h>],
  406. [iconv_t cd = iconv_open("","");
  407. iconv(cd,NULL,NULL,NULL,NULL);
  408. iconv_close(cd);],
  409. am_cv_lib_iconv=yes
  410. am_cv_func_iconv=yes)
  411. CPPFLAGS="$am_save_CPPFLAGS"
  412. LIBS="$am_save_LIBS"
  413. fi
  414. ])
  415. if test "$am_cv_func_iconv" = yes; then
  416. AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
  417. fi
  418. if test "$am_cv_lib_iconv" = yes; then
  419. AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
  420. AC_MSG_CHECKING([how to link with libiconv])
  421. AC_MSG_RESULT([$LIBICONV])
  422. else
  423. LIBICONV=
  424. LTLIBICONV=
  425. fi
  426. AC_SUBST(LIBICONV)
  427. AC_SUBST(LTLIBICONV)
  428. ])
  429. m4trace:../config/iconv.m4:104: -1- AC_DEFUN([AM_ICONV], [
  430. AM_ICONV_LINK
  431. if test "$am_cv_func_iconv" = yes; then
  432. AC_MSG_CHECKING([for iconv declaration])
  433. AC_CACHE_VAL(am_cv_proto_iconv, [
  434. AC_TRY_COMPILE([
  435. #include <stdlib.h>
  436. #include <iconv.h>
  437. extern
  438. #ifdef __cplusplus
  439. "C"
  440. #endif
  441. #if defined(__STDC__) || defined(__cplusplus)
  442. size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
  443. #else
  444. size_t iconv();
  445. #endif
  446. ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
  447. am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
  448. am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
  449. AC_MSG_RESULT([$]{ac_t:-
  450. }[$]am_cv_proto_iconv)
  451. AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
  452. [Define as const if the declaration of iconv() needs const.])
  453. fi
  454. ])
  455. m4trace:../config/intdiv0.m4:11: -1- AC_DEFUN([gt_INTDIV0], [
  456. AC_REQUIRE([AC_PROG_CC])dnl
  457. AC_REQUIRE([AC_CANONICAL_HOST])dnl
  458. AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
  459. gt_cv_int_divbyzero_sigfpe,
  460. [
  461. AC_TRY_RUN([
  462. #include <stdlib.h>
  463. #include <signal.h>
  464. static void
  465. #ifdef __cplusplus
  466. sigfpe_handler (int sig)
  467. #else
  468. sigfpe_handler (sig) int sig;
  469. #endif
  470. {
  471. /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
  472. exit (sig != SIGFPE);
  473. }
  474. int x = 1;
  475. int y = 0;
  476. int z;
  477. int nan;
  478. int main ()
  479. {
  480. signal (SIGFPE, sigfpe_handler);
  481. /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
  482. #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
  483. signal (SIGTRAP, sigfpe_handler);
  484. #endif
  485. /* Linux/SPARC yields signal SIGILL. */
  486. #if defined (__sparc__) && defined (__linux__)
  487. signal (SIGILL, sigfpe_handler);
  488. #endif
  489. z = x / y;
  490. nan = y / y;
  491. exit (1);
  492. }
  493. ], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
  494. [
  495. # Guess based on the CPU.
  496. case "$host_cpu" in
  497. alpha* | i[34567]86 | m68k | s390*)
  498. gt_cv_int_divbyzero_sigfpe="guessing yes";;
  499. *)
  500. gt_cv_int_divbyzero_sigfpe="guessing no";;
  501. esac
  502. ])
  503. ])
  504. case "$gt_cv_int_divbyzero_sigfpe" in
  505. *yes) value=1;;
  506. *) value=0;;
  507. esac
  508. AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
  509. [Define if integer division by zero raises signal SIGFPE.])
  510. ])
  511. m4trace:../config/inttypes-pri.m4:14: -1- AC_DEFUN([gt_INTTYPES_PRI], [
  512. AC_REQUIRE([gt_HEADER_INTTYPES_H])
  513. if test $gt_cv_header_inttypes_h = yes; then
  514. AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
  515. gt_cv_inttypes_pri_broken,
  516. [
  517. AC_TRY_COMPILE([#include <inttypes.h>
  518. #ifdef PRId32
  519. char *p = PRId32;
  520. #endif
  521. ], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
  522. ])
  523. fi
  524. if test "$gt_cv_inttypes_pri_broken" = yes; then
  525. AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
  526. [Define if <inttypes.h> exists and defines unusable PRI* macros.])
  527. fi
  528. ])
  529. m4trace:../config/inttypes.m4:14: -1- AC_DEFUN([gt_HEADER_INTTYPES_H], [
  530. AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h,
  531. [
  532. AC_TRY_COMPILE(
  533. [#include <sys/types.h>
  534. #include <inttypes.h>],
  535. [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no)
  536. ])
  537. if test $gt_cv_header_inttypes_h = yes; then
  538. AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
  539. [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
  540. fi
  541. ])
  542. m4trace:../config/inttypes_h.m4:14: -1- AC_DEFUN([jm_AC_HEADER_INTTYPES_H], [
  543. AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h,
  544. [AC_TRY_COMPILE(
  545. [#include <sys/types.h>
  546. #include <inttypes.h>],
  547. [uintmax_t i = (uintmax_t) -1;],
  548. jm_ac_cv_header_inttypes_h=yes,
  549. jm_ac_cv_header_inttypes_h=no)])
  550. if test $jm_ac_cv_header_inttypes_h = yes; then
  551. AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
  552. [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
  553. and declares uintmax_t. ])
  554. fi
  555. ])
  556. m4trace:../config/lcmessage.m4:23: -1- AC_DEFUN([AM_LC_MESSAGES], [
  557. AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
  558. [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
  559. am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
  560. if test $am_cv_val_LC_MESSAGES = yes; then
  561. AC_DEFINE(HAVE_LC_MESSAGES, 1,
  562. [Define if your <locale.h> file defines LC_MESSAGES.])
  563. fi
  564. ])
  565. m4trace:../config/lib-ld.m4:14: -1- AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
  566. [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
  567. if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
  568. acl_cv_prog_gnu_ld=yes
  569. else
  570. acl_cv_prog_gnu_ld=no
  571. fi])
  572. with_gnu_ld=$acl_cv_prog_gnu_ld
  573. ])
  574. m4trace:../config/lib-ld.m4:26: -1- AC_DEFUN([AC_LIB_PROG_LD], [AC_ARG_WITH(gnu-ld,
  575. [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
  576. test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
  577. AC_REQUIRE([AC_PROG_CC])dnl
  578. AC_REQUIRE([AC_CANONICAL_HOST])dnl
  579. # Prepare PATH_SEPARATOR.
  580. # The user is always right.
  581. if test "${PATH_SEPARATOR+set}" != set; then
  582. echo "#! /bin/sh" >conf$$.sh
  583. echo "exit 0" >>conf$$.sh
  584. chmod +x conf$$.sh
  585. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  586. PATH_SEPARATOR=';'
  587. else
  588. PATH_SEPARATOR=:
  589. fi
  590. rm -f conf$$.sh
  591. fi
  592. ac_prog=ld
  593. if test "$GCC" = yes; then
  594. # Check if gcc -print-prog-name=ld gives a path.
  595. AC_MSG_CHECKING([for ld used by GCC])
  596. case $host in
  597. *-*-mingw*)
  598. # gcc leaves a trailing carriage return which upsets mingw
  599. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  600. *)
  601. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  602. esac
  603. case $ac_prog in
  604. # Accept absolute paths.
  605. [[\\/]* | [A-Za-z]:[\\/]*)]
  606. [re_direlt='/[^/][^/]*/\.\./']
  607. # Canonicalize the path of ld
  608. ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
  609. while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  610. ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
  611. done
  612. test -z "$LD" && LD="$ac_prog"
  613. ;;
  614. "")
  615. # If it fails, then pretend we aren't using GCC.
  616. ac_prog=ld
  617. ;;
  618. *)
  619. # If it is relative, then search for the first ld in PATH.
  620. with_gnu_ld=unknown
  621. ;;
  622. esac
  623. elif test "$with_gnu_ld" = yes; then
  624. AC_MSG_CHECKING([for GNU ld])
  625. else
  626. AC_MSG_CHECKING([for non-GNU ld])
  627. fi
  628. AC_CACHE_VAL(acl_cv_path_LD,
  629. [if test -z "$LD"; then
  630. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  631. for ac_dir in $PATH; do
  632. test -z "$ac_dir" && ac_dir=.
  633. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  634. acl_cv_path_LD="$ac_dir/$ac_prog"
  635. # Check to see if the program is GNU ld. I'd rather use --version,
  636. # but apparently some GNU ld's only accept -v.
  637. # Break only if it was the GNU/non-GNU ld that we prefer.
  638. if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
  639. test "$with_gnu_ld" != no && break
  640. else
  641. test "$with_gnu_ld" != yes && break
  642. fi
  643. fi
  644. done
  645. IFS="$ac_save_ifs"
  646. else
  647. acl_cv_path_LD="$LD" # Let the user override the test with a path.
  648. fi])
  649. LD="$acl_cv_path_LD"
  650. if test -n "$LD"; then
  651. AC_MSG_RESULT($LD)
  652. else
  653. AC_MSG_RESULT(no)
  654. fi
  655. test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  656. AC_LIB_PROG_LD_GNU
  657. ])
  658. m4trace:../config/lib-link.m4:15: -1- AC_DEFUN([AC_LIB_LINKFLAGS], [
  659. AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
  660. AC_REQUIRE([AC_LIB_RPATH])
  661. define([Name],[translit([$1],[./-], [___])])
  662. define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
  663. [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
  664. AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
  665. AC_LIB_LINKFLAGS_BODY([$1], [$2])
  666. ac_cv_lib[]Name[]_libs="$LIB[]NAME"
  667. ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
  668. ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
  669. ])
  670. LIB[]NAME="$ac_cv_lib[]Name[]_libs"
  671. LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
  672. INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
  673. AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
  674. AC_SUBST([LIB]NAME)
  675. AC_SUBST([LTLIB]NAME)
  676. dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
  677. dnl results of this search when this library appears as a dependency.
  678. HAVE_LIB[]NAME=yes
  679. undefine([Name])
  680. undefine([NAME])
  681. ])
  682. m4trace:../config/lib-link.m4:49: -1- AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [
  683. AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
  684. AC_REQUIRE([AC_LIB_RPATH])
  685. define([Name],[translit([$1],[./-], [___])])
  686. define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
  687. [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
  688. dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
  689. dnl accordingly.
  690. AC_LIB_LINKFLAGS_BODY([$1], [$2])
  691. dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
  692. dnl because if the user has installed lib[]Name and not disabled its use
  693. dnl via --without-lib[]Name-prefix, he wants to use it.
  694. ac_save_CPPFLAGS="$CPPFLAGS"
  695. AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
  696. AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
  697. ac_save_LIBS="$LIBS"
  698. LIBS="$LIBS $LIB[]NAME"
  699. AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
  700. LIBS="$ac_save_LIBS"
  701. ])
  702. if test "$ac_cv_lib[]Name" = yes; then
  703. HAVE_LIB[]NAME=yes
  704. AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
  705. AC_MSG_CHECKING([how to link with lib[]$1])
  706. AC_MSG_RESULT([$LIB[]NAME])
  707. else
  708. HAVE_LIB[]NAME=no
  709. dnl If $LIB[]NAME didn't lead to a usable library, we don't need
  710. dnl $INC[]NAME either.
  711. CPPFLAGS="$ac_save_CPPFLAGS"
  712. LIB[]NAME=
  713. LTLIB[]NAME=
  714. fi
  715. AC_SUBST([HAVE_LIB]NAME)
  716. AC_SUBST([LIB]NAME)
  717. AC_SUBST([LTLIB]NAME)
  718. undefine([Name])
  719. undefine([NAME])
  720. ])
  721. m4trace:../config/lib-link.m4:96: -1- AC_DEFUN([AC_LIB_RPATH], [
  722. AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
  723. AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
  724. AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
  725. AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
  726. AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
  727. CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
  728. ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
  729. . ./conftest.sh
  730. rm -f ./conftest.sh
  731. acl_cv_rpath=done
  732. ])
  733. wl="$acl_cv_wl"
  734. libext="$acl_cv_libext"
  735. shlibext="$acl_cv_shlibext"
  736. hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
  737. hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
  738. hardcode_direct="$acl_cv_hardcode_direct"
  739. hardcode_minus_L="$acl_cv_hardcode_minus_L"
  740. dnl Determine whether the user wants rpath handling at all.
  741. AC_ARG_ENABLE(rpath,
  742. [ --disable-rpath do not hardcode runtime library paths],
  743. :, enable_rpath=yes)
  744. ])
  745. m4trace:../config/lib-link.m4:125: -1- AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [
  746. define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
  747. [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
  748. dnl By default, look in $includedir and $libdir.
  749. use_additional=yes
  750. AC_LIB_WITH_FINAL_PREFIX([
  751. eval additional_includedir=\"$includedir\"
  752. eval additional_libdir=\"$libdir\"
  753. ])
  754. AC_LIB_ARG_WITH([lib$1-prefix],
  755. [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
  756. --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
  757. [
  758. if test "X$withval" = "Xno"; then
  759. use_additional=no
  760. else
  761. if test "X$withval" = "X"; then
  762. AC_LIB_WITH_FINAL_PREFIX([
  763. eval additional_includedir=\"$includedir\"
  764. eval additional_libdir=\"$libdir\"
  765. ])
  766. else
  767. additional_includedir="$withval/include"
  768. additional_libdir="$withval/lib"
  769. fi
  770. fi
  771. ])
  772. dnl Search the library and its dependencies in $additional_libdir and
  773. dnl $LDFLAGS. Using breadth-first-seach.
  774. LIB[]NAME=
  775. LTLIB[]NAME=
  776. INC[]NAME=
  777. rpathdirs=
  778. ltrpathdirs=
  779. names_already_handled=
  780. names_next_round='$1 $2'
  781. while test -n "$names_next_round"; do
  782. names_this_round="$names_next_round"
  783. names_next_round=
  784. for name in $names_this_round; do
  785. already_handled=
  786. for n in $names_already_handled; do
  787. if test "$n" = "$name"; then
  788. already_handled=yes
  789. break
  790. fi
  791. done
  792. if test -z "$already_handled"; then
  793. names_already_handled="$names_already_handled $name"
  794. dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
  795. dnl or AC_LIB_HAVE_LINKFLAGS call.
  796. uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
  797. eval value=\"\$HAVE_LIB$uppername\"
  798. if test -n "$value"; then
  799. if test "$value" = yes; then
  800. eval value=\"\$LIB$uppername\"
  801. test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
  802. eval value=\"\$LTLIB$uppername\"
  803. test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
  804. else
  805. dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
  806. dnl that this library doesn't exist. So just drop it.
  807. :
  808. fi
  809. else
  810. dnl Search the library lib$name in $additional_libdir and $LDFLAGS
  811. dnl and the already constructed $LIBNAME/$LTLIBNAME.
  812. found_dir=
  813. found_la=
  814. found_so=
  815. found_a=
  816. if test $use_additional = yes; then
  817. if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
  818. found_dir="$additional_libdir"
  819. found_so="$additional_libdir/lib$name.$shlibext"
  820. if test -f "$additional_libdir/lib$name.la"; then
  821. found_la="$additional_libdir/lib$name.la"
  822. fi
  823. else
  824. if test -f "$additional_libdir/lib$name.$libext"; then
  825. found_dir="$additional_libdir"
  826. found_a="$additional_libdir/lib$name.$libext"
  827. if test -f "$additional_libdir/lib$name.la"; then
  828. found_la="$additional_libdir/lib$name.la"
  829. fi
  830. fi
  831. fi
  832. fi
  833. if test "X$found_dir" = "X"; then
  834. for x in $LDFLAGS $LTLIB[]NAME; do
  835. AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  836. case "$x" in
  837. -L*)
  838. dir=`echo "X$x" | sed -e 's/^X-L//'`
  839. if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
  840. found_dir="$dir"
  841. found_so="$dir/lib$name.$shlibext"
  842. if test -f "$dir/lib$name.la"; then
  843. found_la="$dir/lib$name.la"
  844. fi
  845. else
  846. if test -f "$dir/lib$name.$libext"; then
  847. found_dir="$dir"
  848. found_a="$dir/lib$name.$libext"
  849. if test -f "$dir/lib$name.la"; then
  850. found_la="$dir/lib$name.la"
  851. fi
  852. fi
  853. fi
  854. ;;
  855. esac
  856. if test "X$found_dir" != "X"; then
  857. break
  858. fi
  859. done
  860. fi
  861. if test "X$found_dir" != "X"; then
  862. dnl Found the library.
  863. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
  864. if test "X$found_so" != "X"; then
  865. dnl Linking with a shared library. We attempt to hardcode its
  866. dnl directory into the executable's runpath, unless it's the
  867. dnl standard /usr/lib.
  868. if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
  869. dnl No hardcoding is needed.
  870. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
  871. else
  872. dnl Use an explicit option to hardcode DIR into the resulting
  873. dnl binary.
  874. dnl Potentially add DIR to ltrpathdirs.
  875. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
  876. haveit=
  877. for x in $ltrpathdirs; do
  878. if test "X$x" = "X$found_dir"; then
  879. haveit=yes
  880. break
  881. fi
  882. done
  883. if test -z "$haveit"; then
  884. ltrpathdirs="$ltrpathdirs $found_dir"
  885. fi
  886. dnl The hardcoding into $LIBNAME is system dependent.
  887. if test "$hardcode_direct" = yes; then
  888. dnl Using DIR/libNAME.so during linking hardcodes DIR into the
  889. dnl resulting binary.
  890. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
  891. else
  892. if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
  893. dnl Use an explicit option to hardcode DIR into the resulting
  894. dnl binary.
  895. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
  896. dnl Potentially add DIR to rpathdirs.
  897. dnl The rpathdirs will be appended to $LIBNAME at the end.
  898. haveit=
  899. for x in $rpathdirs; do
  900. if test "X$x" = "X$found_dir"; then
  901. haveit=yes
  902. break
  903. fi
  904. done
  905. if test -z "$haveit"; then
  906. rpathdirs="$rpathdirs $found_dir"
  907. fi
  908. else
  909. dnl Rely on "-L$found_dir".
  910. dnl But don't add it if it's already contained in the LDFLAGS
  911. dnl or the already constructed $LIBNAME
  912. haveit=
  913. for x in $LDFLAGS $LIB[]NAME; do
  914. AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  915. if test "X$x" = "X-L$found_dir"; then
  916. haveit=yes
  917. break
  918. fi
  919. done
  920. if test -z "$haveit"; then
  921. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
  922. fi
  923. if test "$hardcode_minus_L" != no; then
  924. dnl FIXME: Not sure whether we should use
  925. dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
  926. dnl here.
  927. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
  928. else
  929. dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
  930. dnl here, because this doesn't fit in flags passed to the
  931. dnl compiler. So give up. No hardcoding. This affects only
  932. dnl very old systems.
  933. dnl FIXME: Not sure whether we should use
  934. dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
  935. dnl here.
  936. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
  937. fi
  938. fi
  939. fi
  940. fi
  941. else
  942. if test "X$found_a" != "X"; then
  943. dnl Linking with a static library.
  944. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
  945. else
  946. dnl We shouldn't come here, but anyway it's good to have a
  947. dnl fallback.
  948. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
  949. fi
  950. fi
  951. dnl Assume the include files are nearby.
  952. additional_includedir=
  953. case "$found_dir" in
  954. */lib | */lib/)
  955. basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
  956. additional_includedir="$basedir/include"
  957. ;;
  958. esac
  959. if test "X$additional_includedir" != "X"; then
  960. dnl Potentially add $additional_includedir to $INCNAME.
  961. dnl But don't add it
  962. dnl 1. if it's the standard /usr/include,
  963. dnl 2. if it's /usr/local/include and we are using GCC on Linux,
  964. dnl 3. if it's already present in $CPPFLAGS or the already
  965. dnl constructed $INCNAME,
  966. dnl 4. if it doesn't exist as a directory.
  967. if test "X$additional_includedir" != "X/usr/include"; then
  968. haveit=
  969. if test "X$additional_includedir" = "X/usr/local/include"; then
  970. if test -n "$GCC"; then
  971. case $host_os in
  972. linux*) haveit=yes;;
  973. esac
  974. fi
  975. fi
  976. if test -z "$haveit"; then
  977. for x in $CPPFLAGS $INC[]NAME; do
  978. AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  979. if test "X$x" = "X-I$additional_includedir"; then
  980. haveit=yes
  981. break
  982. fi
  983. done
  984. if test -z "$haveit"; then
  985. if test -d "$additional_includedir"; then
  986. dnl Really add $additional_includedir to $INCNAME.
  987. INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
  988. fi
  989. fi
  990. fi
  991. fi
  992. fi
  993. dnl Look for dependencies.
  994. if test -n "$found_la"; then
  995. dnl Read the .la file. It defines the variables
  996. dnl dlname, library_names, old_library, dependency_libs, current,
  997. dnl age, revision, installed, dlopen, dlpreopen, libdir.
  998. save_libdir="$libdir"
  999. case "$found_la" in
  1000. */* | *\\*) . "$found_la" ;;
  1001. *) . "./$found_la" ;;
  1002. esac
  1003. libdir="$save_libdir"
  1004. dnl We use only dependency_libs.
  1005. for dep in $dependency_libs; do
  1006. case "$dep" in
  1007. -L*)
  1008. additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
  1009. dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
  1010. dnl But don't add it
  1011. dnl 1. if it's the standard /usr/lib,
  1012. dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
  1013. dnl 3. if it's already present in $LDFLAGS or the already
  1014. dnl constructed $LIBNAME,
  1015. dnl 4. if it doesn't exist as a directory.
  1016. if test "X$additional_libdir" != "X/usr/lib"; then
  1017. haveit=
  1018. if test "X$additional_libdir" = "X/usr/local/lib"; then
  1019. if test -n "$GCC"; then
  1020. case $host_os in
  1021. linux*) haveit=yes;;
  1022. esac
  1023. fi
  1024. fi
  1025. if test -z "$haveit"; then
  1026. haveit=
  1027. for x in $LDFLAGS $LIB[]NAME; do
  1028. AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1029. if test "X$x" = "X-L$additional_libdir"; then
  1030. haveit=yes
  1031. break
  1032. fi
  1033. done
  1034. if test -z "$haveit"; then
  1035. if test -d "$additional_libdir"; then
  1036. dnl Really add $additional_libdir to $LIBNAME.
  1037. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
  1038. fi
  1039. fi
  1040. haveit=
  1041. for x in $LDFLAGS $LTLIB[]NAME; do
  1042. AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1043. if test "X$x" = "X-L$additional_libdir"; then
  1044. haveit=yes
  1045. break
  1046. fi
  1047. done
  1048. if test -z "$haveit"; then
  1049. if test -d "$additional_libdir"; then
  1050. dnl Really add $additional_libdir to $LTLIBNAME.
  1051. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
  1052. fi
  1053. fi
  1054. fi
  1055. fi
  1056. ;;
  1057. -R*)
  1058. dir=`echo "X$dep" | sed -e 's/^X-R//'`
  1059. if test "$enable_rpath" != no; then
  1060. dnl Potentially add DIR to rpathdirs.
  1061. dnl The rpathdirs will be appended to $LIBNAME at the end.
  1062. haveit=
  1063. for x in $rpathdirs; do
  1064. if test "X$x" = "X$dir"; then
  1065. haveit=yes
  1066. break
  1067. fi
  1068. done
  1069. if test -z "$haveit"; then
  1070. rpathdirs="$rpathdirs $dir"
  1071. fi
  1072. dnl Potentially add DIR to ltrpathdirs.
  1073. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
  1074. haveit=
  1075. for x in $ltrpathdirs; do
  1076. if test "X$x" = "X$dir"; then
  1077. haveit=yes
  1078. break
  1079. fi
  1080. done
  1081. if test -z "$haveit"; then
  1082. ltrpathdirs="$ltrpathdirs $dir"
  1083. fi
  1084. fi
  1085. ;;
  1086. -l*)
  1087. dnl Handle this in the next round.
  1088. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
  1089. ;;
  1090. *.la)
  1091. dnl Handle this in the next round. Throw away the .la's
  1092. dnl directory; it is already contained in a preceding -L
  1093. dnl option.
  1094. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
  1095. ;;
  1096. *)
  1097. dnl Most likely an immediate library name.
  1098. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
  1099. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
  1100. ;;
  1101. esac
  1102. done
  1103. fi
  1104. else
  1105. dnl Didn't find the library; assume it is in the system directories
  1106. dnl known to the linker and runtime loader. (All the system
  1107. dnl directories known to the linker should also be known to the
  1108. dnl runtime loader, otherwise the system is severely misconfigured.)
  1109. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
  1110. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
  1111. fi
  1112. fi
  1113. fi
  1114. done
  1115. done
  1116. if test "X$rpathdirs" != "X"; then
  1117. if test -n "$hardcode_libdir_separator"; then
  1118. dnl Weird platform: only the last -rpath option counts, the user must
  1119. dnl pass all path elements in one option. We can arrange that for a
  1120. dnl single library, but not when more than one $LIBNAMEs are used.
  1121. alldirs=
  1122. for found_dir in $rpathdirs; do
  1123. alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
  1124. done
  1125. dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
  1126. acl_save_libdir="$libdir"
  1127. libdir="$alldirs"
  1128. eval flag=\"$hardcode_libdir_flag_spec\"
  1129. libdir="$acl_save_libdir"
  1130. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
  1131. else
  1132. dnl The -rpath options are cumulative.
  1133. for found_dir in $rpathdirs; do
  1134. acl_save_libdir="$libdir"
  1135. libdir="$found_dir"
  1136. eval flag=\"$hardcode_libdir_flag_spec\"
  1137. libdir="$acl_save_libdir"
  1138. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
  1139. done
  1140. fi
  1141. fi
  1142. if test "X$ltrpathdirs" != "X"; then
  1143. dnl When using libtool, the option that works for both libraries and
  1144. dnl executables is -R. The -R options are cumulative.
  1145. for found_dir in $ltrpathdirs; do
  1146. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
  1147. done
  1148. fi
  1149. ])
  1150. m4trace:../config/lib-link.m4:536: -1- AC_DEFUN([AC_LIB_APPENDTOVAR], [
  1151. for element in [$2]; do
  1152. haveit=
  1153. for x in $[$1]; do
  1154. AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1155. if test "X$x" = "X$element"; then
  1156. haveit=yes
  1157. break
  1158. fi
  1159. done
  1160. if test -z "$haveit"; then
  1161. [$1]="${[$1]}${[$1]:+ }$element"
  1162. fi
  1163. done
  1164. ])
  1165. m4trace:../config/lib-prefix.m4:14: -1- AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])
  1166. m4trace:../config/lib-prefix.m4:24: -1- AC_DEFUN([AC_LIB_PREFIX], [
  1167. AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
  1168. AC_REQUIRE([AC_PROG_CC])
  1169. AC_REQUIRE([AC_CANONICAL_HOST])
  1170. AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
  1171. dnl By default, look in $includedir and $libdir.
  1172. use_additional=yes
  1173. AC_LIB_WITH_FINAL_PREFIX([
  1174. eval additional_includedir=\"$includedir\"
  1175. eval additional_libdir=\"$libdir\"
  1176. ])
  1177. AC_LIB_ARG_WITH([lib-prefix],
  1178. [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
  1179. --without-lib-prefix don't search for libraries in includedir and libdir],
  1180. [
  1181. if test "X$withval" = "Xno"; then
  1182. use_additional=no
  1183. else
  1184. if test "X$withval" = "X"; then
  1185. AC_LIB_WITH_FINAL_PREFIX([
  1186. eval additional_includedir=\"$includedir\"
  1187. eval additional_libdir=\"$libdir\"
  1188. ])
  1189. else
  1190. additional_includedir="$withval/include"
  1191. additional_libdir="$withval/lib"
  1192. fi
  1193. fi
  1194. ])
  1195. if test $use_additional = yes; then
  1196. dnl Potentially add $additional_includedir to $CPPFLAGS.
  1197. dnl But don't add it
  1198. dnl 1. if it's the standard /usr/include,
  1199. dnl 2. if it's already present in $CPPFLAGS,
  1200. dnl 3. if it's /usr/local/include and we are using GCC on Linux,
  1201. dnl 4. if it doesn't exist as a directory.
  1202. if test "X$additional_includedir" != "X/usr/include"; then
  1203. haveit=
  1204. for x in $CPPFLAGS; do
  1205. AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1206. if test "X$x" = "X-I$additional_includedir"; then
  1207. haveit=yes
  1208. break
  1209. fi
  1210. done
  1211. if test -z "$haveit"; then
  1212. if test "X$additional_includedir" = "X/usr/local/include"; then
  1213. if test -n "$GCC"; then
  1214. case $host_os in
  1215. linux*) haveit=yes;;
  1216. esac
  1217. fi
  1218. fi
  1219. if test -z "$haveit"; then
  1220. if test -d "$additional_includedir"; then
  1221. dnl Really add $additional_includedir to $CPPFLAGS.
  1222. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
  1223. fi
  1224. fi
  1225. fi
  1226. fi
  1227. dnl Potentially add $additional_libdir to $LDFLAGS.
  1228. dnl But don't add it
  1229. dnl 1. if it's the standard /usr/lib,
  1230. dnl 2. if it's already present in $LDFLAGS,
  1231. dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
  1232. dnl 4. if it doesn't exist as a directory.
  1233. if test "X$additional_libdir" != "X/usr/lib"; then
  1234. haveit=
  1235. for x in $LDFLAGS; do
  1236. AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1237. if test "X$x" = "X-L$additional_libdir"; then
  1238. haveit=yes
  1239. break
  1240. fi
  1241. done
  1242. if test -z "$haveit"; then
  1243. if test "X$additional_libdir" = "X/usr/local/lib"; then
  1244. if test -n "$GCC"; then
  1245. case $host_os in
  1246. linux*) haveit=yes;;
  1247. esac
  1248. fi
  1249. fi
  1250. if test -z "$haveit"; then
  1251. if test -d "$additional_libdir"; then
  1252. dnl Really add $additional_libdir to $LDFLAGS.
  1253. LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
  1254. fi
  1255. fi
  1256. fi
  1257. fi
  1258. fi
  1259. ])
  1260. m4trace:../config/lib-prefix.m4:123: -1- AC_DEFUN([AC_LIB_PREPARE_PREFIX], [
  1261. dnl Unfortunately, prefix and exec_prefix get only finally determined
  1262. dnl at the end of configure.
  1263. if test "X$prefix" = "XNONE"; then
  1264. acl_final_prefix="$ac_default_prefix"
  1265. else
  1266. acl_final_prefix="$prefix"
  1267. fi
  1268. if test "X$exec_prefix" = "XNONE"; then
  1269. acl_final_exec_prefix='${prefix}'
  1270. else
  1271. acl_final_exec_prefix="$exec_prefix"
  1272. fi
  1273. acl_save_prefix="$prefix"
  1274. prefix="$acl_final_prefix"
  1275. eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
  1276. prefix="$acl_save_prefix"
  1277. ])
  1278. m4trace:../config/lib-prefix.m4:146: -1- AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [
  1279. acl_save_prefix="$prefix"
  1280. prefix="$acl_final_prefix"
  1281. acl_save_exec_prefix="$exec_prefix"
  1282. exec_prefix="$acl_final_exec_prefix"
  1283. $1
  1284. exec_prefix="$acl_save_exec_prefix"
  1285. prefix="$acl_save_prefix"
  1286. ])
  1287. m4trace:../config/nls.m4:22: -1- AC_DEFUN([AM_NLS], [
  1288. AC_MSG_CHECKING([whether NLS is requested])
  1289. dnl Default is enabled NLS
  1290. AC_ARG_ENABLE(nls,
  1291. [ --disable-nls do not use Native Language Support],
  1292. USE_NLS=$enableval, USE_NLS=yes)
  1293. AC_MSG_RESULT($USE_NLS)
  1294. AC_SUBST(USE_NLS)
  1295. ])
  1296. m4trace:../config/nls.m4:33: -1- AC_DEFUN([AM_MKINSTALLDIRS], [
  1297. dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
  1298. dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
  1299. dnl Try to locate it.
  1300. MKINSTALLDIRS=
  1301. if test -n "$ac_aux_dir"; then
  1302. case "$ac_aux_dir" in
  1303. /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
  1304. *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
  1305. esac
  1306. fi
  1307. if test -z "$MKINSTALLDIRS"; then
  1308. MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
  1309. fi
  1310. AC_SUBST(MKINSTALLDIRS)
  1311. ])
  1312. m4trace:../config/override.m4:12: -1- AC_DEFUN([AC_PREREQ], [frob])
  1313. m4trace:../config/override.m4:12: -1- AC_DEFUN([_GCC_AUTOCONF_VERSION_CHECK], [m4_if(m4_defn([_GCC_AUTOCONF_VERSION]),
  1314. m4_defn([m4_PACKAGE_VERSION]), [],
  1315. [m4_fatal([Please use exactly Autoconf ]_GCC_AUTOCONF_VERSION[ instead of ]m4_defn([m4_PACKAGE_VERSION])[.])])
  1316. ])
  1317. m4trace:../config/override.m4:12: -1- AC_DEFUN_ONCE([AC_PROG_LEX], [AC_CHECK_PROGS(LEX, flex lex, :)
  1318. case "$LEX" in
  1319. :|*"missing "*) ;;
  1320. *) _AC_PROG_LEX_YYTEXT_DECL ;;
  1321. esac])
  1322. m4trace:../config/po.m4:23: -1- AC_DEFUN([AM_PO_SUBDIRS], [
  1323. AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  1324. AC_REQUIRE([AC_PROG_INSTALL])dnl
  1325. AC_REQUIRE([AM_MKINSTALLDIRS])dnl
  1326. AC_REQUIRE([AM_NLS])dnl
  1327. dnl Perform the following tests also if --disable-nls has been given,
  1328. dnl because they are needed for "make dist" to work.
  1329. dnl Search for GNU msgfmt in the PATH.
  1330. dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
  1331. dnl The second test excludes FreeBSD msgfmt.
  1332. AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
  1333. [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
  1334. (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
  1335. :)
  1336. AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
  1337. dnl Search for GNU xgettext 0.12 or newer in the PATH.
  1338. dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
  1339. dnl The second test excludes FreeBSD xgettext.
  1340. AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
  1341. [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
  1342. (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
  1343. :)
  1344. dnl Remove leftover from FreeBSD xgettext call.
  1345. rm -f messages.po
  1346. dnl Search for GNU msgmerge 0.11 or newer in the PATH.
  1347. AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
  1348. [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :)
  1349. dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
  1350. dnl Test whether we really found GNU msgfmt.
  1351. if test "$GMSGFMT" != ":"; then
  1352. dnl If it is no GNU msgfmt we define it as : so that the
  1353. dnl Makefiles still can work.
  1354. if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
  1355. (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
  1356. : ;
  1357. else
  1358. GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
  1359. AC_MSG_RESULT(
  1360. [found $GMSGFMT program is not GNU msgfmt; ignore it])
  1361. GMSGFMT=":"
  1362. fi
  1363. fi
  1364. dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
  1365. dnl Test whether we really found GNU xgettext.
  1366. if test "$XGETTEXT" != ":"; then
  1367. dnl If it is no GNU xgettext we define it as : so that the
  1368. dnl Makefiles still can work.
  1369. if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
  1370. (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
  1371. : ;
  1372. else
  1373. AC_MSG_RESULT(
  1374. [found xgettext program is not GNU xgettext; ignore it])
  1375. XGETTEXT=":"
  1376. fi
  1377. dnl Remove leftover from FreeBSD xgettext call.
  1378. rm -f messages.po
  1379. fi
  1380. AC_OUTPUT_COMMANDS([
  1381. for ac_file in $CONFIG_FILES; do
  1382. # Support "outfile[:infile[:infile...]]"
  1383. case "$ac_file" in
  1384. *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  1385. esac
  1386. # PO directories have a Makefile.in generated from Makefile.in.in.
  1387. case "$ac_file" in */Makefile.in)
  1388. # Adjust a relative srcdir.
  1389. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
  1390. ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
  1391. ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
  1392. # In autoconf-2.13 it is called $ac_given_srcdir.
  1393. # In autoconf-2.50 it is called $srcdir.
  1394. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
  1395. case "$ac_given_srcdir" in
  1396. .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
  1397. /*) top_srcdir="$ac_given_srcdir" ;;
  1398. *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
  1399. esac
  1400. if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
  1401. rm -f "$ac_dir/POTFILES"
  1402. test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
  1403. cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
  1404. POMAKEFILEDEPS="POTFILES.in"
  1405. # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
  1406. # on $ac_dir but don't depend on user-specified configuration
  1407. # parameters.
  1408. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
  1409. # The LINGUAS file contains the set of available languages.
  1410. if test -n "$OBSOLETE_ALL_LINGUAS"; then
  1411. test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
  1412. fi
  1413. ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
  1414. # Hide the ALL_LINGUAS assigment from automake.
  1415. eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
  1416. POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
  1417. else
  1418. # The set of available languages was given in configure.ac.
  1419. eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
  1420. fi
  1421. case "$ac_given_srcdir" in
  1422. .) srcdirpre= ;;
  1423. *) srcdirpre='$(srcdir)/' ;;
  1424. esac
  1425. POFILES=
  1426. GMOFILES=
  1427. UPDATEPOFILES=
  1428. DUMMYPOFILES=
  1429. for lang in $ALL_LINGUAS; do
  1430. POFILES="$POFILES $srcdirpre$lang.po"
  1431. GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
  1432. UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
  1433. DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
  1434. done
  1435. # CATALOGS depends on both $ac_dir and the user's LINGUAS
  1436. # environment variable.
  1437. INST_LINGUAS=
  1438. if test -n "$ALL_LINGUAS"; then
  1439. for presentlang in $ALL_LINGUAS; do
  1440. useit=no
  1441. if test "%UNSET%" != "$LINGUAS"; then
  1442. desiredlanguages="$LINGUAS"
  1443. else
  1444. desiredlanguages="$ALL_LINGUAS"
  1445. fi
  1446. for desiredlang in $desiredlanguages; do
  1447. # Use the presentlang catalog if desiredlang is
  1448. # a. equal to presentlang, or
  1449. # b. a variant of presentlang (because in this case,
  1450. # presentlang can be used as a fallback for messages
  1451. # which are not translated in the desiredlang catalog).
  1452. case "$desiredlang" in
  1453. "$presentlang"*) useit=yes;;
  1454. esac
  1455. done
  1456. if test $useit = yes; then
  1457. INST_LINGUAS="$INST_LINGUAS $presentlang"
  1458. fi
  1459. done
  1460. fi
  1461. CATALOGS=
  1462. if test -n "$INST_LINGUAS"; then
  1463. for lang in $INST_LINGUAS; do
  1464. CATALOGS="$CATALOGS $lang.gmo"
  1465. done
  1466. fi
  1467. test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
  1468. sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
  1469. for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
  1470. if test -f "$f"; then
  1471. case "$f" in
  1472. *.orig | *.bak | *~) ;;
  1473. *) cat "$f" >> "$ac_dir/Makefile" ;;
  1474. esac
  1475. fi
  1476. done
  1477. fi
  1478. ;;
  1479. esac
  1480. done],
  1481. [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
  1482. # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
  1483. # from automake.
  1484. eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
  1485. # Capture the value of LINGUAS because we need it to compute CATALOGS.
  1486. LINGUAS="${LINGUAS-%UNSET%}"
  1487. ])
  1488. ])
  1489. m4trace:../config/progtest.m4:25: -1- AC_DEFUN([AM_PATH_PROG_WITH_TEST], [
  1490. # Prepare PATH_SEPARATOR.
  1491. # The user is always right.
  1492. if test "${PATH_SEPARATOR+set}" != set; then
  1493. echo "#! /bin/sh" >conf$$.sh
  1494. echo "exit 0" >>conf$$.sh
  1495. chmod +x conf$$.sh
  1496. if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
  1497. PATH_SEPARATOR=';'
  1498. else
  1499. PATH_SEPARATOR=:
  1500. fi
  1501. rm -f conf$$.sh
  1502. fi
  1503. # Find out how to test for executable files. Don't use a zero-byte file,
  1504. # as systems may use methods other than mode bits to determine executability.
  1505. cat >conf$$.file <<_ASEOF
  1506. #! /bin/sh
  1507. exit 0
  1508. _ASEOF
  1509. chmod +x conf$$.file
  1510. if test -x conf$$.file >/dev/null 2>&1; then
  1511. ac_executable_p="test -x"
  1512. else
  1513. ac_executable_p="test -f"
  1514. fi
  1515. rm -f conf$$.file
  1516. # Extract the first word of "$2", so it can be a program name with args.
  1517. set dummy $2; ac_word=[$]2
  1518. AC_MSG_CHECKING([for $ac_word])
  1519. AC_CACHE_VAL(ac_cv_path_$1,
  1520. [case "[$]$1" in
  1521. [[\\/]]* | ?:[[\\/]]*)
  1522. ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
  1523. ;;
  1524. *)
  1525. ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
  1526. for ac_dir in ifelse([$5], , $PATH, [$5]); do
  1527. IFS="$ac_save_IFS"
  1528. test -z "$ac_dir" && ac_dir=.
  1529. for ac_exec_ext in '' $ac_executable_extensions; do
  1530. if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
  1531. if [$3]; then
  1532. ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
  1533. break 2
  1534. fi
  1535. fi
  1536. done
  1537. done
  1538. IFS="$ac_save_IFS"
  1539. dnl If no 4th arg is given, leave the cache variable unset,
  1540. dnl so AC_PATH_PROGS will keep looking.
  1541. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
  1542. ])dnl
  1543. ;;
  1544. esac])dnl
  1545. $1="$ac_cv_path_$1"
  1546. if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
  1547. AC_MSG_RESULT([$]$1)
  1548. else
  1549. AC_MSG_RESULT(no)
  1550. fi
  1551. AC_SUBST($1)dnl
  1552. ])
  1553. m4trace:../config/stdint_h.m4:14: -1- AC_DEFUN([jm_AC_HEADER_STDINT_H], [
  1554. AC_CACHE_CHECK([for stdint.h], jm_ac_cv_header_stdint_h,
  1555. [AC_TRY_COMPILE(
  1556. [#include <sys/types.h>
  1557. #include <stdint.h>],
  1558. [uintmax_t i = (uintmax_t) -1;],
  1559. jm_ac_cv_header_stdint_h=yes,
  1560. jm_ac_cv_header_stdint_h=no)])
  1561. if test $jm_ac_cv_header_stdint_h = yes; then
  1562. AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
  1563. [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
  1564. and declares uintmax_t. ])
  1565. fi
  1566. ])
  1567. m4trace:../config/uintmax_t.m4:11: -1- AC_PREREQ([2.13])
  1568. m4trace:../config/uintmax_t.m4:16: -1- AC_DEFUN([jm_AC_TYPE_UINTMAX_T], [
  1569. AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
  1570. AC_REQUIRE([jm_AC_HEADER_STDINT_H])
  1571. if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
  1572. AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
  1573. test $ac_cv_type_unsigned_long_long = yes \
  1574. && ac_type='unsigned long long' \
  1575. || ac_type='unsigned long'
  1576. AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
  1577. [Define to unsigned long or unsigned long long
  1578. if <stdint.h> and <inttypes.h> don't define.])
  1579. else
  1580. AC_DEFINE(HAVE_UINTMAX_T, 1,
  1581. [Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>.])
  1582. fi
  1583. ])
  1584. m4trace:../config/ulonglong.m4:11: -1- AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG], [
  1585. AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
  1586. [AC_TRY_LINK([unsigned long long ull = 1; int i = 63;],
  1587. [unsigned long long ullmax = (unsigned long long) -1;
  1588. return ull << i | ull >> i | ullmax / ull | ullmax % ull;],
  1589. ac_cv_type_unsigned_long_long=yes,
  1590. ac_cv_type_unsigned_long_long=no)])
  1591. if test $ac_cv_type_unsigned_long_long = yes; then
  1592. AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
  1593. [Define if you have the unsigned long long type.])
  1594. fi
  1595. ])
  1596. m4trace:configure.ac:1: -1- AC_PREREQ([2.64])
  1597. m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?A[CHUM]_])
  1598. m4trace:configure.ac:2: -1- m4_pattern_forbid([_AC_])
  1599. m4trace:configure.ac:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
  1600. m4trace:configure.ac:2: -1- m4_pattern_allow([^AS_FLAGS$])
  1601. m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?m4_])
  1602. m4trace:configure.ac:2: -1- m4_pattern_forbid([^dnl$])
  1603. m4trace:configure.ac:2: -1- m4_pattern_forbid([^_?AS_])
  1604. m4trace:configure.ac:2: -1- m4_pattern_allow([^SHELL$])
  1605. m4trace:configure.ac:2: -1- m4_pattern_allow([^PATH_SEPARATOR$])
  1606. m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
  1607. m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  1608. m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  1609. m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
  1610. m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  1611. m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
  1612. m4trace:configure.ac:2: -1- m4_pattern_allow([^exec_prefix$])
  1613. m4trace:configure.ac:2: -1- m4_pattern_allow([^prefix$])
  1614. m4trace:configure.ac:2: -1- m4_pattern_allow([^program_transform_name$])
  1615. m4trace:configure.ac:2: -1- m4_pattern_allow([^bindir$])
  1616. m4trace:configure.ac:2: -1- m4_pattern_allow([^sbindir$])
  1617. m4trace:configure.ac:2: -1- m4_pattern_allow([^libexecdir$])
  1618. m4trace:configure.ac:2: -1- m4_pattern_allow([^datarootdir$])
  1619. m4trace:configure.ac:2: -1- m4_pattern_allow([^datadir$])
  1620. m4trace:configure.ac:2: -1- m4_pattern_allow([^sysconfdir$])
  1621. m4trace:configure.ac:2: -1- m4_pattern_allow([^sharedstatedir$])
  1622. m4trace:configure.ac:2: -1- m4_pattern_allow([^localstatedir$])
  1623. m4trace:configure.ac:2: -1- m4_pattern_allow([^includedir$])
  1624. m4trace:configure.ac:2: -1- m4_pattern_allow([^oldincludedir$])
  1625. m4trace:configure.ac:2: -1- m4_pattern_allow([^docdir$])
  1626. m4trace:configure.ac:2: -1- m4_pattern_allow([^infodir$])
  1627. m4trace:configure.ac:2: -1- m4_pattern_allow([^htmldir$])
  1628. m4trace:configure.ac:2: -1- m4_pattern_allow([^dvidir$])
  1629. m4trace:configure.ac:2: -1- m4_pattern_allow([^pdfdir$])
  1630. m4trace:configure.ac:2: -1- m4_pattern_allow([^psdir$])
  1631. m4trace:configure.ac:2: -1- m4_pattern_allow([^libdir$])
  1632. m4trace:configure.ac:2: -1- m4_pattern_allow([^localedir$])
  1633. m4trace:configure.ac:2: -1- m4_pattern_allow([^mandir$])
  1634. m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_NAME$])
  1635. m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
  1636. m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_VERSION$])
  1637. m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_STRING$])
  1638. m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
  1639. m4trace:configure.ac:2: -1- m4_pattern_allow([^PACKAGE_URL$])
  1640. m4trace:configure.ac:2: -1- m4_pattern_allow([^DEFS$])
  1641. m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_C$])
  1642. m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_N$])
  1643. m4trace:configure.ac:2: -1- m4_pattern_allow([^ECHO_T$])
  1644. m4trace:configure.ac:2: -1- m4_pattern_allow([^LIBS$])
  1645. m4trace:configure.ac:2: -1- m4_pattern_allow([^build_alias$])
  1646. m4trace:configure.ac:2: -1- m4_pattern_allow([^host_alias$])
  1647. m4trace:configure.ac:2: -1- m4_pattern_allow([^target_alias$])
  1648. m4trace:configure.ac:2: -1- _GCC_AUTOCONF_VERSION_CHECK
  1649. m4trace:configure.ac:6: -1- AM_GNU_GETTEXT_VERSION([0.12.1])
  1650. m4trace:configure.ac:7: -1- AM_GNU_GETTEXT
  1651. m4trace:configure.ac:7: -1- AM_PO_SUBDIRS
  1652. m4trace:configure.ac:7: -1- m4_pattern_allow([^SET_MAKE$])
  1653. m4trace:configure.ac:7: -1- AC_PROG_INSTALL
  1654. m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
  1655. m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
  1656. m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTALL_DATA$])
  1657. m4trace:configure.ac:7: -1- AM_MKINSTALLDIRS
  1658. m4trace:configure.ac:7: -1- m4_pattern_allow([^MKINSTALLDIRS$])
  1659. m4trace:configure.ac:7: -1- AM_NLS
  1660. m4trace:configure.ac:7: -1- m4_pattern_allow([^USE_NLS$])
  1661. m4trace:configure.ac:7: -1- AM_PATH_PROG_WITH_TEST([MSGFMT], [msgfmt], [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
  1662. (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:])
  1663. m4trace:configure.ac:7: -1- m4_pattern_allow([^MSGFMT$])
  1664. m4trace:configure.ac:7: -1- m4_pattern_allow([^GMSGFMT$])
  1665. m4trace:configure.ac:7: -1- AM_PATH_PROG_WITH_TEST([XGETTEXT], [xgettext], [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
  1666. (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], [:])
  1667. m4trace:configure.ac:7: -1- m4_pattern_allow([^XGETTEXT$])
  1668. m4trace:configure.ac:7: -1- AM_PATH_PROG_WITH_TEST([MSGMERGE], [msgmerge], [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], [:])
  1669. m4trace:configure.ac:7: -1- m4_pattern_allow([^MSGMERGE$])
  1670. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete.
  1671. You should run autoupdate.], [../../lib/autoconf/status.m4:1040: AC_OUTPUT_COMMANDS is expanded from...
  1672. ../config/po.m4:23: AM_PO_SUBDIRS is expanded from...
  1673. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1674. configure.ac:7: the top level])
  1675. m4trace:configure.ac:7: -1- AM_INTL_SUBDIR
  1676. m4trace:configure.ac:7: -1- m4_pattern_allow([^CC$])
  1677. m4trace:configure.ac:7: -1- m4_pattern_allow([^CFLAGS$])
  1678. m4trace:configure.ac:7: -1- m4_pattern_allow([^LDFLAGS$])
  1679. m4trace:configure.ac:7: -1- m4_pattern_allow([^LIBS$])
  1680. m4trace:configure.ac:7: -1- m4_pattern_allow([^CPPFLAGS$])
  1681. m4trace:configure.ac:7: -1- m4_pattern_allow([^CC$])
  1682. m4trace:configure.ac:7: -1- m4_pattern_allow([^CC$])
  1683. m4trace:configure.ac:7: -1- m4_pattern_allow([^CC$])
  1684. m4trace:configure.ac:7: -1- m4_pattern_allow([^CC$])
  1685. m4trace:configure.ac:7: -1- m4_pattern_allow([^ac_ct_CC$])
  1686. m4trace:configure.ac:7: -1- m4_pattern_allow([^EXEEXT$])
  1687. m4trace:configure.ac:7: -1- m4_pattern_allow([^OBJEXT$])
  1688. m4trace:configure.ac:7: -1- m4_pattern_allow([^build$])
  1689. m4trace:configure.ac:7: -1- m4_pattern_allow([^build_cpu$])
  1690. m4trace:configure.ac:7: -1- m4_pattern_allow([^build_vendor$])
  1691. m4trace:configure.ac:7: -1- m4_pattern_allow([^build_os$])
  1692. m4trace:configure.ac:7: -1- m4_pattern_allow([^host$])
  1693. m4trace:configure.ac:7: -1- m4_pattern_allow([^host_cpu$])
  1694. m4trace:configure.ac:7: -1- m4_pattern_allow([^host_vendor$])
  1695. m4trace:configure.ac:7: -1- m4_pattern_allow([^host_os$])
  1696. m4trace:configure.ac:7: -1- m4_pattern_allow([^RANLIB$])
  1697. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_ISC_POSIX' is obsolete.
  1698. You should run autoupdate.], [../../lib/autoconf/specific.m4:464: AC_ISC_POSIX is expanded from...
  1699. ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
  1700. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1701. configure.ac:7: the top level])
  1702. m4trace:configure.ac:7: -1- m4_pattern_allow([^CPP$])
  1703. m4trace:configure.ac:7: -1- m4_pattern_allow([^CPPFLAGS$])
  1704. m4trace:configure.ac:7: -1- m4_pattern_allow([^CPP$])
  1705. m4trace:configure.ac:7: -1- m4_pattern_allow([^GREP$])
  1706. m4trace:configure.ac:7: -1- m4_pattern_allow([^EGREP$])
  1707. m4trace:configure.ac:7: -1- m4_pattern_allow([^STDC_HEADERS$])
  1708. m4trace:configure.ac:7: -1- m4_pattern_allow([^const$])
  1709. m4trace:configure.ac:7: -1- m4_pattern_allow([^off_t$])
  1710. m4trace:configure.ac:7: -1- m4_pattern_allow([^size_t$])
  1711. m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_ALLOCA_H$])
  1712. m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_ALLOCA$])
  1713. m4trace:configure.ac:7: -1- m4_pattern_allow([^ALLOCA$])
  1714. m4trace:configure.ac:7: -1- m4_pattern_allow([^C_ALLOCA$])
  1715. m4trace:configure.ac:7: -1- m4_pattern_allow([^CRAY_STACKSEG_END$])
  1716. m4trace:configure.ac:7: -1- m4_pattern_allow([^STACK_DIRECTION$])
  1717. m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_GETPAGESIZE$])
  1718. m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_MMAP$])
  1719. m4trace:configure.ac:7: -1- jm_GLIBC21
  1720. m4trace:configure.ac:7: -1- m4_pattern_allow([^GLIBC21$])
  1721. m4trace:configure.ac:7: -1- gt_INTDIV0
  1722. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete.
  1723. You should run autoupdate.], [../../lib/autoconf/general.m4:2751: AC_TRY_RUN is expanded from...
  1724. ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  1725. ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  1726. ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
  1727. ../config/intdiv0.m4:11: gt_INTDIV0 is expanded from...
  1728. ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
  1729. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1730. configure.ac:7: the top level])
  1731. m4trace:configure.ac:7: -1- m4_pattern_allow([^INTDIV0_RAISES_SIGFPE$])
  1732. m4trace:configure.ac:7: -1- jm_AC_TYPE_UINTMAX_T
  1733. m4trace:configure.ac:7: -1- jm_AC_HEADER_INTTYPES_H
  1734. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
  1735. You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from...
  1736. ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  1737. ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  1738. ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
  1739. ../config/inttypes_h.m4:14: jm_AC_HEADER_INTTYPES_H is expanded from...
  1740. ../config/uintmax_t.m4:16: jm_AC_TYPE_UINTMAX_T is expanded from...
  1741. ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
  1742. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1743. configure.ac:7: the top level])
  1744. m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_INTTYPES_H_WITH_UINTMAX$])
  1745. m4trace:configure.ac:7: -1- jm_AC_HEADER_STDINT_H
  1746. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
  1747. You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from...
  1748. ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  1749. ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  1750. ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
  1751. ../config/stdint_h.m4:14: jm_AC_HEADER_STDINT_H is expanded from...
  1752. ../config/uintmax_t.m4:16: jm_AC_TYPE_UINTMAX_T is expanded from...
  1753. ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
  1754. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1755. configure.ac:7: the top level])
  1756. m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_STDINT_H_WITH_UINTMAX$])
  1757. m4trace:configure.ac:7: -1- jm_AC_TYPE_UNSIGNED_LONG_LONG
  1758. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  1759. You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  1760. ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  1761. ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  1762. ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
  1763. ../config/ulonglong.m4:11: jm_AC_TYPE_UNSIGNED_LONG_LONG is expanded from...
  1764. ../config/uintmax_t.m4:16: jm_AC_TYPE_UINTMAX_T is expanded from...
  1765. ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
  1766. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1767. configure.ac:7: the top level])
  1768. m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_UNSIGNED_LONG_LONG$])
  1769. m4trace:configure.ac:7: -1- m4_pattern_allow([^uintmax_t$])
  1770. m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_UINTMAX_T$])
  1771. m4trace:configure.ac:7: -1- gt_HEADER_INTTYPES_H
  1772. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
  1773. You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from...
  1774. ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  1775. ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  1776. ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
  1777. ../config/inttypes.m4:14: gt_HEADER_INTTYPES_H is expanded from...
  1778. ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
  1779. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1780. configure.ac:7: the top level])
  1781. m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_INTTYPES_H$])
  1782. m4trace:configure.ac:7: -1- gt_INTTYPES_PRI
  1783. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
  1784. You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from...
  1785. ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  1786. ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  1787. ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
  1788. ../config/inttypes-pri.m4:14: gt_INTTYPES_PRI is expanded from...
  1789. ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
  1790. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1791. configure.ac:7: the top level])
  1792. m4trace:configure.ac:7: -1- m4_pattern_allow([^PRI_MACROS_BROKEN$])
  1793. m4trace:configure.ac:7: -1- AM_ICONV
  1794. m4trace:configure.ac:7: -1- AM_ICONV_LINK
  1795. m4trace:configure.ac:7: -1- AM_ICONV_LINKFLAGS_BODY
  1796. m4trace:configure.ac:7: -1- AC_LIB_PREPARE_PREFIX
  1797. m4trace:configure.ac:7: -1- AC_LIB_RPATH
  1798. m4trace:configure.ac:7: -1- AC_LIB_PROG_LD
  1799. m4trace:configure.ac:7: -1- AC_LIB_PROG_LD_GNU
  1800. m4trace:configure.ac:7: -1- AC_LIB_LINKFLAGS_BODY([iconv])
  1801. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([
  1802. eval additional_includedir=\"$includedir\"
  1803. eval additional_libdir=\"$libdir\"
  1804. ])
  1805. m4trace:configure.ac:7: -1- AC_LIB_ARG_WITH([libiconv-prefix], [ --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
  1806. --without-libiconv-prefix don't search for libiconv in includedir and libdir], [
  1807. if test "X$withval" = "Xno"; then
  1808. use_additional=no
  1809. else
  1810. if test "X$withval" = "X"; then
  1811. AC_LIB_WITH_FINAL_PREFIX([
  1812. eval additional_includedir=\"$includedir\"
  1813. eval additional_libdir=\"$libdir\"
  1814. ])
  1815. else
  1816. additional_includedir="$withval/include"
  1817. additional_libdir="$withval/lib"
  1818. fi
  1819. fi
  1820. ])
  1821. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([
  1822. eval additional_includedir=\"$includedir\"
  1823. eval additional_libdir=\"$libdir\"
  1824. ])
  1825. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1826. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1827. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1828. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1829. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1830. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  1831. You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  1832. ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  1833. ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  1834. ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
  1835. ../config/iconv.m4:23: AM_ICONV_LINK is expanded from...
  1836. ../config/iconv.m4:104: AM_ICONV is expanded from...
  1837. ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
  1838. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1839. configure.ac:7: the top level])
  1840. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  1841. You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  1842. ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  1843. ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  1844. ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
  1845. ../config/iconv.m4:23: AM_ICONV_LINK is expanded from...
  1846. ../config/iconv.m4:104: AM_ICONV is expanded from...
  1847. ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
  1848. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1849. configure.ac:7: the top level])
  1850. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  1851. You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  1852. ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  1853. ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  1854. ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
  1855. ../config/iconv.m4:23: AM_ICONV_LINK is expanded from...
  1856. ../config/iconv.m4:104: AM_ICONV is expanded from...
  1857. ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
  1858. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1859. configure.ac:7: the top level])
  1860. m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_ICONV$])
  1861. m4trace:configure.ac:7: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
  1862. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1863. m4trace:configure.ac:7: -1- m4_pattern_allow([^LIBICONV$])
  1864. m4trace:configure.ac:7: -1- m4_pattern_allow([^LTLIBICONV$])
  1865. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
  1866. You should run autoupdate.], [../../lib/autoconf/general.m4:2601: AC_TRY_COMPILE is expanded from...
  1867. ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  1868. ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  1869. ../config/iconv.m4:104: AM_ICONV is expanded from...
  1870. ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
  1871. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1872. configure.ac:7: the top level])
  1873. m4trace:configure.ac:7: -1- m4_pattern_allow([^ICONV_CONST$])
  1874. m4trace:configure.ac:7: -1- AM_LANGINFO_CODESET
  1875. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  1876. You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  1877. ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  1878. ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  1879. ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
  1880. ../config/codeset.m4:11: AM_LANGINFO_CODESET is expanded from...
  1881. ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
  1882. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1883. configure.ac:7: the top level])
  1884. m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_LANGINFO_CODESET$])
  1885. m4trace:configure.ac:7: -1- AM_LC_MESSAGES
  1886. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  1887. You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  1888. ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  1889. ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  1890. ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
  1891. ../config/lcmessage.m4:23: AM_LC_MESSAGES is expanded from...
  1892. ../config/gettext.m4:347: AM_INTL_SUBDIR is expanded from...
  1893. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1894. configure.ac:7: the top level])
  1895. m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_LC_MESSAGES$])
  1896. m4trace:configure.ac:7: -1- m4_pattern_allow([^INTLBISON$])
  1897. m4trace:configure.ac:7: -1- AM_NLS
  1898. m4trace:configure.ac:7: -1- m4_pattern_allow([^USE_NLS$])
  1899. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  1900. You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  1901. ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  1902. ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  1903. ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
  1904. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1905. configure.ac:7: the top level])
  1906. m4trace:configure.ac:7: -1- AC_LIB_LINKFLAGS_BODY([intl])
  1907. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([
  1908. eval additional_includedir=\"$includedir\"
  1909. eval additional_libdir=\"$libdir\"
  1910. ])
  1911. m4trace:configure.ac:7: -1- AC_LIB_ARG_WITH([libintl-prefix], [ --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
  1912. --without-libintl-prefix don't search for libintl in includedir and libdir], [
  1913. if test "X$withval" = "Xno"; then
  1914. use_additional=no
  1915. else
  1916. if test "X$withval" = "X"; then
  1917. AC_LIB_WITH_FINAL_PREFIX([
  1918. eval additional_includedir=\"$includedir\"
  1919. eval additional_libdir=\"$libdir\"
  1920. ])
  1921. else
  1922. additional_includedir="$withval/include"
  1923. additional_libdir="$withval/lib"
  1924. fi
  1925. fi
  1926. ])
  1927. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([
  1928. eval additional_includedir=\"$includedir\"
  1929. eval additional_libdir=\"$libdir\"
  1930. ])
  1931. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1932. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1933. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1934. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1935. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1936. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  1937. You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  1938. ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  1939. ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  1940. ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
  1941. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1942. configure.ac:7: the top level])
  1943. m4trace:configure.ac:7: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
  1944. You should run autoupdate.], [../../lib/autoconf/general.m4:2674: AC_TRY_LINK is expanded from...
  1945. ../../lib/m4sugar/m4sh.m4:620: AS_IF is expanded from...
  1946. ../../lib/autoconf/general.m4:2018: AC_CACHE_VAL is expanded from...
  1947. ../../lib/autoconf/general.m4:2039: AC_CACHE_CHECK is expanded from...
  1948. ../config/gettext.m4:59: AM_GNU_GETTEXT is expanded from...
  1949. configure.ac:7: the top level])
  1950. m4trace:configure.ac:7: -1- m4_pattern_allow([^ENABLE_NLS$])
  1951. m4trace:configure.ac:7: -1- AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
  1952. m4trace:configure.ac:7: -1- AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
  1953. m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_GETTEXT$])
  1954. m4trace:configure.ac:7: -1- m4_pattern_allow([^HAVE_DCGETTEXT$])
  1955. m4trace:configure.ac:7: -1- m4_pattern_allow([^BUILD_INCLUDED_LIBINTL$])
  1956. m4trace:configure.ac:7: -1- m4_pattern_allow([^USE_INCLUDED_LIBINTL$])
  1957. m4trace:configure.ac:7: -1- m4_pattern_allow([^CATOBJEXT$])
  1958. m4trace:configure.ac:7: -1- m4_pattern_allow([^DATADIRNAME$])
  1959. m4trace:configure.ac:7: -1- m4_pattern_allow([^INSTOBJEXT$])
  1960. m4trace:configure.ac:7: -1- m4_pattern_allow([^GENCAT$])
  1961. m4trace:configure.ac:7: -1- m4_pattern_allow([^INTLOBJS$])
  1962. m4trace:configure.ac:7: -1- m4_pattern_allow([^INTL_LIBTOOL_SUFFIX_PREFIX$])
  1963. m4trace:configure.ac:7: -1- m4_pattern_allow([^INTLLIBS$])
  1964. m4trace:configure.ac:7: -1- m4_pattern_allow([^LIBINTL$])
  1965. m4trace:configure.ac:7: -1- m4_pattern_allow([^LTLIBINTL$])
  1966. m4trace:configure.ac:7: -1- m4_pattern_allow([^POSUB$])
  1967. m4trace:configure.ac:10: -1- m4_pattern_allow([^IN_LIBINTL$])
  1968. m4trace:configure.ac:11: -1- m4_pattern_allow([^IN_LIBRARY$])
  1969. m4trace:configure.ac:12: -1- m4_pattern_allow([^DEPENDS_ON_LIBICONV$])
  1970. m4trace:configure.ac:13: -1- m4_pattern_allow([^ENABLE_RELOCATABLE$])
  1971. m4trace:configure.ac:14: -1- m4_pattern_allow([^NO_XMALLOC$])
  1972. m4trace:configure.ac:15: -1- m4_pattern_allow([^set_relocation_prefix$])
  1973. m4trace:configure.ac:17: -1- m4_pattern_allow([^relocate$])
  1974. m4trace:configure.ac:21: -1- m4_pattern_allow([^ACLOCAL$])
  1975. m4trace:configure.ac:22: -1- m4_pattern_allow([^AUTOCONF$])
  1976. m4trace:configure.ac:23: -1- m4_pattern_allow([^AUTOHEADER$])
  1977. m4trace:configure.ac:33: -1- m4_pattern_allow([^MAINT$])
  1978. m4trace:configure.ac:36: -1- m4_pattern_allow([^LIBINTL_DEP$])
  1979. m4trace:configure.ac:37: -1- m4_pattern_allow([^INCINTL$])
  1980. m4trace:configure.ac:51: -1- m4_pattern_allow([^LIB@&t@OBJS$])
  1981. m4trace:configure.ac:51: -1- m4_pattern_allow([^LTLIBOBJS$])