aclocal.m4 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434
  1. # generated automatically by aclocal 1.9.6 -*- Autoconf -*-
  2. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  3. # 2005 Free Software Foundation, Inc.
  4. # This file is free software; the Free Software Foundation
  5. # gives unlimited permission to copy and/or distribute it,
  6. # with or without modifications, as long as this notice is preserved.
  7. # This program is distributed in the hope that it will be useful,
  8. # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  9. # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  10. # PARTICULAR PURPOSE.
  11. dnl
  12. dnl AM_PATH_CPPUNIT(MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
  13. dnl
  14. AC_DEFUN([AM_PATH_CPPUNIT],
  15. [
  16. AC_ARG_WITH(cppunit-prefix,[ --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)],
  17. cppunit_config_prefix="$withval", cppunit_config_prefix="")
  18. AC_ARG_WITH(cppunit-exec-prefix,[ --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)],
  19. cppunit_config_exec_prefix="$withval", cppunit_config_exec_prefix="")
  20. if test x$cppunit_config_exec_prefix != x ; then
  21. cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
  22. if test x${CPPUNIT_CONFIG+set} != xset ; then
  23. CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
  24. fi
  25. fi
  26. if test x$cppunit_config_prefix != x ; then
  27. cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
  28. if test x${CPPUNIT_CONFIG+set} != xset ; then
  29. CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
  30. fi
  31. fi
  32. AC_PATH_PROG(CPPUNIT_CONFIG, cppunit-config, no)
  33. cppunit_version_min=$1
  34. AC_MSG_CHECKING(for Cppunit - version >= $cppunit_version_min)
  35. no_cppunit=""
  36. if test "$CPPUNIT_CONFIG" = "no" ; then
  37. AC_MSG_RESULT(no)
  38. no_cppunit=yes
  39. else
  40. CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
  41. CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
  42. cppunit_version=`$CPPUNIT_CONFIG --version`
  43. cppunit_major_version=`echo $cppunit_version | \
  44. sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
  45. cppunit_minor_version=`echo $cppunit_version | \
  46. sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
  47. cppunit_micro_version=`echo $cppunit_version | \
  48. sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
  49. cppunit_major_min=`echo $cppunit_version_min | \
  50. sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
  51. if test "x${cppunit_major_min}" = "x" ; then
  52. cppunit_major_min=0
  53. fi
  54. cppunit_minor_min=`echo $cppunit_version_min | \
  55. sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
  56. if test "x${cppunit_minor_min}" = "x" ; then
  57. cppunit_minor_min=0
  58. fi
  59. cppunit_micro_min=`echo $cppunit_version_min | \
  60. sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
  61. if test "x${cppunit_micro_min}" = "x" ; then
  62. cppunit_micro_min=0
  63. fi
  64. cppunit_version_proper=`expr \
  65. $cppunit_major_version \> $cppunit_major_min \| \
  66. $cppunit_major_version \= $cppunit_major_min \& \
  67. $cppunit_minor_version \> $cppunit_minor_min \| \
  68. $cppunit_major_version \= $cppunit_major_min \& \
  69. $cppunit_minor_version \= $cppunit_minor_min \& \
  70. $cppunit_micro_version \>= $cppunit_micro_min `
  71. if test "$cppunit_version_proper" = "1" ; then
  72. AC_MSG_RESULT([$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version])
  73. else
  74. AC_MSG_RESULT(no)
  75. no_cppunit=yes
  76. fi
  77. fi
  78. if test "x$no_cppunit" = x ; then
  79. ifelse([$2], , :, [$2])
  80. else
  81. CPPUNIT_CFLAGS=""
  82. CPPUNIT_LIBS=""
  83. ifelse([$3], , :, [$3])
  84. fi
  85. AC_SUBST(CPPUNIT_CFLAGS)
  86. AC_SUBST(CPPUNIT_LIBS)
  87. ])
  88. dnl Autoconf macros for libgcrypt
  89. dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
  90. dnl
  91. dnl This file is free software; as a special exception the author gives
  92. dnl unlimited permission to copy and/or distribute it, with or without
  93. dnl modifications, as long as this notice is preserved.
  94. dnl
  95. dnl This file is distributed in the hope that it will be useful, but
  96. dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
  97. dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  98. dnl AM_PATH_LIBGCRYPT([MINIMUM-VERSION,
  99. dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
  100. dnl Test for libgcrypt and define LIBGCRYPT_CFLAGS and LIBGCRYPT_LIBS.
  101. dnl MINIMUN-VERSION is a string with the version number optionalliy prefixed
  102. dnl with the API version to also check the API compatibility. Example:
  103. dnl a MINIMUN-VERSION of 1:1.2.5 won't pass the test unless the installed
  104. dnl version of libgcrypt is at least 1.2.5 *and* the API number is 1. Using
  105. dnl this features allows to prevent build against newer versions of libgcrypt
  106. dnl with a changed API.
  107. dnl
  108. AC_DEFUN([AM_PATH_LIBGCRYPT],
  109. [ AC_ARG_WITH(libgcrypt-prefix,
  110. AC_HELP_STRING([--with-libgcrypt-prefix=PFX],
  111. [prefix where LIBGCRYPT is installed (optional)]),
  112. libgcrypt_config_prefix="$withval", libgcrypt_config_prefix="")
  113. if test x$libgcrypt_config_prefix != x ; then
  114. if test x${LIBGCRYPT_CONFIG+set} != xset ; then
  115. LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
  116. fi
  117. fi
  118. AC_PATH_PROG(LIBGCRYPT_CONFIG, libgcrypt-config, no)
  119. tmp=ifelse([$1], ,1:1.2.0,$1)
  120. if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
  121. req_libgcrypt_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'`
  122. min_libgcrypt_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'`
  123. else
  124. req_libgcrypt_api=0
  125. min_libgcrypt_version="$tmp"
  126. fi
  127. AC_MSG_CHECKING(for LIBGCRYPT - version >= $min_libgcrypt_version)
  128. ok=no
  129. if test "$LIBGCRYPT_CONFIG" != "no" ; then
  130. req_major=`echo $min_libgcrypt_version | \
  131. sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
  132. req_minor=`echo $min_libgcrypt_version | \
  133. sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
  134. req_micro=`echo $min_libgcrypt_version | \
  135. sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'`
  136. libgcrypt_config_version=`$LIBGCRYPT_CONFIG --version`
  137. major=`echo $libgcrypt_config_version | \
  138. sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'`
  139. minor=`echo $libgcrypt_config_version | \
  140. sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'`
  141. micro=`echo $libgcrypt_config_version | \
  142. sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\3/'`
  143. if test "$major" -gt "$req_major"; then
  144. ok=yes
  145. else
  146. if test "$major" -eq "$req_major"; then
  147. if test "$minor" -gt "$req_minor"; then
  148. ok=yes
  149. else
  150. if test "$minor" -eq "$req_minor"; then
  151. if test "$micro" -ge "$req_micro"; then
  152. ok=yes
  153. fi
  154. fi
  155. fi
  156. fi
  157. fi
  158. fi
  159. if test $ok = yes; then
  160. AC_MSG_RESULT([yes ($libgcrypt_config_version)])
  161. else
  162. AC_MSG_RESULT(no)
  163. fi
  164. if test $ok = yes; then
  165. # If we have a recent libgcrypt, we should also check that the
  166. # API is compatible
  167. if test "$req_libgcrypt_api" -gt 0 ; then
  168. tmp=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0`
  169. if test "$tmp" -gt 0 ; then
  170. AC_MSG_CHECKING([LIBGCRYPT API version])
  171. if test "$req_libgcrypt_api" -eq "$tmp" ; then
  172. AC_MSG_RESULT([okay])
  173. else
  174. ok=no
  175. AC_MSG_RESULT([does not match. want=$req_libgcrypt_api got=$tmp])
  176. fi
  177. fi
  178. fi
  179. fi
  180. if test $ok = yes; then
  181. LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags`
  182. LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG --libs`
  183. ifelse([$2], , :, [$2])
  184. else
  185. LIBGCRYPT_CFLAGS=""
  186. LIBGCRYPT_LIBS=""
  187. ifelse([$3], , :, [$3])
  188. fi
  189. AC_SUBST(LIBGCRYPT_CFLAGS)
  190. AC_SUBST(LIBGCRYPT_LIBS)
  191. ])
  192. dnl Autoconf macros for libgnutls
  193. dnl $id$
  194. # Modified for LIBGNUTLS -- nmav
  195. # Configure paths for LIBGCRYPT
  196. # Shamelessly stolen from the one of XDELTA by Owen Taylor
  197. # Werner Koch 99-12-09
  198. dnl AM_PATH_LIBGNUTLS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
  199. dnl Test for libgnutls, and define LIBGNUTLS_CFLAGS and LIBGNUTLS_LIBS
  200. dnl
  201. AC_DEFUN([AM_PATH_LIBGNUTLS],
  202. [dnl
  203. dnl Get the cflags and libraries from the libgnutls-config script
  204. dnl
  205. AC_ARG_WITH(libgnutls-prefix,
  206. [ --with-libgnutls-prefix=PFX Prefix where libgnutls is installed (optional)],
  207. libgnutls_config_prefix="$withval", libgnutls_config_prefix="")
  208. if test x$libgnutls_config_prefix != x ; then
  209. if test x${LIBGNUTLS_CONFIG+set} != xset ; then
  210. LIBGNUTLS_CONFIG=$libgnutls_config_prefix/bin/libgnutls-config
  211. fi
  212. fi
  213. AC_PATH_PROG(LIBGNUTLS_CONFIG, libgnutls-config, no)
  214. min_libgnutls_version=ifelse([$1], ,0.1.0,$1)
  215. AC_MSG_CHECKING(for libgnutls - version >= $min_libgnutls_version)
  216. no_libgnutls=""
  217. if test "$LIBGNUTLS_CONFIG" = "no" ; then
  218. no_libgnutls=yes
  219. else
  220. LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
  221. LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
  222. libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
  223. ac_save_CFLAGS="$CFLAGS"
  224. ac_save_LIBS="$LIBS"
  225. CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
  226. LIBS="$LIBS $LIBGNUTLS_LIBS"
  227. dnl
  228. dnl Now check if the installed libgnutls is sufficiently new. Also sanity
  229. dnl checks the results of libgnutls-config to some extent
  230. dnl
  231. rm -f conf.libgnutlstest
  232. AC_TRY_RUN([
  233. #include <stdio.h>
  234. #include <stdlib.h>
  235. #include <string.h>
  236. #include <gnutls/gnutls.h>
  237. int
  238. main ()
  239. {
  240. system ("touch conf.libgnutlstest");
  241. if( strcmp( gnutls_check_version(NULL), "$libgnutls_config_version" ) )
  242. {
  243. printf("\n*** 'libgnutls-config --version' returned %s, but LIBGNUTLS (%s)\n",
  244. "$libgnutls_config_version", gnutls_check_version(NULL) );
  245. printf("*** was found! If libgnutls-config was correct, then it is best\n");
  246. printf("*** to remove the old version of LIBGNUTLS. You may also be able to fix the error\n");
  247. printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
  248. printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
  249. printf("*** required on your system.\n");
  250. printf("*** If libgnutls-config was wrong, set the environment variable LIBGNUTLS_CONFIG\n");
  251. printf("*** to point to the correct copy of libgnutls-config, and remove the file config.cache\n");
  252. printf("*** before re-running configure\n");
  253. }
  254. else if ( strcmp(gnutls_check_version(NULL), LIBGNUTLS_VERSION ) )
  255. {
  256. printf("\n*** LIBGNUTLS header file (version %s) does not match\n", LIBGNUTLS_VERSION);
  257. printf("*** library (version %s)\n", gnutls_check_version(NULL) );
  258. }
  259. else
  260. {
  261. if ( gnutls_check_version( "$min_libgnutls_version" ) )
  262. {
  263. return 0;
  264. }
  265. else
  266. {
  267. printf("no\n*** An old version of LIBGNUTLS (%s) was found.\n",
  268. gnutls_check_version(NULL) );
  269. printf("*** You need a version of LIBGNUTLS newer than %s. The latest version of\n",
  270. "$min_libgnutls_version" );
  271. printf("*** LIBGNUTLS is always available from ftp://gnutls.hellug.gr/pub/gnutls.\n");
  272. printf("*** \n");
  273. printf("*** If you have already installed a sufficiently new version, this error\n");
  274. printf("*** probably means that the wrong copy of the libgnutls-config shell script is\n");
  275. printf("*** being found. The easiest way to fix this is to remove the old version\n");
  276. printf("*** of LIBGNUTLS, but you can also set the LIBGNUTLS_CONFIG environment to point to the\n");
  277. printf("*** correct copy of libgnutls-config. (In this case, you will have to\n");
  278. printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
  279. printf("*** so that the correct libraries are found at run-time))\n");
  280. }
  281. }
  282. return 1;
  283. }
  284. ],, no_libgnutls=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
  285. CFLAGS="$ac_save_CFLAGS"
  286. LIBS="$ac_save_LIBS"
  287. fi
  288. if test "x$no_libgnutls" = x ; then
  289. AC_MSG_RESULT(yes)
  290. ifelse([$2], , :, [$2])
  291. else
  292. if test -f conf.libgnutlstest ; then
  293. :
  294. else
  295. AC_MSG_RESULT(no)
  296. fi
  297. if test "$LIBGNUTLS_CONFIG" = "no" ; then
  298. echo "*** The libgnutls-config script installed by LIBGNUTLS could not be found"
  299. echo "*** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in"
  300. echo "*** your path, or set the LIBGNUTLS_CONFIG environment variable to the"
  301. echo "*** full path to libgnutls-config."
  302. else
  303. if test -f conf.libgnutlstest ; then
  304. :
  305. else
  306. echo "*** Could not run libgnutls test program, checking why..."
  307. CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
  308. LIBS="$LIBS $LIBGNUTLS_LIBS"
  309. AC_TRY_LINK([
  310. #include <stdio.h>
  311. #include <stdlib.h>
  312. #include <string.h>
  313. #include <gnutls/gnutls.h>
  314. ], [ return !!gnutls_check_version(NULL); ],
  315. [ echo "*** The test program compiled, but did not run. This usually means"
  316. echo "*** that the run-time linker is not finding LIBGNUTLS or finding the wrong"
  317. echo "*** version of LIBGNUTLS. If it is not finding LIBGNUTLS, you'll need to set your"
  318. echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
  319. echo "*** to the installed location Also, make sure you have run ldconfig if that"
  320. echo "*** is required on your system"
  321. echo "***"
  322. echo "*** If you have an old version installed, it is best to remove it, although"
  323. echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  324. echo "***" ],
  325. [ echo "*** The test program failed to compile or link. See the file config.log for the"
  326. echo "*** exact error that occured. This usually means LIBGNUTLS was incorrectly installed"
  327. echo "*** or that you have moved LIBGNUTLS since it was installed. In the latter case, you"
  328. echo "*** may want to edit the libgnutls-config script: $LIBGNUTLS_CONFIG" ])
  329. CFLAGS="$ac_save_CFLAGS"
  330. LIBS="$ac_save_LIBS"
  331. fi
  332. fi
  333. LIBGNUTLS_CFLAGS=""
  334. LIBGNUTLS_LIBS=""
  335. ifelse([$3], , :, [$3])
  336. fi
  337. rm -f conf.libgnutlstest
  338. AC_SUBST(LIBGNUTLS_CFLAGS)
  339. AC_SUBST(LIBGNUTLS_LIBS)
  340. ])
  341. dnl *-*wedit:notab*-* Please keep this as the last line.
  342. # Configure paths for LIBXML2
  343. # Mike Hommey 2004-06-19
  344. # use CPPFLAGS instead of CFLAGS
  345. # Toshio Kuratomi 2001-04-21
  346. # Adapted from:
  347. # Configure paths for GLIB
  348. # Owen Taylor 97-11-3
  349. dnl AM_PATH_XML2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
  350. dnl Test for XML, and define XML_CPPFLAGS and XML_LIBS
  351. dnl
  352. AC_DEFUN([AM_PATH_XML2],[
  353. AC_ARG_WITH(xml-prefix,
  354. [ --with-xml-prefix=PFX Prefix where libxml is installed (optional)],
  355. xml_config_prefix="$withval", xml_config_prefix="")
  356. AC_ARG_WITH(xml-exec-prefix,
  357. [ --with-xml-exec-prefix=PFX Exec prefix where libxml is installed (optional)],
  358. xml_config_exec_prefix="$withval", xml_config_exec_prefix="")
  359. AC_ARG_ENABLE(xmltest,
  360. [ --disable-xmltest Do not try to compile and run a test LIBXML program],,
  361. enable_xmltest=yes)
  362. if test x$xml_config_exec_prefix != x ; then
  363. xml_config_args="$xml_config_args"
  364. if test x${XML2_CONFIG+set} != xset ; then
  365. XML2_CONFIG=$xml_config_exec_prefix/bin/xml2-config
  366. fi
  367. fi
  368. if test x$xml_config_prefix != x ; then
  369. xml_config_args="$xml_config_args --prefix=$xml_config_prefix"
  370. if test x${XML2_CONFIG+set} != xset ; then
  371. XML2_CONFIG=$xml_config_prefix/bin/xml2-config
  372. fi
  373. fi
  374. AC_PATH_PROG(XML2_CONFIG, xml2-config, no)
  375. min_xml_version=ifelse([$1], ,2.0.0,[$1])
  376. AC_MSG_CHECKING(for libxml - version >= $min_xml_version)
  377. no_xml=""
  378. if test "$XML2_CONFIG" = "no" ; then
  379. no_xml=yes
  380. else
  381. XML_CPPFLAGS=`$XML2_CONFIG $xml_config_args --cflags`
  382. XML_LIBS=`$XML2_CONFIG $xml_config_args --libs`
  383. xml_config_major_version=`$XML2_CONFIG $xml_config_args --version | \
  384. sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
  385. xml_config_minor_version=`$XML2_CONFIG $xml_config_args --version | \
  386. sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
  387. xml_config_micro_version=`$XML2_CONFIG $xml_config_args --version | \
  388. sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
  389. if test "x$enable_xmltest" = "xyes" ; then
  390. ac_save_CPPFLAGS="$CPPFLAGS"
  391. ac_save_LIBS="$LIBS"
  392. CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
  393. LIBS="$XML_LIBS $LIBS"
  394. dnl
  395. dnl Now check if the installed libxml is sufficiently new.
  396. dnl (Also sanity checks the results of xml2-config to some extent)
  397. dnl
  398. rm -f conf.xmltest
  399. AC_TRY_RUN([
  400. #include <stdlib.h>
  401. #include <stdio.h>
  402. #include <string.h>
  403. #include <libxml/xmlversion.h>
  404. int
  405. main()
  406. {
  407. int xml_major_version, xml_minor_version, xml_micro_version;
  408. int major, minor, micro;
  409. char *tmp_version;
  410. system("touch conf.xmltest");
  411. /* Capture xml2-config output via autoconf/configure variables */
  412. /* HP/UX 9 (%@#!) writes to sscanf strings */
  413. tmp_version = (char *)strdup("$min_xml_version");
  414. if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
  415. printf("%s, bad version string from xml2-config\n", "$min_xml_version");
  416. exit(1);
  417. }
  418. free(tmp_version);
  419. /* Capture the version information from the header files */
  420. tmp_version = (char *)strdup(LIBXML_DOTTED_VERSION);
  421. if (sscanf(tmp_version, "%d.%d.%d", &xml_major_version, &xml_minor_version, &xml_micro_version) != 3) {
  422. printf("%s, bad version string from libxml includes\n", "LIBXML_DOTTED_VERSION");
  423. exit(1);
  424. }
  425. free(tmp_version);
  426. /* Compare xml2-config output to the libxml headers */
  427. if ((xml_major_version != $xml_config_major_version) ||
  428. (xml_minor_version != $xml_config_minor_version) ||
  429. (xml_micro_version != $xml_config_micro_version))
  430. {
  431. printf("*** libxml header files (version %d.%d.%d) do not match\n",
  432. xml_major_version, xml_minor_version, xml_micro_version);
  433. printf("*** xml2-config (version %d.%d.%d)\n",
  434. $xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version);
  435. return 1;
  436. }
  437. /* Compare the headers to the library to make sure we match */
  438. /* Less than ideal -- doesn't provide us with return value feedback,
  439. * only exits if there's a serious mismatch between header and library.
  440. */
  441. LIBXML_TEST_VERSION;
  442. /* Test that the library is greater than our minimum version */
  443. if ((xml_major_version > major) ||
  444. ((xml_major_version == major) && (xml_minor_version > minor)) ||
  445. ((xml_major_version == major) && (xml_minor_version == minor) &&
  446. (xml_micro_version >= micro)))
  447. {
  448. return 0;
  449. }
  450. else
  451. {
  452. printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
  453. xml_major_version, xml_minor_version, xml_micro_version);
  454. printf("*** You need a version of libxml newer than %d.%d.%d. The latest version of\n",
  455. major, minor, micro);
  456. printf("*** libxml is always available from ftp://ftp.xmlsoft.org.\n");
  457. printf("***\n");
  458. printf("*** If you have already installed a sufficiently new version, this error\n");
  459. printf("*** probably means that the wrong copy of the xml2-config shell script is\n");
  460. printf("*** being found. The easiest way to fix this is to remove the old version\n");
  461. printf("*** of LIBXML, but you can also set the XML2_CONFIG environment to point to the\n");
  462. printf("*** correct copy of xml2-config. (In this case, you will have to\n");
  463. printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
  464. printf("*** so that the correct libraries are found at run-time))\n");
  465. }
  466. return 1;
  467. }
  468. ],, no_xml=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
  469. CPPFLAGS="$ac_save_CPPFLAGS"
  470. LIBS="$ac_save_LIBS"
  471. fi
  472. fi
  473. if test "x$no_xml" = x ; then
  474. AC_MSG_RESULT(yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version))
  475. ifelse([$2], , :, [$2])
  476. else
  477. AC_MSG_RESULT(no)
  478. if test "$XML2_CONFIG" = "no" ; then
  479. echo "*** The xml2-config script installed by LIBXML could not be found"
  480. echo "*** If libxml was installed in PREFIX, make sure PREFIX/bin is in"
  481. echo "*** your path, or set the XML2_CONFIG environment variable to the"
  482. echo "*** full path to xml2-config."
  483. else
  484. if test -f conf.xmltest ; then
  485. :
  486. else
  487. echo "*** Could not run libxml test program, checking why..."
  488. CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
  489. LIBS="$LIBS $XML_LIBS"
  490. AC_TRY_LINK([
  491. #include <libxml/xmlversion.h>
  492. #include <stdio.h>
  493. ], [ LIBXML_TEST_VERSION; return 0;],
  494. [ echo "*** The test program compiled, but did not run. This usually means"
  495. echo "*** that the run-time linker is not finding LIBXML or finding the wrong"
  496. echo "*** version of LIBXML. If it is not finding LIBXML, you'll need to set your"
  497. echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
  498. echo "*** to the installed location Also, make sure you have run ldconfig if that"
  499. echo "*** is required on your system"
  500. echo "***"
  501. echo "*** If you have an old version installed, it is best to remove it, although"
  502. echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
  503. [ echo "*** The test program failed to compile or link. See the file config.log for the"
  504. echo "*** exact error that occured. This usually means LIBXML was incorrectly installed"
  505. echo "*** or that you have moved LIBXML since it was installed. In the latter case, you"
  506. echo "*** may want to edit the xml2-config script: $XML2_CONFIG" ])
  507. CPPFLAGS="$ac_save_CPPFLAGS"
  508. LIBS="$ac_save_LIBS"
  509. fi
  510. fi
  511. XML_CPPFLAGS=""
  512. XML_LIBS=""
  513. ifelse([$3], , :, [$3])
  514. fi
  515. AC_SUBST(XML_CPPFLAGS)
  516. AC_SUBST(XML_LIBS)
  517. rm -f conf.xmltest
  518. ])
  519. # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
  520. #
  521. # This file is free software; the Free Software Foundation
  522. # gives unlimited permission to copy and/or distribute it,
  523. # with or without modifications, as long as this notice is preserved.
  524. # AM_AUTOMAKE_VERSION(VERSION)
  525. # ----------------------------
  526. # Automake X.Y traces this macro to ensure aclocal.m4 has been
  527. # generated from the m4 files accompanying Automake X.Y.
  528. AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
  529. # AM_SET_CURRENT_AUTOMAKE_VERSION
  530. # -------------------------------
  531. # Call AM_AUTOMAKE_VERSION so it can be traced.
  532. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
  533. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  534. [AM_AUTOMAKE_VERSION([1.9.6])])
  535. # AM_AUX_DIR_EXPAND -*- Autoconf -*-
  536. # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  537. #
  538. # This file is free software; the Free Software Foundation
  539. # gives unlimited permission to copy and/or distribute it,
  540. # with or without modifications, as long as this notice is preserved.
  541. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
  542. # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
  543. # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
  544. #
  545. # Of course, Automake must honor this variable whenever it calls a
  546. # tool from the auxiliary directory. The problem is that $srcdir (and
  547. # therefore $ac_aux_dir as well) can be either absolute or relative,
  548. # depending on how configure is run. This is pretty annoying, since
  549. # it makes $ac_aux_dir quite unusable in subdirectories: in the top
  550. # source directory, any form will work fine, but in subdirectories a
  551. # relative path needs to be adjusted first.
  552. #
  553. # $ac_aux_dir/missing
  554. # fails when called from a subdirectory if $ac_aux_dir is relative
  555. # $top_srcdir/$ac_aux_dir/missing
  556. # fails if $ac_aux_dir is absolute,
  557. # fails when called from a subdirectory in a VPATH build with
  558. # a relative $ac_aux_dir
  559. #
  560. # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
  561. # are both prefixed by $srcdir. In an in-source build this is usually
  562. # harmless because $srcdir is `.', but things will broke when you
  563. # start a VPATH build or use an absolute $srcdir.
  564. #
  565. # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
  566. # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
  567. # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
  568. # and then we would define $MISSING as
  569. # MISSING="\${SHELL} $am_aux_dir/missing"
  570. # This will work as long as MISSING is not called from configure, because
  571. # unfortunately $(top_srcdir) has no meaning in configure.
  572. # However there are other variables, like CC, which are often used in
  573. # configure, and could therefore not use this "fixed" $ac_aux_dir.
  574. #
  575. # Another solution, used here, is to always expand $ac_aux_dir to an
  576. # absolute PATH. The drawback is that using absolute paths prevent a
  577. # configured tree to be moved without reconfiguration.
  578. AC_DEFUN([AM_AUX_DIR_EXPAND],
  579. [dnl Rely on autoconf to set up CDPATH properly.
  580. AC_PREREQ([2.50])dnl
  581. # expand $ac_aux_dir to an absolute path
  582. am_aux_dir=`cd $ac_aux_dir && pwd`
  583. ])
  584. # AM_CONDITIONAL -*- Autoconf -*-
  585. # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
  586. # Free Software Foundation, Inc.
  587. #
  588. # This file is free software; the Free Software Foundation
  589. # gives unlimited permission to copy and/or distribute it,
  590. # with or without modifications, as long as this notice is preserved.
  591. # serial 7
  592. # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  593. # -------------------------------------
  594. # Define a conditional.
  595. AC_DEFUN([AM_CONDITIONAL],
  596. [AC_PREREQ(2.52)dnl
  597. ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
  598. [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  599. AC_SUBST([$1_TRUE])
  600. AC_SUBST([$1_FALSE])
  601. if $2; then
  602. $1_TRUE=
  603. $1_FALSE='#'
  604. else
  605. $1_TRUE='#'
  606. $1_FALSE=
  607. fi
  608. AC_CONFIG_COMMANDS_PRE(
  609. [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  610. AC_MSG_ERROR([[conditional "$1" was never defined.
  611. Usually this means the macro was only invoked conditionally.]])
  612. fi])])
  613. # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
  614. # Free Software Foundation, Inc.
  615. #
  616. # This file is free software; the Free Software Foundation
  617. # gives unlimited permission to copy and/or distribute it,
  618. # with or without modifications, as long as this notice is preserved.
  619. # serial 8
  620. # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  621. # written in clear, in which case automake, when reading aclocal.m4,
  622. # will think it sees a *use*, and therefore will trigger all it's
  623. # C support machinery. Also note that it means that autoscan, seeing
  624. # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
  625. # _AM_DEPENDENCIES(NAME)
  626. # ----------------------
  627. # See how the compiler implements dependency checking.
  628. # NAME is "CC", "CXX", "GCJ", or "OBJC".
  629. # We try a few techniques and use that to set a single cache variable.
  630. #
  631. # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
  632. # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
  633. # dependency, and given that the user is not expected to run this macro,
  634. # just rely on AC_PROG_CC.
  635. AC_DEFUN([_AM_DEPENDENCIES],
  636. [AC_REQUIRE([AM_SET_DEPDIR])dnl
  637. AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
  638. AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  639. AC_REQUIRE([AM_DEP_TRACK])dnl
  640. ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
  641. [$1], CXX, [depcc="$CXX" am_compiler_list=],
  642. [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  643. [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
  644. [depcc="$$1" am_compiler_list=])
  645. AC_CACHE_CHECK([dependency style of $depcc],
  646. [am_cv_$1_dependencies_compiler_type],
  647. [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  648. # We make a subdir and do the tests there. Otherwise we can end up
  649. # making bogus files that we don't know about and never remove. For
  650. # instance it was reported that on HP-UX the gcc test will end up
  651. # making a dummy file named `D' -- because `-MD' means `put the output
  652. # in D'.
  653. mkdir conftest.dir
  654. # Copy depcomp to subdir because otherwise we won't find it if we're
  655. # using a relative directory.
  656. cp "$am_depcomp" conftest.dir
  657. cd conftest.dir
  658. # We will build objects and dependencies in a subdirectory because
  659. # it helps to detect inapplicable dependency modes. For instance
  660. # both Tru64's cc and ICC support -MD to output dependencies as a
  661. # side effect of compilation, but ICC will put the dependencies in
  662. # the current directory while Tru64 will put them in the object
  663. # directory.
  664. mkdir sub
  665. am_cv_$1_dependencies_compiler_type=none
  666. if test "$am_compiler_list" = ""; then
  667. am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  668. fi
  669. for depmode in $am_compiler_list; do
  670. # Setup a source with many dependencies, because some compilers
  671. # like to wrap large dependency lists on column 80 (with \), and
  672. # we should not choose a depcomp mode which is confused by this.
  673. #
  674. # We need to recreate these files for each test, as the compiler may
  675. # overwrite some of them when testing with obscure command lines.
  676. # This happens at least with the AIX C compiler.
  677. : > sub/conftest.c
  678. for i in 1 2 3 4 5 6; do
  679. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  680. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  681. # Solaris 8's {/usr,}/bin/sh.
  682. touch sub/conftst$i.h
  683. done
  684. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  685. case $depmode in
  686. nosideeffect)
  687. # after this tag, mechanisms are not by side-effect, so they'll
  688. # only be used when explicitly requested
  689. if test "x$enable_dependency_tracking" = xyes; then
  690. continue
  691. else
  692. break
  693. fi
  694. ;;
  695. none) break ;;
  696. esac
  697. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  698. # mode. It turns out that the SunPro C++ compiler does not properly
  699. # handle `-M -o', and we need to detect this.
  700. if depmode=$depmode \
  701. source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  702. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  703. $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  704. >/dev/null 2>conftest.err &&
  705. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  706. grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  707. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  708. # icc doesn't choke on unknown options, it will just issue warnings
  709. # or remarks (even with -Werror). So we grep stderr for any message
  710. # that says an option was ignored or not supported.
  711. # When given -MP, icc 7.0 and 7.1 complain thusly:
  712. # icc: Command line warning: ignoring option '-M'; no argument required
  713. # The diagnosis changed in icc 8.0:
  714. # icc: Command line remark: option '-MP' not supported
  715. if (grep 'ignoring option' conftest.err ||
  716. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  717. am_cv_$1_dependencies_compiler_type=$depmode
  718. break
  719. fi
  720. fi
  721. done
  722. cd ..
  723. rm -rf conftest.dir
  724. else
  725. am_cv_$1_dependencies_compiler_type=none
  726. fi
  727. ])
  728. AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
  729. AM_CONDITIONAL([am__fastdep$1], [
  730. test "x$enable_dependency_tracking" != xno \
  731. && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
  732. ])
  733. # AM_SET_DEPDIR
  734. # -------------
  735. # Choose a directory name for dependency files.
  736. # This macro is AC_REQUIREd in _AM_DEPENDENCIES
  737. AC_DEFUN([AM_SET_DEPDIR],
  738. [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  739. AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  740. ])
  741. # AM_DEP_TRACK
  742. # ------------
  743. AC_DEFUN([AM_DEP_TRACK],
  744. [AC_ARG_ENABLE(dependency-tracking,
  745. [ --disable-dependency-tracking speeds up one-time build
  746. --enable-dependency-tracking do not reject slow dependency extractors])
  747. if test "x$enable_dependency_tracking" != xno; then
  748. am_depcomp="$ac_aux_dir/depcomp"
  749. AMDEPBACKSLASH='\'
  750. fi
  751. AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  752. AC_SUBST([AMDEPBACKSLASH])
  753. ])
  754. # Generate code to set up dependency tracking. -*- Autoconf -*-
  755. # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
  756. # Free Software Foundation, Inc.
  757. #
  758. # This file is free software; the Free Software Foundation
  759. # gives unlimited permission to copy and/or distribute it,
  760. # with or without modifications, as long as this notice is preserved.
  761. #serial 3
  762. # _AM_OUTPUT_DEPENDENCY_COMMANDS
  763. # ------------------------------
  764. AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
  765. [for mf in $CONFIG_FILES; do
  766. # Strip MF so we end up with the name of the file.
  767. mf=`echo "$mf" | sed -e 's/:.*$//'`
  768. # Check whether this is an Automake generated Makefile or not.
  769. # We used to match only the files named `Makefile.in', but
  770. # some people rename them; so instead we look at the file content.
  771. # Grep'ing the first line is not enough: some people post-process
  772. # each Makefile.in and add a new line on top of each file to say so.
  773. # So let's grep whole file.
  774. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
  775. dirpart=`AS_DIRNAME("$mf")`
  776. else
  777. continue
  778. fi
  779. # Extract the definition of DEPDIR, am__include, and am__quote
  780. # from the Makefile without running `make'.
  781. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  782. test -z "$DEPDIR" && continue
  783. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  784. test -z "am__include" && continue
  785. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  786. # When using ansi2knr, U may be empty or an underscore; expand it
  787. U=`sed -n 's/^U = //p' < "$mf"`
  788. # Find all dependency output files, they are included files with
  789. # $(DEPDIR) in their names. We invoke sed twice because it is the
  790. # simplest approach to changing $(DEPDIR) to its actual value in the
  791. # expansion.
  792. for file in `sed -n "
  793. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  794. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  795. # Make sure the directory exists.
  796. test -f "$dirpart/$file" && continue
  797. fdir=`AS_DIRNAME(["$file"])`
  798. AS_MKDIR_P([$dirpart/$fdir])
  799. # echo "creating $dirpart/$file"
  800. echo '# dummy' > "$dirpart/$file"
  801. done
  802. done
  803. ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
  804. # AM_OUTPUT_DEPENDENCY_COMMANDS
  805. # -----------------------------
  806. # This macro should only be invoked once -- use via AC_REQUIRE.
  807. #
  808. # This code is only required when automatic dependency tracking
  809. # is enabled. FIXME. This creates each `.P' file that we will
  810. # need in order to bootstrap the dependency handling code.
  811. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
  812. [AC_CONFIG_COMMANDS([depfiles],
  813. [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  814. [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
  815. ])
  816. # Do all the work for Automake. -*- Autoconf -*-
  817. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
  818. # Free Software Foundation, Inc.
  819. #
  820. # This file is free software; the Free Software Foundation
  821. # gives unlimited permission to copy and/or distribute it,
  822. # with or without modifications, as long as this notice is preserved.
  823. # serial 12
  824. # This macro actually does too much. Some checks are only needed if
  825. # your package does certain things. But this isn't really a big deal.
  826. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
  827. # AM_INIT_AUTOMAKE([OPTIONS])
  828. # -----------------------------------------------
  829. # The call with PACKAGE and VERSION arguments is the old style
  830. # call (pre autoconf-2.50), which is being phased out. PACKAGE
  831. # and VERSION should now be passed to AC_INIT and removed from
  832. # the call to AM_INIT_AUTOMAKE.
  833. # We support both call styles for the transition. After
  834. # the next Automake release, Autoconf can make the AC_INIT
  835. # arguments mandatory, and then we can depend on a new Autoconf
  836. # release and drop the old call support.
  837. AC_DEFUN([AM_INIT_AUTOMAKE],
  838. [AC_PREREQ([2.58])dnl
  839. dnl Autoconf wants to disallow AM_ names. We explicitly allow
  840. dnl the ones we care about.
  841. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  842. AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
  843. AC_REQUIRE([AC_PROG_INSTALL])dnl
  844. # test to see if srcdir already configured
  845. if test "`cd $srcdir && pwd`" != "`pwd`" &&
  846. test -f $srcdir/config.status; then
  847. AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  848. fi
  849. # test whether we have cygpath
  850. if test -z "$CYGPATH_W"; then
  851. if (cygpath --version) >/dev/null 2>/dev/null; then
  852. CYGPATH_W='cygpath -w'
  853. else
  854. CYGPATH_W=echo
  855. fi
  856. fi
  857. AC_SUBST([CYGPATH_W])
  858. # Define the identity of the package.
  859. dnl Distinguish between old-style and new-style calls.
  860. m4_ifval([$2],
  861. [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  862. AC_SUBST([PACKAGE], [$1])dnl
  863. AC_SUBST([VERSION], [$2])],
  864. [_AM_SET_OPTIONS([$1])dnl
  865. AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  866. AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  867. _AM_IF_OPTION([no-define],,
  868. [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  869. AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
  870. # Some tools Automake needs.
  871. AC_REQUIRE([AM_SANITY_CHECK])dnl
  872. AC_REQUIRE([AC_ARG_PROGRAM])dnl
  873. AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
  874. AM_MISSING_PROG(AUTOCONF, autoconf)
  875. AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  876. AM_MISSING_PROG(AUTOHEADER, autoheader)
  877. AM_MISSING_PROG(MAKEINFO, makeinfo)
  878. AM_PROG_INSTALL_SH
  879. AM_PROG_INSTALL_STRIP
  880. AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  881. # We need awk for the "check" target. The system "awk" is bad on
  882. # some platforms.
  883. AC_REQUIRE([AC_PROG_AWK])dnl
  884. AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  885. AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  886. _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
  887. [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
  888. [_AM_PROG_TAR([v7])])])
  889. _AM_IF_OPTION([no-dependencies],,
  890. [AC_PROVIDE_IFELSE([AC_PROG_CC],
  891. [_AM_DEPENDENCIES(CC)],
  892. [define([AC_PROG_CC],
  893. defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  894. AC_PROVIDE_IFELSE([AC_PROG_CXX],
  895. [_AM_DEPENDENCIES(CXX)],
  896. [define([AC_PROG_CXX],
  897. defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  898. ])
  899. ])
  900. # When config.status generates a header, we must update the stamp-h file.
  901. # This file resides in the same directory as the config header
  902. # that is generated. The stamp files are numbered to have different names.
  903. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
  904. # loop where config.status creates the headers, so we can generate
  905. # our stamp files there.
  906. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
  907. [# Compute $1's index in $config_headers.
  908. _am_stamp_count=1
  909. for _am_header in $config_headers :; do
  910. case $_am_header in
  911. $1 | $1:* )
  912. break ;;
  913. * )
  914. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  915. esac
  916. done
  917. echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
  918. # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  919. #
  920. # This file is free software; the Free Software Foundation
  921. # gives unlimited permission to copy and/or distribute it,
  922. # with or without modifications, as long as this notice is preserved.
  923. # AM_PROG_INSTALL_SH
  924. # ------------------
  925. # Define $install_sh.
  926. AC_DEFUN([AM_PROG_INSTALL_SH],
  927. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  928. install_sh=${install_sh-"$am_aux_dir/install-sh"}
  929. AC_SUBST(install_sh)])
  930. # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
  931. #
  932. # This file is free software; the Free Software Foundation
  933. # gives unlimited permission to copy and/or distribute it,
  934. # with or without modifications, as long as this notice is preserved.
  935. # serial 2
  936. # Check whether the underlying file-system supports filenames
  937. # with a leading dot. For instance MS-DOS doesn't.
  938. AC_DEFUN([AM_SET_LEADING_DOT],
  939. [rm -rf .tst 2>/dev/null
  940. mkdir .tst 2>/dev/null
  941. if test -d .tst; then
  942. am__leading_dot=.
  943. else
  944. am__leading_dot=_
  945. fi
  946. rmdir .tst 2>/dev/null
  947. AC_SUBST([am__leading_dot])])
  948. # Check to see how 'make' treats includes. -*- Autoconf -*-
  949. # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
  950. #
  951. # This file is free software; the Free Software Foundation
  952. # gives unlimited permission to copy and/or distribute it,
  953. # with or without modifications, as long as this notice is preserved.
  954. # serial 3
  955. # AM_MAKE_INCLUDE()
  956. # -----------------
  957. # Check to see how make treats includes.
  958. AC_DEFUN([AM_MAKE_INCLUDE],
  959. [am_make=${MAKE-make}
  960. cat > confinc << 'END'
  961. am__doit:
  962. @echo done
  963. .PHONY: am__doit
  964. END
  965. # If we don't find an include directive, just comment out the code.
  966. AC_MSG_CHECKING([for style of include used by $am_make])
  967. am__include="#"
  968. am__quote=
  969. _am_result=none
  970. # First try GNU make style include.
  971. echo "include confinc" > confmf
  972. # We grep out `Entering directory' and `Leaving directory'
  973. # messages which can occur if `w' ends up in MAKEFLAGS.
  974. # In particular we don't look at `^make:' because GNU make might
  975. # be invoked under some other name (usually "gmake"), in which
  976. # case it prints its new name instead of `make'.
  977. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  978. am__include=include
  979. am__quote=
  980. _am_result=GNU
  981. fi
  982. # Now try BSD make style include.
  983. if test "$am__include" = "#"; then
  984. echo '.include "confinc"' > confmf
  985. if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  986. am__include=.include
  987. am__quote="\""
  988. _am_result=BSD
  989. fi
  990. fi
  991. AC_SUBST([am__include])
  992. AC_SUBST([am__quote])
  993. AC_MSG_RESULT([$_am_result])
  994. rm -f confinc confmf
  995. ])
  996. # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
  997. # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
  998. # Free Software Foundation, Inc.
  999. #
  1000. # This file is free software; the Free Software Foundation
  1001. # gives unlimited permission to copy and/or distribute it,
  1002. # with or without modifications, as long as this notice is preserved.
  1003. # serial 4
  1004. # AM_MISSING_PROG(NAME, PROGRAM)
  1005. # ------------------------------
  1006. AC_DEFUN([AM_MISSING_PROG],
  1007. [AC_REQUIRE([AM_MISSING_HAS_RUN])
  1008. $1=${$1-"${am_missing_run}$2"}
  1009. AC_SUBST($1)])
  1010. # AM_MISSING_HAS_RUN
  1011. # ------------------
  1012. # Define MISSING if not defined so far and test if it supports --run.
  1013. # If it does, set am_missing_run to use it, otherwise, to nothing.
  1014. AC_DEFUN([AM_MISSING_HAS_RUN],
  1015. [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  1016. test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  1017. # Use eval to expand $SHELL
  1018. if eval "$MISSING --run true"; then
  1019. am_missing_run="$MISSING --run "
  1020. else
  1021. am_missing_run=
  1022. AC_MSG_WARN([`missing' script is too old or missing])
  1023. fi
  1024. ])
  1025. # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
  1026. #
  1027. # This file is free software; the Free Software Foundation
  1028. # gives unlimited permission to copy and/or distribute it,
  1029. # with or without modifications, as long as this notice is preserved.
  1030. # AM_PROG_MKDIR_P
  1031. # ---------------
  1032. # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
  1033. #
  1034. # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
  1035. # created by `make install' are always world readable, even if the
  1036. # installer happens to have an overly restrictive umask (e.g. 077).
  1037. # This was a mistake. There are at least two reasons why we must not
  1038. # use `-m 0755':
  1039. # - it causes special bits like SGID to be ignored,
  1040. # - it may be too restrictive (some setups expect 775 directories).
  1041. #
  1042. # Do not use -m 0755 and let people choose whatever they expect by
  1043. # setting umask.
  1044. #
  1045. # We cannot accept any implementation of `mkdir' that recognizes `-p'.
  1046. # Some implementations (such as Solaris 8's) are not thread-safe: if a
  1047. # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
  1048. # concurrently, both version can detect that a/ is missing, but only
  1049. # one can create it and the other will error out. Consequently we
  1050. # restrict ourselves to GNU make (using the --version option ensures
  1051. # this.)
  1052. AC_DEFUN([AM_PROG_MKDIR_P],
  1053. [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  1054. # We used to keeping the `.' as first argument, in order to
  1055. # allow $(mkdir_p) to be used without argument. As in
  1056. # $(mkdir_p) $(somedir)
  1057. # where $(somedir) is conditionally defined. However this is wrong
  1058. # for two reasons:
  1059. # 1. if the package is installed by a user who cannot write `.'
  1060. # make install will fail,
  1061. # 2. the above comment should most certainly read
  1062. # $(mkdir_p) $(DESTDIR)$(somedir)
  1063. # so it does not work when $(somedir) is undefined and
  1064. # $(DESTDIR) is not.
  1065. # To support the latter case, we have to write
  1066. # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  1067. # so the `.' trick is pointless.
  1068. mkdir_p='mkdir -p --'
  1069. else
  1070. # On NextStep and OpenStep, the `mkdir' command does not
  1071. # recognize any option. It will interpret all options as
  1072. # directories to create, and then abort because `.' already
  1073. # exists.
  1074. for d in ./-p ./--version;
  1075. do
  1076. test -d $d && rmdir $d
  1077. done
  1078. # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  1079. if test -f "$ac_aux_dir/mkinstalldirs"; then
  1080. mkdir_p='$(mkinstalldirs)'
  1081. else
  1082. mkdir_p='$(install_sh) -d'
  1083. fi
  1084. fi
  1085. AC_SUBST([mkdir_p])])
  1086. # Helper functions for option handling. -*- Autoconf -*-
  1087. # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
  1088. #
  1089. # This file is free software; the Free Software Foundation
  1090. # gives unlimited permission to copy and/or distribute it,
  1091. # with or without modifications, as long as this notice is preserved.
  1092. # serial 3
  1093. # _AM_MANGLE_OPTION(NAME)
  1094. # -----------------------
  1095. AC_DEFUN([_AM_MANGLE_OPTION],
  1096. [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  1097. # _AM_SET_OPTION(NAME)
  1098. # ------------------------------
  1099. # Set option NAME. Presently that only means defining a flag for this option.
  1100. AC_DEFUN([_AM_SET_OPTION],
  1101. [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
  1102. # _AM_SET_OPTIONS(OPTIONS)
  1103. # ----------------------------------
  1104. # OPTIONS is a space-separated list of Automake options.
  1105. AC_DEFUN([_AM_SET_OPTIONS],
  1106. [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  1107. # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
  1108. # -------------------------------------------
  1109. # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
  1110. AC_DEFUN([_AM_IF_OPTION],
  1111. [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  1112. # Check to make sure that the build environment is sane. -*- Autoconf -*-
  1113. # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
  1114. # Free Software Foundation, Inc.
  1115. #
  1116. # This file is free software; the Free Software Foundation
  1117. # gives unlimited permission to copy and/or distribute it,
  1118. # with or without modifications, as long as this notice is preserved.
  1119. # serial 4
  1120. # AM_SANITY_CHECK
  1121. # ---------------
  1122. AC_DEFUN([AM_SANITY_CHECK],
  1123. [AC_MSG_CHECKING([whether build environment is sane])
  1124. # Just in case
  1125. sleep 1
  1126. echo timestamp > conftest.file
  1127. # Do `set' in a subshell so we don't clobber the current shell's
  1128. # arguments. Must try -L first in case configure is actually a
  1129. # symlink; some systems play weird games with the mod time of symlinks
  1130. # (eg FreeBSD returns the mod time of the symlink's containing
  1131. # directory).
  1132. if (
  1133. set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1134. if test "$[*]" = "X"; then
  1135. # -L didn't work.
  1136. set X `ls -t $srcdir/configure conftest.file`
  1137. fi
  1138. rm -f conftest.file
  1139. if test "$[*]" != "X $srcdir/configure conftest.file" \
  1140. && test "$[*]" != "X conftest.file $srcdir/configure"; then
  1141. # If neither matched, then we have a broken ls. This can happen
  1142. # if, for instance, CONFIG_SHELL is bash and it inherits a
  1143. # broken ls alias from the environment. This has actually
  1144. # happened. Such a system could not be considered "sane".
  1145. AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
  1146. alias in your environment])
  1147. fi
  1148. test "$[2]" = conftest.file
  1149. )
  1150. then
  1151. # Ok.
  1152. :
  1153. else
  1154. AC_MSG_ERROR([newly created file is older than distributed files!
  1155. Check your system clock])
  1156. fi
  1157. AC_MSG_RESULT(yes)])
  1158. # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
  1159. #
  1160. # This file is free software; the Free Software Foundation
  1161. # gives unlimited permission to copy and/or distribute it,
  1162. # with or without modifications, as long as this notice is preserved.
  1163. # AM_PROG_INSTALL_STRIP
  1164. # ---------------------
  1165. # One issue with vendor `install' (even GNU) is that you can't
  1166. # specify the program used to strip binaries. This is especially
  1167. # annoying in cross-compiling environments, where the build's strip
  1168. # is unlikely to handle the host's binaries.
  1169. # Fortunately install-sh will honor a STRIPPROG variable, so we
  1170. # always use install-sh in `make install-strip', and initialize
  1171. # STRIPPROG with the value of the STRIP variable (set by the user).
  1172. AC_DEFUN([AM_PROG_INSTALL_STRIP],
  1173. [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  1174. # Installed binaries are usually stripped using `strip' when the user
  1175. # run `make install-strip'. However `strip' might not be the right
  1176. # tool to use in cross-compilation environments, therefore Automake
  1177. # will honor the `STRIP' environment variable to overrule this program.
  1178. dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
  1179. if test "$cross_compiling" != no; then
  1180. AC_CHECK_TOOL([STRIP], [strip], :)
  1181. fi
  1182. INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  1183. AC_SUBST([INSTALL_STRIP_PROGRAM])])
  1184. # Check how to create a tarball. -*- Autoconf -*-
  1185. # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
  1186. #
  1187. # This file is free software; the Free Software Foundation
  1188. # gives unlimited permission to copy and/or distribute it,
  1189. # with or without modifications, as long as this notice is preserved.
  1190. # serial 2
  1191. # _AM_PROG_TAR(FORMAT)
  1192. # --------------------
  1193. # Check how to create a tarball in format FORMAT.
  1194. # FORMAT should be one of `v7', `ustar', or `pax'.
  1195. #
  1196. # Substitute a variable $(am__tar) that is a command
  1197. # writing to stdout a FORMAT-tarball containing the directory
  1198. # $tardir.
  1199. # tardir=directory && $(am__tar) > result.tar
  1200. #
  1201. # Substitute a variable $(am__untar) that extract such
  1202. # a tarball read from stdin.
  1203. # $(am__untar) < result.tar
  1204. AC_DEFUN([_AM_PROG_TAR],
  1205. [# Always define AMTAR for backward compatibility.
  1206. AM_MISSING_PROG([AMTAR], [tar])
  1207. m4_if([$1], [v7],
  1208. [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
  1209. [m4_case([$1], [ustar],, [pax],,
  1210. [m4_fatal([Unknown tar format])])
  1211. AC_MSG_CHECKING([how to create a $1 tar archive])
  1212. # Loop over all known methods to create a tar archive until one works.
  1213. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  1214. _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  1215. # Do not fold the above two line into one, because Tru64 sh and
  1216. # Solaris sh will not grok spaces in the rhs of `-'.
  1217. for _am_tool in $_am_tools
  1218. do
  1219. case $_am_tool in
  1220. gnutar)
  1221. for _am_tar in tar gnutar gtar;
  1222. do
  1223. AM_RUN_LOG([$_am_tar --version]) && break
  1224. done
  1225. am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  1226. am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  1227. am__untar="$_am_tar -xf -"
  1228. ;;
  1229. plaintar)
  1230. # Must skip GNU tar: if it does not support --format= it doesn't create
  1231. # ustar tarball either.
  1232. (tar --version) >/dev/null 2>&1 && continue
  1233. am__tar='tar chf - "$$tardir"'
  1234. am__tar_='tar chf - "$tardir"'
  1235. am__untar='tar xf -'
  1236. ;;
  1237. pax)
  1238. am__tar='pax -L -x $1 -w "$$tardir"'
  1239. am__tar_='pax -L -x $1 -w "$tardir"'
  1240. am__untar='pax -r'
  1241. ;;
  1242. cpio)
  1243. am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  1244. am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  1245. am__untar='cpio -i -H $1 -d'
  1246. ;;
  1247. none)
  1248. am__tar=false
  1249. am__tar_=false
  1250. am__untar=false
  1251. ;;
  1252. esac
  1253. # If the value was cached, stop now. We just wanted to have am__tar
  1254. # and am__untar set.
  1255. test -n "${am_cv_prog_tar_$1}" && break
  1256. # tar/untar a dummy directory, and stop if the command works
  1257. rm -rf conftest.dir
  1258. mkdir conftest.dir
  1259. echo GrepMe > conftest.dir/file
  1260. AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  1261. rm -rf conftest.dir
  1262. if test -s conftest.tar; then
  1263. AM_RUN_LOG([$am__untar <conftest.tar])
  1264. grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  1265. fi
  1266. done
  1267. rm -rf conftest.dir
  1268. AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  1269. AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  1270. AC_SUBST([am__tar])
  1271. AC_SUBST([am__untar])
  1272. ]) # _AM_PROG_TAR
  1273. m4_include([m4/codeset.m4])
  1274. m4_include([m4/gettext.m4])
  1275. m4_include([m4/glibc2.m4])
  1276. m4_include([m4/glibc21.m4])
  1277. m4_include([m4/iconv.m4])
  1278. m4_include([m4/intdiv0.m4])
  1279. m4_include([m4/intl.m4])
  1280. m4_include([m4/intlmacosx.m4])
  1281. m4_include([m4/intmax.m4])
  1282. m4_include([m4/inttypes-pri.m4])
  1283. m4_include([m4/inttypes_h.m4])
  1284. m4_include([m4/lcmessage.m4])
  1285. m4_include([m4/lib-ld.m4])
  1286. m4_include([m4/lib-link.m4])
  1287. m4_include([m4/lib-prefix.m4])
  1288. m4_include([m4/libares.m4])
  1289. m4_include([m4/libcares.m4])
  1290. m4_include([m4/libexpat.m4])
  1291. m4_include([m4/lock.m4])
  1292. m4_include([m4/longlong.m4])
  1293. m4_include([m4/nls.m4])
  1294. m4_include([m4/openssl.m4])
  1295. m4_include([m4/po.m4])
  1296. m4_include([m4/printf-posix.m4])
  1297. m4_include([m4/progtest.m4])
  1298. m4_include([m4/size_max.m4])
  1299. m4_include([m4/stdint_h.m4])
  1300. m4_include([m4/uintmax_t.m4])
  1301. m4_include([m4/visibility.m4])
  1302. m4_include([m4/wchar_t.m4])
  1303. m4_include([m4/wint_t.m4])
  1304. m4_include([m4/xsize.m4])