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

8823 lines
297 KiB

  1. # This is a frozen state file generated by GNU m4 1.4
  2. V1
  3. Q1,1
  4. []
  5. T30,253
  6. _AC_INIT_PREPARE_FS_SEPARATORSecho "#! $SHELL" >conftest.sh
  7. echo "exit 0" >>conftest.sh
  8. chmod +x conftest.sh
  9. if AC_RUN_LOG([PATH=".;."; conftest.sh]); then
  10. ac_path_separator=';'
  11. else
  12. ac_path_separator=:
  13. fi
  14. AC_SUBST([PATH_SEPARATOR], "$ac_path_separator")dnl
  15. rm -f conftest.sh
  16. T11,205
  17. AC_UNISTD_H_m4_defun_pro([AC_UNISTD_H])AC_DIAGNOSE([obsolete], [The macro `AC_UNISTD_H' is obsolete.
  18. You should run autoupdate.])dnl
  19. AC_CHECK_HEADERS(unistd.h)[]AC_PROVIDE([AC_UNISTD_H])[]_m4_defun_epi([AC_UNISTD_H])
  20. T29,14
  21. m4_location(AC_CHECK_MEMBERS)actypes.m4:452
  22. T10,156
  23. AC_RUN_LOG_m4_defun_pro([AC_RUN_LOG])_AC_RUN_LOG([$1],
  24. [echo "$as_me:__oline__: AS_ESCAPE([$1])"])[]AC_PROVIDE([AC_RUN_LOG])[]_m4_defun_epi([AC_RUN_LOG])
  25. T13,0
  26. AC_LIST_FILES
  27. T17,616
  28. _AC_INIT_DEFAULTSm4_divert_push([DEFAULTS])dnl
  29. AS_SHELL_SANITIZE
  30. # Name of the host.
  31. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  32. # so uname gets run too.
  33. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  34. exec AS_MESSAGE_FD>&1
  35. #
  36. # Initializations.
  37. #
  38. ac_default_prefix=/usr/local
  39. cross_compiling=no
  40. subdirs=
  41. MFLAGS= MAKEFLAGS=
  42. AC_SUBST(SHELL, ${CONFIG_SHELL-/bin/sh})dnl
  43. # Maximum number of lines to put in a shell here document.
  44. # This variable seems obsolete. It should probably be removed, and
  45. # only ac_max_sed_lines should be used.
  46. : ${ac_max_here_lines=38}
  47. m4_divert_pop([DEFAULTS])dnl
  48. T10,113
  49. AS_DIRNAME_m4_defun_pro([AS_DIRNAME])AS_DIRNAME_EXPR([$1]) 2>/dev/null ||
  50. AS_DIRNAME_SED([$1])[]_m4_defun_epi([AS_DIRNAME])
  51. T28,18
  52. m4_location(AM_FUNC_FNMATCH)acfunctions.m4:362
  53. T23,13
  54. m4_location(AC_PROG_CC)aclang.m4:976
  55. F9,6
  56. m4_formatformat
  57. T10,194
  58. AC_STRCOLL_m4_defun_pro([AC_STRCOLL])AC_DIAGNOSE([obsolete], [The macro `AC_STRCOLL' is obsolete.
  59. You should run autoupdate.])dnl
  60. AC_FUNC_STRCOLL($@)[]AC_PROVIDE([AC_STRCOLL])[]_m4_defun_epi([AC_STRCOLL])
  61. T9,188
  62. AC_FD_MSG_m4_defun_pro([AC_FD_MSG])AC_DIAGNOSE([obsolete], [The macro `AC_FD_MSG' is obsolete.
  63. You should run autoupdate.])dnl
  64. AS_MESSAGE_FD($@)[]AC_PROVIDE([AC_FD_MSG])[]_m4_defun_epi([AC_FD_MSG])
  65. F14,11
  66. m4_changequotechangequote
  67. T15,214
  68. AM_FUNC_FNMATCH_m4_defun_pro([AM_FUNC_FNMATCH])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_FNMATCH' is obsolete.
  69. You should run autoupdate.])dnl
  70. AC_FUNC_FNMATCH($@)[]AC_PROVIDE([AM_FUNC_FNMATCH])[]_m4_defun_epi([AM_FUNC_FNMATCH])
  71. T28,16
  72. m4_location(AM_PROG_INSTALL)acoldnames.m4:86
  73. T17,222
  74. AC_LANG_FORTRAN77_m4_defun_pro([AC_LANG_FORTRAN77])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_FORTRAN77' is obsolete.
  75. You should run autoupdate.])dnl
  76. AC_LANG(Fortran 77)[]AC_PROVIDE([AC_LANG_FORTRAN77])[]_m4_defun_epi([AC_LANG_FORTRAN77])
  77. T26,17
  78. m4_location(AC_PATH_PROGS)acgeneral.m4:2401
  79. T28,19
  80. m4_location(AC_FUNC_VPRINTF)acfunctions.m4:1598
  81. T29,11
  82. m4_location(_AS_TEST_PREPARE)m4sh.m4:421
  83. T26,18
  84. m4_location(AC_GETLOADAVG)acfunctions.m4:570
  85. F8,8
  86. translittranslit
  87. T24,16
  88. m4_location(AC_SET_MAKE)acoldnames.m4:66
  89. T16,0
  90. AC_LIST_COMMANDS
  91. T10,121
  92. m4_re_word[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789]*
  93. T26,17
  94. m4_location(AC_CHECK_FILE)acgeneral.m4:2877
  95. T7,178
  96. AC_WARN_m4_defun_pro([AC_WARN])AC_DIAGNOSE([obsolete], [The macro `AC_WARN' is obsolete.
  97. You should run autoupdate.])dnl
  98. AC_MSG_WARN($@)[]AC_PROVIDE([AC_WARN])[]_m4_defun_epi([AC_WARN])
  99. T40,17
  100. m4_location(AC_SYS_RESTARTABLE_SYSCALLS)acspecific.m4:554
  101. T16,154
  102. _AS_QUOTE_IFELSEm4_if(m4_regexp([$1], [\\[\\$]]),
  103. [-1], [m4_if(m4_regexp([$1], [\\[`""]]),
  104. [-1], [$2],
  105. [$3])],
  106. [$2])
  107. T17,45
  108. _AS_ECHO_UNQUOTEDecho "$1" >&m4_default([$2], [AS_MESSAGE_FD])
  109. T24,7008
  110. _AC_OUTPUT_CONFIG_STATUSAC_MSG_NOTICE([creating $CONFIG_STATUS])
  111. cat >$CONFIG_STATUS <<_ACEOF
  112. #! $SHELL
  113. # Generated automatically by configure.
  114. # Run this file to recreate the current configuration.
  115. # Compiler output produced by configure, useful for debugging
  116. # configure, is in config.log if it exists.
  117. debug=false
  118. SHELL=\${CONFIG_SHELL-$SHELL}
  119. ac_cs_invocation="\$[0] \$[@]"
  120. _ACEOF
  121. cat >>$CONFIG_STATUS <<\_ACEOF
  122. AS_SHELL_SANITIZE
  123. exec AS_MESSAGE_FD>&1
  124. _ACEOF
  125. # Files that config.status was made for.
  126. if test -n "$ac_config_files"; then
  127. echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  128. fi
  129. if test -n "$ac_config_headers"; then
  130. echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  131. fi
  132. if test -n "$ac_config_links"; then
  133. echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  134. fi
  135. if test -n "$ac_config_commands"; then
  136. echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  137. fi
  138. cat >>$CONFIG_STATUS <<\EOF
  139. ac_cs_usage="\
  140. \`$as_me' instantiates files from templates according to the
  141. current configuration.
  142. Usage: $[0] [[OPTIONS]] [[FILE]]...
  143. -h, --help print this help, then exit
  144. -V, --version print version number, then exit
  145. -d, --debug don't remove temporary files
  146. --recheck update $as_me by reconfiguring in the same conditions
  147. m4_ifset([AC_LIST_FILES],
  148. [[ --file=FILE[:TEMPLATE]
  149. instantiate the configuration file FILE
  150. ]])dnl
  151. m4_ifset([AC_LIST_HEADERS],
  152. [[ --header=FILE[:TEMPLATE]
  153. instantiate the configuration header FILE
  154. ]])dnl
  155. m4_ifset([AC_LIST_FILES],
  156. [Configuration files:
  157. $config_files
  158. ])dnl
  159. m4_ifset([AC_LIST_HEADERS],
  160. [Configuration headers:
  161. $config_headers
  162. ])dnl
  163. m4_ifset([AC_LIST_LINKS],
  164. [Configuration links:
  165. $config_links
  166. ])dnl
  167. m4_ifset([AC_LIST_COMMANDS],
  168. [Configuration commands:
  169. $config_commands
  170. ])dnl
  171. Report bugs to <bug-autoconf@gnu.org>."
  172. EOF
  173. cat >>$CONFIG_STATUS <<EOF
  174. ac_cs_version="\\
  175. m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.status[]dnl
  176. m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  177. configured by [$]0, generated by GNU Autoconf AC_ACVERSION,
  178. with options \\"`echo "$ac_configure_args" | sed 's/[[\\""\`\$]]/\\\\&/g'`\\"
  179. Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  180. Free Software Foundation, Inc.
  181. This config.status script is free software; the Free Software Foundation
  182. gives unlimited permission to copy, distribute and modify it."
  183. srcdir=$srcdir
  184. AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
  185. [dnl Leave those double quotes here: this $INSTALL is evaluated in a
  186. dnl here document, which might result in `INSTALL=/bin/install -c'.
  187. INSTALL="$INSTALL"
  188. ])dnl
  189. EOF
  190. cat >>$CONFIG_STATUS <<\EOF
  191. # If no file are specified by the user, then we need to provide default
  192. # value. By we need to know if files were specified by the user.
  193. ac_need_defaults=:
  194. while test $[#] != 0
  195. do
  196. case $[1] in
  197. --*=*)
  198. ac_option=`expr "x$[1]" : 'x\([[^=]]*\)='`
  199. ac_optarg=`expr "x$[1]" : 'x[[^=]]*=\(.*\)'`
  200. shift
  201. set dummy "$ac_option" "$ac_optarg" ${1+"$[@]"}
  202. shift
  203. ;;
  204. -*);;
  205. *) # This is not an option, so the user has probably given explicit
  206. # arguments.
  207. ac_need_defaults=false;;
  208. esac
  209. case $[1] in
  210. # Handling of the options.
  211. EOF
  212. cat >>$CONFIG_STATUS <<EOF
  213. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  214. echo "running $SHELL $[0] " $ac_configure_args " --no-create --no-recursion"
  215. exec $SHELL $[0] $ac_configure_args --no-create --no-recursion ;;
  216. EOF
  217. cat >>$CONFIG_STATUS <<\EOF
  218. --version | --vers* | -V )
  219. echo "$ac_cs_version"; exit 0 ;;
  220. --he | --h)
  221. # Conflict between --help and --header
  222. AC_MSG_ERROR([ambiguous option: $[1]
  223. Try `$[0] --help' for more information.]);;
  224. --help | --hel | -h )
  225. echo "$ac_cs_usage"; exit 0 ;;
  226. --debug | --d* | -d )
  227. debug=: ;;
  228. --file | --fil | --fi | --f )
  229. shift
  230. CONFIG_FILES="$CONFIG_FILES $[1]"
  231. ac_need_defaults=false;;
  232. --header | --heade | --head | --hea )
  233. shift
  234. CONFIG_HEADERS="$CONFIG_HEADERS $[1]"
  235. ac_need_defaults=false;;
  236. # This is an error.
  237. -*) AC_MSG_ERROR([unrecognized option: $[1]
  238. Try `$[0] --help' for more information.]) ;;
  239. *) ac_config_targets="$ac_config_targets $[1]" ;;
  240. esac
  241. shift
  242. done
  243. exec AS_MESSAGE_LOG_FD>>config.log
  244. cat >&AS_MESSAGE_LOG_FD << _ACEOF
  245. ## ----------------------- ##
  246. ## Running config.status. ##
  247. ## ----------------------- ##
  248. This file was extended by $as_me m4_ifset([AC_PACKAGE_STRING],
  249. [(AC_PACKAGE_STRING) ])AC_ACVERSION, executed with
  250. CONFIG_FILES = $CONFIG_FILES
  251. CONFIG_HEADERS = $CONFIG_HEADERS
  252. CONFIG_LINKS = $CONFIG_LINKS
  253. CONFIG_COMMANDS = $CONFIG_COMMANDS
  254. > $ac_cs_invocation
  255. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  256. _ACEOF
  257. EOF
  258. dnl We output the INIT-CMDS first for obvious reasons :)
  259. m4_ifset([_AC_OUTPUT_COMMANDS_INIT],
  260. [cat >>$CONFIG_STATUS <<EOF
  261. #
  262. # INIT-COMMANDS section.
  263. #
  264. _AC_OUTPUT_COMMANDS_INIT()
  265. EOF])
  266. dnl Issue this section only if there were actually config files.
  267. dnl This checks if one of AC_LIST_HEADERS, AC_LIST_FILES, AC_LIST_COMMANDS,
  268. dnl or AC_LIST_LINKS is set.
  269. m4_ifval(AC_LIST_HEADERS()AC_LIST_LINKS()AC_LIST_FILES()AC_LIST_COMMANDS(),
  270. [
  271. cat >>$CONFIG_STATUS <<\EOF
  272. for ac_config_target in $ac_config_targets
  273. do
  274. case "$ac_config_target" in
  275. # Handling of arguments.
  276. AC_FOREACH([AC_File], AC_LIST_FILES,
  277. [ "m4_patsubst(AC_File, [:.*])" )dnl
  278. CONFIG_FILES="$CONFIG_FILES AC_File" ;;
  279. ])dnl
  280. AC_FOREACH([AC_File], AC_LIST_LINKS,
  281. [ "m4_patsubst(AC_File, [:.*])" )dnl
  282. CONFIG_LINKS="$CONFIG_LINKS AC_File" ;;
  283. ])dnl
  284. AC_FOREACH([AC_File], AC_LIST_COMMANDS,
  285. [ "m4_patsubst(AC_File, [:.*])" )dnl
  286. CONFIG_COMMANDS="$CONFIG_COMMANDS AC_File" ;;
  287. ])dnl
  288. AC_FOREACH([AC_File], AC_LIST_HEADERS,
  289. [ "m4_patsubst(AC_File, [:.*])" )dnl
  290. CONFIG_HEADERS="$CONFIG_HEADERS AC_File" ;;
  291. ])dnl
  292. *) AC_MSG_ERROR([invalid argument: $ac_config_target]);;
  293. esac
  294. done
  295. # If the user did not use the arguments to specify the items to instantiate,
  296. # then the envvar interface is used. Set only those that are not.
  297. # We use the long form for the default assignment because of an extremely
  298. # bizarre bug on SunOS 4.1.3.
  299. if $ac_need_defaults; then
  300. m4_ifset([AC_LIST_FILES],
  301. [ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  302. ])dnl
  303. m4_ifset([AC_LIST_HEADERS],
  304. [ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  305. ])dnl
  306. m4_ifset([AC_LIST_LINKS],
  307. [ test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
  308. ])dnl
  309. m4_ifset([AC_LIST_COMMANDS],
  310. [ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  311. ])dnl
  312. fi
  313. AS_TMPDIR(cs)
  314. EOF
  315. ])[]dnl m4_ifval
  316. dnl The following four sections are in charge of their own here
  317. dnl documenting into $CONFIG_STATUS.
  318. m4_ifset([AC_LIST_FILES], [_AC_OUTPUT_FILES()])dnl
  319. m4_ifset([AC_LIST_HEADERS], [_AC_OUTPUT_HEADERS()])dnl
  320. m4_ifset([AC_LIST_LINKS], [_AC_OUTPUT_LINKS()])dnl
  321. m4_ifset([AC_LIST_COMMANDS], [_AC_OUTPUT_COMMANDS()])dnl
  322. cat >>$CONFIG_STATUS <<\EOF
  323. AS_EXIT(0)
  324. EOF
  325. chmod +x $CONFIG_STATUS
  326. T14,856
  327. AC_HEADER_STAT_m4_defun_pro([AC_HEADER_STAT])AC_CACHE_CHECK(whether stat file-mode macros are broken,
  328. ac_cv_header_stat_broken,
  329. [AC_EGREP_CPP([You lose], [#include <sys/types.h>
  330. #include <sys/stat.h>
  331. #if defined(S_ISBLK) && defined(S_IFDIR)
  332. # if S_ISBLK (S_IFDIR)
  333. You lose.
  334. # endif
  335. #endif
  336. #if defined(S_ISBLK) && defined(S_IFCHR)
  337. # if S_ISBLK (S_IFCHR)
  338. You lose.
  339. # endif
  340. #endif
  341. #if defined(S_ISLNK) && defined(S_IFREG)
  342. # if S_ISLNK (S_IFREG)
  343. You lose.
  344. # endif
  345. #endif
  346. #if defined(S_ISSOCK) && defined(S_IFREG)
  347. # if S_ISSOCK (S_IFREG)
  348. You lose.
  349. # endif
  350. #endif
  351. ], ac_cv_header_stat_broken=yes, ac_cv_header_stat_broken=no)])
  352. if test $ac_cv_header_stat_broken = yes; then
  353. AC_DEFINE(STAT_MACROS_BROKEN, 1,
  354. [Define if the `S_IS*' macros in <sys/stat.h> do not
  355. work properly.])
  356. fi
  357. []AC_PROVIDE([AC_HEADER_STAT])[]_m4_defun_epi([AC_HEADER_STAT])
  358. T24,16
  359. m4_location(AC_MEMORY_H)acheaders.m4:432
  360. T16,570
  361. _AS_LN_S_PREPARE_m4_defun_pro([_AS_LN_S_PREPARE])rm -f conf$$ conf$$.exe conf$$.file
  362. echo >conf$$.file
  363. if ln -s conf$$.file conf$$ 2>/dev/null; then
  364. # We could just check for DJGPP; but this test a) works b) is more generic
  365. # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  366. if test -f conf$$.exe; then
  367. # Don't use ln at all; we don't have any links
  368. as_ln_s='cp -p'
  369. else
  370. as_ln_s='ln -s'
  371. fi
  372. elif ln conf$$.file conf$$ 2>/dev/null; then
  373. as_ln_s=ln
  374. else
  375. as_ln_s='cp -p'
  376. fi
  377. rm -f conf$$ conf$$.exe conf$$.file
  378. []_m4_defun_epi([_AS_LN_S_PREPARE])
  379. T22,2462
  380. AC_F77_LIBRARY_LDFLAGS_m4_defun_pro([AC_F77_LIBRARY_LDFLAGS])AC_LANG_PUSH(Fortran 77)dnl
  381. _AC_PROG_F77_V
  382. AC_CACHE_CHECK([for Fortran 77 libraries], ac_cv_flibs,
  383. [if test "x$FLIBS" != "x"; then
  384. ac_cv_flibs="$FLIBS" # Let the user override the test.
  385. else
  386. _AC_PROG_F77_V_OUTPUT
  387. ac_cv_flibs=
  388. # Save positional arguments (if any)
  389. ac_save_positional="$[@]"
  390. set X $ac_f77_v_output
  391. while test $[@%:@] != 1; do
  392. shift
  393. ac_arg=$[1]
  394. case $ac_arg in
  395. [[\\/]]*.a | ?:[[\\/]]*.a)
  396. AC_LIST_MEMBER_OF($ac_arg, $ac_cv_flibs, ,
  397. ac_cv_flibs="$ac_cv_flibs $ac_arg")
  398. ;;
  399. -bI:*)
  400. AC_LIST_MEMBER_OF($ac_arg, $ac_cv_flibs, ,
  401. [AC_LINKER_OPTION([$ac_arg], ac_cv_flibs)])
  402. ;;
  403. # Ignore these flags.
  404. -lang* | -lcrt0.o | -lc | -lgcc | -LANG:=*)
  405. ;;
  406. -lkernel32)
  407. test x"$CYGWIN" != xyes && ac_cv_flibs="$ac_cv_flibs $ac_arg"
  408. ;;
  409. -[[LRuY]])
  410. # These flags, when seen by themselves, take an argument.
  411. # We remove the space between option and argument and re-iterate
  412. # unless we find an empty arg or a new option (starting with -)
  413. case $[2] in
  414. "" | -*);;
  415. *)
  416. ac_arg="$ac_arg$[2]"
  417. shift; shift
  418. set X $ac_arg "$[@]"
  419. ;;
  420. esac
  421. ;;
  422. -YP,*)
  423. for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
  424. AC_LIST_MEMBER_OF($ac_j, $ac_cv_flibs, ,
  425. [ac_arg="$ac_arg $ac_j"
  426. ac_cv_flibs="$ac_cv_flibs $ac_j"])
  427. done
  428. ;;
  429. -[[lLR]]*)
  430. AC_LIST_MEMBER_OF($ac_arg, $ac_cv_flibs, ,
  431. ac_cv_flibs="$ac_cv_flibs $ac_arg")
  432. ;;
  433. # Ignore everything else.
  434. esac
  435. done
  436. # restore positional arguments
  437. set X $ac_save_positional; shift
  438. # We only consider "LD_RUN_PATH" on Solaris systems. If this is seen,
  439. # then we insist that the "run path" must be an absolute path (i.e. it
  440. # must begin with a "/").
  441. case `(uname -sr) 2>/dev/null` in
  442. "SunOS 5"*)
  443. ac_ld_run_path=`echo $ac_f77_v_output |
  444. sed -n 's,^.*LD_RUN_PATH *= *\(/[[^ ]]*\).*$,-R\1,p'`
  445. test "x$ac_ld_run_path" != x &&
  446. AC_LINKER_OPTION([$ac_ld_run_path], ac_cv_flibs)
  447. ;;
  448. esac
  449. fi # test "x$FLIBS" = "x"
  450. ])
  451. FLIBS="$ac_cv_flibs"
  452. AC_SUBST(FLIBS)
  453. AC_LANG_POP(Fortran 77)dnl
  454. []AC_PROVIDE([AC_F77_LIBRARY_LDFLAGS])[]_m4_defun_epi([AC_F77_LIBRARY_LDFLAGS])
  455. T29,16
  456. m4_location(AC_HEADER_DIRENT)acheaders.m4:165
  457. T33,17
  458. m4_location(AC_CHECK_TOOL_PREFIX)acgeneral.m4:2413
  459. T27,17
  460. m4_location(AC_ARG_PROGRAM)acgeneral.m4:1625
  461. T15,921
  462. _AC_INIT_SRCDIRm4_divert_push([PARSE_ARGS])dnl
  463. # Find the source files, if location was not specified.
  464. if test -z "$srcdir"; then
  465. ac_srcdir_defaulted=yes
  466. # Try the directory containing this script, then its parent.
  467. ac_prog=$[0]
  468. dnl FIXME: should use AS_DIRNAME here once it is made DOS-friendly.
  469. ac_confdir=`echo "$ac_prog" | sed 's%[[\\/][^\\/][^\\/]]*$%%'`
  470. test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  471. srcdir=$ac_confdir
  472. if test ! -r $srcdir/$ac_unique_file; then
  473. srcdir=..
  474. fi
  475. else
  476. ac_srcdir_defaulted=no
  477. fi
  478. if test ! -r $srcdir/$ac_unique_file; then
  479. if test "$ac_srcdir_defaulted" = yes; then
  480. AC_MSG_ERROR([cannot find sources in $ac_confdir or ..])
  481. else
  482. AC_MSG_ERROR([cannot find sources in $srcdir])
  483. fi
  484. fi
  485. dnl Double slashes in pathnames in object file debugging info
  486. dnl mess up M-x gdb in Emacs.
  487. srcdir=`echo "$srcdir" | sed 's%\([[^\\/]]\)[[\\/]]*$%\1%'`
  488. m4_divert_pop([PARSE_ARGS])dnl
  489. T10,54
  490. m4_includem4_include_unique([$1])dnl
  491. m4_builtin([include], [$1])
  492. T22,16
  493. m4_location(AC_INLINE)acoldnames.m4:55
  494. T37,1432
  495. AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK_m4_defun_pro([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])AC_CACHE_CHECK(
  496. [whether lstat dereferences a symlink specified with a trailing slash],
  497. [ac_cv_func_lstat_dereferences_slashed_symlink],
  498. [rm -f conftest.sym conftest.file
  499. echo >conftest.file
  500. if ln -s conftest.file conftest.sym; then
  501. AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
  502. [struct stat sbuf;
  503. /* Linux will dereference the symlink and fail.
  504. That is better in the sense that it means we will not
  505. have to compile and use the lstat wrapper. */
  506. exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);])],
  507. [ac_cv_func_lstat_dereferences_slashed_symlink=yes],
  508. [ac_cv_func_lstat_dereferences_slashed_symlink=no],
  509. [ac_cv_func_lstat_dereferences_slashed_symlink=no])
  510. else
  511. # If the `ln -s' command failed, then we probably don't even
  512. # have an lstat function.
  513. ac_cv_func_lstat_dereferences_slashed_symlink=no
  514. fi
  515. rm -f conftest.sym conftest.file
  516. ])
  517. test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
  518. AC_DEFINE_UNQUOTED(LSTAT_FOLLOWS_SLASHED_SYMLINK, 1,
  519. [Define if `lstat' dereferences a symlink specified
  520. with a trailing slash.])
  521. if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
  522. AC_LIBOBJ(lstat)
  523. fi
  524. []AC_PROVIDE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])[]_m4_defun_epi([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
  525. T18,385
  526. _AC_CHECK_TYPE_NEWAS_VAR_PUSHDEF([ac_Type], [ac_cv_type_$1])dnl
  527. AC_CACHE_CHECK([for $1], ac_Type,
  528. [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$4])],
  529. [if (($1 *) 0)
  530. return 0;
  531. if (sizeof ($1))
  532. return 0;])],
  533. [AS_VAR_SET(ac_Type, yes)],
  534. [AS_VAR_SET(ac_Type, no)])])
  535. AS_IF([test AS_VAR_GET(ac_Type) = yes], [$2], [$3])[]dnl
  536. AS_VAR_POPDEF([ac_Type])dnl
  537. T17,154
  538. AC_PREPROC_IFELSE_m4_defun_pro([AC_PREPROC_IFELSE])AC_LANG_PREPROC_REQUIRE()dnl
  539. _AC_PREPROC_IFELSE($@)[]AC_PROVIDE([AC_PREPROC_IFELSE])[]_m4_defun_epi([AC_PREPROC_IFELSE])
  540. T14,1491
  541. AC_HEADER_STDC_m4_defun_pro([AC_HEADER_STDC])AC_CACHE_CHECK(for ANSI C header files, ac_cv_header_stdc,
  542. [AC_TRY_CPP([#include <stdlib.h>
  543. #include <stdarg.h>
  544. #include <string.h>
  545. #include <float.h>
  546. ], ac_cv_header_stdc=yes, ac_cv_header_stdc=no)
  547. if test $ac_cv_header_stdc = yes; then
  548. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  549. AC_EGREP_HEADER(memchr, string.h, , ac_cv_header_stdc=no)
  550. fi
  551. if test $ac_cv_header_stdc = yes; then
  552. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  553. AC_EGREP_HEADER(free, stdlib.h, , ac_cv_header_stdc=no)
  554. fi
  555. if test $ac_cv_header_stdc = yes; then
  556. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  557. AC_TRY_RUN(
  558. [#include <ctype.h>
  559. #if ((' ' & 0x0FF) == 0x020)
  560. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  561. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  562. #else
  563. # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
  564. || ('j' <= (c) && (c) <= 'r') \
  565. || ('s' <= (c) && (c) <= 'z'))
  566. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  567. #endif
  568. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  569. int
  570. main ()
  571. {
  572. int i;
  573. for (i = 0; i < 256; i++)
  574. if (XOR (islower (i), ISLOWER (i))
  575. || toupper (i) != TOUPPER (i))
  576. exit(2);
  577. exit (0);
  578. }], , ac_cv_header_stdc=no, :)
  579. fi])
  580. if test $ac_cv_header_stdc = yes; then
  581. AC_DEFINE(STDC_HEADERS, 1, [Define if you have the ANSI C header files.])
  582. fi
  583. []AC_PROVIDE([AC_HEADER_STDC])[]_m4_defun_epi([AC_HEADER_STDC])
  584. T8,188
  585. AC_FD_CC_m4_defun_pro([AC_FD_CC])AC_DIAGNOSE([obsolete], [The macro `AC_FD_CC' is obsolete.
  586. You should run autoupdate.])dnl
  587. AS_MESSAGE_LOG_FD($@)[]AC_PROVIDE([AC_FD_CC])[]_m4_defun_epi([AC_FD_CC])
  588. T12,10
  589. m4_cr_digits0123456789
  590. T8,183
  591. AC_VFORK_m4_defun_pro([AC_VFORK])AC_DIAGNOSE([obsolete], [The macro `AC_VFORK' is obsolete.
  592. You should run autoupdate.])dnl
  593. AC_FUNC_FORK($@)[]AC_PROVIDE([AC_VFORK])[]_m4_defun_epi([AC_VFORK])
  594. T33,16
  595. m4_location(AC_HEADER_TIOCGWINSZ)acheaders.m4:385
  596. T14,211
  597. ac_cv_prog_gcc_m4_defun_pro([ac_cv_prog_gcc])AC_DIAGNOSE([obsolete], [The macro `ac_cv_prog_gcc' is obsolete.
  598. You should run autoupdate.])dnl
  599. ac_cv_c_compiler_gnu[]AC_PROVIDE([ac_cv_prog_gcc])[]_m4_defun_epi([ac_cv_prog_gcc])
  600. T15,152
  601. AC_LANG_PROGRAM_m4_defun_pro([AC_LANG_PROGRAM])AC_LANG_SOURCE([_AC_LANG_DISPATCH([$0], _AC_LANG, $@)])[]AC_PROVIDE([AC_LANG_PROGRAM])[]_m4_defun_epi([AC_LANG_PROGRAM])
  602. T28,17
  603. m4_location(AC_CONFIG_LINKS)acgeneral.m4:3328
  604. F5,5
  605. ifdefifdef
  606. T7,207
  607. AC_WITH_m4_defun_pro([AC_WITH])AC_DIAGNOSE([obsolete], [The macro `AC_WITH' is obsolete.
  608. You should run autoupdate.])dnl
  609. AC_ARG_WITH([$1], [ --with-$1], [$2], [$3])[]AC_PROVIDE([AC_WITH])[]_m4_defun_epi([AC_WITH])
  610. T7,74
  611. m4_signm4_match([$1],
  612. [^-], -1,
  613. [^0+], 0,
  614. 1)
  615. T24,13
  616. m4_location(AC_LANG_POP)aclang.m4:157
  617. T24,13
  618. m4_location(AC_PROG_CPP)aclang.m4:910
  619. T11,17
  620. m4_location__file__:__line__
  621. T19,1036
  622. AC_CANONICAL_TARGETm4_provide_ifelse([AC_CANONICAL_TARGET],
  623. [m4_warn([syntax], [AC_CANONICAL_TARGET invoked multiple times])],
  624. [_m4_defun_pro([AC_CANONICAL_TARGET])AC_REQUIRE([AC_CANONICAL_HOST])dnl
  625. AC_BEFORE([$0], [AC_ARG_PROGRAM])dnl
  626. m4_divert_text([HELP_CANON],
  627. [[ --target=TARGET configure for building compilers for TARGET [HOST]]])dnl
  628. AC_CACHE_CHECK([target system type], [ac_cv_target],
  629. [dnl Set target_alias.
  630. ac_cv_target_alias=$target_alias
  631. test "x$ac_cv_target_alias" = "x" &&
  632. ac_cv_target_alias=$ac_cv_host_alias
  633. ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
  634. AC_MSG_ERROR([$ac_config_sub $ac_cv_target_alias failed])
  635. ])
  636. _AC_CANONICAL_SPLIT([target])
  637. # The aliases save the names the user supplied, while $host etc.
  638. # will get canonicalized.
  639. test -n "$target_alias" &&
  640. test "$program_prefix$program_suffix$program_transform_name" = \
  641. NONENONEs,x,x, &&
  642. program_prefix=${target_alias}-[]dnl
  643. []AC_PROVIDE([AC_CANONICAL_TARGET])[]_m4_defun_epi([AC_CANONICAL_TARGET])])
  644. T16,216
  645. AC_PROGRAMS_PATH_m4_defun_pro([AC_PROGRAMS_PATH])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAMS_PATH' is obsolete.
  646. You should run autoupdate.])dnl
  647. AC_PATH_PROGS($@)[]AC_PROVIDE([AC_PROGRAMS_PATH])[]_m4_defun_epi([AC_PROGRAMS_PATH])
  648. T23,2
  649. _m4_divert(HELP_ENABLE)12
  650. T23,135
  651. _AC_CONFIG_DEPENDENCIESm4_divert_push([KILL])
  652. AC_FOREACH([AC_File], [$1],
  653. [_AC_CONFIG_DEPENDENCY(m4_patsubst(AC_File, [:], [,]))])
  654. m4_divert_pop([KILL])dnl
  655. T7,30
  656. AS_WARNAS_MESSAGE([WARNING: $1], [2])
  657. T29,16
  658. m4_location(AC_CONFIG_SRCDIR)acgeneral.m4:625
  659. T10,113
  660. AS_VAR_GETAS_LITERAL_IF([$1],
  661. [$[]$1],
  662. [`eval echo '${'m4_patsubst($1, [[\\`]], [\\\&])'}'`])
  663. T21,11
  664. m4_location(AS_TR_SH)m4sh.m4:580
  665. T22,17
  666. m4_location(AC_PATH_X)acspecific.m4:760
  667. T27,16
  668. m4_location(AC_HEADER_STAT)acheaders.m4:232
  669. T11,194
  670. AM_CYGWIN32_m4_defun_pro([AM_CYGWIN32])AC_DIAGNOSE([obsolete], [The macro `AM_CYGWIN32' is obsolete.
  671. You should run autoupdate.])dnl
  672. AC_CYGWIN32($@)[]AC_PROVIDE([AM_CYGWIN32])[]_m4_defun_epi([AM_CYGWIN32])
  673. T27,13
  674. m4_location(AC_LANG_ASSERT)aclang.m4:189
  675. T36,16
  676. m4_location(AC_RESTARTABLE_SYSCALLS)acoldnames.m4:64
  677. T21,140
  678. AC_LANG_COMPILER(C++)_m4_defun_pro([AC_LANG_COMPILER(C++)])AC_REQUIRE([AC_PROG_CXX])[]AC_PROVIDE([AC_LANG_COMPILER(C++)])[]_m4_defun_epi([AC_LANG_COMPILER(C++)])
  679. T19,149
  680. AC_CONFIG_IF_MEMBERm4_if(m4_regexp($2, [\(^\| \)]m4_patsubst([$1],
  681. [\([+*.]\)], [\\\1])[\(:\| \|$\)]),
  682. -1, [$4], [$3])
  683. T37,19
  684. m4_location(AC_FUNC_SETVBUF_REVERSED)acfunctions.m4:1349
  685. T11,1005
  686. AC_PROG_CXX_m4_defun_pro([AC_PROG_CXX])AC_LANG_PUSH(C++)dnl
  687. AC_ARG_VAR([CXX], [C++ compiler command])dnl
  688. AC_ARG_VAR([CXXFLAGS], [C++ compiler flags])dnl
  689. _AC_ARG_VAR_LDFLAGS()dnl
  690. _AC_ARG_VAR_CPPFLAGS()dnl
  691. AC_CHECK_TOOLS(CXX,
  692. [$CCC m4_default([$1],
  693. [g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC])],
  694. g++)
  695. # Provide some information about the compiler.
  696. echo "$as_me:__oline__:" \
  697. "checking for _AC_LANG compiler version" >&AS_MESSAGE_LOG_FD
  698. ac_compiler=`set X $ac_compile; echo $[2]`
  699. _AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
  700. _AC_EVAL([$ac_compiler -v </dev/null >&AS_MESSAGE_LOG_FD])
  701. _AC_EVAL([$ac_compiler -V </dev/null >&AS_MESSAGE_LOG_FD])
  702. m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl
  703. m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl
  704. _AC_LANG_COMPILER_GNU
  705. GXX=`test $ac_compiler_gnu = yes && echo yes`
  706. _AC_PROG_CXX_G
  707. _AC_PROG_CXX_EXIT_DECLARATION
  708. AC_LANG_POP(C++)dnl
  709. []AC_PROVIDE([AC_PROG_CXX])[]_m4_defun_epi([AC_PROG_CXX])
  710. T28,17
  711. m4_location(AC_CONFIG_FILES)acgeneral.m4:3399
  712. T14,209
  713. AM_FUNC_STRTOD_m4_defun_pro([AM_FUNC_STRTOD])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_STRTOD' is obsolete.
  714. You should run autoupdate.])dnl
  715. AC_FUNC_STRTOD($@)[]AC_PROVIDE([AM_FUNC_STRTOD])[]_m4_defun_epi([AM_FUNC_STRTOD])
  716. T12,371
  717. AC_LANG_SAVE_m4_defun_pro([AC_LANG_SAVE])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_SAVE' is obsolete.
  718. You should run autoupdate.])dnl
  719. AC_DIAGNOSE([obsolete],
  720. [instead of using `AC_LANG', `AC_LANG_SAVE',
  721. and `AC_LANG_RESTORE', you should use `AC_LANG_PUSH' and `AC_LANG_POP'.])
  722. m4_pushdef([_AC_LANG], _AC_LANG)[]AC_PROVIDE([AC_LANG_SAVE])[]_m4_defun_epi([AC_LANG_SAVE])
  723. T24,17
  724. m4_location(AC_ARG_WITH)acgeneral.m4:1478
  725. T23,17
  726. m4_location(AC_ARG_VAR)acgeneral.m4:1589
  727. T8,55
  728. sincludem4_include_unique([$1])dnl
  729. m4_builtin([sinclude], [$1])
  730. T31,17
  731. m4_location(AC_CANONICAL_BUILD)acgeneral.m4:1738
  732. T10,51
  733. m4_flattenm4_translit(m4_patsubst([[[$1]]], [\\
  734. ]), [
  735. ], [ ])
  736. T17,1556
  737. AC_TYPE_GETGROUPS_m4_defun_pro([AC_TYPE_GETGROUPS])AC_REQUIRE([AC_TYPE_UID_T])dnl
  738. AC_CACHE_CHECK(type of array argument to getgroups, ac_cv_type_getgroups,
  739. [AC_RUN_IFELSE([AC_LANG_SOURCE(
  740. [[/* Thanks to Mike Rendell for this test. */
  741. #include <sys/types.h>
  742. #define NGID 256
  743. #undef MAX
  744. #define MAX(x, y) ((x) > (y) ? (x) : (y))
  745. int
  746. main ()
  747. {
  748. gid_t gidset[NGID];
  749. int i, n;
  750. union { gid_t gval; long lval; } val;
  751. val.lval = -1;
  752. for (i = 0; i < NGID; i++)
  753. gidset[i] = val.gval;
  754. n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
  755. gidset);
  756. /* Exit non-zero if getgroups seems to require an array of ints. This
  757. happens when gid_t is short but getgroups modifies an array of ints. */
  758. exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
  759. }]])],
  760. [ac_cv_type_getgroups=gid_t],
  761. [ac_cv_type_getgroups=int],
  762. [ac_cv_type_getgroups=cross])
  763. if test $ac_cv_type_getgroups = cross; then
  764. dnl When we can't run the test program (we are cross compiling), presume
  765. dnl that <unistd.h> has either an accurate prototype for getgroups or none.
  766. dnl Old systems without prototypes probably use int.
  767. AC_EGREP_HEADER([getgroups.*int.*gid_t], unistd.h,
  768. ac_cv_type_getgroups=gid_t, ac_cv_type_getgroups=int)
  769. fi])
  770. AC_DEFINE_UNQUOTED(GETGROUPS_T, $ac_cv_type_getgroups,
  771. [Define to the type of elements in the array set by
  772. `getgroups'. Usually this is either `int' or `gid_t'.])
  773. []AC_PROVIDE([AC_TYPE_GETGROUPS])[]_m4_defun_epi([AC_TYPE_GETGROUPS])
  774. F11,8
  775. m4_traceofftraceoff
  776. T20,13
  777. m4_location(AC_LANG)aclang.m4:133
  778. T24,14
  779. m4_location(AC_F77_FUNC)aclang.m4:2185
  780. T24,2
  781. _m4_divert(VERSION_USER)22
  782. T20,2
  783. _m4_divert(HELP_END)16
  784. T18,1
  785. _AC_LANG_ABBREV(C)c
  786. T6,342
  787. m4_form4_case(m4_sign(m4_eval($3 - $2)),
  788. 1, [m4_assert(m4_sign(m4_default($4, 1)) == 1)],
  789. -1, [m4_assert(m4_sign(m4_default($4, -1)) == -1)])dnl
  790. m4_pushdef([$1], [$2])dnl
  791. m4_if(m4_eval([$3 > $2]), 1,
  792. [_m4_for([$1], [$3], m4_default([$4], 1), [$5])],
  793. [_m4_for([$1], [$3], m4_default([$4], -1), [$5])])dnl
  794. m4_popdef([$1])
  795. F4,4
  796. decrdecr
  797. T27,91
  798. _AC_CHECK_TYPE_MAYBE_TYPE_Pm4_if(m4_regexp([$1], [^[_a-zA-Z0-9 ]+\([_a-zA-Z0-9() *]\|\[\|\]\)*$]),
  799. 0, 1, 0)dnl
  800. T15,96
  801. AC_MSG_CHECKING_AS_ECHO([$as_me:__oline__: checking $1], AS_MESSAGE_LOG_FD)
  802. _AC_ECHO_N([checking $1... ])[]dnl
  803. T30,14
  804. m4_location(AC_F77_DUMMY_MAIN)aclang.m4:1996
  805. T15,2748
  806. AC_PROG_INSTALL_m4_defun_pro([AC_PROG_INSTALL])AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  807. # Find a good install program. We prefer a C program (faster),
  808. # so one script is as good as another. But avoid the broken or
  809. # incompatible versions:
  810. # SysV /etc/install, /usr/sbin/install
  811. # SunOS /usr/etc/install
  812. # IRIX /sbin/install
  813. # AIX /bin/install
  814. # AmigaOS /C/install, which installs bootblocks on floppy discs
  815. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  816. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  817. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  818. # ./install, which can be erroneously created by make from ./install.sh.
  819. AC_MSG_CHECKING([for a BSD compatible install])
  820. if test -z "$INSTALL"; then
  821. AC_CACHE_VAL(ac_cv_path_install,
  822. [ ac_save_IFS=$IFS; IFS=$ac_path_separator
  823. for ac_dir in $PATH; do
  824. IFS=$ac_save_IFS
  825. # Account for people who put trailing slashes in PATH elements.
  826. case $ac_dir/ in
  827. / | ./ | .// | /[cC]/* \
  828. | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
  829. | /usr/ucb/* ) ;;
  830. *)
  831. # OSF1 and SCO ODT 3.0 have their own names for install.
  832. # Don't use installbsd from OSF since it installs stuff as root
  833. # by default.
  834. for ac_prog in ginstall scoinst install; do
  835. if AS_EXECUTABLE_P(["$ac_dir/$ac_prog"]); then
  836. if test $ac_prog = install &&
  837. grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
  838. # AIX install. It has an incompatible calling convention.
  839. :
  840. elif test $ac_prog = install &&
  841. grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
  842. # program-specific install script used by HP pwplus--don't use.
  843. :
  844. else
  845. ac_cv_path_install="$ac_dir/$ac_prog -c"
  846. break 2
  847. fi
  848. fi
  849. done
  850. ;;
  851. esac
  852. done
  853. ])dnl
  854. if test "${ac_cv_path_install+set}" = set; then
  855. INSTALL=$ac_cv_path_install
  856. else
  857. # As a last resort, use the slow shell script. We don't cache a
  858. # path for INSTALL within a source directory, because that will
  859. # break other packages using the cache if that directory is
  860. # removed, or if the path is relative.
  861. INSTALL=$ac_install_sh
  862. fi
  863. fi
  864. dnl We do special magic for INSTALL instead of AC_SUBST, to get
  865. dnl relative paths right.
  866. AC_MSG_RESULT([$INSTALL])
  867. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  868. # It thinks the first close brace ends the variable substitution.
  869. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  870. AC_SUBST(INSTALL_PROGRAM)dnl
  871. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  872. AC_SUBST(INSTALL_SCRIPT)dnl
  873. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  874. AC_SUBST(INSTALL_DATA)dnl
  875. []AC_PROVIDE([AC_PROG_INSTALL])[]_m4_defun_epi([AC_PROG_INSTALL])
  876. T29,16
  877. m4_location(AC_PROGRAM_EGREP)acoldnames.m4:36
  878. F8,8
  879. errprinterrprint
  880. T15,215
  881. AC_HAVE_HEADERS_m4_defun_pro([AC_HAVE_HEADERS])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_HEADERS' is obsolete.
  882. You should run autoupdate.])dnl
  883. AC_CHECK_HEADERS($@)[]AC_PROVIDE([AC_HAVE_HEADERS])[]_m4_defun_epi([AC_HAVE_HEADERS])
  884. T22,1561
  885. AC_SYS_LONG_FILE_NAMES_m4_defun_pro([AC_SYS_LONG_FILE_NAMES])AC_CACHE_CHECK(for long file names, ac_cv_sys_long_file_names,
  886. [ac_cv_sys_long_file_names=yes
  887. # Test for long file names in all the places we know might matter:
  888. # . the current directory, where building will happen
  889. # $prefix/lib where we will be installing things
  890. # $exec_prefix/lib likewise
  891. # eval it to expand exec_prefix.
  892. # $TMPDIR if set, where it might want to write temporary files
  893. # if $TMPDIR is not set:
  894. # /tmp where it might want to write temporary files
  895. # /var/tmp likewise
  896. # /usr/tmp likewise
  897. if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
  898. ac_tmpdirs=$TMPDIR
  899. else
  900. ac_tmpdirs='/tmp /var/tmp /usr/tmp'
  901. fi
  902. for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
  903. test -d $ac_dir || continue
  904. test -w $ac_dir || continue # It is less confusing to not echo anything here.
  905. ac_xdir=$ac_dir/cf$$
  906. (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue
  907. ac_tf1=$ac_xdir/conftest9012345
  908. ac_tf2=$ac_xdir/conftest9012346
  909. (echo 1 >$ac_tf1) 2>/dev/null
  910. (echo 2 >$ac_tf2) 2>/dev/null
  911. ac_val=`cat $ac_tf1 2>/dev/null`
  912. if test ! -f $ac_tf1 || test "$ac_val" != 1; then
  913. ac_cv_sys_long_file_names=no
  914. rm -rf $ac_xdir 2>/dev/null
  915. break
  916. fi
  917. rm -rf $ac_xdir 2>/dev/null
  918. done])
  919. if test $ac_cv_sys_long_file_names = yes; then
  920. AC_DEFINE(HAVE_LONG_FILE_NAMES, 1,
  921. [Define if you support file names longer than 14 characters.])
  922. fi
  923. []AC_PROVIDE([AC_SYS_LONG_FILE_NAMES])[]_m4_defun_epi([AC_SYS_LONG_FILE_NAMES])
  924. T36,14
  925. m4_location(AC_PROG_GCC_TRADITIONAL)aclang.m4:1029
  926. T12,855
  927. AC_PATH_PROG_m4_defun_pro([AC_PATH_PROG])# Extract the first word of "$2", so it can be a program name with args.
  928. set dummy $2; ac_word=$[2]
  929. AC_MSG_CHECKING([for $ac_word])
  930. AC_CACHE_VAL([ac_cv_path_$1],
  931. [case $$1 in
  932. [[\\/]]* | ?:[[\\/]]*)
  933. ac_cv_path_$1="$$1" # Let the user override the test with a path.
  934. ;;
  935. *)
  936. AC_SHELL_PATH_WALK([$4],
  937. [if AS_EXECUTABLE_P("$ac_dir/$ac_word"); then
  938. ac_cv_path_$1="$ac_dir/$ac_word"
  939. echo "$as_me:__oline__: found $ac_dir/$ac_word" >&AS_MESSAGE_LOG_FD
  940. break
  941. fi])
  942. dnl If no 3rd arg is given, leave the cache variable unset,
  943. dnl so AC_PATH_PROGS will keep looking.
  944. m4_ifvaln([$3],
  945. [ test -z "$ac_cv_path_$1" && ac_cv_path_$1="$3"])dnl
  946. ;;
  947. esac])dnl
  948. AC_SUBST([$1], [$ac_cv_path_$1])
  949. if test -n "$$1"; then
  950. AC_MSG_RESULT([$$1])
  951. else
  952. AC_MSG_RESULT([no])
  953. fi
  954. []AC_PROVIDE([AC_PATH_PROG])[]_m4_defun_epi([AC_PATH_PROG])
  955. T12,54
  956. m4_copy_unm4m4_copy([$1], m4_patsubst([$1], [^m4_\(.*\)], [[\1]]))
  957. T21,159
  958. AC_LANG_INT_SAVE(C++)AC_LANG_PROGRAM([m4_default([$1], [@%:@include <stdio.h>])],
  959. [FILE *f = fopen ("conftest.val", "w");
  960. if (!f)
  961. exit (1);
  962. fprintf (f, "%d", ($2));
  963. fclose (f);])
  964. T27,17
  965. m4_location(AC_LINK_IFELSE)acgeneral.m4:2773
  966. T13,62
  967. _AS_BOX_INDIRsed 'h;s/./m4_default([$2], [=])/g;p;x;p;x' <<_ASBOX
  968. $1
  969. _ASBOX
  970. T17,112
  971. _AC_LANG_DISPATCHm4_ifdef([$1($2)],
  972. [m4_indir([$1($2)], m4_shiftn(2, $@))],
  973. [AC_FATAL([$1: unknown language: $2])])
  974. T28,17
  975. m4_location(AC_HAVE_LIBRARY)acgeneral.m4:2611
  976. T9,20
  977. AU_DEFINEAC_DEFUN([$1], [$2])
  978. T8,181
  979. AC_CONST_m4_defun_pro([AC_CONST])AC_DIAGNOSE([obsolete], [The macro `AC_CONST' is obsolete.
  980. You should run autoupdate.])dnl
  981. AC_C_CONST($@)[]AC_PROVIDE([AC_CONST])[]_m4_defun_epi([AC_CONST])
  982. T8,38
  983. AC_DEFUNm4_defun([$1], [$2[]AC_PROVIDE([$1])])
  984. T30,14
  985. m4_location(AC_STRUCT_ST_RDEV)actypes.m4:512
  986. T15,213
  987. AC_STDC_HEADERS_m4_defun_pro([AC_STDC_HEADERS])AC_DIAGNOSE([obsolete], [The macro `AC_STDC_HEADERS' is obsolete.
  988. You should run autoupdate.])dnl
  989. AC_HEADER_STDC($@)[]AC_PROVIDE([AC_STDC_HEADERS])[]_m4_defun_epi([AC_STDC_HEADERS])
  990. T25,179
  991. AC_CONFIG_AUX_DIR_DEFAULT_m4_defun_pro([AC_CONFIG_AUX_DIR_DEFAULT])AC_CONFIG_AUX_DIRS($srcdir $srcdir/.. $srcdir/../..)[]AC_PROVIDE([AC_CONFIG_AUX_DIR_DEFAULT])[]_m4_defun_epi([AC_CONFIG_AUX_DIR_DEFAULT])
  992. F7,6
  993. m4_wrapm4wrap
  994. T19,215
  995. AC_INCLUDES_DEFAULT_m4_defun_pro([AC_INCLUDES_DEFAULT])m4_ifval([$1], [$1
  996. ],
  997. [AC_REQUIRE([_AC_INCLUDES_DEFAULT_REQUIREMENTS])dnl
  998. $ac_includes_default])[]AC_PROVIDE([AC_INCLUDES_DEFAULT])[]_m4_defun_epi([AC_INCLUDES_DEFAULT])
  999. T16,650
  1000. AC_C_LONG_DOUBLE_m4_defun_pro([AC_C_LONG_DOUBLE])AC_CACHE_CHECK(for long double, ac_cv_c_long_double,
  1001. [if test "$GCC" = yes; then
  1002. ac_cv_c_long_double=yes
  1003. else
  1004. AC_TRY_RUN(
  1005. [int
  1006. main ()
  1007. {
  1008. /* The Stardent Vistra knows sizeof(long double), but does not
  1009. support it. */
  1010. long double foo = 0.0;
  1011. /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
  1012. exit (sizeof (long double) < sizeof (double));
  1013. }],
  1014. ac_cv_c_long_double=yes, ac_cv_c_long_double=no)
  1015. fi])
  1016. if test $ac_cv_c_long_double = yes; then
  1017. AC_DEFINE(HAVE_LONG_DOUBLE, 1,
  1018. [Define if the `long double' type works.])
  1019. fi
  1020. []AC_PROVIDE([AC_C_LONG_DOUBLE])[]_m4_defun_epi([AC_C_LONG_DOUBLE])
  1021. T14,213
  1022. ac_cv_prog_g77_m4_defun_pro([ac_cv_prog_g77])AC_DIAGNOSE([obsolete], [The macro `ac_cv_prog_g77' is obsolete.
  1023. You should run autoupdate.])dnl
  1024. ac_cv_f77_compiler_gnu[]AC_PROVIDE([ac_cv_prog_g77])[]_m4_defun_epi([ac_cv_prog_g77])
  1025. T14,771
  1026. AC_PROG_CXXCPP_m4_defun_pro([AC_PROG_CXXCPP])AC_REQUIRE([AC_PROG_CXX])dnl
  1027. AC_ARG_VAR([CXXCPP], [C++ preprocessor])dnl
  1028. _AC_ARG_VAR_CPPFLAGS()dnl
  1029. AC_LANG_PUSH(C++)dnl
  1030. AC_MSG_CHECKING([how to run the C++ preprocessor])
  1031. if test -z "$CXXCPP"; then
  1032. AC_CACHE_VAL(ac_cv_prog_CXXCPP,
  1033. [dnl
  1034. # Double quotes because CXXCPP needs to be expanded
  1035. for CXXCPP in "$CXX -E" "/lib/cpp"
  1036. do
  1037. _AC_PROG_PREPROC_WORKS_IFELSE([break])
  1038. done
  1039. ac_cv_prog_CXXCPP=$CXXCPP
  1040. ])dnl
  1041. CXXCPP=$ac_cv_prog_CXXCPP
  1042. else
  1043. ac_cv_prog_CXXCPP=$CXXCPP
  1044. fi
  1045. AC_MSG_RESULT([$CXXCPP])
  1046. _AC_PROG_PREPROC_WORKS_IFELSE([],
  1047. [AC_MSG_ERROR([C++ preprocessor "$CXXCPP" fails sanity check])])
  1048. AC_SUBST(CXXCPP)dnl
  1049. AC_LANG_POP(C++)dnl
  1050. []AC_PROVIDE([AC_PROG_CXXCPP])[]_m4_defun_epi([AC_PROG_CXXCPP])
  1051. T25,17
  1052. m4_location(AC_PATH_XTRA)acspecific.m4:886
  1053. T16,1268
  1054. _AC_PATH_X_XMKMFrm -fr conftest.dir
  1055. if mkdir conftest.dir; then
  1056. cd conftest.dir
  1057. # Make sure to not put "make" in the Imakefile rules, since we grep it out.
  1058. cat >Imakefile <<'EOF'
  1059. acfindx:
  1060. @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
  1061. EOF
  1062. if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
  1063. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1064. eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
  1065. # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
  1066. for ac_extension in a so sl; do
  1067. if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
  1068. test -f $ac_im_libdir/libX11.$ac_extension; then
  1069. ac_im_usrlibdir=$ac_im_libdir; break
  1070. fi
  1071. done
  1072. # Screen out bogus values from the imake configuration. They are
  1073. # bogus both because they are the default anyway, and because
  1074. # using them would break gcc on systems where it needs fixed includes.
  1075. case $ac_im_incroot in
  1076. /usr/include) ;;
  1077. *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  1078. esac
  1079. case $ac_im_usrlibdir in
  1080. /usr/lib | /lib) ;;
  1081. *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
  1082. esac
  1083. fi
  1084. cd ..
  1085. rm -fr conftest.dir
  1086. fi
  1087. T16,205
  1088. AC_REPLACE_FUNCS_m4_defun_pro([AC_REPLACE_FUNCS])AC_FOREACH([AC_Func], [$1], [AC_LIBSOURCE(AC_Func.c)])dnl
  1089. AC_CHECK_FUNCS([$1], , [_AC_LIBOBJ($ac_func)])
  1090. []AC_PROVIDE([AC_REPLACE_FUNCS])[]_m4_defun_epi([AC_REPLACE_FUNCS])
  1091. T7,127
  1092. m4_casem4_if([$#], 0, [],
  1093. [$#], 1, [],
  1094. [$#], 2, [$2],
  1095. [$1], [$2], [$3],
  1096. [m4_case([$1], m4_shiftn(3, $@))])
  1097. T10,557
  1098. _AC_PATH_X_m4_defun_pro([_AC_PATH_X])AC_CACHE_VAL(ac_cv_have_x,
  1099. [# One or both of the vars are not set, and there is no cached value.
  1100. ac_x_includes=no ac_x_libraries=no
  1101. _AC_PATH_X_XMKMF
  1102. _AC_PATH_X_DIRECT
  1103. if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
  1104. # Didn't find X anywhere. Cache the known absence of X.
  1105. ac_cv_have_x="have_x=no"
  1106. else
  1107. # Record where we found X for the cache.
  1108. ac_cv_have_x="have_x=yes \
  1109. ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
  1110. fi])dnl
  1111. []AC_PROVIDE([_AC_PATH_X])[]_m4_defun_epi([_AC_PATH_X])
  1112. T19,439
  1113. AC_STRUCT_ST_BLOCKS_m4_defun_pro([AC_STRUCT_ST_BLOCKS])AC_CHECK_MEMBERS([struct stat.st_blocks],
  1114. [AC_DEFINE(HAVE_ST_BLOCKS, 1,
  1115. [Define if your `struct stat' has
  1116. `st_blocks'. Deprecated, use
  1117. `HAVE_STRUCT_STAT_ST_BLOCKS' instead.])],
  1118. [AC_LIBOBJ([fileblocks])])
  1119. []AC_PROVIDE([AC_STRUCT_ST_BLOCKS])[]_m4_defun_epi([AC_STRUCT_ST_BLOCKS])
  1120. T13,596
  1121. AC_C_VOLATILE_m4_defun_pro([AC_C_VOLATILE])AC_REQUIRE([AC_PROG_CC_STDC])dnl
  1122. AC_CACHE_CHECK([for working volatile], ac_cv_c_volatile,
  1123. [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [
  1124. volatile int x;
  1125. int * volatile y;])],
  1126. [ac_cv_c_volatile=yes],
  1127. [ac_cv_c_volatile=no])])
  1128. if test $ac_cv_c_volatile = no; then
  1129. AC_DEFINE(volatile,,
  1130. [Define to empty if the keyword `volatile' does not work.
  1131. Warning: valid code using `volatile' can become incorrect
  1132. without. Disable with care.])
  1133. fi
  1134. []AC_PROVIDE([AC_C_VOLATILE])[]_m4_defun_epi([AC_C_VOLATILE])
  1135. T17,135
  1136. _m4_dumpdefs_downm4_ifdef([_m4_dumpdefs],
  1137. [m4_pushdef([$1], m4_defn([_m4_dumpdefs]))dnl
  1138. m4_popdef([_m4_dumpdefs])dnl
  1139. _m4_dumpdefs_down([$1])])
  1140. T30,17
  1141. m4_location(AC_CONFIG_SUBDIRS)acgeneral.m4:3427
  1142. T13,15
  1143. AS_VAR_POPDEFm4_popdef([$1])
  1144. T27,16
  1145. m4_location(AC_LONG_DOUBLE)acoldnames.m4:57
  1146. T4,91
  1147. defnm4_ifndef([$1],
  1148. [m4_fatal([$0: undefined macro: $1])])dnl
  1149. m4_builtin([defn], $@)
  1150. T18,878
  1151. AC_STRUCT_TIMEZONE_m4_defun_pro([AC_STRUCT_TIMEZONE])AC_REQUIRE([AC_STRUCT_TM])dnl
  1152. AC_CHECK_MEMBERS([struct tm.tm_zone],,,[#include <sys/types.h>
  1153. #include <$ac_cv_struct_tm>
  1154. ])
  1155. if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
  1156. AC_DEFINE(HAVE_TM_ZONE, 1,
  1157. [Define if your `struct tm' has `tm_zone'. Deprecated, use
  1158. `HAVE_STRUCT_TM_TM_ZONE' instead.])
  1159. else
  1160. AC_CACHE_CHECK(for tzname, ac_cv_var_tzname,
  1161. [AC_TRY_LINK(
  1162. [#include <time.h>
  1163. #ifndef tzname /* For SGI. */
  1164. extern char *tzname[]; /* RS6000 and others reject char **tzname. */
  1165. #endif
  1166. ],
  1167. [atoi(*tzname);], ac_cv_var_tzname=yes, ac_cv_var_tzname=no)])
  1168. if test $ac_cv_var_tzname = yes; then
  1169. AC_DEFINE(HAVE_TZNAME, 1,
  1170. [Define if you don't have `tm_zone' but do have the external
  1171. array `tzname'.])
  1172. fi
  1173. fi
  1174. []AC_PROVIDE([AC_STRUCT_TIMEZONE])[]_m4_defun_epi([AC_STRUCT_TIMEZONE])
  1175. T26,17
  1176. m4_location(AC_ARG_ENABLE)acgeneral.m4:1450
  1177. F5,5
  1178. indexindex
  1179. T23,193
  1180. AC_LANG_PREPROC_REQUIRE_m4_defun_pro([AC_LANG_PREPROC_REQUIRE])m4_require([AC_LANG_PREPROC(]_AC_LANG[)],
  1181. [AC_LANG_PREPROC])[]AC_PROVIDE([AC_LANG_PREPROC_REQUIRE])[]_m4_defun_epi([AC_LANG_PREPROC_REQUIRE])
  1182. T6,166
  1183. divertm4_define([m4_divert_stack],
  1184. m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
  1185. m4_defn([m4_divert_stack])]))dnl
  1186. m4_builtin([divert], _m4_divert([$1]))dnl
  1187. T13,659
  1188. AC_LINK_FILES_m4_defun_pro([AC_LINK_FILES])AC_DIAGNOSE([obsolete], [The macro `AC_LINK_FILES' is obsolete.
  1189. You should run autoupdate.])dnl
  1190. m4_if($#, 2, ,
  1191. [m4_fatal([$0: incorrect number of arguments])])dnl
  1192. m4_define([_AC_LINK_FILES_CNT], m4_incr(_AC_LINK_FILES_CNT))dnl
  1193. ac_sources="$1"
  1194. ac_dests="$2"
  1195. while test -n "$ac_sources"; do
  1196. set $ac_dests; ac_dest=$[1]; shift; ac_dests=$[*]
  1197. set $ac_sources; ac_source=$[1]; shift; ac_sources=$[*]
  1198. [ac_config_links_]_AC_LINK_FILES_CNT="$[ac_config_links_]_AC_LINK_FILES_CNT $ac_dest:$ac_source"
  1199. done
  1200. AC_CONFIG_LINKS($[ac_config_links_]_AC_LINK_FILES_CNT)dnl
  1201. []AC_PROVIDE([AC_LINK_FILES])[]_m4_defun_epi([AC_LINK_FILES])
  1202. T34,18
  1203. m4_location(AM_FUNC_ERROR_AT_LINE)acfunctions.m4:330
  1204. T16,149
  1205. _AS_EXPR_PREPARE_m4_defun_pro([_AS_EXPR_PREPARE])if expr a : '\(a\)' >/dev/null 2>&1; then
  1206. as_expr=expr
  1207. else
  1208. as_expr=false
  1209. fi
  1210. []_m4_defun_epi([_AS_EXPR_PREPARE])
  1211. T20,147
  1212. _AC_ARG_VAR_PRECIOUSAC_SUBST([$1])dnl
  1213. m4_divert_once([PARSE_ARGS],
  1214. [ac_env_$1_set=${$1+set}
  1215. ac_env_$1_value=$$1
  1216. ac_cv_env_$1_set=${$1+set}
  1217. ac_cv_env_$1_value=$$1])dnl
  1218. T29,16
  1219. m4_location(AC_CHECK_HEADERS)acheaders.m4:109
  1220. T33,14
  1221. m4_location(AC_STRUCT_ST_BLKSIZE)actypes.m4:473
  1222. F9,6
  1223. m4_substrsubstr
  1224. T10,382
  1225. AC_MINGW32_m4_defun_pro([AC_MINGW32])AC_DIAGNOSE([obsolete], [The macro `AC_MINGW32' is obsolete.
  1226. You should run autoupdate.])dnl
  1227. AC_REQUIRE([AC_CANONICAL_HOST])[]dnl
  1228. AC_DIAGNOSE([obsolete],
  1229. [$0 is obsolete: use AC_CANONICAL_HOST and $host_os])dnl
  1230. case $host_os in
  1231. *mingw32* ) MINGW32=yes;;
  1232. * ) MINGW32=no;;
  1233. esac
  1234. []AC_PROVIDE([AC_MINGW32])[]_m4_defun_epi([AC_MINGW32])
  1235. T11,146
  1236. AC_TRY_LINK_m4_defun_pro([AC_TRY_LINK])AC_LINK_IFELSE([AC_LANG_PROGRAM([[$1]], [[$2]])], [$3], [$4])[]AC_PROVIDE([AC_TRY_LINK])[]_m4_defun_epi([AC_TRY_LINK])
  1237. T16,811
  1238. AC_PROG_MAKE_SET_m4_defun_pro([AC_PROG_MAKE_SET])AC_MSG_CHECKING([whether ${MAKE-make} sets \${MAKE}])
  1239. set dummy ${MAKE-make}; ac_make=`echo "$[2]" | sed 'y,./+-,__p_,'`
  1240. AC_CACHE_VAL(ac_cv_prog_make_${ac_make}_set,
  1241. [cat >conftest.make <<\EOF
  1242. all:
  1243. @echo 'ac_maketemp="${MAKE}"'
  1244. EOF
  1245. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1246. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  1247. if test -n "$ac_maketemp"; then
  1248. eval ac_cv_prog_make_${ac_make}_set=yes
  1249. else
  1250. eval ac_cv_prog_make_${ac_make}_set=no
  1251. fi
  1252. rm -f conftest.make])dnl
  1253. if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1254. AC_MSG_RESULT([yes])
  1255. SET_MAKE=
  1256. else
  1257. AC_MSG_RESULT([no])
  1258. SET_MAKE="MAKE=${MAKE-make}"
  1259. fi
  1260. AC_SUBST([SET_MAKE])dnl
  1261. []AC_PROVIDE([AC_PROG_MAKE_SET])[]_m4_defun_epi([AC_PROG_MAKE_SET])
  1262. T14,415
  1263. AC_CHECK_TOOLS_m4_defun_pro([AC_CHECK_TOOLS])if test -n "$ac_tool_prefix"; then
  1264. for ac_prog in $2
  1265. do
  1266. AC_CHECK_PROG([$1],
  1267. [$ac_tool_prefix$ac_prog], [$ac_tool_prefix$ac_prog],,
  1268. [$4])
  1269. test -n "$$1" && break
  1270. done
  1271. fi
  1272. if test -z "$$1"; then
  1273. ac_ct_$1=$$1
  1274. AC_CHECK_PROGS([ac_ct_$1], [$2], [$3], [$4])
  1275. $1=$ac_ct_$1
  1276. fi
  1277. []AC_PROVIDE([AC_CHECK_TOOLS])[]_m4_defun_epi([AC_CHECK_TOOLS])
  1278. T14,1104
  1279. AC_ARG_PROGRAMm4_provide_ifelse([AC_ARG_PROGRAM],
  1280. [m4_warn([syntax], [AC_ARG_PROGRAM invoked multiple times])],
  1281. [_m4_defun_pro([AC_ARG_PROGRAM])dnl Document the options.
  1282. m4_divert_push([HELP_BEGIN])dnl
  1283. Program names:
  1284. --program-prefix=PREFIX prepend PREFIX to installed program names
  1285. --program-suffix=SUFFIX append SUFFIX to installed program names
  1286. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1287. m4_divert_pop([HELP_BEGIN])dnl
  1288. test "$program_prefix" != NONE &&
  1289. program_transform_name="s,^,$program_prefix,;$program_transform_name"
  1290. # Use a double $ so make ignores it.
  1291. test "$program_suffix" != NONE &&
  1292. program_transform_name="s,\$,$program_suffix,;$program_transform_name"
  1293. # Double any \ or $. echo might interpret backslashes.
  1294. # By default was `s,x,x', remove it if useless.
  1295. cat <<\_ACEOF >conftest.sed
  1296. [s/[\\$]/&&/g;s/;s,x,x,$//]
  1297. _ACEOF
  1298. program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1299. rm conftest.sed
  1300. []AC_PROVIDE([AC_ARG_PROGRAM])[]_m4_defun_epi([AC_ARG_PROGRAM])])
  1301. T27,16
  1302. m4_location(AC_SIZEOF_TYPE)acoldnames.m4:38
  1303. T22,17
  1304. m4_location(AC_ENABLE)acgeneral.m4:1454
  1305. T21,0
  1306. _AC_SUBST_SED_PROGRAM
  1307. T19,388
  1308. _AC_CANONICAL_SPLITAC_SUBST([$1], [$ac_cv_$1])dnl
  1309. dnl FIXME: AC_SUBST([$1_alias], [$ac_cv_$1_alias])dnl
  1310. AC_SUBST([$1_cpu],
  1311. [`echo $ac_cv_$1 | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\1/'`])dnl
  1312. AC_SUBST([$1_vendor],
  1313. [`echo $ac_cv_$1 | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\2/'`])dnl
  1314. AC_SUBST([$1_os],
  1315. [`echo $ac_cv_$1 | sed 's/^\([[^-]]*\)-\([[^-]]*\)-\(.*\)$/\3/'`])dnl
  1316. T35,14
  1317. m4_location(AC_F77_LIBRARY_LDFLAGS)aclang.m4:1918
  1318. T32,19
  1319. m4_location(AC_SETVBUF_REVERSED)acfunctions.m4:1354
  1320. T22,107
  1321. AC_MSG_RESULT_UNQUOTED_AS_ECHO_UNQUOTED([$as_me:__oline__: result: $1], AS_MESSAGE_LOG_FD)
  1322. _AS_ECHO_UNQUOTED([${ECHO_T}$1])[]dnl
  1323. T24,50
  1324. _m4_warning_error_ifelse__m4_warning_error_ifelse([$1], [$2], m4_warnings)
  1325. T18,424
  1326. AC_CONFIG_COMMANDS_m4_defun_pro([AC_CONFIG_COMMANDS])m4_divert_push([KILL])
  1327. _AC_CONFIG_UNIQUE([$1])
  1328. m4_append([AC_LIST_COMMANDS], [ $1])
  1329. m4_if([$2],,, [AC_FOREACH([AC_Name], [$1],
  1330. [m4_append([AC_LIST_COMMANDS_COMMANDS],
  1331. [ ]m4_patsubst(AC_Name, [:.*])[ ) $2 ;;
  1332. ])])])
  1333. _AC_CONFIG_COMMANDS_INIT([$3])
  1334. m4_divert_pop([KILL])dnl
  1335. ac_config_commands="$ac_config_commands $1"
  1336. []AC_PROVIDE([AC_CONFIG_COMMANDS])[]_m4_defun_epi([AC_CONFIG_COMMANDS])
  1337. T28,14
  1338. m4_location(AC_CHECK_MEMBER)actypes.m4:435
  1339. T9,1223
  1340. AC_PATH_X_m4_defun_pro([AC_PATH_X])dnl Document the X abnormal options inherited from history.
  1341. m4_divert_once([HELP_BEGIN], [
  1342. X features:
  1343. --x-includes=DIR X include files are in DIR
  1344. --x-libraries=DIR X library files are in DIR])dnl
  1345. AC_MSG_CHECKING([for X])
  1346. AC_ARG_WITH(x, [ --with-x use the X Window System])
  1347. # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
  1348. if test "x$with_x" = xno; then
  1349. # The user explicitly disabled X.
  1350. have_x=disabled
  1351. else
  1352. if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
  1353. # Both variables are already set.
  1354. have_x=yes
  1355. else
  1356. _AC_PATH_X
  1357. fi
  1358. eval "$ac_cv_have_x"
  1359. fi # $with_x != no
  1360. if test "$have_x" != yes; then
  1361. AC_MSG_RESULT([$have_x])
  1362. no_x=yes
  1363. else
  1364. # If each of the values was on the command line, it overrides each guess.
  1365. test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  1366. test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  1367. # Update the cache value to reflect the command line values.
  1368. ac_cv_have_x="have_x=yes \
  1369. ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
  1370. AC_MSG_RESULT([libraries $x_libraries, headers $x_includes])
  1371. fi
  1372. []AC_PROVIDE([AC_PATH_X])[]_m4_defun_epi([AC_PATH_X])
  1373. T24,17
  1374. m4_location(AC_CHECKING)acgeneral.m4:2101
  1375. T16,484
  1376. AC_CHECK_MEMBERS_m4_defun_pro([AC_CHECK_MEMBERS])m4_foreach([AC_Member], [$1],
  1377. [AC_CHECK_MEMBER(AC_Member,
  1378. [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]AC_Member), 1,
  1379. [Define if `]m4_patsubst(AC_Member,
  1380. [^[^.]*\.])[' is
  1381. member of `]m4_patsubst(AC_Member, [\..*])['.])
  1382. $2],
  1383. [$3],
  1384. [$4])])[]AC_PROVIDE([AC_CHECK_MEMBERS])[]_m4_defun_epi([AC_CHECK_MEMBERS])
  1385. F6,6
  1386. syscmdsyscmd
  1387. T25,19
  1388. m4_location(AC_FUNC_MMAP)acfunctions.m4:1080
  1389. T21,0
  1390. m4_include(aclang.m4)
  1391. T11,216
  1392. _m4_foreachm4_if(m4_quote($2), [], [],
  1393. [m4_define([$1], [m4_car($2)])$3[]_m4_foreach([$1],
  1394. [m4_shift($2)],
  1395. [$3])])
  1396. T15,214
  1397. AM_PROG_INSTALL_m4_defun_pro([AM_PROG_INSTALL])AC_DIAGNOSE([obsolete], [The macro `AM_PROG_INSTALL' is obsolete.
  1398. You should run autoupdate.])dnl
  1399. AC_PROG_INSTALL($@)[]AC_PROVIDE([AM_PROG_INSTALL])[]_m4_defun_epi([AM_PROG_INSTALL])
  1400. T14,209
  1401. AM_FUNC_MKTIME_m4_defun_pro([AM_FUNC_MKTIME])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_MKTIME' is obsolete.
  1402. You should run autoupdate.])dnl
  1403. AC_FUNC_MKTIME($@)[]AC_PROVIDE([AM_FUNC_MKTIME])[]_m4_defun_epi([AM_FUNC_MKTIME])
  1404. T10,0
  1405. m4_symbols
  1406. T13,74
  1407. AC_LIBSOURCESm4_foreach([_AC_FILENAME], [$1],
  1408. [AC_LIBSOURCE(_AC_FILENAME)])
  1409. T11,696
  1410. AC_C_INLINE_m4_defun_pro([AC_C_INLINE])AC_REQUIRE([AC_PROG_CC_STDC])dnl
  1411. AC_CACHE_CHECK([for inline], ac_cv_c_inline,
  1412. [ac_cv_c_inline=no
  1413. for ac_kw in inline __inline__ __inline; do
  1414. AC_COMPILE_IFELSE([AC_LANG_SOURCE(
  1415. [#ifndef __cplusplus
  1416. static $ac_kw int static_foo () {return 0; }
  1417. $ac_kw int foo () {return 0; }
  1418. #endif
  1419. ])],
  1420. [ac_cv_c_inline=$ac_kw; break])
  1421. done
  1422. ])
  1423. case $ac_cv_c_inline in
  1424. inline | yes) ;;
  1425. no) AC_DEFINE(inline,,
  1426. [Define as `__inline' if that's what the C compiler calls it,
  1427. or to nothing if it is not supported.]) ;;
  1428. *) AC_DEFINE_UNQUOTED(inline, $ac_cv_c_inline) ;;
  1429. esac
  1430. []AC_PROVIDE([AC_C_INLINE])[]_m4_defun_epi([AC_C_INLINE])
  1431. T23,17
  1432. m4_location(AC_TRY_RUN)acgeneral.m4:2851
  1433. T13,205
  1434. AC_RETSIGTYPE_m4_defun_pro([AC_RETSIGTYPE])AC_DIAGNOSE([obsolete], [The macro `AC_RETSIGTYPE' is obsolete.
  1435. You should run autoupdate.])dnl
  1436. AC_TYPE_SIGNAL($@)[]AC_PROVIDE([AC_RETSIGTYPE])[]_m4_defun_epi([AC_RETSIGTYPE])
  1437. T27,17
  1438. m4_location(AC_PROG_RANLIB)acspecific.m4:113
  1439. T17,684
  1440. AC_STRUCT_ST_RDEV_m4_defun_pro([AC_STRUCT_ST_RDEV])AC_DIAGNOSE([obsolete], [The macro `AC_STRUCT_ST_RDEV' is obsolete.
  1441. You should run autoupdate.])dnl
  1442. AC_DIAGNOSE([obsolete], [$0:
  1443. your code should no longer depend upon `HAVE_ST_RDEV', but
  1444. `HAVE_STRUCT_STAT_ST_RDEV'. Remove this warning and
  1445. the `AC_DEFINE' when you adjust the code.])
  1446. AC_CHECK_MEMBERS([struct stat.st_rdev],
  1447. [AC_DEFINE(HAVE_ST_RDEV, 1,
  1448. [Define if your `struct stat' has `st_rdev'.
  1449. Deprecated, use `HAVE_STRUCT_STAT_ST_RDEV'
  1450. instead.])])
  1451. []AC_PROVIDE([AC_STRUCT_ST_RDEV])[]_m4_defun_epi([AC_STRUCT_ST_RDEV])
  1452. T13,177
  1453. AC_MSG_NOTICEm4_ifset([AS_MESSAGE_LOG_FD],
  1454. [{ _AS_ECHO([$as_me:__oline__: $1], [AS_MESSAGE_LOG_FD])
  1455. _AS_ECHO([$as_me: $1], [$2]);}],
  1456. [_AS_ECHO([$as_me: $1], [$2])])[]dnl
  1457. T24,16
  1458. m4_location(AC_TIMEZONE)acoldnames.m4:74
  1459. T13,204
  1460. AC_FUNC_CHECK_m4_defun_pro([AC_FUNC_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_FUNC_CHECK' is obsolete.
  1461. You should run autoupdate.])dnl
  1462. AC_CHECK_FUNC($@)[]AC_PROVIDE([AC_FUNC_CHECK])[]_m4_defun_epi([AC_FUNC_CHECK])
  1463. T21,237
  1464. AC_TIME_WITH_SYS_TIME_m4_defun_pro([AC_TIME_WITH_SYS_TIME])AC_DIAGNOSE([obsolete], [The macro `AC_TIME_WITH_SYS_TIME' is obsolete.
  1465. You should run autoupdate.])dnl
  1466. AC_HEADER_TIME($@)[]AC_PROVIDE([AC_TIME_WITH_SYS_TIME])[]_m4_defun_epi([AC_TIME_WITH_SYS_TIME])
  1467. F5,5
  1468. indirindir
  1469. T27,11
  1470. m4_location(AS_DIRNAME_SED)m4sh.m4:292
  1471. T13,205
  1472. AC_HAVE_FUNCS_m4_defun_pro([AC_HAVE_FUNCS])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_FUNCS' is obsolete.
  1473. You should run autoupdate.])dnl
  1474. AC_CHECK_FUNCS($@)[]AC_PROVIDE([AC_HAVE_FUNCS])[]_m4_defun_epi([AC_HAVE_FUNCS])
  1475. T28,16
  1476. m4_location(AC_PROGRAM_PATH)acoldnames.m4:37
  1477. T8,225
  1478. m4_splitm4_changequote(``, '')dnl
  1479. [dnl Can't use m4_default here instead of m4_if, because m4_default uses
  1480. dnl [ and ] as quotes.
  1481. m4_patsubst(````$1'''',
  1482. m4_if(``$2'',, ``[ ]+'', ``$2''),
  1483. ``], ['')]dnl
  1484. m4_changequote([, ])
  1485. T14,228
  1486. AC_DIVERT_PUSHm4_pushdef([m4_divert_stack],
  1487. m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
  1488. m4_defn([m4_divert_stack])]))dnl
  1489. m4_pushdef([_m4_divert_diversion], [$1])dnl
  1490. m4_builtin([divert], _m4_divert(_m4_divert_diversion))dnl
  1491. T21,152
  1492. AC_LANG_FUNC_LINK_TRY_m4_defun_pro([AC_LANG_FUNC_LINK_TRY])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]AC_PROVIDE([AC_LANG_FUNC_LINK_TRY])[]_m4_defun_epi([AC_LANG_FUNC_LINK_TRY])
  1493. T37,13
  1494. m4_location(AC_LANG_BOOL_COMPILE_TRY)aclang.m4:330
  1495. T15,214
  1496. AC_HEADER_EGREP_m4_defun_pro([AC_HEADER_EGREP])AC_DIAGNOSE([obsolete], [The macro `AC_HEADER_EGREP' is obsolete.
  1497. You should run autoupdate.])dnl
  1498. AC_EGREP_HEADER($@)[]AC_PROVIDE([AC_HEADER_EGREP])[]_m4_defun_epi([AC_HEADER_EGREP])
  1499. T15,635
  1500. AC_FUNC_STRCOLL_m4_defun_pro([AC_FUNC_STRCOLL])AC_CACHE_CHECK(for working strcoll, ac_cv_func_strcoll_works,
  1501. [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
  1502. [[exit (strcoll ("abc", "def") >= 0 ||
  1503. strcoll ("ABC", "DEF") >= 0 ||
  1504. strcoll ("123", "456") >= 0)]])],
  1505. ac_cv_func_strcoll_works=yes,
  1506. ac_cv_func_strcoll_works=no,
  1507. ac_cv_func_strcoll_works=no)])
  1508. if test $ac_cv_func_strcoll_works = yes; then
  1509. AC_DEFINE(HAVE_STRCOLL, 1,
  1510. [Define if you have the `strcoll' function and it is properly
  1511. defined.])
  1512. fi
  1513. []AC_PROVIDE([AC_FUNC_STRCOLL])[]_m4_defun_epi([AC_FUNC_STRCOLL])
  1514. T27,19
  1515. m4_location(AM_FUNC_STRTOD)acfunctions.m4:1269
  1516. T29,17
  1517. m4_location(AC_PROG_MAKE_SET)acspecific.m4:107
  1518. T17,57
  1519. m4_foreach_quotedm4_pushdef([$1], [])_m4_foreach_quoted($@)m4_popdef([$1])
  1520. T34,13
  1521. m4_location(AC_LANG_FUNC_LINK_TRY)aclang.m4:322
  1522. T23,17
  1523. m4_location(_AC_PATH_X)acspecific.m4:716
  1524. T34,14
  1525. m4_location(AC_LANG_COMPILER(C++))aclang.m4:1132
  1526. T26,17
  1527. m4_location(AC_CHECK_TOOL)acgeneral.m4:2447
  1528. T29,346
  1529. _AC_SYS_LARGEFILE_MACRO_VALUEAC_CACHE_CHECK([for $1 value needed for large files], [$3],
  1530. [while :; do
  1531. $3=no
  1532. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$5], [$6])],
  1533. [break])
  1534. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@define $1 $2
  1535. $5], [$6])],
  1536. [$3=$2; break])
  1537. break
  1538. done])
  1539. if test "$$3" != no; then
  1540. AC_DEFINE_UNQUOTED([$1], [$$3], [$4])
  1541. fi
  1542. rm -f conftest*[]dnl
  1543. T33,14
  1544. m4_location(AC_F77_NAME_MANGLING)aclang.m4:2120
  1545. T11,270
  1546. m4_list_cmpm4_if([$1$2], [()()], 0,
  1547. [$1], [()], [m4_list_cmp((0), [$2])],
  1548. [$2], [()], [m4_list_cmp([$1], (0))],
  1549. [m4_case(m4_cmp(m4_car$1, m4_car$2),
  1550. -1, -1,
  1551. 1, 1,
  1552. 0, [m4_list_cmp((m4_shift$1), (m4_shift$2))])])
  1553. T22,31
  1554. m4_expansion_stack_popm4_popdef([m4_expansion_stack])
  1555. T17,1387
  1556. AC_F77_DUMMY_MAIN_m4_defun_pro([AC_F77_DUMMY_MAIN])AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])dnl
  1557. m4_define([_AC_LANG_PROGRAM_C_F77_HOOKS],
  1558. [#ifdef F77_DUMMY_MAIN
  1559. # ifdef __cplusplus
  1560. extern "C"
  1561. # endif
  1562. int F77_DUMMY_MAIN() { return 1; }
  1563. #endif
  1564. ])
  1565. AC_CACHE_CHECK([for dummy main to link with Fortran 77 libraries],
  1566. ac_cv_f77_dummy_main,
  1567. [AC_LANG_PUSH(C)dnl
  1568. ac_f77_dm_save_LIBS=$LIBS
  1569. LIBS="$LIBS $FLIBS"
  1570. # First, try linking without a dummy main:
  1571. AC_TRY_LINK([], [],
  1572. ac_cv_f77_dummy_main=none,
  1573. ac_cv_f77_dummy_main=unknown)
  1574. if test $ac_cv_f77_dummy_main = unknown; then
  1575. for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
  1576. AC_TRY_LINK([@%:@define F77_DUMMY_MAIN $ac_func],
  1577. [], [ac_cv_f77_dummy_main=$ac_func; break])
  1578. done
  1579. fi
  1580. rm -f conftest*
  1581. LIBS=$ac_f77_dm_save_LIBS
  1582. AC_LANG_POP(C)dnl
  1583. ])
  1584. F77_DUMMY_MAIN=$ac_cv_f77_dummy_main
  1585. AS_IF([test "$F77_DUMMY_MAIN" != unknown],
  1586. [m4_default([$1],
  1587. [if test $F77_DUMMY_MAIN != none; then
  1588. AC_DEFINE_UNQUOTED([F77_DUMMY_MAIN], $F77_DUMMY_MAIN,
  1589. [Define to dummy `main' function (if any) required to
  1590. link to the Fortran 77 libraries.])
  1591. fi])],
  1592. [m4_default([$2],
  1593. [AC_MSG_ERROR([Linking to Fortran libraries from C fails.])])])
  1594. []AC_PROVIDE([AC_F77_DUMMY_MAIN])[]_m4_defun_epi([AC_F77_DUMMY_MAIN])
  1595. F7,7
  1596. traceontraceon
  1597. T10,82
  1598. _m4_divertm4_ifdef([_m4_divert($1)],
  1599. [m4_indir([_m4_divert($1)])],
  1600. [$1])
  1601. T18,6826
  1602. _AC_OUTPUT_HEADERScat >>$CONFIG_STATUS <<\EOF
  1603. #
  1604. # CONFIG_HEADER section.
  1605. #
  1606. # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  1607. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  1608. #
  1609. # ac_d sets the value in "#define NAME VALUE" lines.
  1610. dnl Double quote for the `[ ]' and `define'.
  1611. [ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
  1612. ac_dB='[ ].*$,\1#\2'
  1613. ac_dC=' '
  1614. ac_dD=',;t'
  1615. # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  1616. ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
  1617. ac_uB='$,\1#\2define\3'
  1618. ac_uC=' '
  1619. ac_uD=',;t']
  1620. for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  1621. # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  1622. case $ac_file in
  1623. - | *:- | *:-:* ) # input from stdin
  1624. cat >$tmp/stdin
  1625. ac_file_in=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
  1626. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  1627. *:* ) ac_file_in=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
  1628. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  1629. * ) ac_file_in=$ac_file.in ;;
  1630. esac
  1631. test x"$ac_file" != x- && AC_MSG_NOTICE([creating $ac_file])
  1632. # First look for the input files in the build tree, otherwise in the
  1633. # src tree.
  1634. ac_file_inputs=`IFS=:
  1635. for f in $ac_file_in; do
  1636. case $f in
  1637. -) echo $tmp/stdin ;;
  1638. [[\\/$]]*)
  1639. # Absolute (can't be DOS-style, as IFS=:)
  1640. test -f "$f" || AC_MSG_ERROR([cannot find input file: $f])
  1641. echo $f;;
  1642. *) # Relative
  1643. if test -f "$f"; then
  1644. # Build tree
  1645. echo $f
  1646. elif test -f "$srcdir/$f"; then
  1647. # Source tree
  1648. echo $srcdir/$f
  1649. else
  1650. # /dev/null tree
  1651. AC_MSG_ERROR([cannot find input file: $f])
  1652. fi;;
  1653. esac
  1654. done` || AS_EXIT([1])
  1655. # Remove the trailing spaces.
  1656. sed 's/[[ ]]*$//' $ac_file_inputs >$tmp/in
  1657. EOF
  1658. # Transform confdefs.h into two sed scripts, `conftest.defines' and
  1659. # `conftest.undefs', that substitutes the proper values into
  1660. # config.h.in to produce config.h. The first handles `#define'
  1661. # templates, and the second `#undef' templates.
  1662. # And first: Protect against being on the right side of a sed subst in
  1663. # config.status. Protect against being in an unquoted here document
  1664. # in config.status.
  1665. rm -f conftest.defines conftest.undefs
  1666. # Using a here document instead of a string reduces the quoting nightmare.
  1667. # Putting comments in sed scripts is not portable.
  1668. #
  1669. # `end' is used to avoid that the second main sed command (meant for
  1670. # 0-ary CPP macros) applies to n-ary macro definitions.
  1671. # See the Autoconf documentation for `clear'.
  1672. cat >confdef2sed.sed <<\EOF
  1673. dnl Double quote for `[ ]' and `define'.
  1674. [s/[\\&,]/\\&/g
  1675. s,[\\$`],\\&,g
  1676. t clear
  1677. : clear
  1678. s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
  1679. t end
  1680. s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
  1681. : end]
  1682. EOF
  1683. # If some macros were called several times there might be several times
  1684. # the same #defines, which is useless. Nevertheless, we may not want to
  1685. # sort them, since we want the *last* AC-DEFINE to be honored.
  1686. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
  1687. sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
  1688. rm -f confdef2sed.sed
  1689. # This sed command replaces #undef with comments. This is necessary, for
  1690. # example, in the case of _POSIX_SOURCE, which is predefined and required
  1691. # on some systems where configure will not decide to define it.
  1692. cat >>conftest.undefs <<\EOF
  1693. [s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,]
  1694. EOF
  1695. # Break up conftest.defines because some shells have a limit on the size
  1696. # of here documents, and old seds have small limits too (100 cmds).
  1697. echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
  1698. echo ' if egrep ["^[ ]*#[ ]*define"] $tmp/in >/dev/null; then' >>$CONFIG_STATUS
  1699. echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
  1700. echo ' :' >>$CONFIG_STATUS
  1701. rm -f conftest.tail
  1702. while grep . conftest.defines >/dev/null
  1703. do
  1704. # Write a limited-size here document to $tmp/defines.sed.
  1705. echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  1706. # Speed up: don't consider the non `#define' lines.
  1707. echo ['/^[ ]*#[ ]*define/!b'] >>$CONFIG_STATUS
  1708. # Work around the forget-to-reset-the-flag bug.
  1709. echo 't clr' >>$CONFIG_STATUS
  1710. echo ': clr' >>$CONFIG_STATUS
  1711. sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
  1712. echo 'CEOF
  1713. sed -f $tmp/defines.sed $tmp/in >$tmp/out
  1714. rm -f $tmp/in
  1715. mv $tmp/out $tmp/in
  1716. ' >>$CONFIG_STATUS
  1717. sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
  1718. rm -f conftest.defines
  1719. mv conftest.tail conftest.defines
  1720. done
  1721. rm -f conftest.defines
  1722. echo ' fi # egrep' >>$CONFIG_STATUS
  1723. echo >>$CONFIG_STATUS
  1724. # Break up conftest.undefs because some shells have a limit on the size
  1725. # of here documents, and old seds have small limits too (100 cmds).
  1726. echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
  1727. rm -f conftest.tail
  1728. while grep . conftest.undefs >/dev/null
  1729. do
  1730. # Write a limited-size here document to $tmp/undefs.sed.
  1731. echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
  1732. # Speed up: don't consider the non `#undef'
  1733. echo ['/^[ ]*#[ ]*undef/!b'] >>$CONFIG_STATUS
  1734. # Work around the forget-to-reset-the-flag bug.
  1735. echo 't clr' >>$CONFIG_STATUS
  1736. echo ': clr' >>$CONFIG_STATUS
  1737. sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
  1738. echo 'CEOF
  1739. sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  1740. rm -f $tmp/in
  1741. mv $tmp/out $tmp/in
  1742. ' >>$CONFIG_STATUS
  1743. sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  1744. rm -f conftest.undefs
  1745. mv conftest.tail conftest.undefs
  1746. done
  1747. rm -f conftest.undefs
  1748. dnl Now back to your regularly scheduled config.status.
  1749. cat >>$CONFIG_STATUS <<\EOF
  1750. # Let's still pretend it is `configure' which instantiates (i.e., don't
  1751. # use $as_me), people would be surprised to read:
  1752. # /* config.h. Generated automatically by config.status. */
  1753. if test x"$ac_file" = x-; then
  1754. echo "/* Generated automatically by configure. */" >$tmp/config.h
  1755. else
  1756. echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
  1757. fi
  1758. cat $tmp/in >>$tmp/config.h
  1759. rm -f $tmp/in
  1760. if test x"$ac_file" != x-; then
  1761. if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
  1762. AC_MSG_NOTICE([$ac_file is unchanged])
  1763. else
  1764. ac_dir=`AS_DIRNAME(["$ac_file"])`
  1765. if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  1766. AS_MKDIR_P(["$ac_dir"])
  1767. fi
  1768. rm -f $ac_file
  1769. mv $tmp/config.h $ac_file
  1770. fi
  1771. else
  1772. cat $tmp/config.h
  1773. rm -f $tmp/config.h
  1774. fi
  1775. m4_ifset([AC_LIST_HEADERS_COMMANDS],
  1776. [ # Run the commands associated with the file.
  1777. case $ac_file in
  1778. AC_LIST_HEADERS_COMMANDS()dnl
  1779. esac
  1780. ])dnl
  1781. done
  1782. EOF
  1783. T7,179
  1784. AC_MMAP_m4_defun_pro([AC_MMAP])AC_DIAGNOSE([obsolete], [The macro `AC_MMAP' is obsolete.
  1785. You should run autoupdate.])dnl
  1786. AC_FUNC_MMAP($@)[]AC_PROVIDE([AC_MMAP])[]_m4_defun_epi([AC_MMAP])
  1787. T29,16
  1788. m4_location(AC_PROGRAM_CHECK)acoldnames.m4:35
  1789. T9,189
  1790. AC_MODE_T_m4_defun_pro([AC_MODE_T])AC_DIAGNOSE([obsolete], [The macro `AC_MODE_T' is obsolete.
  1791. You should run autoupdate.])dnl
  1792. AC_TYPE_MODE_T($@)[]AC_PROVIDE([AC_MODE_T])[]_m4_defun_epi([AC_MODE_T])
  1793. T23,16
  1794. m4_location(AM_MINGW32)acoldnames.m4:85
  1795. T13,546
  1796. _AC_FUNC_FORK_m4_defun_pro([_AC_FUNC_FORK])AC_CACHE_CHECK(for working fork, ac_cv_func_fork_works,
  1797. [AC_RUN_IFELSE([/* By R�diger Kuhlmann. */
  1798. #include <sys/types.h>
  1799. #if HAVE_UNISTD_H
  1800. # include <unistd.h>
  1801. #endif
  1802. /* Some systems only have a dummy stub for fork() */
  1803. int main ()
  1804. {
  1805. if (fork() < 0)
  1806. exit (1);
  1807. exit (0);
  1808. }],
  1809. [ac_cv_func_fork_works=yes],
  1810. [ac_cv_func_fork_works=no],
  1811. [ac_cv_func_fork_works=cross])])
  1812. []AC_PROVIDE([_AC_FUNC_FORK])[]_m4_defun_epi([_AC_FUNC_FORK])
  1813. T11,842
  1814. AC_PROG_CPP_m4_defun_pro([AC_PROG_CPP])AC_REQUIRE([AC_PROG_CC])dnl
  1815. AC_ARG_VAR([CPP], [C preprocessor])dnl
  1816. _AC_ARG_VAR_CPPFLAGS()dnl
  1817. AC_LANG_PUSH(C)dnl
  1818. AC_MSG_CHECKING([how to run the C preprocessor])
  1819. # On Suns, sometimes $CPP names a directory.
  1820. if test -n "$CPP" && test -d "$CPP"; then
  1821. CPP=
  1822. fi
  1823. if test -z "$CPP"; then
  1824. AC_CACHE_VAL([ac_cv_prog_CPP],
  1825. [dnl
  1826. # Double quotes because CPP needs to be expanded
  1827. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  1828. do
  1829. _AC_PROG_PREPROC_WORKS_IFELSE([break])
  1830. done
  1831. ac_cv_prog_CPP=$CPP
  1832. ])dnl
  1833. CPP=$ac_cv_prog_CPP
  1834. else
  1835. ac_cv_prog_CPP=$CPP
  1836. fi
  1837. AC_MSG_RESULT([$CPP])
  1838. _AC_PROG_PREPROC_WORKS_IFELSE([],
  1839. [AC_MSG_ERROR([C preprocessor "$CPP" fails sanity check])])
  1840. AC_SUBST(CPP)dnl
  1841. AC_LANG_POP(C)dnl
  1842. []AC_PROVIDE([AC_PROG_CPP])[]_m4_defun_epi([AC_PROG_CPP])
  1843. T10,711
  1844. m4_requirem4_expansion_stack_push(m4_location[: $1 is required by...])dnl
  1845. m4_ifdef([_m4_expanding($1)],
  1846. [m4_fatal([$0: circular dependency of $1])])dnl
  1847. m4_ifndef([_m4_divert_dump],
  1848. [m4_fatal([$0: cannot be used outside of an m4_defun'd macro])])dnl
  1849. m4_provide_ifelse([$1],
  1850. [],
  1851. [m4_divert_push(m4_eval(m4_divnum - 1))dnl
  1852. m4_default([$2], [$1])
  1853. m4_divert(m4_defn([_m4_divert_dump]))dnl
  1854. m4_undivert(m4_defn([_m4_divert_diversion]))dnl
  1855. m4_divert_pop(m4_defn([_m4_divert_dump]))])dnl
  1856. m4_provide_ifelse([$1],
  1857. [],
  1858. [m4_warn([syntax],
  1859. [$1 is m4_require'd but is not m4_defun'd])])dnl
  1860. m4_expansion_stack_pop()dnl
  1861. T20,16
  1862. m4_location(AC_WARN)acoldnames.m4:27
  1863. T16,215
  1864. AC_PROGRAM_EGREP_m4_defun_pro([AC_PROGRAM_EGREP])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAM_EGREP' is obsolete.
  1865. You should run autoupdate.])dnl
  1866. AC_EGREP_CPP($@)[]AC_PROVIDE([AC_PROGRAM_EGREP])[]_m4_defun_epi([AC_PROGRAM_EGREP])
  1867. T9,368
  1868. AC_EMXOS2_m4_defun_pro([AC_EMXOS2])AC_DIAGNOSE([obsolete], [The macro `AC_EMXOS2' is obsolete.
  1869. You should run autoupdate.])dnl
  1870. AC_REQUIRE([AC_CANONICAL_HOST])[]dnl
  1871. AC_DIAGNOSE([obsolete],
  1872. [$0 is obsolete: use AC_CANONICAL_HOST and $host_os])dnl
  1873. case $host_os in
  1874. *emx* ) EMXOS2=yes;;
  1875. * ) EMXOS2=no;;
  1876. esac
  1877. []AC_PROVIDE([AC_EMXOS2])[]_m4_defun_epi([AC_EMXOS2])
  1878. T26,19
  1879. m4_location(_AC_FUNC_FORK)acfunctions.m4:1473
  1880. T30,13
  1881. m4_location(AC_NO_EXECUTABLES)aclang.m4:621
  1882. T13,43
  1883. AC_DEFUN_ONCEm4_defun_once([$1], [$2[]AC_PROVIDE([$1])])
  1884. F6,6
  1885. regexpregexp
  1886. T17,47
  1887. AC_PROVIDE_IFELSEm4_ifdef([AC_PROVIDE_$1],
  1888. [$2], [$3])
  1889. T25,17
  1890. m4_location(AC_CHECK_LIB)acgeneral.m4:2583
  1891. T14,421
  1892. AC_CHECK_TYPES_m4_defun_pro([AC_CHECK_TYPES])m4_foreach([AC_Type], [$1],
  1893. [_AC_CHECK_TYPE_NEW(AC_Type,
  1894. [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]AC_Type), 1,
  1895. [Define if the system has the type
  1896. `]AC_Type['.])
  1897. $2],
  1898. [$3],
  1899. [$4])])[]AC_PROVIDE([AC_CHECK_TYPES])[]_m4_defun_epi([AC_CHECK_TYPES])
  1900. T21,16
  1901. m4_location(AC_OFF_T)acoldnames.m4:62
  1902. T21,244
  1903. AM_FUNC_ERROR_AT_LINE_m4_defun_pro([AM_FUNC_ERROR_AT_LINE])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_ERROR_AT_LINE' is obsolete.
  1904. You should run autoupdate.])dnl
  1905. AC_FUNC_ERROR_AT_LINE($@)[]AC_PROVIDE([AM_FUNC_ERROR_AT_LINE])[]_m4_defun_epi([AM_FUNC_ERROR_AT_LINE])
  1906. T24,0
  1907. m4_include(acversion.m4)
  1908. T21,2
  1909. _m4_divert(HELP_WITH)13
  1910. T9,184
  1911. AC_FIND_X_m4_defun_pro([AC_FIND_X])AC_DIAGNOSE([obsolete], [The macro `AC_FIND_X' is obsolete.
  1912. You should run autoupdate.])dnl
  1913. AC_PATH_X($@)[]AC_PROVIDE([AC_FIND_X])[]_m4_defun_epi([AC_FIND_X])
  1914. T30,17
  1915. m4_location(AC_PREPROC_IFELSE)acgeneral.m4:2659
  1916. T32,17
  1917. m4_location(AC_CANONICAL_SYSTEM)acgeneral.m4:1784
  1918. T25,17
  1919. m4_location(AC_ARG_ARRAY)acspecific.m4:352
  1920. T10,196
  1921. AC_ST_RDEV_m4_defun_pro([AC_ST_RDEV])AC_DIAGNOSE([obsolete], [The macro `AC_ST_RDEV' is obsolete.
  1922. You should run autoupdate.])dnl
  1923. AC_STRUCT_ST_RDEV($@)[]AC_PROVIDE([AC_ST_RDEV])[]_m4_defun_epi([AC_ST_RDEV])
  1924. T11,201
  1925. AC_TIMEZONE_m4_defun_pro([AC_TIMEZONE])AC_DIAGNOSE([obsolete], [The macro `AC_TIMEZONE' is obsolete.
  1926. You should run autoupdate.])dnl
  1927. AC_STRUCT_TIMEZONE($@)[]AC_PROVIDE([AC_TIMEZONE])[]_m4_defun_epi([AC_TIMEZONE])
  1928. T23,657
  1929. AC_PROG_GCC_TRADITIONAL_m4_defun_pro([AC_PROG_GCC_TRADITIONAL])if test $ac_cv_c_compiler_gnu = yes; then
  1930. AC_CACHE_CHECK(whether $CC needs -traditional,
  1931. ac_cv_prog_gcc_traditional,
  1932. [ ac_pattern="Autoconf.*'x'"
  1933. AC_EGREP_CPP($ac_pattern, [#include <sgtty.h>
  1934. Autoconf TIOCGETP],
  1935. ac_cv_prog_gcc_traditional=yes, ac_cv_prog_gcc_traditional=no)
  1936. if test $ac_cv_prog_gcc_traditional = no; then
  1937. AC_EGREP_CPP($ac_pattern, [#include <termio.h>
  1938. Autoconf TCGETA],
  1939. ac_cv_prog_gcc_traditional=yes)
  1940. fi])
  1941. if test $ac_cv_prog_gcc_traditional = yes; then
  1942. CC="$CC -traditional"
  1943. fi
  1944. fi
  1945. []AC_PROVIDE([AC_PROG_GCC_TRADITIONAL])[]_m4_defun_epi([AC_PROG_GCC_TRADITIONAL])
  1946. T10,1803
  1947. AC_C_CONST_m4_defun_pro([AC_C_CONST])AC_REQUIRE([AC_PROG_CC_STDC])dnl
  1948. AC_CACHE_CHECK([for an ANSI C-conforming const], ac_cv_c_const,
  1949. [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
  1950. [[/* FIXME: Include the comments suggested by Paul. */
  1951. #ifndef __cplusplus
  1952. /* Ultrix mips cc rejects this. */
  1953. typedef int charset[2];
  1954. const charset x;
  1955. /* SunOS 4.1.1 cc rejects this. */
  1956. char const *const *ccp;
  1957. char **p;
  1958. /* NEC SVR4.0.2 mips cc rejects this. */
  1959. struct point {int x, y;};
  1960. static struct point const zero = {0,0};
  1961. /* AIX XL C 1.02.0.0 rejects this.
  1962. It does not let you subtract one const X* pointer from another in
  1963. an arm of an if-expression whose if-part is not a constant
  1964. expression */
  1965. const char *g = "string";
  1966. ccp = &g + (g ? g-g : 0);
  1967. /* HPUX 7.0 cc rejects these. */
  1968. ++ccp;
  1969. p = (char**) ccp;
  1970. ccp = (char const *const *) p;
  1971. { /* SCO 3.2v4 cc rejects this. */
  1972. char *t;
  1973. char const *s = 0 ? (char *) 0 : (char const *) 0;
  1974. *t++ = 0;
  1975. }
  1976. { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  1977. int x[] = {25, 17};
  1978. const int *foo = &x[0];
  1979. ++foo;
  1980. }
  1981. { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  1982. typedef const int *iptr;
  1983. iptr p = 0;
  1984. ++p;
  1985. }
  1986. { /* AIX XL C 1.02.0.0 rejects this saying
  1987. "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  1988. struct s { int j; const int *ap[3]; };
  1989. struct s *b; b->j = 5;
  1990. }
  1991. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  1992. const int foo = 10;
  1993. }
  1994. #endif
  1995. ]])],
  1996. [ac_cv_c_const=yes],
  1997. [ac_cv_c_const=no])])
  1998. if test $ac_cv_c_const = no; then
  1999. AC_DEFINE(const,,
  2000. [Define to empty if `const' does not conform to ANSI C.])
  2001. fi
  2002. []AC_PROVIDE([AC_C_CONST])[]_m4_defun_epi([AC_C_CONST])
  2003. T19,527
  2004. m4_version_unletterm4_translit(m4_patsubst(m4_patsubst(m4_patsubst([$1],
  2005. [\([0-9]+\)\([abcdefghi]\)],
  2006. [m4_eval(\1 + 1).-1.\2]),
  2007. [\([0-9]+\)\([jklmnopqrs]\)],
  2008. [m4_eval(\1 + 1).-1.1\2]),
  2009. [\([0-9]+\)\([tuvwxyz]\)],
  2010. [m4_eval(\1 + 1).-1.2\2]),
  2011. [abcdefghijklmnopqrstuvwxyz],
  2012. [12345678901234567890123456])
  2013. T26,19
  2014. m4_location(AC_UTIME_NULL)acfunctions.m4:1409
  2015. T14,136
  2016. AS_VAR_PUSHDEFAS_LITERAL_IF([$2],
  2017. [m4_pushdef([$1], [AS_TR_SH($2)])],
  2018. [as_$1=AS_TR_SH($2)
  2019. m4_pushdef([$1], [$as_[$1]])])
  2020. T23,258
  2021. AC_RESTARTABLE_SYSCALLS_m4_defun_pro([AC_RESTARTABLE_SYSCALLS])AC_DIAGNOSE([obsolete], [The macro `AC_RESTARTABLE_SYSCALLS' is obsolete.
  2022. You should run autoupdate.])dnl
  2023. AC_SYS_RESTARTABLE_SYSCALLS($@)[]AC_PROVIDE([AC_RESTARTABLE_SYSCALLS])[]_m4_defun_epi([AC_RESTARTABLE_SYSCALLS])
  2024. T17,438
  2025. AC_CONFIG_SUBDIRS_m4_defun_pro([AC_CONFIG_SUBDIRS])_AC_CONFIG_UNIQUE([$1])dnl
  2026. AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  2027. m4_append([_AC_LIST_SUBDIRS], [ $1])dnl
  2028. AS_LITERAL_IF([$1], [],
  2029. [AC_DIAGNOSE(syntax, [$0: you should use literals])])
  2030. m4_divert_text([DEFAULTS],
  2031. [ac_subdirs_all="$ac_subdirs_all m4_normalize([$1])"])
  2032. AC_SUBST(subdirs, "$subdirs $1")dnl
  2033. []AC_PROVIDE([AC_CONFIG_SUBDIRS])[]_m4_defun_epi([AC_CONFIG_SUBDIRS])
  2034. T10,27
  2035. AC_WARNINGAC_DIAGNOSE([syntax], [$1])
  2036. T7,41
  2037. m4_warnm4_warning_ifelse([$1], [_m4_warn([$2])])
  2038. T12,1213
  2039. AC_FUNC_FORK_m4_defun_pro([AC_FUNC_FORK])AC_REQUIRE([AC_TYPE_PID_T])dnl
  2040. AC_CHECK_HEADERS(unistd.h vfork.h)
  2041. AC_CHECK_FUNCS(fork vfork)
  2042. ac_cv_func_fork_works=$ac_cv_func_fork
  2043. if test "x$ac_cv_func_fork" = xyes; then
  2044. _AC_FUNC_FORK
  2045. fi
  2046. if test "x$ac_cv_func_fork_works" = xcross; then
  2047. case $host in
  2048. *-*-amigaos* | *-*-msdosdjgpp*)
  2049. # Override, as these systems have only a dummy fork() stub
  2050. ac_cv_func_fork_works=no
  2051. ;;
  2052. *)
  2053. ac_cv_func_fork_works=yes
  2054. ;;
  2055. esac
  2056. AC_MSG_WARN(CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling.)
  2057. fi
  2058. ac_cv_func_vfork_works=$ac_cv_func_vfork
  2059. if test "x$ac_cv_func_vfork" = xyes; then
  2060. _AC_FUNC_VFORK
  2061. fi;
  2062. if test "x$ac_cv_func_fork_works" = xcross; then
  2063. ac_cv_func_vfork_works=ac_cv_func_vfork
  2064. AC_MSG_WARN(CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling.)
  2065. fi
  2066. if test "x$ac_cv_func_vfork_works" = xyes; then
  2067. AC_DEFINE(HAVE_WORKING_VFORK, 1, [Define if `vfork' works.])
  2068. else
  2069. AC_DEFINE(vfork, fork, [Define as `fork' if `vfork' does not work.])
  2070. fi
  2071. if test "x$ac_cv_func_fork_works" = xyes; then
  2072. AC_DEFINE(HAVE_WORKING_FORK, 1, [Define if `fork' works.])
  2073. fi
  2074. []AC_PROVIDE([AC_FUNC_FORK])[]_m4_defun_epi([AC_FUNC_FORK])
  2075. T16,1326
  2076. AC_SYS_LARGEFILE_m4_defun_pro([AC_SYS_LARGEFILE])AC_ARG_ENABLE(largefile,
  2077. [ --disable-largefile omit support for large files])
  2078. if test "$enable_largefile" != no; then
  2079. AC_CACHE_CHECK([for special C compiler options needed for large files],
  2080. ac_cv_sys_largefile_CC,
  2081. [ac_cv_sys_largefile_CC=no
  2082. if test "$GCC" != yes; then
  2083. ac_save_CC=$CC
  2084. while :; do
  2085. # IRIX 6.2 and later do not support large files by default,
  2086. # so use the C compiler's -n32 option if that helps.
  2087. AC_LANG_CONFTEST([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_INCLUDES])])
  2088. AC_COMPILE_IFELSE([], [break])
  2089. CC="$CC -n32"
  2090. AC_COMPILE_IFELSE([], [ac_cv_sys_largefile_CC=' -n32'; break])
  2091. break
  2092. done
  2093. CC=$ac_save_CC
  2094. rm -f conftest.$ac_ext
  2095. fi])
  2096. if test "$ac_cv_sys_largefile_CC" != no; then
  2097. CC=$CC$ac_cv_sys_largefile_CC
  2098. fi
  2099. _AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64,
  2100. ac_cv_sys_file_offset_bits,
  2101. [Number of bits in a file offset, on hosts where this is settable.],
  2102. [_AC_SYS_LARGEFILE_TEST_INCLUDES])
  2103. _AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1,
  2104. ac_cv_sys_large_files,
  2105. [Define for large files, on AIX-style hosts.],
  2106. [_AC_SYS_LARGEFILE_TEST_INCLUDES])
  2107. fi
  2108. []AC_PROVIDE([AC_SYS_LARGEFILE])[]_m4_defun_epi([AC_SYS_LARGEFILE])
  2109. T11,454
  2110. AC_PROG_LEXm4_provide_ifelse([AC_PROG_LEX],
  2111. [m4_warn([syntax], [AC_PROG_LEX invoked multiple times])],
  2112. [_m4_defun_pro([AC_PROG_LEX])AC_CHECK_PROGS(LEX, flex lex, :)
  2113. if test -z "$LEXLIB"
  2114. then
  2115. AC_CHECK_LIB(fl, yywrap, LEXLIB="-lfl",
  2116. [AC_CHECK_LIB(l, yywrap, LEXLIB="-ll")])
  2117. fi
  2118. AC_SUBST(LEXLIB)
  2119. if test "x$LEX" != "x:"; then
  2120. _AC_DECL_YYTEXT
  2121. fi[]AC_PROVIDE([AC_PROG_LEX])[]_m4_defun_epi([AC_PROG_LEX])])
  2122. T16,149
  2123. AC_CONFIG_SRCDIR_m4_defun_pro([AC_CONFIG_SRCDIR])m4_divert_text([DEFAULTS], [ac_unique_file="$1"])[]AC_PROVIDE([AC_CONFIG_SRCDIR])[]_m4_defun_epi([AC_CONFIG_SRCDIR])
  2124. T50,18
  2125. m4_location(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK)acfunctions.m4:711
  2126. T31,17
  2127. m4_location(AC_CONFIG_AUX_DIRS)acgeneral.m4:1683
  2128. F7,7
  2129. esyscmdesyscmd
  2130. F7,7
  2131. builtinbuiltin
  2132. T22,0
  2133. AC_LIST_LINKS_COMMANDS
  2134. T12,297
  2135. AC_CACHE_VALm4_if(m4_regexp([$2], [AC_DEFINE]), [-1], [],
  2136. [AC_DIAGNOSE(syntax,
  2137. [$0($1, ...): suspicious presence of an AC_DEFINE in the second argument, ]dnl
  2138. [where no actions should be taken])])dnl
  2139. AS_VAR_SET_IF([$1],
  2140. [echo $ECHO_N "(cached) $ECHO_C" >&AS_MESSAGE_FD],
  2141. [$2])
  2142. T27,14
  2143. m4_location(AC_PROG_CXXCPP)aclang.m4:1125
  2144. T16,73
  2145. _AH_VERBATIM_OLDAS_LITERAL_IF([$1],
  2146. [AH_OUTPUT([$1], _AS_QUOTE([[$2]]))])
  2147. T32,17
  2148. m4_location(AC_INCLUDES_DEFAULT)acgeneral.m4:2257
  2149. T14,300
  2150. _AS_CR_PREPARE_m4_defun_pro([_AS_CR_PREPARE])# Avoid depending upon Character Ranges.
  2151. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  2152. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  2153. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  2154. as_cr_digits='0123456789'
  2155. as_cr_alnum=$as_cr_Letters$as_cr_digits
  2156. []_m4_defun_epi([_AS_CR_PREPARE])
  2157. T17,55
  2158. m4_pattern_forbidm4_file_append(m4_defn([m4_tmpdir])/forbidden.rx, [$1])
  2159. T9,166
  2160. m4_divertm4_define([m4_divert_stack],
  2161. m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
  2162. m4_defn([m4_divert_stack])]))dnl
  2163. m4_builtin([divert], _m4_divert([$1]))dnl
  2164. F4,4
  2165. incrincr
  2166. T18,114
  2167. m4_version_comparem4_list_cmp((m4_split(m4_version_unletter([$1]), [\.])),
  2168. (m4_split(m4_version_unletter([$2]), [\.])))
  2169. T7,0
  2170. __gnu__
  2171. T24,17
  2172. m4_location(AC_PROG_LEX)acspecific.m4:141
  2173. T24,18
  2174. m4_location(AC_SCO_INTL)acspecific.m4:1050
  2175. T25,13
  2176. m4_location(AC_LANG_SAVE)aclang.m4:167
  2177. T14,374
  2178. AC_CHECK_FUNCS_m4_defun_pro([AC_CHECK_FUNCS])AC_FOREACH([AC_Func], [$1],
  2179. [AH_TEMPLATE(AS_TR_CPP(HAVE_[]AC_Func),
  2180. [Define if you have the `]AC_Func[' function.])])dnl
  2181. for ac_func in $1
  2182. do
  2183. AC_CHECK_FUNC($ac_func,
  2184. [AC_DEFINE_UNQUOTED([AS_TR_CPP([HAVE_$ac_func])]) $2],
  2185. [$3])dnl
  2186. done
  2187. []AC_PROVIDE([AC_CHECK_FUNCS])[]_m4_defun_epi([AC_CHECK_FUNCS])
  2188. T25,18
  2189. m4_location(AC_ISC_POSIX)acspecific.m4:1017
  2190. T27,14
  2191. m4_location(AC_C_BIGENDIAN)aclang.m4:1573
  2192. F6,6
  2193. definedefine
  2194. T14,132
  2195. AC_TRY_COMMAND_m4_defun_pro([AC_TRY_COMMAND]){ ac_try='$1'
  2196. _AC_EVAL([$ac_try]); }[]AC_PROVIDE([AC_TRY_COMMAND])[]_m4_defun_epi([AC_TRY_COMMAND])
  2197. T8,40
  2198. undivertm4_builtin([undivert], _m4_divert([$1]))
  2199. T24,17
  2200. m4_location(AC_PROG_AWK)acspecific.m4:118
  2201. T31,16
  2202. m4_location(AC_MINUS_C_MINUS_O)acoldnames.m4:60
  2203. T16,152
  2204. AC_TRY_LINK_FUNC_m4_defun_pro([AC_TRY_LINK_FUNC])AC_LINK_IFELSE([AC_LANG_CALL([], [$1])], [$2], [$3])[]AC_PROVIDE([AC_TRY_LINK_FUNC])[]_m4_defun_epi([AC_TRY_LINK_FUNC])
  2205. T25,16
  2206. m4_location(AC_FIND_XTRA)acoldnames.m4:52
  2207. T14,158
  2208. AC_TRY_COMPILE_m4_defun_pro([AC_TRY_COMPILE])AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[$1]], [[$2]])], [$3], [$4])[]AC_PROVIDE([AC_TRY_COMPILE])[]_m4_defun_epi([AC_TRY_COMPILE])
  2209. T18,940
  2210. AC_CANONICAL_BUILDm4_provide_ifelse([AC_CANONICAL_BUILD],
  2211. [m4_warn([syntax], [AC_CANONICAL_BUILD invoked multiple times])],
  2212. [_m4_defun_pro([AC_CANONICAL_BUILD])AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  2213. m4_divert_text([HELP_CANON],
  2214. [[
  2215. System types:
  2216. --build=BUILD configure for building on BUILD [guessed]]])dnl
  2217. # Make sure we can run config.sub.
  2218. $ac_config_sub sun4 >/dev/null 2>&1 ||
  2219. AC_MSG_ERROR([cannot run $ac_config_sub])
  2220. AC_CACHE_CHECK([build system type], [ac_cv_build],
  2221. [ac_cv_build_alias=$build_alias
  2222. test -z "$ac_cv_build_alias" &&
  2223. ac_cv_build_alias=`$ac_config_guess`
  2224. test -z "$ac_cv_build_alias" &&
  2225. AC_MSG_ERROR([cannot guess build type; you must specify one])
  2226. ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
  2227. AC_MSG_ERROR([$ac_config_sub $ac_cv_build_alias failed.])
  2228. ])
  2229. _AC_CANONICAL_SPLIT(build)
  2230. []AC_PROVIDE([AC_CANONICAL_BUILD])[]_m4_defun_epi([AC_CANONICAL_BUILD])])
  2231. T11,79
  2232. AH_TEMPLATEAH_VERBATIM([$1],
  2233. m4_text_wrap([$2 */], [ ], [/* ])[
  2234. #undef $1])
  2235. T10,42
  2236. AC_PROVIDEm4_define([AC_PROVIDE_$1])m4_provide([$1])
  2237. T17,48
  2238. m4_provide_ifelsem4_ifdef([m4_provide($1)],
  2239. [$2], [$3])
  2240. T13,431
  2241. AC_DIVERT_POPm4_ifval([$1],
  2242. [m4_if(_m4_divert([$1]), m4_divnum, [],
  2243. [m4_fatal([$0($1): unexpected current diversion: ]m4_divnum)])])dnl
  2244. m4_popdef([_m4_divert_diversion])dnl
  2245. dnl m4_ifndef([_m4_divert_diversion],
  2246. dnl [m4_fatal([too many m4_divert_pop])])dnl
  2247. m4_builtin([divert],
  2248. m4_ifdef([_m4_divert_diversion],
  2249. [_m4_divert(_m4_divert_diversion)], -1))dnl
  2250. m4_popdef([m4_divert_stack])dnl
  2251. T30,17
  2252. m4_location(AC_CONFIG_AUX_DIR)acgeneral.m4:1642
  2253. T9,0
  2254. AH_OUTPUT
  2255. T26,14
  2256. m4_location(AC_CHECK_TYPE)actypes.m4:235
  2257. T9,192
  2258. AC_PREFIX_m4_defun_pro([AC_PREFIX])AC_DIAGNOSE([obsolete], [The macro `AC_PREFIX' is obsolete.
  2259. You should run autoupdate.])dnl
  2260. AC_PREFIX_PROGRAM($@)[]AC_PROVIDE([AC_PREFIX])[]_m4_defun_epi([AC_PREFIX])
  2261. T9,79
  2262. AC_OBJEXT_m4_defun_pro([AC_OBJEXT])[]AC_PROVIDE([AC_OBJEXT])[]_m4_defun_epi([AC_OBJEXT])
  2263. T14,300
  2264. AC_HELP_STRINGm4_pushdef([AC_Prefix], m4_default([$3], [ ]))dnl
  2265. m4_pushdef([AC_Prefix_Format],
  2266. [ %-]m4_eval(m4_len(AC_Prefix) - 3)[s ])dnl [ %-23s ]
  2267. m4_text_wrap([$2], AC_Prefix, m4_format(AC_Prefix_Format, [$1]))dnl
  2268. m4_popdef([AC_Prefix_Format])dnl
  2269. m4_popdef([AC_Prefix])dnl
  2270. T27,13
  2271. m4_location(AC_REQUIRE_CPP)aclang.m4:583
  2272. T32,17
  2273. m4_location(AC_CANONICAL_TARGET)acgeneral.m4:1781
  2274. T10,138
  2275. _AC_LIBOBJAS_LITERAL_IF([$1],
  2276. [AC_LIBSOURCE([$1.c])],
  2277. [$2])dnl
  2278. AC_SUBST([LIBOBJS])dnl
  2279. LIBOBJS="$LIBOBJS $1.$ac_objext"
  2280. T13,1098
  2281. AC_CACHE_SAVEcat >confcache <<\_ACEOF
  2282. # This file is a shell script that caches the results of configure
  2283. # tests run on this system so they can be shared between configure
  2284. # scripts and configure runs, see configure's option --config-cache.
  2285. # It is not useful on other systems. If it contains results you don't
  2286. # want to keep, you may remove or edit it.
  2287. #
  2288. # config.status only pays attention to the cache file if you give it
  2289. # the --recheck option to rerun configure.
  2290. #
  2291. # `ac_cv_env_foo' variables (set or unset) will be overriden when
  2292. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  2293. # following values.
  2294. _ACEOF
  2295. _AC_CACHE_DUMP() |
  2296. sed ['
  2297. t clear
  2298. : clear
  2299. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  2300. t end
  2301. /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  2302. : end'] >>confcache
  2303. if cmp -s $cache_file confcache; then :; else
  2304. if test -w $cache_file; then
  2305. test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  2306. cat confcache >$cache_file
  2307. else
  2308. echo "not updating unwritable cache $cache_file"
  2309. fi
  2310. fi
  2311. rm -f confcache[]dnl
  2312. T18,1
  2313. _m4_divert(NOTICE)2
  2314. T11,1113
  2315. AC_PROG_F77_m4_defun_pro([AC_PROG_F77])AC_LANG_PUSH(Fortran 77)dnl
  2316. AC_ARG_VAR([F77], [Fortran 77 compiler command])dnl
  2317. AC_ARG_VAR([FFLAGS], [Fortran 77 compiler flags])dnl
  2318. _AC_ARG_VAR_LDFLAGS()dnl
  2319. AC_CHECK_TOOLS(F77,
  2320. [m4_default([$1],
  2321. [g77 f77 xlf cf77 cft77 frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 fc])])
  2322. # Provide some information about the compiler.
  2323. echo "$as_me:__oline__:" \
  2324. "checking for _AC_LANG compiler version" >&AS_MESSAGE_LOG_FD
  2325. ac_compiler=`set X $ac_compile; echo $[2]`
  2326. _AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
  2327. _AC_EVAL([$ac_compiler -v </dev/null >&AS_MESSAGE_LOG_FD])
  2328. _AC_EVAL([$ac_compiler -V </dev/null >&AS_MESSAGE_LOG_FD])
  2329. m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl
  2330. m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl
  2331. # If we don't use `.F' as extension, the preprocessor is not run on the
  2332. # input file.
  2333. ac_save_ext=$ac_ext
  2334. ac_ext=F
  2335. _AC_LANG_COMPILER_GNU
  2336. ac_ext=$ac_save_ext
  2337. G77=`test $ac_compiler_gnu = yes && echo yes`
  2338. _AC_PROG_F77_G
  2339. AC_LANG_POP(Fortran 77)dnl
  2340. []AC_PROVIDE([AC_PROG_F77])[]_m4_defun_epi([AC_PROG_F77])
  2341. F9,6
  2342. m4_syscmdsyscmd
  2343. T10,139
  2344. AC_TRY_RUN_m4_defun_pro([AC_TRY_RUN])AC_RUN_IFELSE([AC_LANG_SOURCE([[$1]])], [$2], [$3], [$4])[]AC_PROVIDE([AC_TRY_RUN])[]_m4_defun_epi([AC_TRY_RUN])
  2345. T22,0
  2346. AC_OUTPUT_COMMANDS_PRE
  2347. T16,234
  2348. AC_LINKER_OPTION_m4_defun_pro([AC_LINKER_OPTION])if test "$ac_compiler_gnu" = yes; then
  2349. for ac_link_opt in $1; do
  2350. $2="[$]$2 -Xlinker $ac_link_opt"
  2351. done
  2352. else
  2353. $2="[$]$2 $1"
  2354. fi[]AC_PROVIDE([AC_LINKER_OPTION])[]_m4_defun_epi([AC_LINKER_OPTION])
  2355. T31,16
  2356. m4_location(AC_WORDS_BIGENDIAN)acoldnames.m4:77
  2357. T21,1541
  2358. _AC_LIBOBJ_GETLOADAVGAC_LIBOBJ(getloadavg)
  2359. AC_DEFINE(C_GETLOADAVG, 1, [Define if using `getloadavg.c'.])
  2360. # Figure out what our getloadavg.c needs.
  2361. ac_have_func=no
  2362. AC_CHECK_HEADER(sys/dg_sys_info.h,
  2363. [ac_have_func=yes
  2364. AC_DEFINE(DGUX, 1, [Define for DGUX with <sys/dg_sys_info.h>.])
  2365. AC_CHECK_LIB(dgc, dg_sys_info)])
  2366. AC_CHECK_HEADER(locale.h)
  2367. AC_CHECK_FUNCS(setlocale)
  2368. # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
  2369. # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
  2370. # Irix 4.0.5F has the header but not the library.
  2371. if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
  2372. ac_have_func=yes
  2373. AC_DEFINE(SVR4, 1, [Define on System V Release 4.])
  2374. fi
  2375. if test $ac_have_func = no; then
  2376. AC_CHECK_HEADER(inq_stats/cpustats.h,
  2377. [ac_have_func=yes
  2378. AC_DEFINE(UMAX, 1, [Define for Encore UMAX.])
  2379. AC_DEFINE(UMAX4_3, 1,
  2380. [Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
  2381. instead of <sys/cpustats.h>.])])
  2382. fi
  2383. if test $ac_have_func = no; then
  2384. AC_CHECK_HEADER(sys/cpustats.h,
  2385. [ac_have_func=yes; AC_DEFINE(UMAX)])
  2386. fi
  2387. if test $ac_have_func = no; then
  2388. AC_CHECK_HEADERS(mach/mach.h)
  2389. fi
  2390. AC_CHECK_HEADERS(nlist.h,
  2391. [AC_CHECK_MEMBERS([struct nlist.n_un.n_name],
  2392. [AC_DEFINE(NLIST_NAME_UNION, 1,
  2393. [Define if your `struct nlist' has an
  2394. `n_un' member. Obsolete, depend on
  2395. `HAVE_STRUCT_NLIST_N_UN_N_NAME])], [],
  2396. [@%:@include <nlist.h>])
  2397. ])dnl
  2398. T27,18
  2399. m4_location(AC_FUNC_ALLOCA)acfunctions.m4:245
  2400. T21,109
  2401. _AC_CONFIG_DEPENDENCYm4_ifval([$2],
  2402. [AC_FILE_DEPENDENCY_TRACE($@)],
  2403. [AC_FILE_DEPENDENCY_TRACE([$1], [$1.in])])
  2404. T12,206
  2405. AC_ST_BLOCKS_m4_defun_pro([AC_ST_BLOCKS])AC_DIAGNOSE([obsolete], [The macro `AC_ST_BLOCKS' is obsolete.
  2406. You should run autoupdate.])dnl
  2407. AC_STRUCT_ST_BLOCKS($@)[]AC_PROVIDE([AC_ST_BLOCKS])[]_m4_defun_epi([AC_ST_BLOCKS])
  2408. T23,17
  2409. m4_location(AC_MINGW32)acspecific.m4:937
  2410. T25,0
  2411. m4_include(acoldnames.m4)
  2412. T24,16
  2413. m4_location(AC_UNISTD_H)acheaders.m4:391
  2414. T13,52
  2415. m4_cr_LettersabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
  2416. T8,184
  2417. AC_WAIT3_m4_defun_pro([AC_WAIT3])AC_DIAGNOSE([obsolete], [The macro `AC_WAIT3' is obsolete.
  2418. You should run autoupdate.])dnl
  2419. AC_FUNC_WAIT3($@)[]AC_PROVIDE([AC_WAIT3])[]_m4_defun_epi([AC_WAIT3])
  2420. T16,5
  2421. _m4_divert(GROW)10000
  2422. T10,523
  2423. AC_ARG_VAR_m4_defun_pro([AC_ARG_VAR])m4_divert_once([HELP_VAR], [[
  2424. Some influential environment variables:]])dnl
  2425. m4_divert_once([HELP_VAR_END], [[
  2426. Use these variables to override the choices made by `configure' or to help
  2427. it to find libraries and programs with nonstandard names/locations.]])dnl
  2428. m4_expand_once([m4_divert_once([HELP_VAR],
  2429. [AC_HELP_STRING([$1], [$2], [ ])])],
  2430. [$0($1)])dnl
  2431. _AC_ARG_VAR_PRECIOUS([$1])dnl
  2432. []AC_PROVIDE([AC_ARG_VAR])[]_m4_defun_epi([AC_ARG_VAR])
  2433. F6,6
  2434. divnumdivnum
  2435. T29,14
  2436. m4_location(AC_C_LONG_DOUBLE)aclang.m4:1529
  2437. T19,659
  2438. _AC_INIT_CONFIG_LOGm4_divert_text([INIT_PREPARE],
  2439. [m4_define([AS_MESSAGE_LOG_FD], 5)dnl
  2440. exec AS_MESSAGE_LOG_FD>config.log
  2441. cat >&AS_MESSAGE_LOG_FD <<EOF
  2442. This file contains any messages produced by compilers while
  2443. running configure, to aid debugging if configure makes a mistake.
  2444. It was created by m4_ifset([AC_PACKAGE_NAME],
  2445. [AC_PACKAGE_NAME ])dnl
  2446. $as_me[]m4_ifset([AC_PACKAGE_VERSION],
  2447. [ AC_PACKAGE_VERSION]), which was
  2448. generated by GNU Autoconf AC_ACVERSION. Invocation command line was
  2449. $ $[0] $[@]
  2450. EOF
  2451. AS_UNAME >&AS_MESSAGE_LOG_FD
  2452. cat >&AS_MESSAGE_LOG_FD <<EOF
  2453. ## ------------ ##
  2454. ## Core tests. ##
  2455. ## ------------ ##
  2456. EOF
  2457. ])
  2458. T12,66
  2459. m4_re_string[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789]*
  2460. T20,15
  2461. m4_location(m4_join)m4sugar.m4:1478
  2462. T27,14
  2463. m4_location(AC_C_STRINGIZE)aclang.m4:1709
  2464. F11,11
  2465. changequotechangequote
  2466. T13,541
  2467. _AC_PROG_CC_Gac_test_CFLAGS=${CFLAGS+set}
  2468. ac_save_CFLAGS=$CFLAGS
  2469. CFLAGS="-g"
  2470. AC_CACHE_CHECK(whether $CC accepts -g, ac_cv_prog_cc_g,
  2471. [_AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [ac_cv_prog_cc_g=yes],
  2472. [ac_cv_prog_cc_g=no])])
  2473. if test "$ac_test_CFLAGS" = set; then
  2474. CFLAGS=$ac_save_CFLAGS
  2475. elif test $ac_cv_prog_cc_g = yes; then
  2476. if test "$GCC" = yes; then
  2477. CFLAGS="-g -O2"
  2478. else
  2479. CFLAGS="-g"
  2480. fi
  2481. else
  2482. if test "$GCC" = yes; then
  2483. CFLAGS="-O2"
  2484. else
  2485. CFLAGS=
  2486. fi
  2487. fi[]dnl
  2488. T19,646
  2489. _AC_COMPILER_OBJEXTAC_CACHE_CHECK([for object suffix], ac_cv_objext,
  2490. [AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
  2491. rm -f conftest.o conftest.obj
  2492. AS_IF([AC_TRY_EVAL(ac_compile)],
  2493. [for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
  2494. case $ac_file in
  2495. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
  2496. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2497. break;;
  2498. esac
  2499. done],
  2500. [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
  2501. cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
  2502. AC_MSG_ERROR([cannot compute OBJEXT: cannot compile])])
  2503. rm -f conftest.$ac_cv_objext conftest.$ac_ext])
  2504. AC_SUBST([OBJEXT], [$ac_cv_objext])dnl
  2505. ac_objext=$OBJEXT
  2506. T17,212
  2507. _AS_TR_SH_PREPARE_m4_defun_pro([_AS_TR_SH_PREPARE])m4_require([_AS_CR_PREPARE])dnl
  2508. # Sed expression to map a string onto a valid variable name.
  2509. as_tr_sh="sed y%*+%pp%;s%[[^_$as_cr_alnum]]%_%g"
  2510. []_m4_defun_epi([_AS_TR_SH_PREPARE])
  2511. T17,2038
  2512. _AC_LIBOBJ_ALLOCA# The SVR3 libPW and SVR4 libucb both contain incompatible functions
  2513. # that cause trouble. Some versions do not even contain alloca or
  2514. # contain a buggy version. If you still want to use their alloca,
  2515. # use ar to extract alloca.o from them instead of compiling alloca.c.
  2516. AC_LIBSOURCES(alloca.c)
  2517. AC_SUBST(ALLOCA, alloca.$ac_objext)dnl
  2518. AC_DEFINE(C_ALLOCA, 1, [Define if using `alloca.c'.])
  2519. AC_CACHE_CHECK(whether `alloca.c' needs Cray hooks, ac_cv_os_cray,
  2520. [AC_EGREP_CPP(webecray,
  2521. [#if defined(CRAY) && ! defined(CRAY2)
  2522. webecray
  2523. #else
  2524. wenotbecray
  2525. #endif
  2526. ], ac_cv_os_cray=yes, ac_cv_os_cray=no)])
  2527. if test $ac_cv_os_cray = yes; then
  2528. for ac_func in _getb67 GETB67 getb67; do
  2529. AC_CHECK_FUNC($ac_func,
  2530. [AC_DEFINE_UNQUOTED(CRAY_STACKSEG_END, $ac_func,
  2531. [Define to one of `_getb67', `GETB67',
  2532. `getb67' for Cray-2 and Cray-YMP
  2533. systems. This function is required for
  2534. `alloca.c' support on those systems.])
  2535. break])
  2536. done
  2537. fi
  2538. AC_CACHE_CHECK([stack direction for C alloca],
  2539. [ac_cv_c_stack_direction],
  2540. [AC_RUN_IFELSE([AC_LANG_SOURCE(
  2541. [int
  2542. find_stack_direction ()
  2543. {
  2544. static char *addr = 0;
  2545. auto char dummy;
  2546. if (addr == 0)
  2547. {
  2548. addr = &dummy;
  2549. return find_stack_direction ();
  2550. }
  2551. else
  2552. return (&dummy > addr) ? 1 : -1;
  2553. }
  2554. int
  2555. main ()
  2556. {
  2557. exit (find_stack_direction () < 0);
  2558. }])],
  2559. [ac_cv_c_stack_direction=1],
  2560. [ac_cv_c_stack_direction=-1],
  2561. [ac_cv_c_stack_direction=0])])
  2562. AH_VERBATIM([STACK_DIRECTION],
  2563. [/* If using the C implementation of alloca, define if you know the
  2564. direction of stack growth for your system; otherwise it will be
  2565. automatically deduced at run-time.
  2566. STACK_DIRECTION > 0 => grows toward higher addresses
  2567. STACK_DIRECTION < 0 => grows toward lower addresses
  2568. STACK_DIRECTION = 0 => direction of growth unknown */
  2569. @%:@undef STACK_DIRECTION])dnl
  2570. AC_DEFINE_UNQUOTED(STACK_DIRECTION, $ac_cv_c_stack_direction)
  2571. T21,19
  2572. m4_location(AC_VFORK)acfunctions.m4:1585
  2573. T26,17
  2574. m4_location(AC_CHECK_FUNC)acfunctions.m4:74
  2575. T26,16
  2576. m4_location(AC_DIR_HEADER)acheaders.m4:454
  2577. F8,8
  2578. __file____file__
  2579. T22,17
  2580. m4_location(AC_OUTPUT)acgeneral.m4:3443
  2581. T15,504
  2582. AC_HAVE_LIBRARY_m4_defun_pro([AC_HAVE_LIBRARY])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_LIBRARY' is obsolete.
  2583. You should run autoupdate.])dnl
  2584. m4_pushdef([AC_Lib_Name],
  2585. m4_patsubst(m4_patsubst([[$1]],
  2586. [lib\([^\.]*\)\.a], [\1]),
  2587. [-l], []))dnl
  2588. AC_CHECK_LIB(AC_Lib_Name, main, [$2], [$3], [$4])dnl
  2589. ac_cv_lib_[]AC_Lib_Name()=ac_cv_lib_[]AC_Lib_Name()_main
  2590. m4_popdef([AC_Lib_Name])dnl
  2591. []AC_PROVIDE([AC_HAVE_LIBRARY])[]_m4_defun_epi([AC_HAVE_LIBRARY])
  2592. T31,18
  2593. m4_location(AC_FUNC_GETLOADAVG)acfunctions.m4:565
  2594. T30,17
  2595. m4_location(AC_COMPILE_IFELSE)acgeneral.m4:2733
  2596. T15,210
  2597. AC_LANG_RESTORE_m4_defun_pro([AC_LANG_RESTORE])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_RESTORE' is obsolete.
  2598. You should run autoupdate.])dnl
  2599. AC_LANG_POP($@)[]AC_PROVIDE([AC_LANG_RESTORE])[]_m4_defun_epi([AC_LANG_RESTORE])
  2600. T9,63
  2601. m4_appendm4_define([$1],
  2602. m4_ifdef([$1], [m4_defn([$1])])[$2])
  2603. T18,582
  2604. _AC_PREPROC_IFELSE_m4_defun_pro([_AC_PREPROC_IFELSE])m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
  2605. if _AC_EVAL_STDERR([$ac_cpp conftest.$ac_ext]) >/dev/null; then
  2606. if test -s conftest.err; then
  2607. ac_cpp_err=$ac_[]_AC_LANG_ABBREV[]_preproc_warn_flag
  2608. else
  2609. ac_cpp_err=
  2610. fi
  2611. else
  2612. ac_cpp_err=yes
  2613. fi
  2614. if test -z "$ac_cpp_err"; then
  2615. m4_default([$2], :)
  2616. else
  2617. echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
  2618. cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
  2619. $3
  2620. fi
  2621. rm -f conftest.err m4_ifval([$1], [conftest.$ac_ext])[]dnl
  2622. []AC_PROVIDE([_AC_PREPROC_IFELSE])[]_m4_defun_epi([_AC_PREPROC_IFELSE])
  2623. T9,189
  2624. AC_SIZE_T_m4_defun_pro([AC_SIZE_T])AC_DIAGNOSE([obsolete], [The macro `AC_SIZE_T' is obsolete.
  2625. You should run autoupdate.])dnl
  2626. AC_TYPE_SIZE_T($@)[]AC_PROVIDE([AC_SIZE_T])[]_m4_defun_epi([AC_SIZE_T])
  2627. T9,115
  2628. AC_LIBOBJ_AC_LIBOBJ([$1],
  2629. [AC_DIAGNOSE(syntax,
  2630. [$0($1): you should use literals])])dnl
  2631. T30,14
  2632. m4_location(AC_TYPE_GETGROUPS)actypes.m4:284
  2633. T10,137
  2634. AC_TRY_CPP_m4_defun_pro([AC_TRY_CPP])AC_PREPROC_IFELSE([AC_LANG_SOURCE([[$1]])], [$2], [$3])[]AC_PROVIDE([AC_TRY_CPP])[]_m4_defun_epi([AC_TRY_CPP])
  2635. T8,252
  2636. AS_TR_SH_m4_defun_pro([AS_TR_SH])m4_require([_$0_PREPARE])dnl
  2637. AS_LITERAL_IF([$1],
  2638. [m4_patsubst(m4_translit([[$1]], [*+], [pp]),
  2639. [[^a-zA-Z0-9_]], [_])],
  2640. [`echo "$1" | $as_tr_sh`])[]_m4_defun_epi([AS_TR_SH])
  2641. T16,390
  2642. _AC_INIT_VERSIONm4_divert_text([VERSION_BEGIN],
  2643. [if $ac_init_version; then
  2644. cat <<\EOF])dnl
  2645. m4_ifset([AC_PACKAGE_STRING],
  2646. [m4_divert_text([VERSION_BEGIN],
  2647. [dnl
  2648. m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])configure[]dnl
  2649. m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  2650. generated by GNU Autoconf AC_ACVERSION])])
  2651. m4_divert_text([VERSION_END],
  2652. [EOF
  2653. exit 0
  2654. fi])dnl
  2655. T21,19
  2656. m4_location(AC_WAIT3)acfunctions.m4:1666
  2657. T27,18
  2658. m4_location(AC_FUNC_MEMCMP)acfunctions.m4:773
  2659. T13,351
  2660. AC_CHECK_TOOL_m4_defun_pro([AC_CHECK_TOOL])if test -n "$ac_tool_prefix"; then
  2661. AC_CHECK_PROG([$1], [${ac_tool_prefix}$2], [${ac_tool_prefix}$2], , [$4])
  2662. fi
  2663. if test -z "$ac_cv_prog_$1"; then
  2664. ac_ct_$1=$$1
  2665. AC_CHECK_PROG([ac_ct_$1], [$2], [$2], [$3], [$4])
  2666. $1=$ac_ct_$1
  2667. else
  2668. $1="$ac_cv_prog_$1"
  2669. fi
  2670. []AC_PROVIDE([AC_CHECK_TOOL])[]_m4_defun_epi([AC_CHECK_TOOL])
  2671. T24,14
  2672. m4_location(AC_F77_MAIN)aclang.m4:2027
  2673. T17,209
  2674. _AC_LIBOBJ_STRTODAC_LIBOBJ(strtod)
  2675. AC_CHECK_FUNC(pow)
  2676. if test $ac_cv_func_pow = no; then
  2677. AC_CHECK_LIB(m, pow,
  2678. [POW_LIB=-lm],
  2679. [AC_MSG_WARN([can't find library containing definition of pow])])
  2680. fi
  2681. T11,88
  2682. AS_BASENAME_m4_defun_pro([AS_BASENAME])echo "$1" |sed 's,.*[[\\/]],,'[]_m4_defun_epi([AS_BASENAME])
  2683. T22,16
  2684. m4_location(AC_SIZE_T)acoldnames.m4:67
  2685. T26,18
  2686. m4_location(AC_HAVE_FUNCS)acfunctions.m4:107
  2687. T14,2989
  2688. _AC_FUNC_VFORK_m4_defun_pro([_AC_FUNC_VFORK])AC_CACHE_CHECK(for working vfork, ac_cv_func_vfork_works,
  2689. [AC_TRY_RUN([/* Thanks to Paul Eggert for this test. */
  2690. #include <stdio.h>
  2691. #include <sys/types.h>
  2692. #include <sys/stat.h>
  2693. #if HAVE_UNISTD_H
  2694. # include <unistd.h>
  2695. #endif
  2696. #if HAVE_VFORK_H
  2697. # include <vfork.h>
  2698. #endif
  2699. /* On some sparc systems, changes by the child to local and incoming
  2700. argument registers are propagated back to the parent. The compiler
  2701. is told about this with #include <vfork.h>, but some compilers
  2702. (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
  2703. static variable whose address is put into a register that is
  2704. clobbered by the vfork. */
  2705. static
  2706. #ifdef __cplusplus
  2707. sparc_address_test (int arg)
  2708. # else
  2709. sparc_address_test (arg) int arg;
  2710. #endif
  2711. {
  2712. static pid_t child;
  2713. if (!child) {
  2714. child = vfork ();
  2715. if (child < 0) {
  2716. perror ("vfork");
  2717. _exit(2);
  2718. }
  2719. if (!child) {
  2720. arg = getpid();
  2721. write(-1, "", 0);
  2722. _exit (arg);
  2723. }
  2724. }
  2725. }
  2726. int
  2727. main ()
  2728. {
  2729. pid_t parent = getpid ();
  2730. pid_t child;
  2731. sparc_address_test ();
  2732. child = vfork ();
  2733. if (child == 0) {
  2734. /* Here is another test for sparc vfork register problems. This
  2735. test uses lots of local variables, at least as many local
  2736. variables as main has allocated so far including compiler
  2737. temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
  2738. 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
  2739. reuse the register of parent for one of the local variables,
  2740. since it will think that parent can't possibly be used any more
  2741. in this routine. Assigning to the local variable will thus
  2742. munge parent in the parent process. */
  2743. pid_t
  2744. p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
  2745. p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
  2746. /* Convince the compiler that p..p7 are live; otherwise, it might
  2747. use the same hardware register for all 8 local variables. */
  2748. if (p != p1 || p != p2 || p != p3 || p != p4
  2749. || p != p5 || p != p6 || p != p7)
  2750. _exit(1);
  2751. /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
  2752. from child file descriptors. If the child closes a descriptor
  2753. before it execs or exits, this munges the parent's descriptor
  2754. as well. Test for this by closing stdout in the child. */
  2755. _exit(close(fileno(stdout)) != 0);
  2756. } else {
  2757. int status;
  2758. struct stat st;
  2759. while (wait(&status) != child)
  2760. ;
  2761. exit(
  2762. /* Was there some problem with vforking? */
  2763. child < 0
  2764. /* Did the child fail? (This shouldn't happen.) */
  2765. || status
  2766. /* Did the vfork/compiler bug occur? */
  2767. || parent != getpid()
  2768. /* Did the file descriptor bug occur? */
  2769. || fstat(fileno(stdout), &st) != 0
  2770. );
  2771. }
  2772. }],
  2773. [ac_cv_func_vfork_works=yes],
  2774. [ac_cv_func_vfork_works=no],
  2775. [ac_cv_func_vfork_works=cross])])
  2776. []AC_PROVIDE([_AC_FUNC_VFORK])[]_m4_defun_epi([_AC_FUNC_VFORK])
  2777. T15,161
  2778. _AC_COMPUTE_INTif test "$cross_compiling" = yes; then
  2779. _AC_COMPUTE_INT_COMPILE([$1], [$2], [$3])
  2780. else
  2781. _AC_COMPUTE_INT_RUN([$1], [$2], [$3], [$4])
  2782. fi
  2783. rm -f conftest.val[]dnl
  2784. T10,103
  2785. m4_tolowerm4_translit([$1],
  2786. [ABCDEFGHIJKLMNOPQRSTUVWXYZ],
  2787. [abcdefghijklmnopqrstuvwxyz])
  2788. T34,18
  2789. m4_location(AC_FUNC_CLOSEDIR_VOID)acfunctions.m4:311
  2790. T11,555
  2791. AC_MEMORY_H_m4_defun_pro([AC_MEMORY_H])AC_DIAGNOSE([obsolete], [The macro `AC_MEMORY_H' is obsolete.
  2792. You should run autoupdate.])dnl
  2793. AC_DIAGNOSE([obsolete], [$0: Remove this warning and
  2794. `AC_CHECK_HEADER(memory.h, AC_DEFINE(...))' when you ajust your code to
  2795. use and HAVE_STRING_H and HAVE_MEMORY_H, not NEED_MEMORY_H.])dnl
  2796. AC_CHECK_HEADER(memory.h,
  2797. [AC_DEFINE([NEED_MEMORY_H], 1,
  2798. [Same as `HAVE_MEMORY_H', don't depend on me.])])
  2799. AC_CHECK_HEADERS(string.h memory.h)
  2800. []AC_PROVIDE([AC_MEMORY_H])[]_m4_defun_epi([AC_MEMORY_H])
  2801. F9,6
  2802. m4_regexpregexp
  2803. T26,14
  2804. m4_location(AC_TYPE_OFF_T)actypes.m4:308
  2805. T30,18
  2806. m4_location(AC_FUNC_GETGROUPS)acfunctions.m4:422
  2807. T27,17
  2808. m4_location(AC_CHECK_PROGS)acgeneral.m4:2355
  2809. T17,136
  2810. AC_CONFIG_AUX_DIR_m4_defun_pro([AC_CONFIG_AUX_DIR])AC_CONFIG_AUX_DIRS($1 $srcdir/$1)[]AC_PROVIDE([AC_CONFIG_AUX_DIR])[]_m4_defun_epi([AC_CONFIG_AUX_DIR])
  2811. T29,11
  2812. m4_location(_AS_LN_S_PREPARE)m4sh.m4:353
  2813. T27,17
  2814. m4_location(AC_CHECK_TOOLS)acgeneral.m4:2471
  2815. T17,49
  2816. m4_warning_ifelse_m4_warning_ifelse([$1], [$2], [$3], m4_warnings)
  2817. T27,14
  2818. m4_location(ac_cv_prog_g77)aclang.m4:1270
  2819. T14,65
  2820. m4_list_appendm4_define([$1],
  2821. m4_ifdef([$1], [m4_defn([$1]), ])[$2])
  2822. T8,101
  2823. m4_fatalm4_errprintn(m4_location[: error: $1])dnl
  2824. m4_expansion_stack_dump()dnl
  2825. m4_exit(m4_if([$2],, 1, [$2]))
  2826. T20,495
  2827. AC_HEADER_TIOCGWINSZ_m4_defun_pro([AC_HEADER_TIOCGWINSZ])AC_REQUIRE([AC_SYS_POSIX_TERMIOS])dnl
  2828. if test $ac_cv_sys_posix_termios = yes; then
  2829. _AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H
  2830. fi
  2831. if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
  2832. _AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL
  2833. if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
  2834. AC_DEFINE(GWINSZ_IN_SYS_IOCTL,1,
  2835. [Define if `TIOCGWINSZ' requires <sys/ioctl.h>])
  2836. fi
  2837. fi
  2838. []AC_PROVIDE([AC_HEADER_TIOCGWINSZ])[]_m4_defun_epi([AC_HEADER_TIOCGWINSZ])
  2839. T21,733
  2840. _AC_COMPILER_EXEEXT_OAC_MSG_CHECKING([for executable suffix])
  2841. AS_IF([AC_TRY_EVAL(ac_link)],
  2842. [# If both `conftest.exe' and `conftest' are `present' (well, observable)
  2843. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  2844. # work properly (i.e., refer to `conftest.exe'), while it won't with
  2845. # `rm'.
  2846. for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
  2847. case $ac_file in
  2848. *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
  2849. *.* ) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
  2850. export ac_cv_exeext
  2851. break;;
  2852. * ) break;;
  2853. esac
  2854. done],
  2855. [AC_MSG_ERROR([cannot compute EXEEXT: cannot compile and link])])
  2856. rm -f conftest$ac_cv_exeext
  2857. AC_MSG_RESULT([$ac_cv_exeext])
  2858. T17,153
  2859. AC_PREFIX_DEFAULT_m4_defun_pro([AC_PREFIX_DEFAULT])m4_divert_text([DEFAULTS], [ac_default_prefix=$1])[]AC_PROVIDE([AC_PREFIX_DEFAULT])[]_m4_defun_epi([AC_PREFIX_DEFAULT])
  2860. T25,13
  2861. m4_location(AC_LANG_CALL)aclang.m4:315
  2862. T21,16
  2863. m4_location(AC_FD_CC)acgeneral.m4:575
  2864. T20,1
  2865. _m4_divert(DEFAULTS)3
  2866. T28,17
  2867. m4_location(_AC_EVAL_STDERR)acgeneral.m4:2160
  2868. T24,17
  2869. m4_location(AC_TRY_EVAL)acgeneral.m4:2168
  2870. T29,800
  2871. _AC_PROG_CXX_EXIT_DECLARATIONfor ac_declaration in \
  2872. ''\
  2873. '#include <stdlib.h>' \
  2874. 'extern "C" void std::exit (int) throw (); using std::exit;' \
  2875. 'extern "C" void std::exit (int); using std::exit;' \
  2876. 'extern "C" void exit (int) throw ();' \
  2877. 'extern "C" void exit (int);' \
  2878. 'void exit (int);'
  2879. do
  2880. _AC_COMPILE_IFELSE([AC_LANG_PROGRAM([@%:@include <stdlib.h>
  2881. $ac_declaration],
  2882. [exit (42);])],
  2883. [],
  2884. [continue])
  2885. _AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$ac_declaration],
  2886. [exit (42);])],
  2887. [break])
  2888. done
  2889. rm -f conftest*
  2890. if test -n "$ac_declaration"; then
  2891. echo '#ifdef __cplusplus' >>confdefs.h
  2892. echo $ac_declaration >>confdefs.h
  2893. echo '#endif' >>confdefs.h
  2894. fi
  2895. T14,644
  2896. AC_SEARCH_LIBS_m4_defun_pro([AC_SEARCH_LIBS])AC_CACHE_CHECK([for library containing $1], [ac_cv_search_$1],
  2897. [ac_func_search_save_LIBS=$LIBS
  2898. ac_cv_search_$1=no
  2899. AC_TRY_LINK_FUNC([$1], [ac_cv_search_$1="none required"])
  2900. if test "$ac_cv_search_$1" = no; then
  2901. for ac_lib in $2; do
  2902. LIBS="-l$ac_lib $5 $ac_func_search_save_LIBS"
  2903. AC_TRY_LINK_FUNC([$1],
  2904. [ac_cv_search_$1="-l$ac_lib"
  2905. break])
  2906. done
  2907. fi
  2908. LIBS=$ac_func_search_save_LIBS])
  2909. AS_IF([test "$ac_cv_search_$1" != no],
  2910. [test "$ac_cv_search_$1" = "none required" || LIBS="$ac_cv_search_$1 $LIBS"
  2911. $3],
  2912. [$4])dnl
  2913. []AC_PROVIDE([AC_SEARCH_LIBS])[]_m4_defun_epi([AC_SEARCH_LIBS])
  2914. T6,654
  2915. AC_USG_m4_defun_pro([AC_USG])AC_DIAGNOSE([obsolete], [The macro `AC_USG' is obsolete.
  2916. You should run autoupdate.])dnl
  2917. AC_DIAGNOSE([obsolete],
  2918. [$0: Remove `AC_MSG_CHECKING', `AC_TRY_LINK' and this `AC_WARNING'
  2919. when you ajust your code to use HAVE_STRING_H.])dnl
  2920. AC_MSG_CHECKING([for BSD string and memory functions])
  2921. AC_TRY_LINK([@%:@include <strings.h>], [rindex(0, 0); bzero(0, 0);],
  2922. [AC_MSG_RESULT(yes)],
  2923. [AC_MSG_RESULT(no)
  2924. AC_DEFINE(USG, 1,
  2925. [Define if you do not have <strings.h>, index, bzero, etc...
  2926. This symbol is obsolete, you should not depend upon it.])])
  2927. AC_CHECK_HEADERS(string.h)[]AC_PROVIDE([AC_USG])[]_m4_defun_epi([AC_USG])
  2928. T26,19
  2929. m4_location(AC_FUNC_VFORK)acfunctions.m4:1581
  2930. T30,17
  2931. m4_location(AC_CONFIG_HEADERS)acgeneral.m4:3291
  2932. T29,17
  2933. m4_location(AC_CONFIG_HEADER)acgeneral.m4:3304
  2934. T28,17
  2935. m4_location(AC_PROG_INSTALL)acspecific.m4:264
  2936. T14,885
  2937. _AC_CACHE_DUMP# The following way of writing the cache mishandles newlines in values,
  2938. # but we know of no workaround that is simple, portable, and efficient.
  2939. # So, don't put newlines in cache variables' values.
  2940. # Ultrix sh set writes to stderr and can't be redirected directly,
  2941. # and sets the high bit in the cache file unless we assign to the vars.
  2942. {
  2943. (set) 2>&1 |
  2944. case `(ac_space=' '; set | grep ac_space) 2>&1` in
  2945. *ac_space=\ *)
  2946. # `set' does not quote correctly, so add quotes (double-quote
  2947. # substitution turns \\\\ into \\, and sed turns \\ into \).
  2948. sed -n \
  2949. ["s/'/'\\\\''/g;
  2950. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"]
  2951. ;;
  2952. *)
  2953. # `set' quotes correctly as required by POSIX, so do not add quotes.
  2954. sed -n \
  2955. ["s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"]
  2956. ;;
  2957. esac;
  2958. }dnl
  2959. T17,524
  2960. AC_PREFIX_PROGRAM_m4_defun_pro([AC_PREFIX_PROGRAM])dnl Get an upper case version of $[1].
  2961. m4_pushdef([AC_Prog], m4_toupper([$1]))dnl
  2962. if test "x$prefix" = xNONE; then
  2963. dnl We reimplement AC_MSG_CHECKING (mostly) to avoid the ... in the middle.
  2964. echo $ECHO_N "checking for prefix by $ECHO_C" >&AS_MESSAGE_FD
  2965. AC_PATH_PROG(m4_quote(AC_Prog), [$1])
  2966. if test -n "$ac_cv_path_[]AC_Prog"; then
  2967. prefix=`AS_DIRNAME(["$ac_cv_path_[]AC_Prog"])`
  2968. fi
  2969. fi
  2970. m4_popdef([AC_Prog])dnl
  2971. []AC_PROVIDE([AC_PREFIX_PROGRAM])[]_m4_defun_epi([AC_PREFIX_PROGRAM])
  2972. T32,17
  2973. m4_location(AC_DECL_SYS_SIGLIST)acspecific.m4:313
  2974. T11,126
  2975. AC_PROG_AWK_m4_defun_pro([AC_PROG_AWK])AC_CHECK_PROGS(AWK, mawk gawk nawk awk, )[]AC_PROVIDE([AC_PROG_AWK])[]_m4_defun_epi([AC_PROG_AWK])
  2976. T31,11
  2977. m4_location(_AS_TR_CPP_PREPARE)m4sh.m4:589
  2978. T23,553
  2979. _AS_BROKEN_TEST_PREPARE_m4_defun_pro([_AS_BROKEN_TEST_PREPARE])# Find out how to test for executable files. Don't use a zero-byte file,
  2980. # as systems may use methods other than mode bits to determine executability.
  2981. cat >conf$$.file <<_ASEOF
  2982. @%:@! /bin/sh
  2983. exit 0
  2984. _ASEOF
  2985. chmod +x conf$$.file
  2986. if test -x conf$$.file >/dev/null 2>&1; then
  2987. as_executable_p="test -x"
  2988. elif test -f conf$$.file >/dev/null 2>&1; then
  2989. as_executable_p="test -f"
  2990. else
  2991. AS_ERROR([cannot check whether a file is executable on this system])
  2992. fi
  2993. rm -f conf$$.file
  2994. []_m4_defun_epi([_AS_BROKEN_TEST_PREPARE])
  2995. T17,155
  2996. AC_COMPILE_IFELSE_m4_defun_pro([AC_COMPILE_IFELSE])AC_LANG_COMPILER_REQUIRE()dnl
  2997. _AC_COMPILE_IFELSE($@)[]AC_PROVIDE([AC_COMPILE_IFELSE])[]_m4_defun_epi([AC_COMPILE_IFELSE])
  2998. T9,189
  2999. AC_ALLOCA_m4_defun_pro([AC_ALLOCA])AC_DIAGNOSE([obsolete], [The macro `AC_ALLOCA' is obsolete.
  3000. You should run autoupdate.])dnl
  3001. AC_FUNC_ALLOCA($@)[]AC_PROVIDE([AC_ALLOCA])[]_m4_defun_epi([AC_ALLOCA])
  3002. T30,16
  3003. m4_location(AC_PROGRAMS_CHECK)acoldnames.m4:33
  3004. T22,13
  3005. m4_location(AC_LANG_C)aclang.m4:212
  3006. T17,189
  3007. _AS_UNSET_PREPARE_m4_defun_pro([_AS_UNSET_PREPARE])# Support unset when possible.
  3008. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  3009. as_unset=unset
  3010. else
  3011. as_unset=false
  3012. fi
  3013. []_m4_defun_epi([_AS_UNSET_PREPARE])
  3014. T10,175
  3015. AC_C_CROSS_m4_defun_pro([AC_C_CROSS])AC_DIAGNOSE([obsolete], [The macro `AC_C_CROSS' is obsolete.
  3016. You should run autoupdate.])dnl
  3017. []AC_PROVIDE([AC_C_CROSS])[]_m4_defun_epi([AC_C_CROSS])
  3018. T31,17
  3019. m4_location(_AC_LINK_FILES_CNT)acgeneral.m4:3370
  3020. T19,91
  3021. _AC_COMPUTE_INT_RUNAC_RUN_IFELSE([AC_LANG_INT_SAVE([$3], [$1])],
  3022. [$2=`cat conftest.val`], [$4])
  3023. F9,6
  3024. m4_definedefine
  3025. T17,221
  3026. AC_YYTEXT_POINTER_m4_defun_pro([AC_YYTEXT_POINTER])AC_DIAGNOSE([obsolete], [The macro `AC_YYTEXT_POINTER' is obsolete.
  3027. You should run autoupdate.])dnl
  3028. AC_DECL_YYTEXT($@)[]AC_PROVIDE([AC_YYTEXT_POINTER])[]_m4_defun_epi([AC_YYTEXT_POINTER])
  3029. T28,18
  3030. m4_location(AC_FUNC_GETPGRP)acfunctions.m4:671
  3031. T18,274
  3032. _AC_INIT_COPYRIGHTAC_COPYRIGHT(
  3033. [Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  3034. Free Software Foundation, Inc.
  3035. This configure script is free software; the Free Software Foundation
  3036. gives unlimited permission to copy, distribute and modify it.],
  3037. [VERSION_FSF])dnl
  3038. F6,6
  3039. sysvalsysval
  3040. T26,18
  3041. m4_location(AC_FUNC_CHECK)acfunctions.m4:102
  3042. F11,8
  3043. m4_translittranslit
  3044. T26,19
  3045. m4_location(AC_FUNC_WAIT3)acfunctions.m4:1661
  3046. T9,65
  3047. m4_ifvalnm4_if([$1],
  3048. [], [m4_n([$3])],
  3049. [m4_n([$2])])
  3050. T29,1105
  3051. _AC_PROG_PREPROC_WORKS_IFELSE_m4_defun_pro([_AC_PROG_PREPROC_WORKS_IFELSE])ac_preproc_ok=false
  3052. for ac_[]_AC_LANG_ABBREV[]_preproc_warn_flag in '' yes
  3053. do
  3054. # Use a header file that comes with gcc, so configuring glibc
  3055. # with a fresh cross-compiler works.
  3056. # On the NeXT, cc -E runs the code through the compiler's parser,
  3057. # not just through cpp. "Syntax error" is here to catch this case.
  3058. _AC_PREPROC_IFELSE([AC_LANG_SOURCE([[@%:@include <assert.h>
  3059. Syntax error]])],
  3060. [],
  3061. [# Broken: fails on valid input.
  3062. continue])
  3063. # OK, works on sane cases. Now check whether non-existent headers
  3064. # can be detected and how.
  3065. _AC_PREPROC_IFELSE([AC_LANG_SOURCE([[@%:@include <ac_nonexistent.h>]])],
  3066. [# Broken: success on invalid input.
  3067. continue],
  3068. [# Passes both tests.
  3069. ac_preproc_ok=:
  3070. break])
  3071. done
  3072. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3073. rm -f conftest.err conftest.$ac_ext
  3074. AS_IF([$ac_preproc_ok], [$1], [$2])[]AC_PROVIDE([_AC_PROG_PREPROC_WORKS_IFELSE])[]_m4_defun_epi([_AC_PROG_PREPROC_WORKS_IFELSE])
  3075. T8,95
  3076. undefinem4_ifndef([$1],
  3077. [m4_fatal([$0: undefined macro: $1])])dnl
  3078. m4_builtin([undefine], $@)
  3079. T24,16
  3080. m4_location(AC_TEST_CPP)acoldnames.m4:39
  3081. T23,2
  3082. _m4_divert(VERSION_FSF)21
  3083. T8,70
  3084. AC_SUBSTm4_ifvaln([$2], [$1=$2])[]dnl
  3085. _AC_SUBST([$1], [s,@$1@,[$]$1,;t t])dnl
  3086. T12,326
  3087. AC_ARG_ARRAY_m4_defun_pro([AC_ARG_ARRAY])AC_DIAGNOSE([obsolete], [The macro `AC_ARG_ARRAY' is obsolete.
  3088. You should run autoupdate.])dnl
  3089. AC_DIAGNOSE([obsolete],
  3090. [$0: no longer implemented: don't do unportable things
  3091. with arguments. Remove this warning when you adjust your code.])[]AC_PROVIDE([AC_ARG_ARRAY])[]_m4_defun_epi([AC_ARG_ARRAY])
  3092. T27,17
  3093. m4_location(AC_TRY_COMMAND)acgeneral.m4:2175
  3094. T31,14
  3095. m4_location(AC_C_CHAR_UNSIGNED)aclang.m4:1503
  3096. T8,560
  3097. AC_MINIX_m4_defun_pro([AC_MINIX])AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
  3098. AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
  3099. AC_CHECK_HEADER(minix/config.h, MINIX=yes, MINIX=)
  3100. if test "$MINIX" = yes; then
  3101. AC_DEFINE(_POSIX_SOURCE, 1,
  3102. [Define if you need to in order for `stat' and other things to
  3103. work.])
  3104. AC_DEFINE(_POSIX_1_SOURCE, 2,
  3105. [Define if the system does not provide POSIX.1 features except
  3106. with this defined.])
  3107. AC_DEFINE(_MINIX, 1,
  3108. [Define if on MINIX.])
  3109. fi
  3110. []AC_PROVIDE([AC_MINIX])[]_m4_defun_epi([AC_MINIX])
  3111. T12,24
  3112. m4_rename_m4m4_rename([$1], [m4_$1])
  3113. T15,211
  3114. AC_PROGRAM_PATH_m4_defun_pro([AC_PROGRAM_PATH])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAM_PATH' is obsolete.
  3115. You should run autoupdate.])dnl
  3116. AC_PATH_PROG($@)[]AC_PROVIDE([AC_PROGRAM_PATH])[]_m4_defun_epi([AC_PROGRAM_PATH])
  3117. T13,296
  3118. _m4_defun_prom4_expansion_stack_push(m4_defn([m4_location($1)])[: $1 is expanded from...])dnl
  3119. m4_pushdef([_m4_expanding($1)])dnl
  3120. m4_ifdef([_m4_divert_dump],
  3121. [m4_divert_push(m4_defn([_m4_divert_diversion]))],
  3122. [m4_copy([_m4_divert_diversion], [_m4_divert_dump])dnl
  3123. m4_divert_push([GROW])])dnl
  3124. T8,26
  3125. AU_ALIASAU_DEFUN([$1], [$2($][@)])
  3126. F7,4
  3127. m4_decrdecr
  3128. F10,7
  3129. m4_pushdefpushdef
  3130. T31,19
  3131. m4_location(AC_FUNC_STRERROR_R)acfunctions.m4:1310
  3132. T21,16
  3133. m4_location(AC_ERROR)acoldnames.m4:28
  3134. T16,123
  3135. AC_CONFIG_HEADER_m4_defun_pro([AC_CONFIG_HEADER])AC_CONFIG_HEADERS([$1])[]AC_PROVIDE([AC_CONFIG_HEADER])[]_m4_defun_epi([AC_CONFIG_HEADER])
  3136. F9,6
  3137. m4_divnumdivnum
  3138. T29,17
  3139. m4_location(AC_REPLACE_FUNCS)acfunctions.m4:97
  3140. T29,16
  3141. m4_location(AC_PROGRAMS_PATH)acoldnames.m4:34
  3142. T23,19
  3143. m4_location(AC_STRCOLL)acfunctions.m4:1378
  3144. T26,17
  3145. m4_location(AC_LINK_FILES)acgeneral.m4:3366
  3146. T14,53
  3147. m4_cr_symbols1abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_
  3148. T20,17
  3149. m4_location(AC_WITH)acgeneral.m4:1481
  3150. T33,14
  3151. m4_location(AC_LANG_PREPROC(C++))aclang.m4:1092
  3152. T14,63
  3153. m4_cr_symbols2abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789
  3154. T18,225
  3155. AC_MINUS_C_MINUS_O_m4_defun_pro([AC_MINUS_C_MINUS_O])AC_DIAGNOSE([obsolete], [The macro `AC_MINUS_C_MINUS_O' is obsolete.
  3156. You should run autoupdate.])dnl
  3157. AC_PROG_CC_C_O($@)[]AC_PROVIDE([AC_MINUS_C_MINUS_O])[]_m4_defun_epi([AC_MINUS_C_MINUS_O])
  3158. T9,219
  3159. AC_ENABLE_m4_defun_pro([AC_ENABLE])AC_DIAGNOSE([obsolete], [The macro `AC_ENABLE' is obsolete.
  3160. You should run autoupdate.])dnl
  3161. AC_ARG_ENABLE([$1], [ --enable-$1], [$2], [$3])[]AC_PROVIDE([AC_ENABLE])[]_m4_defun_epi([AC_ENABLE])
  3162. T15,800
  3163. AC_CHECK_MEMBER_m4_defun_pro([AC_CHECK_MEMBER])AS_LITERAL_IF([$1], [],
  3164. [AC_FATAL([$0: requires literal arguments])])dnl
  3165. m4_if(m4_regexp([$1], [\.]), -1,
  3166. [AC_FATAL([$0: Did not see any dot in `$1'])])dnl
  3167. AS_VAR_PUSHDEF([ac_Member], [ac_cv_member_$1])dnl
  3168. dnl Extract the aggregate name, and the member name
  3169. AC_CACHE_CHECK([for $1], ac_Member,
  3170. [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$4])],
  3171. [dnl AGGREGATE ac_aggr;
  3172. static m4_patsubst([$1], [\..*]) ac_aggr;
  3173. dnl ac_aggr.MEMBER;
  3174. if (ac_aggr.m4_patsubst([$1], [^[^.]*\.]))
  3175. return 0;])],
  3176. [AS_VAR_SET(ac_Member, yes)],
  3177. [AS_VAR_SET(ac_Member, no)])])
  3178. AS_IF([test AS_VAR_GET(ac_Member) = yes], [$2], [$3])dnl
  3179. AS_VAR_POPDEF([ac_Member])dnl
  3180. []AC_PROVIDE([AC_CHECK_MEMBER])[]_m4_defun_epi([AC_CHECK_MEMBER])
  3181. T25,19
  3182. m4_location(AC_FUNC_FORK)acfunctions.m4:1451
  3183. T15,214
  3184. fp_FUNC_FNMATCH_m4_defun_pro([fp_FUNC_FNMATCH])AC_DIAGNOSE([obsolete], [The macro `fp_FUNC_FNMATCH' is obsolete.
  3185. You should run autoupdate.])dnl
  3186. AC_FUNC_FNMATCH($@)[]AC_PROVIDE([fp_FUNC_FNMATCH])[]_m4_defun_epi([fp_FUNC_FNMATCH])
  3187. T31,13
  3188. m4_location(AC_LANG_PREPROC(C))aclang.m4:838
  3189. T6,86
  3190. AH_TOPm4_define([_AH_COUNTER], m4_incr(_AH_COUNTER))dnl
  3191. AH_VERBATIM([0000]_AH_COUNTER, [$1])
  3192. T13,415
  3193. AC_RUN_IFELSE_m4_defun_pro([AC_RUN_IFELSE])AC_LANG_COMPILER_REQUIRE()dnl
  3194. m4_ifval([$4], [],
  3195. [AC_DIAGNOSE([cross],
  3196. [$0 called without default to allow cross compiling])])dnl
  3197. if test "$cross_compiling" = yes; then
  3198. m4_default([$4],
  3199. [AC_MSG_ERROR([cannot run test program while cross compiling])])
  3200. else
  3201. _AC_RUN_IFELSE($@)
  3202. fi[]AC_PROVIDE([AC_RUN_IFELSE])[]_m4_defun_epi([AC_RUN_IFELSE])
  3203. T27,14
  3204. m4_location(AC_INT_16_BITS)actypes.m4:383
  3205. T8,138
  3206. AU_DEFUNAU_DEFINE([$1],
  3207. [AC_DIAGNOSE([obsolete], [The macro `$1' is obsolete.
  3208. You should run autoupdate.])dnl
  3209. $2],
  3210. [$3])dnl
  3211. T13,60
  3212. AS_LITERAL_IFm4_if(m4_regexp([$1], [[`$]]),
  3213. -1, [$2],
  3214. [$3])
  3215. T13,211
  3216. AC_ST_BLKSIZE_m4_defun_pro([AC_ST_BLKSIZE])AC_DIAGNOSE([obsolete], [The macro `AC_ST_BLKSIZE' is obsolete.
  3217. You should run autoupdate.])dnl
  3218. AC_STRUCT_ST_BLKSIZE($@)[]AC_PROVIDE([AC_ST_BLKSIZE])[]_m4_defun_epi([AC_ST_BLKSIZE])
  3219. T13,539
  3220. AC_CHECK_FILE_m4_defun_pro([AC_CHECK_FILE])AC_DIAGNOSE([cross],
  3221. [cannot check for file existence when cross compiling])dnl
  3222. AS_VAR_PUSHDEF([ac_File], [ac_cv_file_$1])dnl
  3223. AC_CACHE_CHECK([for $1], ac_File,
  3224. [test "$cross_compiling" = yes &&
  3225. AC_MSG_ERROR([cannot check for file existence when cross compiling])
  3226. if test -r "$1"; then
  3227. AS_VAR_SET(ac_File, yes)
  3228. else
  3229. AS_VAR_SET(ac_File, no)
  3230. fi])
  3231. AS_IF([test AS_VAR_GET(ac_File) = yes], [$2], [$3])[]dnl
  3232. AS_VAR_POPDEF([ac_File])dnl
  3233. []AC_PROVIDE([AC_CHECK_FILE])[]_m4_defun_epi([AC_CHECK_FILE])
  3234. T27,14
  3235. m4_location(_AC_PROG_F77_V)aclang.m4:1807
  3236. T13,26
  3237. m4_cr_lettersabcdefghijklmnopqrstuvwxyz
  3238. T23,250
  3239. AC_SYS_SIGLIST_DECLARED_m4_defun_pro([AC_SYS_SIGLIST_DECLARED])AC_DIAGNOSE([obsolete], [The macro `AC_SYS_SIGLIST_DECLARED' is obsolete.
  3240. You should run autoupdate.])dnl
  3241. AC_DECL_SYS_SIGLIST($@)[]AC_PROVIDE([AC_SYS_SIGLIST_DECLARED])[]_m4_defun_epi([AC_SYS_SIGLIST_DECLARED])
  3242. T10,252
  3243. AC_LANG(C)ac_ext=c
  3244. ac_cpp='$CPP $CPPFLAGS'
  3245. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&AS_MESSAGE_LOG_FD'
  3246. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
  3247. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3248. T19,683
  3249. AC_DECL_SYS_SIGLIST_m4_defun_pro([AC_DECL_SYS_SIGLIST])AC_CACHE_CHECK([for sys_siglist declaration in signal.h or unistd.h],
  3250. ac_cv_decl_sys_siglist,
  3251. [AC_COMPILE_IFELSE(
  3252. [AC_LANG_PROGRAM([#include <sys/types.h>
  3253. #include <signal.h>
  3254. /* NetBSD declares sys_siglist in unistd.h. */
  3255. #if HAVE_UNISTD_H
  3256. # include <unistd.h>
  3257. #endif
  3258. ], [char *msg = *(sys_siglist + 1);])],
  3259. [ac_cv_decl_sys_siglist=yes],
  3260. [ac_cv_decl_sys_siglist=no])])
  3261. if test $ac_cv_decl_sys_siglist = yes; then
  3262. AC_DEFINE(SYS_SIGLIST_DECLARED, 1,
  3263. [Define if `sys_siglist' is declared by <signal.h> or <unistd.h>.])
  3264. fi
  3265. []AC_PROVIDE([AC_DECL_SYS_SIGLIST])[]_m4_defun_epi([AC_DECL_SYS_SIGLIST])
  3266. T14,44
  3267. m4_divert_oncem4_expand_once([m4_divert_text([$1], [$2])])
  3268. T12,4770
  3269. AC_PATH_XTRA_m4_defun_pro([AC_PATH_XTRA])AC_REQUIRE([AC_PATH_X])dnl
  3270. if test "$no_x" = yes; then
  3271. # Not all programs may use this symbol, but it does not hurt to define it.
  3272. AC_DEFINE([X_DISPLAY_MISSING], 1,
  3273. [Define if the X Window System is missing or not being used.])
  3274. X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
  3275. else
  3276. if test -n "$x_includes"; then
  3277. X_CFLAGS="$X_CFLAGS -I$x_includes"
  3278. fi
  3279. # It would also be nice to do this for all -L options, not just this one.
  3280. if test -n "$x_libraries"; then
  3281. X_LIBS="$X_LIBS -L$x_libraries"
  3282. dnl FIXME: banish uname from this macro!
  3283. # For Solaris; some versions of Sun CC require a space after -R and
  3284. # others require no space. Words are not sufficient . . . .
  3285. case `(uname -sr) 2>/dev/null` in
  3286. "SunOS 5"*)
  3287. AC_MSG_CHECKING([whether -R must be followed by a space])
  3288. ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
  3289. AC_LINK_IFELSE([AC_LANG_PROGRAM()], ac_R_nospace=yes, ac_R_nospace=no)
  3290. if test $ac_R_nospace = yes; then
  3291. AC_MSG_RESULT([no])
  3292. X_LIBS="$X_LIBS -R$x_libraries"
  3293. else
  3294. LIBS="$ac_xsave_LIBS -R $x_libraries"
  3295. AC_LINK_IFELSE([AC_LANG_PROGRAM()], ac_R_space=yes, ac_R_space=no)
  3296. if test $ac_R_space = yes; then
  3297. AC_MSG_RESULT([yes])
  3298. X_LIBS="$X_LIBS -R $x_libraries"
  3299. else
  3300. AC_MSG_RESULT([neither works])
  3301. fi
  3302. fi
  3303. LIBS=$ac_xsave_LIBS
  3304. esac
  3305. fi
  3306. # Check for system-dependent libraries X programs must link with.
  3307. # Do this before checking for the system-independent R6 libraries
  3308. # (-lICE), since we may need -lsocket or whatever for X linking.
  3309. if test "$ISC" = yes; then
  3310. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
  3311. else
  3312. # Martyn Johnson says this is needed for Ultrix, if the X
  3313. # libraries were built with DECnet support. And Karl Berry says
  3314. # the Alpha needs dnet_stub (dnet does not exist).
  3315. ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
  3316. AC_TRY_LINK_FUNC(XOpenDisplay, ,
  3317. [AC_CHECK_LIB(dnet, dnet_ntoa, [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
  3318. if test $ac_cv_lib_dnet_dnet_ntoa = no; then
  3319. AC_CHECK_LIB(dnet_stub, dnet_ntoa,
  3320. [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
  3321. fi])
  3322. LIBS="$ac_xsave_LIBS"
  3323. # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
  3324. # to get the SysV transport functions.
  3325. # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
  3326. # needs -lnsl.
  3327. # The nsl library prevents programs from opening the X display
  3328. # on Irix 5.2, according to T.E. Dickey.
  3329. # The functions gethostbyname, getservbyname, and inet_addr are
  3330. # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
  3331. AC_CHECK_FUNC(gethostbyname)
  3332. if test $ac_cv_func_gethostbyname = no; then
  3333. AC_CHECK_LIB(nsl, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl")
  3334. if test $ac_cv_lib_nsl_gethostbyname = no; then
  3335. AC_CHECK_LIB(bsd, gethostbyname, X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd")
  3336. fi
  3337. fi
  3338. # lieder@skyler.mavd.honeywell.com says without -lsocket,
  3339. # socket/setsockopt and other routines are undefined under SCO ODT
  3340. # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
  3341. # on later versions), says Simon Leinen: it contains gethostby*
  3342. # variants that don't use the nameserver (or something). -lsocket
  3343. # must be given before -lnsl if both are needed. We assume that
  3344. # if connect needs -lnsl, so does gethostbyname.
  3345. AC_CHECK_FUNC(connect)
  3346. if test $ac_cv_func_connect = no; then
  3347. AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", ,
  3348. $X_EXTRA_LIBS)
  3349. fi
  3350. # Guillermo Gomez says -lposix is necessary on A/UX.
  3351. AC_CHECK_FUNC(remove)
  3352. if test $ac_cv_func_remove = no; then
  3353. AC_CHECK_LIB(posix, remove, X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix")
  3354. fi
  3355. # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
  3356. AC_CHECK_FUNC(shmat)
  3357. if test $ac_cv_func_shmat = no; then
  3358. AC_CHECK_LIB(ipc, shmat, X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc")
  3359. fi
  3360. fi
  3361. # Check for libraries that X11R6 Xt/Xaw programs need.
  3362. ac_save_LDFLAGS=$LDFLAGS
  3363. test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
  3364. # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
  3365. # check for ICE first), but we must link in the order -lSM -lICE or
  3366. # we get undefined symbols. So assume we have SM if we have ICE.
  3367. # These have to be linked with before -lX11, unlike the other
  3368. # libraries we check for below, so use a different variable.
  3369. # John Interrante, Karl Berry
  3370. AC_CHECK_LIB(ICE, IceConnectionNumber,
  3371. [X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"], , $X_EXTRA_LIBS)
  3372. LDFLAGS=$ac_save_LDFLAGS
  3373. fi
  3374. AC_SUBST(X_CFLAGS)dnl
  3375. AC_SUBST(X_PRE_LIBS)dnl
  3376. AC_SUBST(X_LIBS)dnl
  3377. AC_SUBST(X_EXTRA_LIBS)dnl
  3378. []AC_PROVIDE([AC_PATH_XTRA])[]_m4_defun_epi([AC_PATH_XTRA])
  3379. T23,0
  3380. AC_OUTPUT_COMMANDS_POST
  3381. T15,365
  3382. AC_C_PROTOTYPES_m4_defun_pro([AC_C_PROTOTYPES])AC_REQUIRE([AC_PROG_CC_STDC])dnl
  3383. AC_MSG_CHECKING([for function prototypes])
  3384. if test "$ac_cv_prog_cc_stdc" != no; then
  3385. AC_MSG_RESULT([yes])
  3386. AC_DEFINE(PROTOTYPES, 1,
  3387. [Define if the C compiler supports function prototypes.])
  3388. else
  3389. AC_MSG_RESULT([no])
  3390. fi
  3391. []AC_PROVIDE([AC_C_PROTOTYPES])[]_m4_defun_epi([AC_C_PROTOTYPES])
  3392. T22,17
  3393. m4_location(AC_CYGWIN)acspecific.m4:907
  3394. T13,45
  3395. AC_SUBST_FILE_AC_SUBST([$1], [/@$1@/r [$]$1
  3396. s,@$1@,,;t t])
  3397. T17,215
  3398. AC_LANG_CPLUSPLUS_m4_defun_pro([AC_LANG_CPLUSPLUS])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_CPLUSPLUS' is obsolete.
  3399. You should run autoupdate.])dnl
  3400. AC_LANG(C++)[]AC_PROVIDE([AC_LANG_CPLUSPLUS])[]_m4_defun_epi([AC_LANG_CPLUSPLUS])
  3401. T24,11
  3402. m4_location(AS_BASENAME)m4sh.m4:304
  3403. T27,17
  3404. m4_location(AC_TRY_COMPILE)acgeneral.m4:2740
  3405. T31,16
  3406. m4_location(AC_LONG_FILE_NAMES)acoldnames.m4:58
  3407. T9,90
  3408. m4_beforem4_provide_ifelse([$2],
  3409. [m4_warn([syntax], [$2 was called before $1])])
  3410. T30,10
  3411. m4_location(AS_SHELL_SANITIZE)m4sh.m4:97
  3412. T25,17
  3413. m4_location(AC_EGREP_CPP)acgeneral.m4:2690
  3414. T7,91
  3415. m4_defnm4_ifndef([$1],
  3416. [m4_fatal([$0: undefined macro: $1])])dnl
  3417. m4_builtin([defn], $@)
  3418. T21,353
  3419. _AC_LANG_COMPILER_GNUAC_CACHE_CHECK([whether we are using the GNU _AC_LANG compiler],
  3420. [ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu],
  3421. [_AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[#ifndef __GNUC__
  3422. choke me
  3423. #endif
  3424. ]])],
  3425. [ac_compiler_gnu=yes],
  3426. [ac_compiler_gnu=no])
  3427. ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu=$ac_compiler_gnu
  3428. ])
  3429. T24,0
  3430. m4_include(acgeneral.m4)
  3431. T7,317
  3432. AC_INITAC_PLAIN_SCRIPT
  3433. m4_ifval([$2], [_AC_INIT_PACKAGE($@)])
  3434. m4_divert_text([BINSH], [@%:@! /bin/sh])
  3435. _AC_INIT_DEFAULTS
  3436. _AC_INIT_PARSE_ARGS
  3437. _AC_INIT_SRCDIR
  3438. _AC_INIT_HELP
  3439. _AC_INIT_VERSION
  3440. _AC_INIT_CONFIG_LOG
  3441. _AC_INIT_PREPARE
  3442. _AC_INIT_NOTICE
  3443. _AC_INIT_COPYRIGHT
  3444. m4_ifval([$2], , [m4_ifval([$1], [AC_CONFIG_SRCDIR([$1])])])dnl
  3445. T13,529
  3446. AC_ARG_ENABLE_m4_defun_pro([AC_ARG_ENABLE])m4_divert_once([HELP_ENABLE], [[
  3447. Optional Features:
  3448. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  3449. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]]])dnl
  3450. m4_divert_once([HELP_ENABLE], [$2])dnl
  3451. # Check whether --enable-$1 or --disable-$1 was given.
  3452. if test "[${enable_]m4_patsubst([$1], -, _)+set}" = set; then
  3453. enableval="[$enable_]m4_patsubst([$1], -, _)"
  3454. $3
  3455. m4_ifvaln([$4], [else
  3456. $4])dnl
  3457. fi; dnl
  3458. []AC_PROVIDE([AC_ARG_ENABLE])[]_m4_defun_epi([AC_ARG_ENABLE])
  3459. T30,11
  3460. m4_location(_AS_TR_SH_PREPARE)m4sh.m4:567
  3461. T22,16
  3462. m4_location(AC_PREREQ)acgeneral.m4:509
  3463. T25,17
  3464. m4_location(AC_PATH_PROG)acgeneral.m4:2388
  3465. T31,17
  3466. m4_location(AC_OUTPUT_COMMANDS)acgeneral.m4:3238
  3467. T15,409
  3468. _AC_LINK_IFELSEm4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
  3469. rm -f conftest.$ac_objext conftest$ac_exeext
  3470. AS_IF([AC_TRY_EVAL(ac_link) &&
  3471. AC_TRY_COMMAND([test -s conftest$ac_exeext])],
  3472. [$2],
  3473. [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
  3474. cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
  3475. m4_ifvaln([$3], [$3])dnl])[]dnl
  3476. rm -f conftest.$ac_objext conftest$ac_exeext m4_ifval([$1], [conftest.$ac_ext])[]dnl
  3477. T11,55
  3478. m4_sincludem4_include_unique([$1])dnl
  3479. m4_builtin([sinclude], [$1])
  3480. T34,14
  3481. m4_location(_AC_F77_NAME_MANGLING)aclang.m4:2117
  3482. T23,14
  3483. m4_location(AC_C_CROSS)aclang.m4:1485
  3484. T26,705
  3485. AC_LANG_FUNC_LINK_TRY(C++)AC_LANG_PROGRAM(
  3486. [/* System header to define __stub macros and hopefully few prototypes,
  3487. which can conflict with char $1 (); below. */
  3488. #include <assert.h>
  3489. /* Override any gcc2 internal prototype to avoid an error. */
  3490. #ifdef __cplusplus
  3491. extern "C"
  3492. #endif
  3493. /* We use char because int might match the return type of a gcc2
  3494. builtin and then its argument prototype would still apply. */
  3495. char $1 ();
  3496. char (*f) ();
  3497. ],
  3498. [/* The GNU C library defines this for functions which it implements
  3499. to always fail with ENOSYS. Some functions are actually named
  3500. something starting with __ and the normal name is an alias. */
  3501. #if defined (__stub_$1) || defined (__stub___$1)
  3502. choke me
  3503. #else
  3504. f = $1;
  3505. #endif
  3506. ])
  3507. T9,181
  3508. AC_LANG_C_m4_defun_pro([AC_LANG_C])AC_DIAGNOSE([obsolete], [The macro `AC_LANG_C' is obsolete.
  3509. You should run autoupdate.])dnl
  3510. AC_LANG(C)[]AC_PROVIDE([AC_LANG_C])[]_m4_defun_epi([AC_LANG_C])
  3511. T14,548
  3512. AC_INT_16_BITS_m4_defun_pro([AC_INT_16_BITS])AC_DIAGNOSE([obsolete], [The macro `AC_INT_16_BITS' is obsolete.
  3513. You should run autoupdate.])dnl
  3514. AC_CHECK_SIZEOF([int])
  3515. AC_DIAGNOSE([obsolete], [$0:
  3516. your code should no longer depend upon `INT_16_BITS', but upon
  3517. `SIZEOF_INT'. Remove this warning and the `AC_DEFINE' when you
  3518. adjust the code.])dnl
  3519. test $ac_cv_sizeof_int = 2 &&
  3520. AC_DEFINE(INT_16_BITS, 1,
  3521. [Define if `sizeof (int)' = 2. Obsolete, use `SIZEOF_INT'.])
  3522. []AC_PROVIDE([AC_INT_16_BITS])[]_m4_defun_epi([AC_INT_16_BITS])
  3523. T23,17
  3524. m4_location(AC_RUN_LOG)acgeneral.m4:2182
  3525. T12,647
  3526. AC_ISC_POSIX_m4_defun_pro([AC_ISC_POSIX])AC_REQUIRE([AC_PROG_CC])dnl
  3527. AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
  3528. AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
  3529. AC_MSG_CHECKING([for POSIXized ISC])
  3530. if test -d /etc/conf/kconfig.d &&
  3531. grep _POSIX_VERSION [/usr/include/sys/unistd.h] >/dev/null 2>&1
  3532. then
  3533. AC_MSG_RESULT([yes])
  3534. ISC=yes # If later tests want to check for ISC.
  3535. AC_DEFINE(_POSIX_SOURCE, 1,
  3536. [Define if you need to in order for stat and other things to
  3537. work.])
  3538. if test "$GCC" = yes; then
  3539. CC="$CC -posix"
  3540. else
  3541. CC="$CC -Xp"
  3542. fi
  3543. else
  3544. AC_MSG_RESULT([no])
  3545. ISC=
  3546. fi
  3547. []AC_PROVIDE([AC_ISC_POSIX])[]_m4_defun_epi([AC_ISC_POSIX])
  3548. T15,476
  3549. AC_CONFIG_FILES_m4_defun_pro([AC_CONFIG_FILES])m4_divert_push([KILL])
  3550. _AC_CONFIG_UNIQUE([$1])
  3551. _AC_CONFIG_DEPENDENCIES([$1])
  3552. m4_append([AC_LIST_FILES], [ $1])
  3553. dnl Register the commands.
  3554. m4_ifval([$2], [AC_FOREACH([AC_File], [$1],
  3555. [m4_append([AC_LIST_FILES_COMMANDS],
  3556. [ ]m4_patsubst(AC_File, [:.*])[ ) $2 ;;
  3557. ])])])
  3558. _AC_CONFIG_COMMANDS_INIT([$3])
  3559. m4_divert_pop([KILL])dnl
  3560. ac_config_files="$ac_config_files m4_normalize([$1])"
  3561. []AC_PROVIDE([AC_CONFIG_FILES])[]_m4_defun_epi([AC_CONFIG_FILES])
  3562. T22,16
  3563. m4_location(AC_MODE_T)acoldnames.m4:61
  3564. T16,216
  3565. AC_PROGRAM_CHECK_m4_defun_pro([AC_PROGRAM_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAM_CHECK' is obsolete.
  3566. You should run autoupdate.])dnl
  3567. AC_CHECK_PROG($@)[]AC_PROVIDE([AC_PROGRAM_CHECK])[]_m4_defun_epi([AC_PROGRAM_CHECK])
  3568. T18,647
  3569. AC_C_CHAR_UNSIGNED_m4_defun_pro([AC_C_CHAR_UNSIGNED])AH_VERBATIM([__CHAR_UNSIGNED__],
  3570. [/* Define if type `char' is unsigned and you are not using gcc. */
  3571. #ifndef __CHAR_UNSIGNED__
  3572. # undef __CHAR_UNSIGNED__
  3573. #endif])dnl
  3574. AC_CACHE_CHECK(whether char is unsigned, ac_cv_c_char_unsigned,
  3575. [AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([AC_INCLUDES_DEFAULT([])],
  3576. [((char) -1) < 0])],
  3577. ac_cv_c_char_unsigned=no, ac_cv_c_char_unsigned=yes)])
  3578. if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
  3579. AC_DEFINE(__CHAR_UNSIGNED__)
  3580. fi
  3581. []AC_PROVIDE([AC_C_CHAR_UNSIGNED])[]_m4_defun_epi([AC_C_CHAR_UNSIGNED])
  3582. T11,192
  3583. AC_CYGWIN32_m4_defun_pro([AC_CYGWIN32])AC_DIAGNOSE([obsolete], [The macro `AC_CYGWIN32' is obsolete.
  3584. You should run autoupdate.])dnl
  3585. AC_CYGWIN($@)[]AC_PROVIDE([AC_CYGWIN32])[]_m4_defun_epi([AC_CYGWIN32])
  3586. T17,489
  3587. AC_CONFIG_HEADERS_m4_defun_pro([AC_CONFIG_HEADERS])m4_divert_push([KILL])
  3588. _AC_CONFIG_UNIQUE([$1])
  3589. _AC_CONFIG_DEPENDENCIES([$1])
  3590. m4_append([AC_LIST_HEADERS], [ $1])
  3591. dnl Register the commands
  3592. m4_ifval([$2], [AC_FOREACH([AC_File], [$1],
  3593. [m4_append([AC_LIST_HEADERS_COMMANDS],
  3594. [ ]m4_patsubst(AC_File, [:.*])[ ) $2 ;;
  3595. ])])])
  3596. _AC_CONFIG_COMMANDS_INIT([$3])
  3597. m4_divert_pop([KILL])dnl
  3598. ac_config_headers="$ac_config_headers m4_normalize([$1])"
  3599. []AC_PROVIDE([AC_CONFIG_HEADERS])[]_m4_defun_epi([AC_CONFIG_HEADERS])
  3600. T14,584
  3601. _AC_PROG_CXX_Gac_test_CXXFLAGS=${CXXFLAGS+set}
  3602. ac_save_CXXFLAGS=$CXXFLAGS
  3603. CXXFLAGS="-g"
  3604. AC_CACHE_CHECK(whether $CXX accepts -g, ac_cv_prog_cxx_g,
  3605. [_AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
  3606. [ac_cv_prog_cxx_g=yes],
  3607. [ac_cv_prog_cxx_g=no])])
  3608. if test "$ac_test_CXXFLAGS" = set; then
  3609. CXXFLAGS=$ac_save_CXXFLAGS
  3610. elif test $ac_cv_prog_cxx_g = yes; then
  3611. if test "$GXX" = yes; then
  3612. CXXFLAGS="-g -O2"
  3613. else
  3614. CXXFLAGS="-g"
  3615. fi
  3616. else
  3617. if test "$GXX" = yes; then
  3618. CXXFLAGS="-O2"
  3619. else
  3620. CXXFLAGS=
  3621. fi
  3622. fi[]dnl
  3623. T10,189
  3624. AM_MINGW32_m4_defun_pro([AM_MINGW32])AC_DIAGNOSE([obsolete], [The macro `AM_MINGW32' is obsolete.
  3625. You should run autoupdate.])dnl
  3626. AC_MINGW32($@)[]AC_PROVIDE([AM_MINGW32])[]_m4_defun_epi([AM_MINGW32])
  3627. T14,666
  3628. AC_TYPE_SIGNAL_m4_defun_pro([AC_TYPE_SIGNAL])AC_CACHE_CHECK([return type of signal handlers], ac_cv_type_signal,
  3629. [AC_COMPILE_IFELSE(
  3630. [AC_LANG_PROGRAM([#include <sys/types.h>
  3631. #include <signal.h>
  3632. #ifdef signal
  3633. # undef signal
  3634. #endif
  3635. #ifdef __cplusplus
  3636. extern "C" void (*signal (int, void (*)(int)))(int);
  3637. #else
  3638. void (*signal ()) ();
  3639. #endif
  3640. ],
  3641. [int i;])],
  3642. [ac_cv_type_signal=void],
  3643. [ac_cv_type_signal=int])])
  3644. AC_DEFINE_UNQUOTED(RETSIGTYPE, $ac_cv_type_signal,
  3645. [Define as the return type of signal handlers
  3646. (`int' or `void').])
  3647. []AC_PROVIDE([AC_TYPE_SIGNAL])[]_m4_defun_epi([AC_TYPE_SIGNAL])
  3648. T11,199
  3649. AC_SET_MAKE_m4_defun_pro([AC_SET_MAKE])AC_DIAGNOSE([obsolete], [The macro `AC_SET_MAKE' is obsolete.
  3650. You should run autoupdate.])dnl
  3651. AC_PROG_MAKE_SET($@)[]AC_PROVIDE([AC_SET_MAKE])[]_m4_defun_epi([AC_SET_MAKE])
  3652. T16,305
  3653. AC_COMPILE_CHECK_m4_defun_pro([AC_COMPILE_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_COMPILE_CHECK' is obsolete.
  3654. You should run autoupdate.])dnl
  3655. m4_ifvaln([$1], [AC_CHECKING([for $1])])dnl
  3656. AC_LINK_IFELSE([AC_LANG_PROGRAM([[$2]], [[$3]])], [$4], [$5])
  3657. []AC_PROVIDE([AC_COMPILE_CHECK])[]_m4_defun_epi([AC_COMPILE_CHECK])
  3658. T15,637
  3659. AC_CHECK_SIZEOF_m4_defun_pro([AC_CHECK_SIZEOF])AS_LITERAL_IF([$1], [],
  3660. [AC_FATAL([$0: requires literal arguments])])dnl
  3661. AC_CHECK_TYPE([$1], [], [], [$3])
  3662. AC_CACHE_CHECK([size of $1], AS_TR_SH([ac_cv_sizeof_$1]),
  3663. [if test "$AS_TR_SH([ac_cv_type_$1])" = yes; then
  3664. _AC_COMPUTE_INT([sizeof ($1)],
  3665. [AS_TR_SH([ac_cv_sizeof_$1])],
  3666. [AC_INCLUDES_DEFAULT([$3])])
  3667. else
  3668. AS_TR_SH([ac_cv_sizeof_$1])=0
  3669. fi])dnl
  3670. AC_DEFINE_UNQUOTED(AS_TR_CPP(sizeof_$1), $AS_TR_SH([ac_cv_sizeof_$1]),
  3671. [The size of a `$1', as computed by sizeof.])
  3672. []AC_PROVIDE([AC_CHECK_SIZEOF])[]_m4_defun_epi([AC_CHECK_SIZEOF])
  3673. F8,8
  3674. patsubstpatsubst
  3675. T46,17
  3676. m4_location(_AC_INCLUDES_DEFAULT_REQUIREMENTS)acgeneral.m4:2241
  3677. T28,14
  3678. m4_location(AC_F77_WRAPPERS)aclang.m4:2165
  3679. F11,8
  3680. m4_errprinterrprint
  3681. T16,1506
  3682. _AC_OUTPUT_LINKScat >>$CONFIG_STATUS <<\EOF
  3683. #
  3684. # CONFIG_LINKS section.
  3685. #
  3686. dnl Here we use : instead of .. because if AC_LINK_FILES was used
  3687. dnl with empty parameters (as in gettext.m4), then we obtain here
  3688. dnl `:', which we want to skip. So let's keep a single exception: `:'.
  3689. for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
  3690. ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  3691. ac_source=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
  3692. AC_MSG_NOTICE([linking $srcdir/$ac_source to $ac_dest])
  3693. if test ! -r $srcdir/$ac_source; then
  3694. AC_MSG_ERROR([$srcdir/$ac_source: File not found])
  3695. fi
  3696. rm -f $ac_dest
  3697. # Make relative symlinks.
  3698. ac_dest_dir=`AS_DIRNAME(["$ac_dest"])`
  3699. if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
  3700. AS_MKDIR_P(["$ac_dest_dir"])
  3701. ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`"
  3702. # A "../" for each directory in $ac_dest_dir_suffix.
  3703. ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[[^/]]*,../,g'`
  3704. else
  3705. ac_dest_dir_suffix= ac_dots=
  3706. fi
  3707. case $srcdir in
  3708. [[\\/$]]* | ?:[[\\/]]* ) ac_rel_source=$srcdir/$ac_source ;;
  3709. *) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
  3710. esac
  3711. # Make a symlink if possible; otherwise try a hard link.
  3712. ln -s $ac_rel_source $ac_dest 2>/dev/null ||
  3713. ln $srcdir/$ac_source $ac_dest ||
  3714. AC_MSG_ERROR([cannot link $ac_dest to $srcdir/$ac_source])
  3715. m4_ifset([AC_LIST_LINKS_COMMANDS],
  3716. [ # Run the commands associated with the file.
  3717. case $ac_file in
  3718. AC_LIST_LINKS_COMMANDS()dnl
  3719. esac
  3720. ])dnl
  3721. done
  3722. EOF
  3723. T13,89
  3724. AC_MSG_RESULT_AS_ECHO([$as_me:__oline__: result: $1], AS_MESSAGE_LOG_FD)
  3725. _AS_ECHO([${ECHO_T}$1])[]dnl
  3726. T13,251
  3727. m4_defun_oncem4_define([m4_location($1)], m4_location)dnl
  3728. m4_define([$1],
  3729. [m4_provide_ifelse([$1],
  3730. [m4_warn([syntax], [$1 invoked multiple times])],
  3731. [_m4_defun_pro([$1])$2[]_m4_defun_epi([$1])])])
  3732. T11,498
  3733. AC_ARG_WITH_m4_defun_pro([AC_ARG_WITH])m4_divert_once([HELP_WITH], [[
  3734. Optional Packages:
  3735. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  3736. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)]])
  3737. m4_divert_once([HELP_WITH], [$2])dnl
  3738. # Check whether --with-$1 or --without-$1 was given.
  3739. if test "[${with_]m4_patsubst([$1], -, _)+set}" = set; then
  3740. withval="[$with_]m4_patsubst([$1], -, _)"
  3741. $3
  3742. m4_ifvaln([$4], [else
  3743. $4])dnl
  3744. fi; dnl
  3745. []AC_PROVIDE([AC_ARG_WITH])[]_m4_defun_epi([AC_ARG_WITH])
  3746. T34,16
  3747. m4_location(AC_STAT_MACROS_BROKEN)acoldnames.m4:68
  3748. T28,14
  3749. m4_location(AC_CHECK_SIZEOF)actypes.m4:363
  3750. T8,80
  3751. m4_ifsetm4_ifdef([$1],
  3752. [m4_if(m4_defn([$1]), [], [$3], [$2])],
  3753. [$3])
  3754. T8,1061
  3755. AS_UNAME{
  3756. cat <<_ASUNAME
  3757. ## ---------- ##
  3758. ## Platform. ##
  3759. ## ---------- ##
  3760. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  3761. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  3762. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  3763. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  3764. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  3765. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  3766. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  3767. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  3768. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  3769. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  3770. hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  3771. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  3772. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  3773. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  3774. PATH = $PATH
  3775. _ASUNAME
  3776. }
  3777. T25,14
  3778. m4_location(AC_STRUCT_TM)actypes.m4:532
  3779. T7,72
  3780. AS_INITm4_init
  3781. # Forbidden tokens and exceptions.
  3782. m4_pattern_forbid([^_?AS_])
  3783. T12,558
  3784. AC_STRUCT_TM_m4_defun_pro([AC_STRUCT_TM])AC_CACHE_CHECK([whether struct tm is in sys/time.h or time.h],
  3785. ac_cv_struct_tm,
  3786. [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
  3787. #include <time.h>
  3788. ],
  3789. [struct tm *tp; tp->tm_sec;])],
  3790. [ac_cv_struct_tm=time.h],
  3791. [ac_cv_struct_tm=sys/time.h])])
  3792. if test $ac_cv_struct_tm = sys/time.h; then
  3793. AC_DEFINE(TM_IN_SYS_TIME, 1,
  3794. [Define if your <sys/time.h> declares `struct tm'.])
  3795. fi
  3796. []AC_PROVIDE([AC_STRUCT_TM])[]_m4_defun_epi([AC_STRUCT_TM])
  3797. T14,212
  3798. AC_GETGROUPS_T_m4_defun_pro([AC_GETGROUPS_T])AC_DIAGNOSE([obsolete], [The macro `AC_GETGROUPS_T' is obsolete.
  3799. You should run autoupdate.])dnl
  3800. AC_TYPE_GETGROUPS($@)[]AC_PROVIDE([AC_GETGROUPS_T])[]_m4_defun_epi([AC_GETGROUPS_T])
  3801. T27,17
  3802. m4_location(AC_CHECK_FUNCS)acfunctions.m4:89
  3803. T9,86
  3804. AH_BOTTOMm4_define([_AH_COUNTER], m4_incr(_AH_COUNTER))dnl
  3805. AH_VERBATIM([zzzz]_AH_COUNTER, [$1])
  3806. T24,17
  3807. m4_location(AC_TRY_LINK)acgeneral.m4:2787
  3808. T8,42
  3809. _AS_ECHO_AS_ECHO_UNQUOTED([_AS_QUOTE([$1])], [$2])
  3810. T26,2
  3811. AC_LANG_SOURCE(Fortran 77)$1
  3812. T10,192
  3813. AC_VERBOSE_m4_defun_pro([AC_VERBOSE])AC_DIAGNOSE([obsolete], [The macro `AC_VERBOSE' is obsolete.
  3814. You should run autoupdate.])dnl
  3815. AC_MSG_RESULT($@)[]AC_PROVIDE([AC_VERBOSE])[]_m4_defun_epi([AC_VERBOSE])
  3816. T27,18
  3817. m4_location(AM_FUNC_MKTIME)acfunctions.m4:940
  3818. T22,16
  3819. m4_location(AM_EXEEXT)acoldnames.m4:81
  3820. T20,16
  3821. m4_location(AC_LN_S)acoldnames.m4:56
  3822. T28,19
  3823. m4_location(AC_FUNC_OBSTACK)acfunctions.m4:1103
  3824. T26,19
  3825. m4_location(AC_FUNC_LSTAT)acfunctions.m4:1211
  3826. T27,16
  3827. m4_location(AC_CROSS_CHECK)acoldnames.m4:50
  3828. T22,160
  3829. AC_CONFIG_COMMANDS_PRE_m4_defun_pro([AC_CONFIG_COMMANDS_PRE])m4_append([AC_OUTPUT_COMMANDS_PRE], [$1
  3830. ])[]AC_PROVIDE([AC_CONFIG_COMMANDS_PRE])[]_m4_defun_epi([AC_CONFIG_COMMANDS_PRE])
  3831. T27,19
  3832. m4_location(AC_FUNC_STRTOD)acfunctions.m4:1264
  3833. T6,2
  3834. m4_car$1
  3835. T23,441
  3836. _AC_CHECK_HEADER_DIRENTAS_VAR_PUSHDEF([ac_Header], [ac_cv_header_dirent_$1])dnl
  3837. AC_CACHE_CHECK([for $1 that defines DIR], ac_Header,
  3838. [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
  3839. #include <$1>
  3840. ],
  3841. [if ((DIR *) 0)
  3842. return 0;])],
  3843. [AS_VAR_SET(ac_Header, yes)],
  3844. [AS_VAR_SET(ac_Header, no)])])
  3845. AS_IF([test AS_VAR_GET(ac_Header) = yes], [$2], [$3])[]dnl
  3846. AS_VAR_POPDEF([ac_Header])dnl
  3847. T21,17
  3848. m4_location(AC_MINIX)acspecific.m4:990
  3849. T10,46
  3850. m4_foreachm4_pushdef([$1])_m4_foreach($@)m4_popdef([$1])
  3851. T30,13
  3852. m4_location(AC_LANG_CPLUSPLUS)aclang.m4:239
  3853. T20,1772
  3854. _AC_ARG_VAR_VALIDATE# Check that the precious variables saved in the cache have kept the same
  3855. # value.
  3856. ac_cache_corrupted=false
  3857. for ac_var in `(set) 2>&1 |
  3858. sed -n 's/^ac_env_\([[a-zA-Z_0-9]]*\)_set=.*/\1/p'`; do
  3859. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  3860. eval ac_new_set=\$ac_env_${ac_var}_set
  3861. eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  3862. eval ac_new_val="\$ac_env_${ac_var}_value"
  3863. case $ac_old_set,$ac_new_set in
  3864. set,)
  3865. AS_MESSAGE([error: `$ac_var' was set to `$ac_old_val' in the previous run], 2)
  3866. ac_cache_corrupted=: ;;
  3867. ,set)
  3868. AS_MESSAGE([error: `$ac_var' was not set in the previous run], 2)
  3869. ac_cache_corrupted=: ;;
  3870. ,);;
  3871. *)
  3872. if test "x$ac_old_val" != "x$ac_new_val"; then
  3873. AS_MESSAGE([error: `$ac_var' has changed since the previous run:], 2)
  3874. AS_MESSAGE([ former value: $ac_old_val], 2)
  3875. AS_MESSAGE([ current value: $ac_new_val], 2)
  3876. ac_cache_corrupted=:
  3877. fi;;
  3878. esac
  3879. # Pass precious variables to config.status. It doesn't matter if
  3880. # we pass some twice (in addition to the command line arguments).
  3881. if test "$ac_new_set" = set; then
  3882. case $ac_new_val in
  3883. dnl If you change this globbing pattern, test it on an old shell --
  3884. dnl it's sensitive. Putting any kind of quote in it causes syntax errors.
  3885. [ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)]
  3886. ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
  3887. ac_configure_args="$ac_configure_args '$ac_arg'"
  3888. ;;
  3889. *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
  3890. ;;
  3891. esac
  3892. fi
  3893. done
  3894. if $ac_cache_corrupted; then
  3895. AS_MESSAGE([error: changes in the environment can compromise the build], 2)
  3896. AS_ERROR([run `make distclean' and/or `rm $cache_file' and start over])
  3897. fi
  3898. T17,1172
  3899. AC_FUNC_GETGROUPS_m4_defun_pro([AC_FUNC_GETGROUPS])AC_REQUIRE([AC_TYPE_GETGROUPS])dnl
  3900. AC_REQUIRE([AC_TYPE_SIZE_T])dnl
  3901. AC_CHECK_FUNC(getgroups)
  3902. # If we don't yet have getgroups, see if it's in -lbsd.
  3903. # This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
  3904. ac_save_LIBS=$LIBS
  3905. if test $ac_cv_func_getgroups = no; then
  3906. AC_CHECK_LIB(bsd, getgroups, [GETGROUPS_LIB=-lbsd])
  3907. fi
  3908. # Run the program to test the functionality of the system-supplied
  3909. # getgroups function only if there is such a function.
  3910. if test $ac_cv_func_getgroups = yes; then
  3911. AC_CACHE_CHECK([for working getgroups], ac_cv_func_getgroups_works,
  3912. [AC_RUN_IFELSE([AC_LANG_PROGRAM([],
  3913. [[/* On Ultrix 4.3, getgroups (0, 0) always fails. */
  3914. exit (getgroups (0, 0) == -1 ? 1 : 0);]])],
  3915. [ac_cv_func_getgroups_works=yes],
  3916. [ac_cv_func_getgroups_works=no],
  3917. [ac_cv_func_getgroups_works=no])
  3918. ])
  3919. if test $ac_cv_func_getgroups_works = yes; then
  3920. AC_DEFINE(HAVE_GETGROUPS, 1,
  3921. [Define if your system has a working `getgroups' function.])
  3922. fi
  3923. fi
  3924. LIBS=$ac_save_LIBS
  3925. []AC_PROVIDE([AC_FUNC_GETGROUPS])[]_m4_defun_epi([AC_FUNC_GETGROUPS])
  3926. F9,6
  3927. m4_sysvalsysval
  3928. T29,11
  3929. m4_location(_AS_EXPR_PREPARE)m4sh.m4:326
  3930. T11,785
  3931. AC_F77_MAIN_m4_defun_pro([AC_F77_MAIN])AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])dnl
  3932. AC_CACHE_CHECK([for alternate main to link with Fortran 77 libraries],
  3933. ac_cv_f77_main,
  3934. [AC_LANG_PUSH(C)dnl
  3935. ac_f77_m_save_LIBS=$LIBS
  3936. LIBS="$LIBS $FLIBS"
  3937. ac_cv_f77_main="main" # default entry point name
  3938. for ac_func in MAIN__ MAIN_ __main MAIN _MAIN __MAIN main_ main__ _main; do
  3939. AC_TRY_LINK([#undef F77_DUMMY_MAIN
  3940. @%:@define main $ac_func], [], [ac_cv_f77_main=$ac_func; break])
  3941. done
  3942. rm -f conftest*
  3943. LIBS=$ac_f77_m_save_LIBS
  3944. AC_LANG_POP(C)dnl
  3945. ])
  3946. AC_DEFINE_UNQUOTED([F77_MAIN], $ac_cv_f77_main,
  3947. [Define to alternate name for `main' routine that is
  3948. called from a `main' in the Fortran libraries.])
  3949. []AC_PROVIDE([AC_F77_MAIN])[]_m4_defun_epi([AC_F77_MAIN])
  3950. F7,4
  3951. m4_evaleval
  3952. T12,56
  3953. AC_MSG_ERROR{ AS_MESSAGE([error: $1], [2])
  3954. AS_EXIT([$2]); }[]dnl
  3955. F12,9
  3956. m4_debugmodedebugmode
  3957. T16,53
  3958. m4_pattern_allowm4_file_append(m4_defn([m4_tmpdir])/allowed.rx, [$1])
  3959. T31,16
  3960. m4_location(AC_GCC_TRADITIONAL)acoldnames.m4:53
  3961. T9,79
  3962. AC_EXEEXT_m4_defun_pro([AC_EXEEXT])[]AC_PROVIDE([AC_EXEEXT])[]_m4_defun_epi([AC_EXEEXT])
  3963. T21,11
  3964. m4_location(AS_UNSET)m4sh.m4:161
  3965. T14,141
  3966. m4_expand_oncem4_provide_ifelse(m4_ifval([$2], [[$2]], [[$1]]),
  3967. [],
  3968. [m4_provide(m4_ifval([$2], [[$2]], [[$1]]))[]$1])
  3969. T12,18
  3970. m4_errprintnm4_errprint([$1
  3971. ])
  3972. T12,683
  3973. AC_CHECK_LIB_m4_defun_pro([AC_CHECK_LIB])m4_ifval([$3], , [AH_CHECK_LIB([$1])])dnl
  3974. AS_LITERAL_IF([$1],
  3975. [AS_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1_$2])],
  3976. [AS_VAR_PUSHDEF([ac_Lib], [ac_cv_lib_$1''_$2])])dnl
  3977. AC_CACHE_CHECK([for $2 in -l$1], ac_Lib,
  3978. [ac_check_lib_save_LIBS=$LIBS
  3979. LIBS="-l$1 $5 $LIBS"
  3980. AC_TRY_LINK_FUNC([$2],
  3981. [AS_VAR_SET(ac_Lib, yes)],
  3982. [AS_VAR_SET(ac_Lib, no)])
  3983. LIBS=$ac_check_lib_save_LIBS])
  3984. AS_IF([test AS_VAR_GET(ac_Lib) = yes],
  3985. [m4_default([$3], [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_LIB$1))
  3986. LIBS="-l$1 $LIBS"
  3987. ])],
  3988. [$4])dnl
  3989. AS_VAR_POPDEF([ac_Lib])dnl
  3990. []AC_PROVIDE([AC_CHECK_LIB])[]_m4_defun_epi([AC_CHECK_LIB])
  3991. T44,17
  3992. m4_location(AC_VALIDATE_CACHED_SYSTEM_TUPLE)acgeneral.m4:1792
  3993. T22,17
  3994. m4_location(AC_EMXOS2)acspecific.m4:922
  3995. T28,15
  3996. m4_location(AC_CHECK_HEADER)acheaders.m4:85
  3997. T16,2913
  3998. _AC_INIT_PREPAREm4_divert_push([INIT_PREPARE])dnl
  3999. # Keep a trace of the command line.
  4000. # Strip out --no-create and --no-recursion so they do not pile up.
  4001. # Also quote any args containing shell meta-characters.
  4002. ac_configure_args=
  4003. ac_sep=
  4004. for ac_arg
  4005. do
  4006. case $ac_arg in
  4007. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  4008. | --no-cr | --no-c) ;;
  4009. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  4010. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  4011. dnl If you change this globbing pattern, test it on an old shell --
  4012. dnl it's sensitive. Putting any kind of quote in it causes syntax errors.
  4013. [ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)]
  4014. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
  4015. ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  4016. ac_sep=" " ;;
  4017. *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
  4018. ac_sep=" " ;;
  4019. esac
  4020. # Get rid of the leading space.
  4021. done
  4022. # When interrupted or exit'd, cleanup temporary files, and complete
  4023. # config.log. We remove comments because anyway the quotes in there
  4024. # would cause problems or look ugly.
  4025. trap 'exit_status=$?
  4026. # Save into config.log some information that might help in debugging.
  4027. echo >&AS_MESSAGE_LOG_FD
  4028. echo ["## ----------------- ##"] >&AS_MESSAGE_LOG_FD
  4029. echo ["## Cache variables. ##"] >&AS_MESSAGE_LOG_FD
  4030. echo ["## ----------------- ##"] >&AS_MESSAGE_LOG_FD
  4031. echo >&AS_MESSAGE_LOG_FD
  4032. m4_patsubst(m4_patsubst(m4_dquote(m4_defn([_AC_CACHE_DUMP])),
  4033. [^ *\(#.*\)?
  4034. ]),
  4035. ['], ['"'"']) >&AS_MESSAGE_LOG_FD
  4036. sed "/^$/d" confdefs.h >conftest.log
  4037. if test -s conftest.log; then
  4038. echo >&AS_MESSAGE_LOG_FD
  4039. echo ["## ------------ ##"] >&AS_MESSAGE_LOG_FD
  4040. echo ["## confdefs.h. ##"] >&AS_MESSAGE_LOG_FD
  4041. echo ["## ------------ ##"] >&AS_MESSAGE_LOG_FD
  4042. echo >&AS_MESSAGE_LOG_FD
  4043. cat conftest.log >&AS_MESSAGE_LOG_FD
  4044. fi
  4045. (echo; echo) >&AS_MESSAGE_LOG_FD
  4046. test "$ac_signal" != 0 &&
  4047. echo "$as_me: caught signal $ac_signal" >&AS_MESSAGE_LOG_FD
  4048. echo "$as_me: exit $exit_status" >&AS_MESSAGE_LOG_FD
  4049. rm -rf conftest* confdefs* core core.* *.core conf$[$]* $ac_clean_files &&
  4050. exit $exit_status
  4051. ' 0
  4052. for ac_signal in 1 2 13 15; do
  4053. trap 'ac_signal='$ac_signal'; AS_EXIT([1])' $ac_signal
  4054. done
  4055. ac_signal=0
  4056. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  4057. rm -rf conftest* confdefs.h
  4058. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  4059. echo >confdefs.h
  4060. # Let the site file select an alternate cache file if it wants to.
  4061. AC_SITE_LOAD
  4062. AC_CACHE_LOAD
  4063. _AC_ARG_VAR_VALIDATE
  4064. _AC_ARG_VAR_PRECIOUS(build_alias)dnl
  4065. _AC_ARG_VAR_PRECIOUS(host_alias)dnl
  4066. _AC_ARG_VAR_PRECIOUS(target_alias)dnl
  4067. AC_LANG_PUSH(C)
  4068. _AC_PROG_ECHO()dnl
  4069. _AC_INIT_PREPARE_FS_SEPARATORS
  4070. dnl Substitute for predefined variables.
  4071. AC_SUBST(DEFS)dnl
  4072. AC_SUBST(LIBS)dnl
  4073. m4_divert_pop([INIT_PREPARE])dnl
  4074. T27,14
  4075. m4_location(AC_TYPE_SIZE_T)actypes.m4:306
  4076. T29,17
  4077. m4_location(AC_SYS_LARGEFILE)acspecific.m4:434
  4078. T20,215
  4079. AC_F77_NAME_MANGLING_m4_defun_pro([AC_F77_NAME_MANGLING])AC_DIAGNOSE([obsolete], [The macro `AC_F77_NAME_MANGLING' is obsolete.
  4080. You should run autoupdate.])dnl
  4081. []AC_PROVIDE([AC_F77_NAME_MANGLING])[]_m4_defun_epi([AC_F77_NAME_MANGLING])
  4082. T19,3
  4083. _m4_divert(PREPARE)100
  4084. T24,0
  4085. m4_include(acheaders.m4)
  4086. T34,341
  4087. _AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTLAC_CACHE_CHECK([whether sys/ioctl.h defines TIOCGWINSZ],
  4088. ac_cv_sys_tiocgwinsz_in_sys_ioctl_h,
  4089. [AC_EGREP_CPP([yes],
  4090. [#include <sys/types.h>
  4091. #include <sys/ioctl.h>
  4092. #ifdef TIOCGWINSZ
  4093. yes
  4094. #endif
  4095. ],
  4096. ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes,
  4097. ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=no)])
  4098. T18,3178
  4099. AC_FUNC_GETLOADAVG_m4_defun_pro([AC_FUNC_GETLOADAVG])ac_have_func=no # yes means we've found a way to get the load average.
  4100. ac_save_LIBS=$LIBS
  4101. # Check for getloadavg, but be sure not to touch the cache variable.
  4102. (AC_CHECK_FUNC(getloadavg, exit 0, exit 1)) && ac_have_func=yes
  4103. # On HPUX9, an unprivileged user can get load averages through this function.
  4104. AC_CHECK_FUNCS(pstat_getdynamic)
  4105. # Solaris has libkstat which does not require root.
  4106. AC_CHECK_LIB(kstat, kstat_open)
  4107. test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
  4108. # Some systems with -lutil have (and need) -lkvm as well, some do not.
  4109. # On Solaris, -lkvm requires nlist from -lelf, so check that first
  4110. # to get the right answer into the cache.
  4111. # For kstat on solaris, we need libelf to force the definition of SVR4 below.
  4112. if test $ac_have_func = no; then
  4113. AC_CHECK_LIB(elf, elf_begin, LIBS="-lelf $LIBS")
  4114. fi
  4115. if test $ac_have_func = no; then
  4116. AC_CHECK_LIB(kvm, kvm_open, LIBS="-lkvm $LIBS")
  4117. # Check for the 4.4BSD definition of getloadavg.
  4118. AC_CHECK_LIB(util, getloadavg,
  4119. [LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes])
  4120. fi
  4121. if test $ac_have_func = no; then
  4122. # There is a commonly available library for RS/6000 AIX.
  4123. # Since it is not a standard part of AIX, it might be installed locally.
  4124. ac_getloadavg_LIBS=$LIBS
  4125. LIBS="-L/usr/local/lib $LIBS"
  4126. AC_CHECK_LIB(getloadavg, getloadavg,
  4127. [LIBS="-lgetloadavg $LIBS"], [LIBS=$ac_getloadavg_LIBS])
  4128. fi
  4129. # Make sure it is really in the library, if we think we found it,
  4130. # otherwise set up the replacement function.
  4131. AC_CHECK_FUNCS(getloadavg, [],
  4132. [_AC_LIBOBJ_GETLOADAVG])
  4133. # Some definitions of getloadavg require that the program be installed setgid.
  4134. dnl FIXME: Don't hardwire the path of getloadavg.c in the top-level directory.
  4135. AC_CACHE_CHECK(whether getloadavg requires setgid,
  4136. ac_cv_func_getloadavg_setgid,
  4137. [AC_EGREP_CPP([Yowza Am I SETGID yet],
  4138. [#include "$srcdir/getloadavg.c"
  4139. #ifdef LDAV_PRIVILEGED
  4140. Yowza Am I SETGID yet
  4141. @%:@endif],
  4142. ac_cv_func_getloadavg_setgid=yes,
  4143. ac_cv_func_getloadavg_setgid=no)])
  4144. if test $ac_cv_func_getloadavg_setgid = yes; then
  4145. NEED_SETGID=true
  4146. AC_DEFINE(GETLOADAVG_PRIVILEGED, 1,
  4147. [Define if the `getloadavg' function needs to be run setuid
  4148. or setgid.])
  4149. else
  4150. NEED_SETGID=false
  4151. fi
  4152. AC_SUBST(NEED_SETGID)dnl
  4153. if test $ac_cv_func_getloadavg_setgid = yes; then
  4154. AC_CACHE_CHECK(group of /dev/kmem, ac_cv_group_kmem,
  4155. [ # On Solaris, /dev/kmem is a symlink. Get info on the real file.
  4156. ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
  4157. # If we got an error (system does not support symlinks), try without -L.
  4158. test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
  4159. ac_cv_group_kmem=`echo $ac_ls_output \
  4160. | sed -ne ['s/[ ][ ]*/ /g;
  4161. s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
  4162. / /s/.* //;p;']`
  4163. ])
  4164. AC_SUBST(KMEM_GROUP, $ac_cv_group_kmem)dnl
  4165. fi
  4166. if test "x$ac_save_LIBS" = x; then
  4167. GETLOADAVG_LIBS=$LIBS
  4168. else
  4169. GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
  4170. fi
  4171. LIBS=$ac_save_LIBS
  4172. AC_SUBST(GETLOADAVG_LIBS)dnl
  4173. []AC_PROVIDE([AC_FUNC_GETLOADAVG])[]_m4_defun_epi([AC_FUNC_GETLOADAVG])
  4174. T14,135
  4175. _AS_TR_PREPARE_m4_defun_pro([_AS_TR_PREPARE])m4_require([_AS_TR_SH_PREPARE])dnl
  4176. m4_require([_AS_TR_CPP_PREPARE])dnl
  4177. []_m4_defun_epi([_AS_TR_PREPARE])
  4178. T12,169
  4179. AC_LANG_PUSH_m4_defun_pro([AC_LANG_PUSH])_AC_LANG_SET(m4_ifdef([_AC_LANG], [m4_defn([_AC_LANG])]),
  4180. [$1])dnl
  4181. m4_pushdef([_AC_LANG], [$1])[]_m4_defun_epi([AC_LANG_PUSH])
  4182. T23,11
  4183. m4_location(AS_DIRNAME)m4sh.m4:296
  4184. T14,205
  4185. AC_CROSS_CHECK_m4_defun_pro([AC_CROSS_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_CROSS_CHECK' is obsolete.
  4186. You should run autoupdate.])dnl
  4187. AC_C_CROSS($@)[]AC_PROVIDE([AC_CROSS_CHECK])[]_m4_defun_epi([AC_CROSS_CHECK])
  4188. T23,17
  4189. m4_location(AC_VERBOSE)acgeneral.m4:2106
  4190. T31,19
  4191. m4_location(AC_FUNC_UTIME_NULL)acfunctions.m4:1404
  4192. T34,18
  4193. m4_location(AC_FUNC_ERROR_AT_LINE)acfunctions.m4:325
  4194. T19,377
  4195. _AC_COMPILER_EXEEXTAC_LANG_CONFTEST([AC_LANG_PROGRAM()])
  4196. ac_clean_files_save=$ac_clean_files
  4197. ac_clean_files="$ac_clean_files a.out a.exe"
  4198. _AC_COMPILER_EXEEXT_DEFAULT
  4199. _AC_COMPILER_EXEEXT_WORKS
  4200. rm -f a.out a.exe conftest$ac_cv_exeext
  4201. ac_clean_files=$ac_clean_files_save
  4202. _AC_COMPILER_EXEEXT_CROSS
  4203. _AC_COMPILER_EXEEXT_O
  4204. rm -f conftest.$ac_ext
  4205. AC_SUBST([EXEEXT], [$ac_cv_exeext])dnl
  4206. ac_exeext=$EXEEXT
  4207. T13,111
  4208. AC_FUNC_LSTAT_m4_defun_pro([AC_FUNC_LSTAT])_AC_FUNC_STAT(lstat)[]AC_PROVIDE([AC_FUNC_LSTAT])[]_m4_defun_epi([AC_FUNC_LSTAT])
  4209. T22,0
  4210. AC_LIST_FILES_COMMANDS
  4211. T14,914
  4212. AC_FUNC_FSEEKO_m4_defun_pro([AC_FUNC_FSEEKO])_AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1,
  4213. [ac_cv_sys_largefile_source],
  4214. [Define to make fseeko visible on some hosts (e.g. glibc 2.2).],
  4215. [@%:@include <stdio.h>], [return !fseeko;])
  4216. # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
  4217. # in glibc 2.1.3, but that breaks too many other things.
  4218. # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
  4219. AC_CACHE_CHECK([for fseeko], [ac_cv_func_fseeko],
  4220. [AC_TRY_LINK([@%:@include <stdio.h>],
  4221. [return fseeko && fseeko (stdin, 0, 0);],
  4222. [ac_cv_func_fseeko=yes],
  4223. [ac_cv_func_fseeko=no])])
  4224. if test $ac_cv_func_fseeko = yes; then
  4225. AC_DEFINE(HAVE_FSEEKO, 1,
  4226. [Define if fseeko (and presumably ftello) exists and is declared.])
  4227. fi
  4228. []AC_PROVIDE([AC_FUNC_FSEEKO])[]_m4_defun_epi([AC_FUNC_FSEEKO])
  4229. T19,526
  4230. _AC_OUTPUT_COMMANDScat >>$CONFIG_STATUS <<\EOF
  4231. #
  4232. # CONFIG_COMMANDS section.
  4233. #
  4234. for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  4235. ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
  4236. ac_source=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
  4237. dnl FIXME: Until Automake uses the new features of config.status, we
  4238. dnl should keep this silent. Otherwise, because Automake runs this in
  4239. dnl each directory, it quickly becomes annoying.
  4240. dnl echo "executing commands of $ac_dest"
  4241. case $ac_dest in
  4242. AC_LIST_COMMANDS_COMMANDS()dnl
  4243. esac
  4244. done
  4245. EOF
  4246. T17,228
  4247. AM_TYPE_PTRDIFF_T_m4_defun_pro([AM_TYPE_PTRDIFF_T])AC_DIAGNOSE([obsolete], [The macro `AM_TYPE_PTRDIFF_T' is obsolete.
  4248. You should run autoupdate.])dnl
  4249. AC_CHECK_TYPES(ptrdiff_t)[]AC_PROVIDE([AM_TYPE_PTRDIFF_T])[]_m4_defun_epi([AM_TYPE_PTRDIFF_T])
  4250. T27,11
  4251. m4_location(_AS_TR_PREPARE)m4sh.m4:612
  4252. T27,17
  4253. m4_location(AC_DECL_YYTEXT)acspecific.m4:186
  4254. T12,944
  4255. m4_text_wrapm4_pushdef([m4_Prefix], m4_default([$2], []))dnl
  4256. m4_pushdef([m4_Prefix1], m4_default([$3], [m4_Prefix]))dnl
  4257. m4_pushdef([m4_Width], m4_default([$4], 79))dnl
  4258. m4_pushdef([m4_Cursor], m4_len(m4_Prefix1))dnl
  4259. m4_pushdef([m4_Separator], [])dnl
  4260. m4_Prefix1[]dnl
  4261. m4_if(m4_eval(m4_Cursor > m4_len(m4_Prefix)),
  4262. 1, [m4_define([m4_Cursor], m4_len(m4_Prefix))
  4263. m4_Prefix])[]dnl
  4264. m4_foreach_quoted([m4_Word], (m4_split(m4_normalize([$1]))),
  4265. [m4_define([m4_Cursor], m4_eval(m4_Cursor + len(m4_Word) + 1))dnl
  4266. dnl New line if too long, else insert a space unless it is the first
  4267. dnl of the words.
  4268. m4_if(m4_eval(m4_Cursor > m4_Width),
  4269. 1, [m4_define([m4_Cursor],
  4270. m4_eval(m4_len(m4_Prefix) + m4_len(m4_Word) + 1))]
  4271. m4_Prefix,
  4272. [m4_Separator])[]dnl
  4273. m4_Word[]dnl
  4274. m4_define([m4_Separator], [ ])])dnl
  4275. m4_popdef([m4_Separator])dnl
  4276. m4_popdef([m4_Cursor])dnl
  4277. m4_popdef([m4_Width])dnl
  4278. m4_popdef([m4_Prefix1])dnl
  4279. m4_popdef([m4_Prefix])dnl
  4280. T6,93
  4281. popdefm4_ifndef([$1],
  4282. [m4_fatal([$0: undefined macro: $1])])dnl
  4283. m4_builtin([popdef], $@)
  4284. T14,109
  4285. m4_file_appendm4_syscmd([cat >>$1 <<_m4eof
  4286. $2
  4287. _m4eof
  4288. ])
  4289. m4_if(m4_sysval, [0], [],
  4290. [m4_fatal([$0: cannot write: $1])])
  4291. T22,11
  4292. m4_location(AS_TR_CPP)m4sh.m4:604
  4293. T28,13
  4294. m4_location(_AC_LANG_ABBREV)aclang.m4:181
  4295. T28,19
  4296. m4_location(AC_FUNC_STRCOLL)acfunctions.m4:1373
  4297. T13,203
  4298. AC_FUNC_VFORK_m4_defun_pro([AC_FUNC_VFORK])AC_DIAGNOSE([obsolete], [The macro `AC_FUNC_VFORK' is obsolete.
  4299. You should run autoupdate.])dnl
  4300. AC_FUNC_FORK($@)[]AC_PROVIDE([AC_FUNC_VFORK])[]_m4_defun_epi([AC_FUNC_VFORK])
  4301. T16,262
  4302. AC_FUNC_STRFTIME_m4_defun_pro([AC_FUNC_STRFTIME])AC_CHECK_FUNCS(strftime, [],
  4303. [# strftime is in -lintl on SCO UNIX.
  4304. AC_CHECK_LIB(intl, strftime,
  4305. [AC_DEFINE(HAVE_STRFTIME)
  4306. LIBS="-lintl $LIBS"])])dnl
  4307. []AC_PROVIDE([AC_FUNC_STRFTIME])[]_m4_defun_epi([AC_FUNC_STRFTIME])
  4308. T36,19
  4309. m4_location(AC_FUNC_SELECT_ARGTYPES)acfunctions.m4:1154
  4310. T16,124
  4311. AC_LANG_COMPILERAC_BEFORE([AC_LANG_COMPILER(]_AC_LANG[)],
  4312. [AC_LANG_PREPROC(]_AC_LANG[)])dnl
  4313. _AC_LANG_DISPATCH([$0], _AC_LANG, $@)
  4314. T17,479
  4315. AC_FUNC_GETMNTENT_m4_defun_pro([AC_FUNC_GETMNTENT])# getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
  4316. AC_CHECK_LIB(sun, getmntent, LIBS="-lsun $LIBS",
  4317. [AC_CHECK_LIB(seq, getmntent, LIBS="-lseq $LIBS",
  4318. [AC_CHECK_LIB(gen, getmntent, LIBS="-lgen $LIBS")])])
  4319. AC_CHECK_FUNC(getmntent,
  4320. [AC_DEFINE(HAVE_GETMNTENT, 1,
  4321. [Define if you have the `getmntent' function.])])[]AC_PROVIDE([AC_FUNC_GETMNTENT])[]_m4_defun_epi([AC_FUNC_GETMNTENT])
  4322. F8,5
  4323. m4_ifdefifdef
  4324. T24,0
  4325. AC_FILE_DEPENDENCY_TRACE
  4326. T9,154
  4327. AC_DEFINEAC_DEFINE_TRACE([$1])dnl
  4328. m4_ifval([$3], [_AH_TEMPLATE_OLD([$1], [$3])])dnl
  4329. cat >>confdefs.h <<\EOF
  4330. [@%:@define] $1 m4_if($#, 2, [$2], $#, 3, [$2], 1)
  4331. EOF
  4332. F7,4
  4333. m4_incrincr
  4334. T17,333
  4335. AC_HAVE_POUNDBANG_m4_defun_pro([AC_HAVE_POUNDBANG])AC_DIAGNOSE([obsolete], [The macro `AC_HAVE_POUNDBANG' is obsolete.
  4336. You should run autoupdate.])dnl
  4337. AC_SYS_INTERPRETER
  4338. AC_DIAGNOSE([obsolete],
  4339. [$0: Remove this warning when you adjust your code to use
  4340. `AC_SYS_INTERPRETER'.])[]AC_PROVIDE([AC_HAVE_POUNDBANG])[]_m4_defun_epi([AC_HAVE_POUNDBANG])
  4341. T4,44
  4342. m4_nm4_if([$1],
  4343. [], [],
  4344. [$1
  4345. ])
  4346. T31,17
  4347. m4_location(AC_SYS_INTERPRETER)acspecific.m4:339
  4348. T10,74
  4349. AS_VAR_SETAS_LITERAL_IF([$1],
  4350. [$1=$2],
  4351. [eval "$1=$2"])
  4352. T9,2328
  4353. AC_OUTPUTdnl Dispatch the extra arguments to their native macros.
  4354. m4_ifval([$1],
  4355. [AC_CONFIG_FILES([$1])])dnl
  4356. m4_ifval([$2$3],
  4357. [AC_CONFIG_COMMANDS(default, [$2], [$3])])dnl
  4358. m4_ifval([$1$2$3],
  4359. [AC_DIAGNOSE([obsolete],
  4360. [$0 should be used without arguments.
  4361. You should run autoupdate.])])dnl
  4362. AC_CACHE_SAVE
  4363. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  4364. # Let make expand exec_prefix.
  4365. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  4366. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  4367. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  4368. # trailing colons and then remove the whole line if VPATH becomes empty
  4369. # (actually we leave an empty line to preserve line numbers).
  4370. if test "x$srcdir" = x.; then
  4371. ac_vpsub=['/^[ ]*VPATH[ ]*=/{
  4372. s/:*\$(srcdir):*/:/;
  4373. s/:*\${srcdir}:*/:/;
  4374. s/:*@srcdir@:*/:/;
  4375. s/^\([^=]*=[ ]*\):*/\1/;
  4376. s/:*$//;
  4377. s/^[^=]*=[ ]*$//;
  4378. }']
  4379. fi
  4380. m4_ifset([AC_LIST_HEADERS], [DEFS=-DHAVE_CONFIG_H], [AC_OUTPUT_MAKE_DEFS()])
  4381. dnl Commands to run before creating config.status.
  4382. AC_OUTPUT_COMMANDS_PRE()dnl
  4383. : ${CONFIG_STATUS=./config.status}
  4384. ac_clean_files_save=$ac_clean_files
  4385. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  4386. _AC_OUTPUT_CONFIG_STATUS()dnl
  4387. ac_clean_files=$ac_clean_files_save
  4388. dnl Commands to run after config.status was created
  4389. AC_OUTPUT_COMMANDS_POST()dnl
  4390. # configure is writing to config.log, and then calls config.status.
  4391. # config.status does its own redirection, appending to config.log.
  4392. # Unfortunately, on DOS this fails, as config.log is still kept open
  4393. # by configure, so config.status won't be able to write to it; its
  4394. # output is simply discarded. So we exec the FD to /dev/null,
  4395. # effectively closing config.log, so it can be properly (re)opened and
  4396. # appended to by config.status. When coming back to configure, we
  4397. # need to make the FD available again.
  4398. if test "$no_create" != yes; then
  4399. ac_cs_success=:
  4400. exec AS_MESSAGE_LOG_FD>/dev/null
  4401. $SHELL $CONFIG_STATUS || ac_cs_success=false
  4402. exec AS_MESSAGE_LOG_FD>>config.log
  4403. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  4404. # would make configure fail if this is the last instruction.
  4405. $ac_cs_success || AS_EXIT([1])
  4406. fi
  4407. dnl config.status should not do recursion.
  4408. AC_PROVIDE_IFELSE([AC_CONFIG_SUBDIRS], [_AC_OUTPUT_SUBDIRS()])dnl
  4409. T18,131
  4410. AC_LANG_PREPROC(C)_m4_defun_pro([AC_LANG_PREPROC(C)])AC_REQUIRE([AC_PROG_CPP])[]AC_PROVIDE([AC_LANG_PREPROC(C)])[]_m4_defun_epi([AC_LANG_PREPROC(C)])
  4411. T24,14
  4412. m4_location(AC_PROG_F77)aclang.m4:1325
  4413. T10,194
  4414. AC_VPRINTF_m4_defun_pro([AC_VPRINTF])AC_DIAGNOSE([obsolete], [The macro `AC_VPRINTF' is obsolete.
  4415. You should run autoupdate.])dnl
  4416. AC_FUNC_VPRINTF($@)[]AC_PROVIDE([AC_VPRINTF])[]_m4_defun_epi([AC_VPRINTF])
  4417. T9,69
  4418. m4_assertm4_if(m4_eval([$1]), 0,
  4419. [m4_fatal([assert failed: $1], [$2])])
  4420. T21,1229
  4421. _AC_PROG_F77_V_OUTPUT_m4_defun_pro([_AC_PROG_F77_V_OUTPUT])AC_REQUIRE([AC_PROG_F77])dnl
  4422. AC_LANG_PUSH(Fortran 77)dnl
  4423. AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
  4424. # Compile and link our simple test program by passing a flag (argument
  4425. # 1 to this macro) to the Fortran 77 compiler in order to get
  4426. # "verbose" output that we can then parse for the Fortran 77 linker
  4427. # flags.
  4428. ac_save_FFLAGS=$FFLAGS
  4429. FFLAGS="$FFLAGS m4_default([$1], [$ac_cv_prog_f77_v])"
  4430. (eval echo $as_me:__oline__: \"$ac_link\") >&AS_MESSAGE_LOG_FD
  4431. ac_f77_v_output=`eval $ac_link AS_MESSAGE_LOG_FD>&1 2>&1 | grep -v 'Driving:'`
  4432. echo "$ac_f77_v_output" >&AS_MESSAGE_LOG_FD
  4433. FFLAGS=$ac_save_FFLAGS
  4434. rm -f conftest*
  4435. AC_LANG_POP(Fortran 77)dnl
  4436. # If we are using xlf then replace all the commas with spaces.
  4437. if echo $ac_f77_v_output | grep xlfentry >/dev/null 2>&1; then
  4438. ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'`
  4439. fi
  4440. # If we are using Cray Fortran then delete quotes.
  4441. # Use "\"" instead of '"' for font-lock-mode.
  4442. # FIXME: a more general fix for quoted arguments with spaces?
  4443. if echo $ac_f77_v_output | grep cft90 >/dev/null 2>&1; then
  4444. ac_f77_v_output=`echo $ac_f77_v_output | sed "s/\"//g"`
  4445. fi[]dnl
  4446. []AC_PROVIDE([_AC_PROG_F77_V_OUTPUT])[]_m4_defun_epi([_AC_PROG_F77_V_OUTPUT])
  4447. T29,19
  4448. m4_location(AC_FUNC_STRFTIME)acfunctions.m4:1321
  4449. T11,43
  4450. AC_OBSOLETEAC_DIAGNOSE([obsolete], [$1 is obsolete$2])
  4451. T29,16
  4452. m4_location(AC_CHAR_UNSIGNED)acoldnames.m4:48
  4453. T14,228
  4454. m4_divert_pushm4_pushdef([m4_divert_stack],
  4455. m4_location[: $0: $1]m4_ifdef([m4_divert_stack], [
  4456. m4_defn([m4_divert_stack])]))dnl
  4457. m4_pushdef([_m4_divert_diversion], [$1])dnl
  4458. m4_builtin([divert], _m4_divert(_m4_divert_diversion))dnl
  4459. T8,0
  4460. __unix__
  4461. T15,509
  4462. AC_FUNC_OBSTACK_m4_defun_pro([AC_FUNC_OBSTACK])AC_LIBSOURCES([obstack.h, obstack.c])dnl
  4463. AC_CACHE_CHECK([for obstacks], ac_cv_func_obstack,
  4464. [AC_TRY_LINK([@%:@include "obstack.h"],
  4465. [struct obstack *mem; obstack_free(mem,(char *) 0)],
  4466. [ac_cv_func_obstack=yes],
  4467. [ac_cv_func_obstack=no])])
  4468. if test $ac_cv_func_obstack = yes; then
  4469. AC_DEFINE(HAVE_OBSTACK, 1, [Define if libc includes obstacks.])
  4470. else
  4471. AC_LIBOBJ(obstack)
  4472. fi
  4473. []AC_PROVIDE([AC_FUNC_OBSTACK])[]_m4_defun_epi([AC_FUNC_OBSTACK])
  4474. T5,70
  4475. m4_dom4_if($#, 0, [],
  4476. $#, 1, [$1],
  4477. [$1[]m4_do(m4_shift($@))])
  4478. T23,14
  4479. m4_location(AC_C_CONST)aclang.m4:1664
  4480. T21,1885
  4481. _AC_F77_NAME_MANGLING_m4_defun_pro([_AC_F77_NAME_MANGLING])AC_REQUIRE([AC_F77_LIBRARY_LDFLAGS])dnl
  4482. AC_REQUIRE([AC_F77_DUMMY_MAIN])dnl
  4483. AC_CACHE_CHECK([for Fortran 77 name-mangling scheme],
  4484. ac_cv_f77_mangling,
  4485. [AC_LANG_PUSH(Fortran 77)dnl
  4486. AC_COMPILE_IFELSE(
  4487. [ subroutine foobar()
  4488. return
  4489. end
  4490. subroutine foo_bar()
  4491. return
  4492. end],
  4493. [mv conftest.$ac_objext cf77_test.$ac_objext
  4494. AC_LANG_PUSH(C)dnl
  4495. ac_save_LIBS=$LIBS
  4496. LIBS="cf77_test.$ac_objext $LIBS $FLIBS"
  4497. ac_success=no
  4498. for ac_foobar in foobar FOOBAR; do
  4499. for ac_underscore in "" "_"; do
  4500. ac_func="$ac_foobar$ac_underscore"
  4501. AC_TRY_LINK_FUNC($ac_func,
  4502. [ac_success=yes; break 2])
  4503. done
  4504. done
  4505. if test "$ac_success" = "yes"; then
  4506. case $ac_foobar in
  4507. foobar)
  4508. ac_case=lower
  4509. ac_foo_bar=foo_bar
  4510. ;;
  4511. FOOBAR)
  4512. ac_case=upper
  4513. ac_foo_bar=FOO_BAR
  4514. ;;
  4515. esac
  4516. ac_success_extra=no
  4517. for ac_extra in "" "_"; do
  4518. ac_func="$ac_foo_bar$ac_underscore$ac_extra"
  4519. AC_TRY_LINK_FUNC($ac_func,
  4520. [ac_success_extra=yes; break])
  4521. done
  4522. if test "$ac_success_extra" = "yes"; then
  4523. ac_cv_f77_mangling="$ac_case case"
  4524. if test -z "$ac_underscore"; then
  4525. ac_cv_f77_mangling="$ac_cv_f77_mangling, no underscore"
  4526. else
  4527. ac_cv_f77_mangling="$ac_cv_f77_mangling, underscore"
  4528. fi
  4529. if test -z "$ac_extra"; then
  4530. ac_cv_f77_mangling="$ac_cv_f77_mangling, no extra underscore"
  4531. else
  4532. ac_cv_f77_mangling="$ac_cv_f77_mangling, extra underscore"
  4533. fi
  4534. else
  4535. ac_cv_f77_mangling="unknown"
  4536. fi
  4537. else
  4538. ac_cv_f77_mangling="unknown"
  4539. fi
  4540. LIBS=$ac_save_LIBS
  4541. AC_LANG_POP(C)dnl
  4542. rm -f cf77_test* conftest*])
  4543. AC_LANG_POP(Fortran 77)dnl
  4544. ])
  4545. []AC_PROVIDE([_AC_F77_NAME_MANGLING])[]_m4_defun_epi([_AC_F77_NAME_MANGLING])
  4546. T11,224
  4547. AC_IRIX_SUN_m4_defun_pro([AC_IRIX_SUN])AC_DIAGNOSE([obsolete], [The macro `AC_IRIX_SUN' is obsolete.
  4548. You should run autoupdate.])dnl
  4549. AC_FUNC_GETMNTENT
  4550. AC_CHECK_LIB(sun, getpwnam)[]AC_PROVIDE([AC_IRIX_SUN])[]_m4_defun_epi([AC_IRIX_SUN])
  4551. T15,103
  4552. _AC_LANG_ABBREV_m4_defun_pro([_AC_LANG_ABBREV])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]_m4_defun_epi([_AC_LANG_ABBREV])
  4553. T14,911
  4554. AC_FUNC_STRTOD_m4_defun_pro([AC_FUNC_STRTOD])AC_CACHE_CHECK(for working strtod, ac_cv_func_strtod,
  4555. [AC_RUN_IFELSE([AC_LANG_SOURCE([[
  4556. double strtod ();
  4557. int
  4558. main()
  4559. {
  4560. {
  4561. /* Some versions of Linux strtod mis-parse strings with leading '+'. */
  4562. char *string = " +69";
  4563. char *term;
  4564. double value;
  4565. value = strtod (string, &term);
  4566. if (value != 69 || term != (string + 4))
  4567. exit (1);
  4568. }
  4569. {
  4570. /* Under Solaris 2.4, strtod returns the wrong value for the
  4571. terminating character under some conditions. */
  4572. char *string = "NaN";
  4573. char *term;
  4574. strtod (string, &term);
  4575. if (term != string && *(term - 1) == 0)
  4576. exit (1);
  4577. }
  4578. exit (0);
  4579. }
  4580. ]])],
  4581. ac_cv_func_strtod=yes,
  4582. ac_cv_func_strtod=no,
  4583. ac_cv_func_strtod=no)])
  4584. if test $ac_cv_func_strtod = no; then
  4585. _AC_LIBOBJ_STRTOD
  4586. fi
  4587. []AC_PROVIDE([AC_FUNC_STRTOD])[]_m4_defun_epi([AC_FUNC_STRTOD])
  4588. F8,8
  4589. __line____line__
  4590. T13,468
  4591. AC_CHECK_TYPE_m4_defun_pro([AC_CHECK_TYPE])m4_if($#, 3,
  4592. [_AC_CHECK_TYPE_NEW($@)],
  4593. $#, 4,
  4594. [_AC_CHECK_TYPE_NEW($@)],
  4595. _AC_CHECK_TYPE_REPLACEMENT_TYPE_P([$2]), 1,
  4596. [_AC_CHECK_TYPE_OLD($@)],
  4597. _AC_CHECK_TYPE_MAYBE_TYPE_P([$2]), 1,
  4598. [AC_DIAGNOSE([syntax],
  4599. [$0: assuming `$2' is not a type])_AC_CHECK_TYPE_NEW($@)],
  4600. [_AC_CHECK_TYPE_NEW($@)])[]dnl
  4601. []AC_PROVIDE([AC_CHECK_TYPE])[]_m4_defun_epi([AC_CHECK_TYPE])
  4602. T9,26
  4603. m4_ifndefm4_ifdef([$1], [$3], [$2])
  4604. T12,123
  4605. AC_COPYRIGHTm4_divert_text([NOTICE],
  4606. [m4_patsubst([
  4607. $1], [^], [@%:@ ])])dnl
  4608. m4_divert_text(m4_default([$2], [VERSION_USER]),
  4609. [
  4610. $1])dnl
  4611. T30,11
  4612. m4_location(_AS_UNSET_PREPARE)m4sh.m4:152
  4613. T11,73
  4614. AH_VERBATIMAS_LITERAL_IF([$1],
  4615. [AH_OUTPUT([$1], AS_ESCAPE([[$2]]))])
  4616. T15,1131
  4617. AC_FUNC_GETPGRP_m4_defun_pro([AC_FUNC_GETPGRP])AC_CACHE_CHECK(whether getpgrp takes no argument, ac_cv_func_getpgrp_void,
  4618. [# Use it with a single arg.
  4619. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [getpgrp (0);])],
  4620. [ac_func_getpgrp_1=yes],
  4621. [ac_func_getpgrp_1=no])
  4622. # Use it with no arg.
  4623. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [getpgrp ();])],
  4624. [ac_func_getpgrp_0=yes],
  4625. [ac_func_getpgrp_0=no])
  4626. # If both static checks agree, we are done.
  4627. case $ac_func_getpgrp_0:$ac_func_getpgrp_1 in
  4628. yes:no) ac_cv_func_getpgrp_void=yes;;
  4629. no:yes) ac_cv_func_getpgrp_void=false;;
  4630. *) AC_RUN_IFELSE([_AC_FUNC_GETPGRP_TEST],
  4631. [ac_cv_func_getpgrp_void=yes],
  4632. [ac_cv_func_getpgrp_void=no],
  4633. [AC_MSG_ERROR([cannot check getpgrp if cross compiling])]);;
  4634. esac # $ac_func_getpgrp_0:$ac_func_getpgrp_1
  4635. ])
  4636. if test $ac_cv_func_getpgrp_void = yes; then
  4637. AC_DEFINE(GETPGRP_VOID, 1,
  4638. [Define if the `getpgrp' function takes no argument.])
  4639. fi
  4640. []AC_PROVIDE([AC_FUNC_GETPGRP])[]_m4_defun_epi([AC_FUNC_GETPGRP])
  4641. T22,16
  4642. m4_location(AC_FIND_X)acoldnames.m4:51
  4643. T23,228
  4644. _AC_OUTPUT_COMMANDS_CNT_m4_defun_pro([_AC_OUTPUT_COMMANDS_CNT])AC_DIAGNOSE([obsolete], [The macro `_AC_OUTPUT_COMMANDS_CNT' is obsolete.
  4645. You should run autoupdate.])dnl
  4646. 0[]AC_PROVIDE([_AC_OUTPUT_COMMANDS_CNT])[]_m4_defun_epi([_AC_OUTPUT_COMMANDS_CNT])
  4647. T23,16
  4648. m4_location(AC_ST_RDEV)acoldnames.m4:72
  4649. T20,17
  4650. m4_location(AC_INIT)acgeneral.m4:1382
  4651. T32,13
  4652. m4_location(_AC_ARG_VAR_LDFLAGS)aclang.m4:830
  4653. T12,4
  4654. AC_ACVERSION2.52
  4655. T38,17
  4656. m4_location(AC_CONFIG_AUX_DIR_DEFAULT)acgeneral.m4:1650
  4657. T11,207
  4658. AC_CHECKING_m4_defun_pro([AC_CHECKING])AC_DIAGNOSE([obsolete], [The macro `AC_CHECKING' is obsolete.
  4659. You should run autoupdate.])dnl
  4660. AS_MESSAGE([checking $1...])[]AC_PROVIDE([AC_CHECKING])[]_m4_defun_epi([AC_CHECKING])
  4661. T14,126
  4662. AC_PROG_RANLIB_m4_defun_pro([AC_PROG_RANLIB])AC_CHECK_TOOL(RANLIB, ranlib, :)[]AC_PROVIDE([AC_PROG_RANLIB])[]_m4_defun_epi([AC_PROG_RANLIB])
  4663. T34,14
  4664. m4_location(_AC_PROG_F77_V_OUTPUT)aclang.m4:1775
  4665. T30,17
  4666. m4_location(AC_CANONICAL_HOST)acgeneral.m4:1755
  4667. T15,349
  4668. _AC_INIT_NOTICEm4_divert_text([NOTICE],
  4669. [@%:@ Guess values for system-dependent variables and create Makefiles.
  4670. @%:@ Generated by Autoconf AC_ACVERSION[]dnl
  4671. m4_ifset([AC_PACKAGE_STRING], [ for AC_PACKAGE_STRING]).])
  4672. m4_ifset([AC_PACKAGE_BUGREPORT],
  4673. [m4_divert_text([NOTICE],
  4674. [@%:@
  4675. @%:@ Report bugs to <AC_PACKAGE_BUGREPORT>.])])
  4676. T13,4980
  4677. _AC_INIT_HELPm4_divert_push([HELP_BEGIN])dnl
  4678. #
  4679. # Report the --help message.
  4680. #
  4681. if test "$ac_init_help" = "long"; then
  4682. # Omit some internal or obsolete options to make the list less imposing.
  4683. # This message is too long to be a string in the A/UX 3.1 sh.
  4684. cat <<EOF
  4685. \`configure' configures m4_ifset([AC_PACKAGE_STRING],
  4686. [AC_PACKAGE_STRING],
  4687. [this package]) to adapt to many kinds of systems.
  4688. Usage: $[0] [[OPTION]]... [[VAR=VALUE]]...
  4689. [To assign environment variables (e.g., CC, CFLAGS...), specify them as
  4690. VAR=VALUE. See below for descriptions of some of the useful variables.
  4691. Defaults for the options are specified in brackets.
  4692. Configuration:
  4693. -h, --help display this help and exit
  4694. --help=short display options specific to this package
  4695. --help=recursive display the short help of all the included packages
  4696. -V, --version display version information and exit
  4697. -q, --quiet, --silent do not print \`checking...' messages
  4698. --cache-file=FILE cache test results in FILE [disabled]
  4699. -C, --config-cache alias for \`--cache-file=config.cache'
  4700. -n, --no-create do not create output files
  4701. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  4702. EOF
  4703. cat <<EOF
  4704. Installation directories:
  4705. --prefix=PREFIX install architecture-independent files in PREFIX
  4706. [$ac_default_prefix]
  4707. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  4708. [PREFIX]
  4709. By default, \`make install' will install all the files in
  4710. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  4711. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  4712. for instance \`--prefix=\$HOME'.
  4713. For better control, use the options below.
  4714. Fine tuning of the installation directories:
  4715. --bindir=DIR user executables [EPREFIX/bin]
  4716. --sbindir=DIR system admin executables [EPREFIX/sbin]
  4717. --libexecdir=DIR program executables [EPREFIX/libexec]
  4718. --datadir=DATADIR read-only architecture-independent data [PREFIX/share]
  4719. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  4720. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  4721. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  4722. --libdir=DIR object code libraries [EPREFIX/lib]
  4723. --includedir=DIR C header files [PREFIX/include]
  4724. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  4725. --infodir=DIR info documentation [DATADIR/info]
  4726. --mandir=DIR man documentation [DATADIR/man]
  4727. EOF
  4728. cat <<\EOF]
  4729. m4_divert_pop([HELP_BEGIN])dnl
  4730. dnl The order of the diversions here is
  4731. dnl - HELP_BEGIN
  4732. dnl which may be prolongated by extra generic options such as with X or
  4733. dnl AC_ARG_PROGRAM. Displayed only in long --help.
  4734. dnl
  4735. dnl - HELP_CANON
  4736. dnl Support for cross compilation (--build, --host and --target).
  4737. dnl Display only in long --help.
  4738. dnl
  4739. dnl - HELP_ENABLE
  4740. dnl which starts with the trailer of the HELP_BEGIN, HELP_CANON section,
  4741. dnl then implements the header of the non generic options.
  4742. dnl
  4743. dnl - HELP_WITH
  4744. dnl
  4745. dnl - HELP_VAR
  4746. dnl
  4747. dnl - HELP_VAR_END
  4748. dnl
  4749. dnl - HELP_END
  4750. dnl initialized below, in which we dump the trailer (handling of the
  4751. dnl recursion for instance).
  4752. m4_divert_push([HELP_ENABLE])dnl
  4753. EOF
  4754. fi
  4755. if test -n "$ac_init_help"; then
  4756. m4_ifset([AC_PACKAGE_STRING],
  4757. [ case $ac_init_help in
  4758. short | recursive ) echo "Configuration of AC_PACKAGE_STRING:";;
  4759. esac])
  4760. cat <<\EOF
  4761. m4_divert_pop([HELP_ENABLE])dnl
  4762. m4_divert_push([HELP_END])dnl
  4763. m4_ifset([AC_PACKAGE_BUGREPORT], [
  4764. Report bugs to <AC_PACKAGE_BUGREPORT>.])
  4765. EOF
  4766. fi
  4767. if test "$ac_init_help" = "recursive"; then
  4768. # If there are subdirs, report their specific --help.
  4769. ac_popdir=`pwd`
  4770. for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
  4771. cd $ac_subdir
  4772. # A "../" for each directory in /$ac_subdir.
  4773. ac_dots=`echo $ac_subdir |
  4774. sed 's,^\./,,;s,[[^/]]$,&/,;s,[[^/]]*/,../,g'`
  4775. case $srcdir in
  4776. .) # No --srcdir option. We are building in place.
  4777. ac_sub_srcdir=$srcdir ;;
  4778. [[\\/]]* | ?:[[\\/]]* ) # Absolute path.
  4779. ac_sub_srcdir=$srcdir/$ac_subdir ;;
  4780. *) # Relative path.
  4781. ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
  4782. esac
  4783. # Check for guested configure; otherwise get Cygnus style configure.
  4784. if test -f $ac_sub_srcdir/configure.gnu; then
  4785. echo
  4786. $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
  4787. elif test -f $ac_sub_srcdir/configure; then
  4788. echo
  4789. $SHELL $ac_sub_srcdir/configure --help=recursive
  4790. elif test -f $ac_sub_srcdir/configure.ac ||
  4791. test -f $ac_sub_srcdir/configure.in; then
  4792. echo
  4793. $ac_configure --help
  4794. else
  4795. AC_MSG_WARN([no configuration information is in $ac_subdir])
  4796. fi
  4797. cd $ac_popdir
  4798. done
  4799. fi
  4800. test -n "$ac_init_help" && exit 0
  4801. m4_divert_pop([HELP_END])dnl
  4802. T14,1258
  4803. AC_FUNC_ALLOCA_m4_defun_pro([AC_FUNC_ALLOCA])# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  4804. # for constant arguments. Useless!
  4805. AC_CACHE_CHECK([for working alloca.h], ac_cv_working_alloca_h,
  4806. [AC_TRY_LINK([@%:@include <alloca.h>],
  4807. [char *p = (char *) alloca (2 * sizeof (int));],
  4808. ac_cv_working_alloca_h=yes, ac_cv_working_alloca_h=no)])
  4809. if test $ac_cv_working_alloca_h = yes; then
  4810. AC_DEFINE(HAVE_ALLOCA_H, 1,
  4811. [Define if you have <alloca.h> and it should be used
  4812. (not on Ultrix).])
  4813. fi
  4814. AC_CACHE_CHECK([for alloca], ac_cv_func_alloca_works,
  4815. [AC_TRY_LINK(
  4816. [#ifdef __GNUC__
  4817. # define alloca __builtin_alloca
  4818. #else
  4819. # ifdef _MSC_VER
  4820. # include <malloc.h>
  4821. # define alloca _alloca
  4822. # else
  4823. # if HAVE_ALLOCA_H
  4824. # include <alloca.h>
  4825. # else
  4826. # ifdef _AIX
  4827. #pragma alloca
  4828. # else
  4829. # ifndef alloca /* predefined by HP cc +Olibcalls */
  4830. char *alloca ();
  4831. # endif
  4832. # endif
  4833. # endif
  4834. # endif
  4835. #endif
  4836. ], [char *p = (char *) alloca (1);],
  4837. ac_cv_func_alloca_works=yes, ac_cv_func_alloca_works=no)])
  4838. if test $ac_cv_func_alloca_works = yes; then
  4839. AC_DEFINE(HAVE_ALLOCA, 1,
  4840. [Define if you have `alloca', as a function or macro.])
  4841. else
  4842. _AC_LIBOBJ_ALLOCA
  4843. fi
  4844. []AC_PROVIDE([AC_FUNC_ALLOCA])[]_m4_defun_epi([AC_FUNC_ALLOCA])
  4845. T9,507
  4846. AS_TMPDIR# Create a temporary directory, and hook for its removal unless debugging.
  4847. $debug ||
  4848. {
  4849. trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  4850. trap 'AS_EXIT([1])' 1 2 13 15
  4851. }
  4852. # Create a (secure) tmp directory for tmp files.
  4853. : ${TMPDIR=/tmp}
  4854. {
  4855. tmp=`(umask 077 && mktemp -d -q "$TMPDIR/$1XXXXXX") 2>/dev/null` &&
  4856. test -n "$tmp" && test -d "$tmp"
  4857. } ||
  4858. {
  4859. tmp=$TMPDIR/$1$$-$RANDOM
  4860. (umask 077 && mkdir $tmp)
  4861. } ||
  4862. {
  4863. echo "$me: cannot create a temporary directory in $TMPDIR" >&2
  4864. AS_EXIT
  4865. }dnl
  4866. T11,195
  4867. AC_SCO_INTL_m4_defun_pro([AC_SCO_INTL])AC_DIAGNOSE([obsolete], [The macro `AC_SCO_INTL' is obsolete.
  4868. You should run autoupdate.])dnl
  4869. AC_FUNC_STRFTIME[]AC_PROVIDE([AC_SCO_INTL])[]_m4_defun_epi([AC_SCO_INTL])
  4870. T8,184
  4871. AC_PID_T_m4_defun_pro([AC_PID_T])AC_DIAGNOSE([obsolete], [The macro `AC_PID_T' is obsolete.
  4872. You should run autoupdate.])dnl
  4873. AC_TYPE_PID_T($@)[]AC_PROVIDE([AC_PID_T])[]_m4_defun_epi([AC_PID_T])
  4874. T24,2
  4875. _m4_divert(HELP_VAR_END)15
  4876. T12,0
  4877. AC_LIBSOURCE
  4878. F11,8
  4879. m4_maketempmaketemp
  4880. T24,997
  4881. AC_FUNC_SETVBUF_REVERSED_m4_defun_pro([AC_FUNC_SETVBUF_REVERSED])AC_CACHE_CHECK(whether setvbuf arguments are reversed,
  4882. ac_cv_func_setvbuf_reversed,
  4883. [AC_TRY_RUN([#include <stdio.h>
  4884. /* If setvbuf has the reversed format, exit 0. */
  4885. int
  4886. main ()
  4887. {
  4888. /* This call has the arguments reversed.
  4889. A reversed system may check and see that the address of main
  4890. is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
  4891. if (setvbuf(stdout, _IOLBF, (char *) main, BUFSIZ) != 0)
  4892. exit(1);
  4893. putc('\r', stdout);
  4894. exit(0); /* Non-reversed systems segv here. */
  4895. }], ac_cv_func_setvbuf_reversed=yes, ac_cv_func_setvbuf_reversed=no)
  4896. rm -f core core.* *.core])
  4897. if test $ac_cv_func_setvbuf_reversed = yes; then
  4898. AC_DEFINE(SETVBUF_REVERSED, 1,
  4899. [Define if the `setvbuf' function takes the buffering type as
  4900. its second argument and the buffer pointer as the third, as on
  4901. System V before release 3.])
  4902. fi
  4903. []AC_PROVIDE([AC_FUNC_SETVBUF_REVERSED])[]_m4_defun_epi([AC_FUNC_SETVBUF_REVERSED])
  4904. T8,101
  4905. AC_FATALm4_errprintn(m4_location[: error: $1])dnl
  4906. m4_expansion_stack_dump()dnl
  4907. m4_exit(m4_if([$2],, 1, [$2]))
  4908. T17,437
  4909. AC_LIST_MEMBER_OF_m4_defun_pro([AC_LIST_MEMBER_OF])dnl Do some sanity checking of the arguments.
  4910. m4_if([$1], , [AC_FATAL([$0]: missing argument 1)])dnl
  4911. m4_if([$2], , [AC_FATAL([$0]: missing argument 2)])dnl
  4912. ac_exists=false
  4913. for ac_i in $2; do
  4914. if test x"$1" = x"$ac_i"; then
  4915. ac_exists=true
  4916. break
  4917. fi
  4918. done
  4919. AS_IF([test x"$ac_exists" = xtrue], [$3], [$4])[]dnl
  4920. []AC_PROVIDE([AC_LIST_MEMBER_OF])[]_m4_defun_epi([AC_LIST_MEMBER_OF])
  4921. T9,75
  4922. AC_BEFOREAC_PROVIDE_IFELSE([$2], [AC_DIAGNOSE([syntax], [$2 was called before $1])])
  4923. T13,0
  4924. AC_LIST_LINKS
  4925. T11,40
  4926. m4_undivertm4_builtin([undivert], _m4_divert([$1]))
  4927. T28,14
  4928. m4_location(AC_C_PROTOTYPES)aclang.m4:1726
  4929. T18,184
  4930. _m4_warning_ifelsem4_case([$4],
  4931. [$1], [$2],
  4932. [all], [$2],
  4933. [], [$3],
  4934. [none], [$3],
  4935. [no-$1], [$3],
  4936. [$0([$1], [$2], [$3], m4_shiftn(4, $@))])
  4937. T15,186
  4938. _AC_EVAL_STDERR_m4_defun_pro([_AC_EVAL_STDERR])_AC_RUN_LOG_STDERR([eval $1],
  4939. [eval echo "$as_me:__oline__: \"$1\""])[]AC_PROVIDE([_AC_EVAL_STDERR])[]_m4_defun_epi([_AC_EVAL_STDERR])
  4940. T14,827
  4941. _AC_PROG_F77_V_m4_defun_pro([_AC_PROG_F77_V])AC_CACHE_CHECK([how to get verbose linking output from $F77],
  4942. [ac_cv_prog_f77_v],
  4943. [AC_LANG_ASSERT(Fortran 77)
  4944. AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
  4945. [ac_cv_prog_f77_v=
  4946. # Try some options frequently used verbose output
  4947. for ac_verb in -v -verbose --verbose -V -\#\#\#; do
  4948. _AC_PROG_F77_V_OUTPUT($ac_verb)
  4949. # look for -l* and *.a constructs in the output
  4950. for ac_arg in $ac_f77_v_output; do
  4951. case $ac_arg in
  4952. [[\\/]]*.a | ?:[[\\/]]*.a | -[[lLRu]]*)
  4953. ac_cv_prog_f77_v=$ac_verb
  4954. break 2 ;;
  4955. esac
  4956. done
  4957. done
  4958. if test -z "$ac_cv_prog_f77_v"; then
  4959. AC_MSG_WARN([cannot determine how to obtain linking information from $F77])
  4960. fi],
  4961. [AC_MSG_WARN([compilation failed])])
  4962. ])[]AC_PROVIDE([_AC_PROG_F77_V])[]_m4_defun_epi([_AC_PROG_F77_V])
  4963. T16,0
  4964. _AC_LIST_SUBDIRS
  4965. T10,177
  4966. AS_MESSAGEm4_ifset([AS_MESSAGE_LOG_FD],
  4967. [{ _AS_ECHO([$as_me:__oline__: $1], [AS_MESSAGE_LOG_FD])
  4968. _AS_ECHO([$as_me: $1], [$2]);}],
  4969. [_AS_ECHO([$as_me: $1], [$2])])[]dnl
  4970. T12,199
  4971. AC_FIND_XTRA_m4_defun_pro([AC_FIND_XTRA])AC_DIAGNOSE([obsolete], [The macro `AC_FIND_XTRA' is obsolete.
  4972. You should run autoupdate.])dnl
  4973. AC_PATH_XTRA($@)[]AC_PROVIDE([AC_FIND_XTRA])[]_m4_defun_epi([AC_FIND_XTRA])
  4974. T27,14
  4975. m4_location(AC_TYPE_MODE_T)actypes.m4:309
  4976. T22,0
  4977. m4_include(actypes.m4)
  4978. F3,3
  4979. lenlen
  4980. F5,6
  4981. m4_ififelse
  4982. T19,14264
  4983. _AC_INIT_PARSE_ARGSm4_divert_push([PARSE_ARGS])dnl
  4984. # Initialize some variables set by options.
  4985. ac_init_help=
  4986. ac_init_version=false
  4987. # The variables have the same names as the options, with
  4988. # dashes changed to underlines.
  4989. cache_file=/dev/null
  4990. AC_SUBST(exec_prefix, NONE)dnl
  4991. no_create=
  4992. no_recursion=
  4993. AC_SUBST(prefix, NONE)dnl
  4994. program_prefix=NONE
  4995. program_suffix=NONE
  4996. AC_SUBST(program_transform_name, [s,x,x,])dnl
  4997. silent=
  4998. site=
  4999. srcdir=
  5000. verbose=
  5001. x_includes=NONE
  5002. x_libraries=NONE
  5003. # Installation directory options.
  5004. # These are left unexpanded so users can "make install exec_prefix=/foo"
  5005. # and all the variables that are supposed to be based on exec_prefix
  5006. # by default will actually change.
  5007. # Use braces instead of parens because sh, perl, etc. also accept them.
  5008. AC_SUBST([bindir], ['${exec_prefix}/bin'])dnl
  5009. AC_SUBST([sbindir], ['${exec_prefix}/sbin'])dnl
  5010. AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])dnl
  5011. AC_SUBST([datadir], ['${prefix}/share'])dnl
  5012. AC_SUBST([sysconfdir], ['${prefix}/etc'])dnl
  5013. AC_SUBST([sharedstatedir], ['${prefix}/com'])dnl
  5014. AC_SUBST([localstatedir], ['${prefix}/var'])dnl
  5015. AC_SUBST([libdir], ['${exec_prefix}/lib'])dnl
  5016. AC_SUBST([includedir], ['${prefix}/include'])dnl
  5017. AC_SUBST([oldincludedir], ['/usr/include'])dnl
  5018. AC_SUBST([infodir], ['${datadir}/info'])dnl
  5019. AC_SUBST([mandir], ['${datadir}/man'])dnl
  5020. # Identity of this package.
  5021. AC_SUBST([PACKAGE_NAME],
  5022. [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])dnl
  5023. AC_SUBST([PACKAGE_TARNAME],
  5024. [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])dnl
  5025. AC_SUBST([PACKAGE_VERSION],
  5026. [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])dnl
  5027. AC_SUBST([PACKAGE_STRING],
  5028. [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])dnl
  5029. AC_SUBST([PACKAGE_BUGREPORT],
  5030. [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])dnl
  5031. ac_prev=
  5032. for ac_option
  5033. do
  5034. # If the previous option needs an argument, assign it.
  5035. if test -n "$ac_prev"; then
  5036. eval "$ac_prev=\$ac_option"
  5037. ac_prev=
  5038. continue
  5039. fi
  5040. ac_optarg=`expr "x$ac_option" : 'x[[^=]]*=\(.*\)'`
  5041. # Accept the important Cygnus configure options, so we can diagnose typos.
  5042. case $ac_option in
  5043. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  5044. ac_prev=bindir ;;
  5045. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  5046. bindir=$ac_optarg ;;
  5047. -build | --build | --buil | --bui | --bu)
  5048. ac_prev=build_alias ;;
  5049. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  5050. build_alias=$ac_optarg ;;
  5051. -cache-file | --cache-file | --cache-fil | --cache-fi \
  5052. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  5053. ac_prev=cache_file ;;
  5054. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  5055. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  5056. cache_file=$ac_optarg ;;
  5057. --config-cache | -C)
  5058. cache_file=config.cache ;;
  5059. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  5060. ac_prev=datadir ;;
  5061. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  5062. | --da=*)
  5063. datadir=$ac_optarg ;;
  5064. -disable-* | --disable-*)
  5065. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  5066. # Reject names that are not valid shell variable names.
  5067. expr "x$ac_feature" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
  5068. AC_MSG_ERROR([invalid feature name: $ac_feature])
  5069. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  5070. eval "enable_$ac_feature=no" ;;
  5071. -enable-* | --enable-*)
  5072. ac_feature=`expr "x$ac_option" : 'x-*enable-\([[^=]]*\)'`
  5073. # Reject names that are not valid shell variable names.
  5074. expr "x$ac_feature" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
  5075. AC_MSG_ERROR([invalid feature name: $ac_feature])
  5076. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  5077. case $ac_option in
  5078. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  5079. *) ac_optarg=yes ;;
  5080. esac
  5081. eval "enable_$ac_feature='$ac_optarg'" ;;
  5082. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  5083. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  5084. | --exec | --exe | --ex)
  5085. ac_prev=exec_prefix ;;
  5086. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  5087. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  5088. | --exec=* | --exe=* | --ex=*)
  5089. exec_prefix=$ac_optarg ;;
  5090. -gas | --gas | --ga | --g)
  5091. # Obsolete; use --with-gas.
  5092. with_gas=yes ;;
  5093. -help | --help | --hel | --he | -h)
  5094. ac_init_help=long ;;
  5095. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  5096. ac_init_help=recursive ;;
  5097. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  5098. ac_init_help=short ;;
  5099. -host | --host | --hos | --ho)
  5100. ac_prev=host_alias ;;
  5101. -host=* | --host=* | --hos=* | --ho=*)
  5102. host_alias=$ac_optarg ;;
  5103. -includedir | --includedir | --includedi | --included | --include \
  5104. | --includ | --inclu | --incl | --inc)
  5105. ac_prev=includedir ;;
  5106. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  5107. | --includ=* | --inclu=* | --incl=* | --inc=*)
  5108. includedir=$ac_optarg ;;
  5109. -infodir | --infodir | --infodi | --infod | --info | --inf)
  5110. ac_prev=infodir ;;
  5111. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  5112. infodir=$ac_optarg ;;
  5113. -libdir | --libdir | --libdi | --libd)
  5114. ac_prev=libdir ;;
  5115. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  5116. libdir=$ac_optarg ;;
  5117. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  5118. | --libexe | --libex | --libe)
  5119. ac_prev=libexecdir ;;
  5120. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  5121. | --libexe=* | --libex=* | --libe=*)
  5122. libexecdir=$ac_optarg ;;
  5123. -localstatedir | --localstatedir | --localstatedi | --localstated \
  5124. | --localstate | --localstat | --localsta | --localst \
  5125. | --locals | --local | --loca | --loc | --lo)
  5126. ac_prev=localstatedir ;;
  5127. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  5128. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  5129. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  5130. localstatedir=$ac_optarg ;;
  5131. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  5132. ac_prev=mandir ;;
  5133. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  5134. mandir=$ac_optarg ;;
  5135. -nfp | --nfp | --nf)
  5136. # Obsolete; use --without-fp.
  5137. with_fp=no ;;
  5138. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  5139. | --no-cr | --no-c)
  5140. no_create=yes ;;
  5141. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  5142. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  5143. no_recursion=yes ;;
  5144. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  5145. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  5146. | --oldin | --oldi | --old | --ol | --o)
  5147. ac_prev=oldincludedir ;;
  5148. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  5149. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  5150. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  5151. oldincludedir=$ac_optarg ;;
  5152. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  5153. ac_prev=prefix ;;
  5154. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  5155. prefix=$ac_optarg ;;
  5156. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  5157. | --program-pre | --program-pr | --program-p)
  5158. ac_prev=program_prefix ;;
  5159. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  5160. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  5161. program_prefix=$ac_optarg ;;
  5162. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  5163. | --program-suf | --program-su | --program-s)
  5164. ac_prev=program_suffix ;;
  5165. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  5166. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  5167. program_suffix=$ac_optarg ;;
  5168. -program-transform-name | --program-transform-name \
  5169. | --program-transform-nam | --program-transform-na \
  5170. | --program-transform-n | --program-transform- \
  5171. | --program-transform | --program-transfor \
  5172. | --program-transfo | --program-transf \
  5173. | --program-trans | --program-tran \
  5174. | --progr-tra | --program-tr | --program-t)
  5175. ac_prev=program_transform_name ;;
  5176. -program-transform-name=* | --program-transform-name=* \
  5177. | --program-transform-nam=* | --program-transform-na=* \
  5178. | --program-transform-n=* | --program-transform-=* \
  5179. | --program-transform=* | --program-transfor=* \
  5180. | --program-transfo=* | --program-transf=* \
  5181. | --program-trans=* | --program-tran=* \
  5182. | --progr-tra=* | --program-tr=* | --program-t=*)
  5183. program_transform_name=$ac_optarg ;;
  5184. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  5185. | -silent | --silent | --silen | --sile | --sil)
  5186. silent=yes ;;
  5187. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  5188. ac_prev=sbindir ;;
  5189. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  5190. | --sbi=* | --sb=*)
  5191. sbindir=$ac_optarg ;;
  5192. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  5193. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  5194. | --sharedst | --shareds | --shared | --share | --shar \
  5195. | --sha | --sh)
  5196. ac_prev=sharedstatedir ;;
  5197. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  5198. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  5199. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  5200. | --sha=* | --sh=*)
  5201. sharedstatedir=$ac_optarg ;;
  5202. -site | --site | --sit)
  5203. ac_prev=site ;;
  5204. -site=* | --site=* | --sit=*)
  5205. site=$ac_optarg ;;
  5206. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  5207. ac_prev=srcdir ;;
  5208. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  5209. srcdir=$ac_optarg ;;
  5210. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  5211. | --syscon | --sysco | --sysc | --sys | --sy)
  5212. ac_prev=sysconfdir ;;
  5213. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  5214. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  5215. sysconfdir=$ac_optarg ;;
  5216. -target | --target | --targe | --targ | --tar | --ta | --t)
  5217. ac_prev=target_alias ;;
  5218. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  5219. target_alias=$ac_optarg ;;
  5220. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  5221. verbose=yes ;;
  5222. -version | --version | --versio | --versi | --vers | -V)
  5223. ac_init_version=: ;;
  5224. -with-* | --with-*)
  5225. ac_package=`expr "x$ac_option" : 'x-*with-\([[^=]]*\)'`
  5226. # Reject names that are not valid shell variable names.
  5227. expr "x$ac_package" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
  5228. AC_MSG_ERROR([invalid package name: $ac_package])
  5229. ac_package=`echo $ac_package| sed 's/-/_/g'`
  5230. case $ac_option in
  5231. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  5232. *) ac_optarg=yes ;;
  5233. esac
  5234. eval "with_$ac_package='$ac_optarg'" ;;
  5235. -without-* | --without-*)
  5236. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  5237. # Reject names that are not valid shell variable names.
  5238. expr "x$ac_package" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&
  5239. AC_MSG_ERROR([invalid package name: $ac_package])
  5240. ac_package=`echo $ac_package | sed 's/-/_/g'`
  5241. eval "with_$ac_package=no" ;;
  5242. --x)
  5243. # Obsolete; use --with-x.
  5244. with_x=yes ;;
  5245. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  5246. | --x-incl | --x-inc | --x-in | --x-i)
  5247. ac_prev=x_includes ;;
  5248. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  5249. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  5250. x_includes=$ac_optarg ;;
  5251. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  5252. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  5253. ac_prev=x_libraries ;;
  5254. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  5255. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  5256. x_libraries=$ac_optarg ;;
  5257. -*) AC_MSG_ERROR([unrecognized option: $ac_option
  5258. Try `$[0] --help' for more information.])
  5259. ;;
  5260. *=*)
  5261. ac_envvar=`expr "x$ac_option" : 'x\([[^=]]*\)='`
  5262. # Reject names that are not valid shell variable names.
  5263. expr "x$ac_envvar" : "[.*[^_$as_cr_alnum]]" >/dev/null &&
  5264. AC_MSG_ERROR([invalid variable name: $ac_envvar])
  5265. ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  5266. eval "$ac_envvar='$ac_optarg'"
  5267. export $ac_envvar ;;
  5268. *)
  5269. # FIXME: should be removed in autoconf 3.0.
  5270. AC_MSG_WARN([you should use --build, --host, --target])
  5271. expr "x$ac_option" : "[.*[^-._$as_cr_alnum]]" >/dev/null &&
  5272. AC_MSG_WARN([invalid host type: $ac_option])
  5273. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  5274. ;;
  5275. esac
  5276. done
  5277. if test -n "$ac_prev"; then
  5278. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  5279. AC_MSG_ERROR([missing argument to $ac_option])
  5280. fi
  5281. # Be sure to have absolute paths.
  5282. for ac_var in exec_prefix prefix
  5283. do
  5284. eval ac_val=$`echo $ac_var`
  5285. case $ac_val in
  5286. [[\\/$]]* | ?:[[\\/]]* | NONE | '' ) ;;
  5287. *) AC_MSG_ERROR([expected an absolute path for --$ac_var: $ac_val]);;
  5288. esac
  5289. done
  5290. # Be sure to have absolute paths.
  5291. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  5292. localstatedir libdir includedir oldincludedir infodir mandir
  5293. do
  5294. eval ac_val=$`echo $ac_var`
  5295. case $ac_val in
  5296. [[\\/$]]* | ?:[[\\/]]* ) ;;
  5297. *) AC_MSG_ERROR([expected an absolute path for --$ac_var: $ac_val]);;
  5298. esac
  5299. done
  5300. # There might be people who depend on the old broken behavior: `$host'
  5301. # used to hold the argument of --host etc.
  5302. build=$build_alias
  5303. host=$host_alias
  5304. target=$target_alias
  5305. # FIXME: should be removed in autoconf 3.0.
  5306. if test "x$host_alias" != x; then
  5307. if test "x$build_alias" = x; then
  5308. cross_compiling=maybe
  5309. AC_MSG_WARN([If you wanted to set the --build type, don't use --host.
  5310. If a cross compiler is detected then cross compile mode will be used.])
  5311. elif test "x$build_alias" != "x$host_alias"; then
  5312. cross_compiling=yes
  5313. fi
  5314. fi
  5315. ac_tool_prefix=
  5316. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  5317. test "$silent" = yes && exec AS_MESSAGE_FD>/dev/null
  5318. m4_divert_pop([PARSE_ARGS])dnl
  5319. F6,6
  5320. ifelseifelse
  5321. T24,2
  5322. _m4_divert(INIT_PREPARE)30
  5323. T8,151
  5324. AS_UNSET_m4_defun_pro([AS_UNSET])m4_require([_AS_UNSET_PREPARE])dnl
  5325. $as_unset $1 || test "${$1+set}" != set || { $1=$2; export $1; }[]_m4_defun_epi([AS_UNSET])
  5326. T21,237
  5327. AC_STAT_MACROS_BROKEN_m4_defun_pro([AC_STAT_MACROS_BROKEN])AC_DIAGNOSE([obsolete], [The macro `AC_STAT_MACROS_BROKEN' is obsolete.
  5328. You should run autoupdate.])dnl
  5329. AC_HEADER_STAT($@)[]AC_PROVIDE([AC_STAT_MACROS_BROKEN])[]_m4_defun_epi([AC_STAT_MACROS_BROKEN])
  5330. T8,4
  5331. m4_quote[$*]
  5332. T28,18
  5333. m4_location(AC_FUNC_FNMATCH)acfunctions.m4:356
  5334. F8,5
  5335. m4_indexindex
  5336. T15,2038
  5337. AC_PROG_CC_STDC_m4_defun_pro([AC_PROG_CC_STDC])AC_REQUIRE([AC_PROG_CC])dnl
  5338. AC_BEFORE([$0], [AC_C_INLINE])dnl
  5339. AC_BEFORE([$0], [AC_C_CONST])dnl
  5340. dnl Force this before AC_PROG_CPP. Some cpp's, eg on HPUX, require
  5341. dnl a magic option to avoid problems with ANSI preprocessor commands
  5342. dnl like #elif.
  5343. dnl FIXME: can't do this because then AC_AIX won't work due to a
  5344. dnl circular dependency.
  5345. dnl AC_BEFORE([$0], [AC_PROG_CPP])
  5346. AC_MSG_CHECKING([for $CC option to accept ANSI C])
  5347. AC_CACHE_VAL(ac_cv_prog_cc_stdc,
  5348. [ac_cv_prog_cc_stdc=no
  5349. ac_save_CC=$CC
  5350. AC_LANG_CONFTEST([AC_LANG_PROGRAM(
  5351. [[#include <stdarg.h>
  5352. #include <stdio.h>
  5353. #include <sys/types.h>
  5354. #include <sys/stat.h>
  5355. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  5356. struct buf { int x; };
  5357. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  5358. static char *e (p, i)
  5359. char **p;
  5360. int i;
  5361. {
  5362. return p[i];
  5363. }
  5364. static char *f (char * (*g) (char **, int), char **p, ...)
  5365. {
  5366. char *s;
  5367. va_list v;
  5368. va_start (v,p);
  5369. s = g (p, va_arg (v,int));
  5370. va_end (v);
  5371. return s;
  5372. }
  5373. int test (int i, double x);
  5374. struct s1 {int (*f) (int a);};
  5375. struct s2 {int (*f) (double a);};
  5376. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  5377. int argc;
  5378. char **argv;]],
  5379. [[return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];]])])
  5380. # Don't try gcc -ansi; that turns off useful extensions and
  5381. # breaks some systems' header files.
  5382. # AIX -qlanglvl=ansi
  5383. # Ultrix and OSF/1 -std1
  5384. # HP-UX 10.20 and later -Ae
  5385. # HP-UX older versions -Aa -D_HPUX_SOURCE
  5386. # SVR4 -Xc -D__EXTENSIONS__
  5387. for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5388. do
  5389. CC="$ac_save_CC $ac_arg"
  5390. AC_COMPILE_IFELSE([],
  5391. [ac_cv_prog_cc_stdc=$ac_arg
  5392. break])
  5393. done
  5394. rm -f conftest.$ac_ext conftest.$ac_objext
  5395. CC=$ac_save_CC
  5396. ])
  5397. case "x$ac_cv_prog_cc_stdc" in
  5398. x|xno)
  5399. AC_MSG_RESULT([none needed]) ;;
  5400. *)
  5401. AC_MSG_RESULT([$ac_cv_prog_cc_stdc])
  5402. CC="$CC $ac_cv_prog_cc_stdc" ;;
  5403. esac
  5404. []AC_PROVIDE([AC_PROG_CC_STDC])[]_m4_defun_epi([AC_PROG_CC_STDC])
  5405. T15,228
  5406. AC_PLAIN_SCRIPTAS_INIT
  5407. # Forbidden tokens and exceptions.
  5408. m4_pattern_forbid([^_?A[CHUM]_])
  5409. m4_pattern_forbid([_AC_])
  5410. # Actually reserved by M4sh.
  5411. m4_pattern_allow([^AS_FLAGS$])
  5412. m4_divert_push([BODY])dnl
  5413. m4_wrap([m4_divert_pop([BODY])[]])dnl
  5414. T14,517
  5415. _AC_RUN_IFELSEm4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
  5416. rm -f conftest$ac_exeext
  5417. AS_IF([AC_TRY_EVAL(ac_link) && AC_TRY_COMMAND(./conftest$ac_exeext)],
  5418. [$2],
  5419. [echo "$as_me: program exited with status $ac_status" >&AS_MESSAGE_LOG_FD
  5420. echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
  5421. cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
  5422. m4_ifvaln([$3], [$3])dnl])[]dnl
  5423. rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext m4_ifval([$1],
  5424. [conftest.$ac_ext])[]dnl
  5425. T26,0
  5426. m4_include(acfunctions.m4)
  5427. T20,3
  5428. _AC_LANG_ABBREV(C++)cxx
  5429. T15,214
  5430. AM_FUNC_OBSTACK_m4_defun_pro([AM_FUNC_OBSTACK])AC_DIAGNOSE([obsolete], [The macro `AM_FUNC_OBSTACK' is obsolete.
  5431. You should run autoupdate.])dnl
  5432. AC_FUNC_OBSTACK($@)[]AC_PROVIDE([AM_FUNC_OBSTACK])[]_m4_defun_epi([AM_FUNC_OBSTACK])
  5433. T15,214
  5434. AC_MAJOR_HEADER_m4_defun_pro([AC_MAJOR_HEADER])AC_DIAGNOSE([obsolete], [The macro `AC_MAJOR_HEADER' is obsolete.
  5435. You should run autoupdate.])dnl
  5436. AC_HEADER_MAJOR($@)[]AC_PROVIDE([AC_MAJOR_HEADER])[]_m4_defun_epi([AC_MAJOR_HEADER])
  5437. T18,1532
  5438. AC_FUNC_STRERROR_R_m4_defun_pro([AC_FUNC_STRERROR_R])AC_CHECK_DECLS([strerror_r])
  5439. AC_CHECK_FUNCS([strerror_r])
  5440. if test $ac_cv_func_strerror_r = yes; then
  5441. AC_CACHE_CHECK([for working strerror_r],
  5442. ac_cv_func_strerror_r_works,
  5443. [
  5444. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
  5445. [[
  5446. char buf[100];
  5447. char x = *strerror_r (0, buf, sizeof buf);
  5448. ]])],
  5449. ac_cv_func_strerror_r_works=yes,
  5450. ac_cv_func_strerror_r_works=no)
  5451. if test $ac_cv_func_strerror_r_works = no; then
  5452. # strerror_r seems not to work, but now we have to choose between
  5453. # systems that have relatively inaccessible declarations for the
  5454. # function. BeOS and DEC UNIX 4.0 fall in this category, but the
  5455. # former has a strerror_r that returns char*, while the latter
  5456. # has a strerror_r that returns `int'.
  5457. # This test should segfault on the DEC system.
  5458. AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
  5459. extern char *strerror_r ();],
  5460. [[char buf[100];
  5461. char x = *strerror_r (0, buf, sizeof buf);
  5462. exit (!isalpha (x));]])],
  5463. ac_cv_func_strerror_r_works=yes,
  5464. ac_cv_func_strerror_r_works=no,
  5465. ac_cv_func_strerror_r_works=no)
  5466. fi
  5467. ])
  5468. if test $ac_cv_func_strerror_r_works = yes; then
  5469. AC_DEFINE_UNQUOTED([HAVE_WORKING_STRERROR_R], 1,
  5470. [Define to 1 if `strerror_r' returns a string.])
  5471. fi
  5472. fi
  5473. []AC_PROVIDE([AC_FUNC_STRERROR_R])[]_m4_defun_epi([AC_FUNC_STRERROR_R])
  5474. T17,1
  5475. _m4_divert(BINSH)0
  5476. T18,372
  5477. _AC_COMPILE_IFELSEm4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])dnl
  5478. rm -f conftest.$ac_objext
  5479. AS_IF([AC_TRY_EVAL(ac_compile) &&
  5480. AC_TRY_COMMAND([test -s conftest.$ac_objext])],
  5481. [$2],
  5482. [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
  5483. cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
  5484. m4_ifvaln([$3],[$3])dnl])dnl
  5485. rm -f conftest.$ac_objext m4_ifval([$1], [conftest.$ac_ext])[]dnl
  5486. T16,94
  5487. _AS_TEST_PREPARE_m4_defun_pro([_AS_TEST_PREPARE])as_executable_p="test -f"
  5488. []_m4_defun_epi([_AS_TEST_PREPARE])
  5489. T15,111
  5490. AS_VAR_TEST_SETAS_LITERAL_IF([$1],
  5491. [test "${$1+set}" = set],
  5492. [eval "test \"\${$1+set}\" = set"])
  5493. T33,179
  5494. _AC_CHECK_TYPE_REPLACEMENT_TYPE_Pm4_if(m4_regexp([$1],
  5495. [^\(_Bool\|bool\|char\|double\|float\|int\|long\|short\|\(un\)?signed\|[_a-zA-Z][_a-zA-Z0-9]*_t\)[][_a-zA-Z0-9() *]*$]),
  5496. 0, 1, 0)dnl
  5497. T16,137
  5498. AC_LANG_INT_SAVE_m4_defun_pro([AC_LANG_INT_SAVE])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]AC_PROVIDE([AC_LANG_INT_SAVE])[]_m4_defun_epi([AC_LANG_INT_SAVE])
  5499. T8,183
  5500. AC_ERROR_m4_defun_pro([AC_ERROR])AC_DIAGNOSE([obsolete], [The macro `AC_ERROR' is obsolete.
  5501. You should run autoupdate.])dnl
  5502. AC_MSG_ERROR($@)[]AC_PROVIDE([AC_ERROR])[]_m4_defun_epi([AC_ERROR])
  5503. T37,13
  5504. m4_location(AC_LANG_COMPILER_REQUIRE)aclang.m4:532
  5505. T15,133
  5506. _AS_BOX_LITERALcat <<\_ASBOX
  5507. m4_patsubst([$1], [.], m4_if([$2], [], [[=]], [[$2]]))
  5508. $1
  5509. m4_patsubst([$1], [.], m4_if([$2], [], [[=]], [[$2]]))
  5510. _ASBOX
  5511. T13,230
  5512. AC_PATH_PROGS_m4_defun_pro([AC_PATH_PROGS])for ac_prog in $2
  5513. do
  5514. AC_PATH_PROG([$1], [$ac_prog], , [$4])
  5515. test -n "$$1" && break
  5516. done
  5517. m4_ifvaln([$3], [test -n "$$1" || $1="$3"])dnl
  5518. []AC_PROVIDE([AC_PATH_PROGS])[]_m4_defun_epi([AC_PATH_PROGS])
  5519. T41,14
  5520. m4_location(AC_LANG_COMPILER(Fortran 77))aclang.m4:1263
  5521. T7,470
  5522. m4_init# We need a tmp directory.
  5523. m4_ifndef([m4_tmpdir],
  5524. [m4_define([m4_tmpdir], [/tmp])])
  5525. # M4sugar reserves `m4_[A-Za-z0-9_]*'. We'd need \b and +,
  5526. # but they are not portable.
  5527. m4_pattern_forbid([^m4_])
  5528. m4_pattern_forbid([^dnl$])
  5529. # Check the divert push/pop perfect balance.
  5530. m4_wrap([m4_ifdef([_m4_divert_diversion],
  5531. [m4_fatal([$0: unbalanced m4_divert_push:]
  5532. m4_defn([m4_divert_stack]))])[]])
  5533. m4_divert_push([KILL])
  5534. m4_wrap([m4_divert_pop([KILL])[]])
  5535. T14,482
  5536. _AC_PROG_F77_Gac_test_FFLAGS=${FFLAGS+set}
  5537. ac_save_FFLAGS=$FFLAGS
  5538. FFLAGS=
  5539. AC_CACHE_CHECK(whether $F77 accepts -g, ac_cv_prog_f77_g,
  5540. [FFLAGS=-g
  5541. _AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
  5542. [ac_cv_prog_f77_g=yes],
  5543. [ac_cv_prog_f77_g=no])
  5544. ])
  5545. if test "$ac_test_FFLAGS" = set; then
  5546. FFLAGS=$ac_save_FFLAGS
  5547. elif test $ac_cv_prog_f77_g = yes; then
  5548. if test "$G77" = yes; then
  5549. FFLAGS="-g -O2"
  5550. else
  5551. FFLAGS="-g"
  5552. fi
  5553. else
  5554. if test "$G77" = yes; then
  5555. FFLAGS="-O2"
  5556. else
  5557. FFLAGS=
  5558. fi
  5559. fi[]dnl
  5560. T15,592
  5561. AC_LONG_64_BITS_m4_defun_pro([AC_LONG_64_BITS])AC_DIAGNOSE([obsolete], [The macro `AC_LONG_64_BITS' is obsolete.
  5562. You should run autoupdate.])dnl
  5563. AC_CHECK_SIZEOF([long int])
  5564. AC_DIAGNOSE([obsolete], [$0:
  5565. your code should no longer depend upon `LONG_64_BITS', but upon
  5566. `SIZEOF_LONG_INT'. Remove this warning and the `AC_DEFINE' when
  5567. you adjust the code.])dnl
  5568. test $ac_cv_sizeof_long_int = 8 &&
  5569. AC_DEFINE(LONG_64_BITS, 1,
  5570. [Define if `sizeof (long int)' = 8. Obsolete, use
  5571. `SIZEOF_LONG_INT'.])
  5572. []AC_PROVIDE([AC_LONG_64_BITS])[]_m4_defun_epi([AC_LONG_64_BITS])
  5573. T9,93
  5574. m4_popdefm4_ifndef([$1],
  5575. [m4_fatal([$0: undefined macro: $1])])dnl
  5576. m4_builtin([popdef], $@)
  5577. T10,399
  5578. AS_MKDIR_P{ case $1 in
  5579. [[\\/]]* | ?:[[\\/]]* ) as_incr_dir=;;
  5580. *) as_incr_dir=.;;
  5581. esac
  5582. as_dummy=$1
  5583. for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$[@]"`; do
  5584. case $as_mkdir_dir in
  5585. # Skip DOS drivespec
  5586. ?:) as_incr_dir=$as_mkdir_dir ;;
  5587. *)
  5588. as_incr_dir=$as_incr_dir/$as_mkdir_dir
  5589. test -d "$as_incr_dir" || mkdir "$as_incr_dir"
  5590. ;;
  5591. esac
  5592. done; }
  5593. T13,209
  5594. AC_UTIME_NULL_m4_defun_pro([AC_UTIME_NULL])AC_DIAGNOSE([obsolete], [The macro `AC_UTIME_NULL' is obsolete.
  5595. You should run autoupdate.])dnl
  5596. AC_FUNC_UTIME_NULL($@)[]AC_PROVIDE([AC_UTIME_NULL])[]_m4_defun_epi([AC_UTIME_NULL])
  5597. T15,809
  5598. AC_PROG_F77_C_O_m4_defun_pro([AC_PROG_F77_C_O])AC_REQUIRE([AC_PROG_F77])dnl
  5599. AC_CACHE_CHECK([whether $F77 understand -c and -o together],
  5600. [ac_cv_prog_f77_c_o],
  5601. [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
  5602. # We test twice because some compilers refuse to overwrite an existing
  5603. # `.o' file with `-o', although they will create one.
  5604. ac_try='$F77 $FFLAGS -c conftest.$ac_ext -o conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
  5605. if AC_TRY_EVAL(ac_try) &&
  5606. test -f conftest.$ac_objext &&
  5607. AC_TRY_EVAL(ac_try); then
  5608. ac_cv_prog_f77_c_o=yes
  5609. else
  5610. ac_cv_prog_f77_c_o=no
  5611. fi
  5612. rm -f conftest*])
  5613. if test $ac_cv_prog_f77_c_o = no; then
  5614. AC_DEFINE(F77_NO_MINUS_C_MINUS_O, 1,
  5615. [Define if your Fortran 77 compiler doesn't accept -c and -o together.])
  5616. fi
  5617. []AC_PROVIDE([AC_PROG_F77_C_O])[]_m4_defun_epi([AC_PROG_F77_C_O])
  5618. T13,422
  5619. AC_CACHE_LOADif test -r "$cache_file"; then
  5620. # Some versions of bash will fail to source /dev/null (special
  5621. # files actually), so we avoid doing that.
  5622. if test -f "$cache_file"; then
  5623. AC_MSG_NOTICE([loading cache $cache_file])
  5624. case $cache_file in
  5625. [[\\/]]* | ?:[[\\/]]* ) . $cache_file;;
  5626. *) . ./$cache_file;;
  5627. esac
  5628. fi
  5629. else
  5630. AC_MSG_NOTICE([creating cache $cache_file])
  5631. >$cache_file
  5632. fi
  5633. T11,241
  5634. _AC_RUN_LOG_m4_defun_pro([_AC_RUN_LOG]){ ($2) >&AS_MESSAGE_LOG_FD
  5635. ($1) 2>&AS_MESSAGE_LOG_FD
  5636. ac_status=$?
  5637. echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  5638. (exit $ac_status); }[]AC_PROVIDE([_AC_RUN_LOG])[]_m4_defun_epi([_AC_RUN_LOG])
  5639. T13,694
  5640. _AC_FUNC_STATAC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])dnl
  5641. AC_CACHE_CHECK([whether $1 accepts an empty string],
  5642. [ac_cv_func_$1_empty_string_bug],
  5643. [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
  5644. [[struct stat sbuf;
  5645. exit ($1 ("", &sbuf) ? 1 : 0);]])],
  5646. [ac_cv_func_$1_empty_string_bug=yes],
  5647. [ac_cv_func_$1_empty_string_bug=no],
  5648. [ac_cv_func_$1_empty_string_bug=yes])])
  5649. if test $ac_cv_func_$1_empty_string_bug = yes; then
  5650. AC_LIBOBJ([$1])
  5651. AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$1_EMPTY_STRING_BUG]), 1,
  5652. [Define if `$1' has the bug that it succeeds when
  5653. given the zero-length file name argument.])
  5654. fi
  5655. T19,239
  5656. AC_SETVBUF_REVERSED_m4_defun_pro([AC_SETVBUF_REVERSED])AC_DIAGNOSE([obsolete], [The macro `AC_SETVBUF_REVERSED' is obsolete.
  5657. You should run autoupdate.])dnl
  5658. AC_FUNC_SETVBUF_REVERSED($@)[]AC_PROVIDE([AC_SETVBUF_REVERSED])[]_m4_defun_epi([AC_SETVBUF_REVERSED])
  5659. T14,211
  5660. AC_LONG_DOUBLE_m4_defun_pro([AC_LONG_DOUBLE])AC_DIAGNOSE([obsolete], [The macro `AC_LONG_DOUBLE' is obsolete.
  5661. You should run autoupdate.])dnl
  5662. AC_C_LONG_DOUBLE($@)[]AC_PROVIDE([AC_LONG_DOUBLE])[]_m4_defun_epi([AC_LONG_DOUBLE])
  5663. T19,234
  5664. AC_CANONICAL_SYSTEM_m4_defun_pro([AC_CANONICAL_SYSTEM])AC_DIAGNOSE([obsolete], [The macro `AC_CANONICAL_SYSTEM' is obsolete.
  5665. You should run autoupdate.])dnl
  5666. AC_CANONICAL_TARGET($@)[]AC_PROVIDE([AC_CANONICAL_SYSTEM])[]_m4_defun_epi([AC_CANONICAL_SYSTEM])
  5667. T13,1576
  5668. AC_CHECK_PROG_m4_defun_pro([AC_CHECK_PROG])# Extract the first word of "$2", so it can be a program name with args.
  5669. set dummy $2; ac_word=$[2]
  5670. AC_MSG_CHECKING([for $ac_word])
  5671. AC_CACHE_VAL(ac_cv_prog_$1,
  5672. [if test -n "$$1"; then
  5673. ac_cv_prog_$1="$$1" # Let the user override the test.
  5674. else
  5675. m4_ifvaln([$6],
  5676. [ ac_prog_rejected=no])dnl
  5677. AC_SHELL_PATH_WALK([$5],
  5678. [AS_EXECUTABLE_P("$ac_dir/$ac_word") || continue
  5679. m4_ifvaln([$6],
  5680. [if test "$ac_dir/$ac_word" = "$6"; then
  5681. ac_prog_rejected=yes
  5682. continue
  5683. fi])dnl
  5684. ac_cv_prog_$1="$3"
  5685. echo "$as_me:__oline__: found $ac_dir/$ac_word" >&AS_MESSAGE_LOG_FD
  5686. break])
  5687. m4_ifvaln([$6],
  5688. [if test $ac_prog_rejected = yes; then
  5689. # We found a bogon in the path, so make sure we never use it.
  5690. set dummy $ac_cv_prog_$1
  5691. shift
  5692. if test $[@%:@] != 0; then
  5693. # We chose a different compiler from the bogus one.
  5694. # However, it has the same basename, so the bogon will be chosen
  5695. # first if we set $1 to just the basename; use the full file name.
  5696. shift
  5697. set dummy "$ac_dir/$ac_word" ${1+"$[@]"}
  5698. shift
  5699. ac_cv_prog_$1="$[@]"
  5700. m4_if([$2], [$4],
  5701. [ else
  5702. # Default is a loser.
  5703. AC_MSG_ERROR([$1=$6 unacceptable, but no other $4 found in dnl
  5704. m4_default([$5], [\$PATH])])
  5705. ])dnl
  5706. fi
  5707. fi])dnl
  5708. dnl If no 4th arg is given, leave the cache variable unset,
  5709. dnl so AC_CHECK_PROGS will keep looking.
  5710. m4_ifvaln([$4],
  5711. [ test -z "$ac_cv_prog_$1" && ac_cv_prog_$1="$4"])dnl
  5712. fi])dnl
  5713. $1=$ac_cv_prog_$1
  5714. if test -n "$$1"; then
  5715. AC_MSG_RESULT([$$1])
  5716. else
  5717. AC_MSG_RESULT([no])
  5718. fi
  5719. AC_SUBST($1)dnl
  5720. []AC_PROVIDE([AC_CHECK_PROG])[]_m4_defun_epi([AC_CHECK_PROG])
  5721. T24,14
  5722. m4_location(AC_C_INLINE)aclang.m4:1602
  5723. T14,213
  5724. ac_cv_prog_gxx_m4_defun_pro([ac_cv_prog_gxx])AC_DIAGNOSE([obsolete], [The macro `ac_cv_prog_gxx' is obsolete.
  5725. You should run autoupdate.])dnl
  5726. ac_cv_cxx_compiler_gnu[]AC_PROVIDE([ac_cv_prog_gxx])[]_m4_defun_epi([ac_cv_prog_gxx])
  5727. T18,362
  5728. _AC_RUN_LOG_STDERR_m4_defun_pro([_AC_RUN_LOG_STDERR]){ ($2) >&AS_MESSAGE_LOG_FD
  5729. ($1) 2>conftest.er1
  5730. ac_status=$?
  5731. egrep -v '^ *\+' conftest.er1 >conftest.err
  5732. rm -f conftest.er1
  5733. cat conftest.err >&AS_MESSAGE_LOG_FD
  5734. echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  5735. (exit $ac_status); }[]AC_PROVIDE([_AC_RUN_LOG_STDERR])[]_m4_defun_epi([_AC_RUN_LOG_STDERR])
  5736. T20,240
  5737. AC_LANG_PROGRAM(C++)$1
  5738. m4_ifdef([_AC_LANG_PROGRAM_C_F77_HOOKS], [_AC_LANG_PROGRAM_C_F77_HOOKS()])dnl
  5739. int
  5740. main ()
  5741. {
  5742. dnl Do *not* indent the following line: there may be CPP directives.
  5743. dnl Don't move the `;' right after for the same reason.
  5744. $2
  5745. ;
  5746. return 0;
  5747. }
  5748. T14,3837
  5749. AC_FUNC_MKTIME_m4_defun_pro([AC_FUNC_MKTIME])AC_REQUIRE([AC_HEADER_TIME])dnl
  5750. AC_CHECK_HEADERS(sys/time.h unistd.h)
  5751. AC_CHECK_FUNCS(alarm)
  5752. AC_CACHE_CHECK([for working mktime], ac_cv_func_working_mktime,
  5753. [AC_RUN_IFELSE([AC_LANG_SOURCE(
  5754. [[/* Test program from Paul Eggert and Tony Leneis. */
  5755. #if TIME_WITH_SYS_TIME
  5756. # include <sys/time.h>
  5757. # include <time.h>
  5758. #else
  5759. # if HAVE_SYS_TIME_H
  5760. # include <sys/time.h>
  5761. # else
  5762. # include <time.h>
  5763. # endif
  5764. #endif
  5765. #if HAVE_UNISTD_H
  5766. # include <unistd.h>
  5767. #endif
  5768. #if !HAVE_ALARM
  5769. # define alarm(X) /* empty */
  5770. #endif
  5771. /* Work around redefinition to rpl_putenv by other config tests. */
  5772. #undef putenv
  5773. static time_t time_t_max;
  5774. /* Values we'll use to set the TZ environment variable. */
  5775. static const char *const tz_strings[] = {
  5776. (const char *) 0, "TZ=GMT0", "TZ=JST-9",
  5777. "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
  5778. };
  5779. #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
  5780. /* Fail if mktime fails to convert a date in the spring-forward gap.
  5781. Based on a problem report from Andreas Jaeger. */
  5782. static void
  5783. spring_forward_gap ()
  5784. {
  5785. /* glibc (up to about 1998-10-07) failed this test. */
  5786. struct tm tm;
  5787. /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
  5788. instead of "TZ=America/Vancouver" in order to detect the bug even
  5789. on systems that don't support the Olson extension, or don't have the
  5790. full zoneinfo tables installed. */
  5791. putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
  5792. tm.tm_year = 98;
  5793. tm.tm_mon = 3;
  5794. tm.tm_mday = 5;
  5795. tm.tm_hour = 2;
  5796. tm.tm_min = 0;
  5797. tm.tm_sec = 0;
  5798. tm.tm_isdst = -1;
  5799. if (mktime (&tm) == (time_t)-1)
  5800. exit (1);
  5801. }
  5802. static void
  5803. mktime_test (now)
  5804. time_t now;
  5805. {
  5806. struct tm *lt;
  5807. if ((lt = localtime (&now)) && mktime (lt) != now)
  5808. exit (1);
  5809. now = time_t_max - now;
  5810. if ((lt = localtime (&now)) && mktime (lt) != now)
  5811. exit (1);
  5812. }
  5813. static void
  5814. irix_6_4_bug ()
  5815. {
  5816. /* Based on code from Ariel Faigon. */
  5817. struct tm tm;
  5818. tm.tm_year = 96;
  5819. tm.tm_mon = 3;
  5820. tm.tm_mday = 0;
  5821. tm.tm_hour = 0;
  5822. tm.tm_min = 0;
  5823. tm.tm_sec = 0;
  5824. tm.tm_isdst = -1;
  5825. mktime (&tm);
  5826. if (tm.tm_mon != 2 || tm.tm_mday != 31)
  5827. exit (1);
  5828. }
  5829. static void
  5830. bigtime_test (j)
  5831. int j;
  5832. {
  5833. struct tm tm;
  5834. time_t now;
  5835. tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
  5836. now = mktime (&tm);
  5837. if (now != (time_t) -1)
  5838. {
  5839. struct tm *lt = localtime (&now);
  5840. if (! (lt
  5841. && lt->tm_year == tm.tm_year
  5842. && lt->tm_mon == tm.tm_mon
  5843. && lt->tm_mday == tm.tm_mday
  5844. && lt->tm_hour == tm.tm_hour
  5845. && lt->tm_min == tm.tm_min
  5846. && lt->tm_sec == tm.tm_sec
  5847. && lt->tm_yday == tm.tm_yday
  5848. && lt->tm_wday == tm.tm_wday
  5849. && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
  5850. == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
  5851. exit (1);
  5852. }
  5853. }
  5854. int
  5855. main ()
  5856. {
  5857. time_t t, delta;
  5858. int i, j;
  5859. /* This test makes some buggy mktime implementations loop.
  5860. Give up after 60 seconds; a mktime slower than that
  5861. isn't worth using anyway. */
  5862. alarm (60);
  5863. for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
  5864. continue;
  5865. time_t_max--;
  5866. delta = time_t_max / 997; /* a suitable prime number */
  5867. for (i = 0; i < N_STRINGS; i++)
  5868. {
  5869. if (tz_strings[i])
  5870. putenv (tz_strings[i]);
  5871. for (t = 0; t <= time_t_max - delta; t += delta)
  5872. mktime_test (t);
  5873. mktime_test ((time_t) 60 * 60);
  5874. mktime_test ((time_t) 60 * 60 * 24);
  5875. for (j = 1; 0 < j; j *= 2)
  5876. bigtime_test (j);
  5877. bigtime_test (j - 1);
  5878. }
  5879. irix_6_4_bug ();
  5880. spring_forward_gap ();
  5881. exit (0);
  5882. }]])],
  5883. [ac_cv_func_working_mktime=yes],
  5884. [ac_cv_func_working_mktime=no],
  5885. [ac_cv_func_working_mktime=no])])
  5886. if test $ac_cv_func_working_mktime = no; then
  5887. AC_LIBOBJ([mktime])
  5888. fi
  5889. []AC_PROVIDE([AC_FUNC_MKTIME])[]_m4_defun_epi([AC_FUNC_MKTIME])
  5890. T36,16
  5891. m4_location(AC_SYS_SIGLIST_DECLARED)acoldnames.m4:73
  5892. T6,27
  5893. m4_cmpm4_sign(m4_eval([$1 - $2]))
  5894. T34,16
  5895. m4_location(AC_TIME_WITH_SYS_TIME)acoldnames.m4:75
  5896. F6,3
  5897. m4_lenlen
  5898. T8,88
  5899. _m4_warn_m4_warning_error_ifelse([m4_fatal([$1])],
  5900. [m4_warning([$1])])
  5901. T15,52
  5902. AC_DEFINE_TRACEAS_LITERAL_IF([$1], [AC_DEFINE_TRACE_LITERAL([$1])])
  5903. T19,16
  5904. m4_location(AC_USG)acheaders.m4:408
  5905. T20,1
  5906. _m4_divert(REVISION)1
  5907. T19,17
  5908. m4_location(AC_RSH)acspecific.m4:285
  5909. T28,19
  5910. m4_location(AC_FUNC_SETPGRP)acfunctions.m4:1177
  5911. T20,270
  5912. _AC_ARG_VAR_CPPFLAGS_m4_defun_pro([_AC_ARG_VAR_CPPFLAGS])AC_ARG_VAR([CPPFLAGS],
  5913. [C/C++ preprocessor flags, e.g. -I<include dir> if you have
  5914. headers in a nonstandard directory <include dir>])[]AC_PROVIDE([_AC_ARG_VAR_CPPFLAGS])[]_m4_defun_epi([_AC_ARG_VAR_CPPFLAGS])
  5915. T19,159
  5916. AC_LANG_INT_SAVE(C)AC_LANG_PROGRAM([m4_default([$1], [@%:@include <stdio.h>])],
  5917. [FILE *f = fopen ("conftest.val", "w");
  5918. if (!f)
  5919. exit (1);
  5920. fprintf (f, "%d", ($2));
  5921. fclose (f);])
  5922. T16,598
  5923. AC_HEADER_DIRENT_m4_defun_pro([AC_HEADER_DIRENT])AH_CHECK_HEADERS_DIRENT(dirent.h sys/ndir.h sys/dir.h ndir.h)
  5924. ac_header_dirent=no
  5925. for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  5926. _AC_CHECK_HEADER_DIRENT($ac_hdr,
  5927. [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$ac_hdr), 1)
  5928. ac_header_dirent=$ac_hdr; break])
  5929. done
  5930. # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  5931. if test $ac_header_dirent = dirent.h; then
  5932. AC_CHECK_LIB(dir, opendir, LIBS="$LIBS -ldir")
  5933. else
  5934. AC_CHECK_LIB(x, opendir, LIBS="$LIBS -lx")
  5935. fi
  5936. []AC_PROVIDE([AC_HEADER_DIRENT])[]_m4_defun_epi([AC_HEADER_DIRENT])
  5937. T9,36
  5938. m4_renamem4_copy([$1], [$2])m4_undefine([$1])
  5939. T40,14
  5940. m4_location(AC_LANG_PREPROC(Fortran 77))aclang.m4:1255
  5941. T31,16
  5942. m4_location(AC_HEADER_SYS_WAIT)acheaders.m4:311
  5943. T25,0
  5944. AC_LIST_COMMANDS_COMMANDS
  5945. T28,16
  5946. m4_location(AC_STDC_HEADERS)acoldnames.m4:69
  5947. T16,143
  5948. AH_CHECK_HEADERSAC_FOREACH([AC_Header], [$1],
  5949. [AH_TEMPLATE(AS_TR_CPP(HAVE_[]AC_Header),
  5950. [Define if you have the <]AC_Header[> header file.])])
  5951. T14,117
  5952. AC_REQUIRE_CPP_m4_defun_pro([AC_REQUIRE_CPP])AC_LANG_PREPROC_REQUIRE[]AC_PROVIDE([AC_REQUIRE_CPP])[]_m4_defun_epi([AC_REQUIRE_CPP])
  5953. T14,143
  5954. AC_LINK_IFELSE_m4_defun_pro([AC_LINK_IFELSE])AC_LANG_COMPILER_REQUIRE()dnl
  5955. _AC_LINK_IFELSE($@)[]AC_PROVIDE([AC_LINK_IFELSE])[]_m4_defun_epi([AC_LINK_IFELSE])
  5956. T32,14
  5957. m4_location(AC_STRUCT_ST_BLOCKS)actypes.m4:497
  5958. T14,50
  5959. m4_divert_textm4_divert_push([$1])dnl
  5960. $2
  5961. m4_divert_pop([$1])dnl
  5962. T24,93
  5963. _AC_CONFIG_COMMANDS_INITm4_ifval([$1],
  5964. [m4_append([_AC_OUTPUT_COMMANDS_INIT],
  5965. [$1
  5966. ])])
  5967. T25,17
  5968. m4_location(AC_PATH_TOOL)acgeneral.m4:2430
  5969. F8,5
  5970. m4_indirindir
  5971. T27,1245
  5972. _AC_COMPILER_EXEEXT_DEFAULT# Try to create an executable without -o first, disregard a.out.
  5973. # It will help us diagnose broken compilers, and finding out an intuition
  5974. # of exeext.
  5975. AC_MSG_CHECKING([for _AC_LANG compiler default output])
  5976. ac_link_default=`echo "$ac_link" | sed ['s/ -o *conftest[^ ]*//']`
  5977. AS_IF([AC_TRY_EVAL(ac_link_default)],
  5978. [# Find the output, starting from the most likely. This scheme is
  5979. # not robust to junk in `.', hence go to wildcards (a.*) only as a last
  5980. # resort.
  5981. for ac_file in `ls a.exe conftest.exe 2>/dev/null;
  5982. ls a.out conftest 2>/dev/null;
  5983. ls a.* conftest.* 2>/dev/null`; do
  5984. case $ac_file in
  5985. *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
  5986. a.out ) # We found the default executable, but exeext='' is most
  5987. # certainly right.
  5988. break;;
  5989. *.* ) ac_cv_exeext=`expr "$ac_file" : ['[^.]*\(\..*\)']`
  5990. # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
  5991. export ac_cv_exeext
  5992. break;;
  5993. * ) break;;
  5994. esac
  5995. done],
  5996. [echo "$as_me: failed program was:" >&AS_MESSAGE_LOG_FD
  5997. cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD
  5998. AC_MSG_ERROR([_AC_LANG compiler cannot create executables], 77)])
  5999. ac_exeext=$ac_cv_exeext
  6000. AC_MSG_RESULT([$ac_file])
  6001. T12,107
  6002. AC_FUNC_STAT_m4_defun_pro([AC_FUNC_STAT])_AC_FUNC_STAT(stat)[]AC_PROVIDE([AC_FUNC_STAT])[]_m4_defun_epi([AC_FUNC_STAT])
  6003. T6,93
  6004. AS_BOXAS_LITERAL_IF([$1],
  6005. [_AS_BOX_LITERAL($@)],
  6006. [_AS_BOX_INDIR($@)])
  6007. T18,767
  6008. AC_HEADER_SYS_WAIT_m4_defun_pro([AC_HEADER_SYS_WAIT])AC_CACHE_CHECK([for sys/wait.h that is POSIX.1 compatible],
  6009. ac_cv_header_sys_wait_h,
  6010. [AC_COMPILE_IFELSE(
  6011. [AC_LANG_PROGRAM([#include <sys/types.h>
  6012. #include <sys/wait.h>
  6013. #ifndef WEXITSTATUS
  6014. # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
  6015. #endif
  6016. #ifndef WIFEXITED
  6017. # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
  6018. #endif
  6019. ],
  6020. [ int s;
  6021. wait (&s);
  6022. s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;])],
  6023. [ac_cv_header_sys_wait_h=yes],
  6024. [ac_cv_header_sys_wait_h=no])])
  6025. if test $ac_cv_header_sys_wait_h = yes; then
  6026. AC_DEFINE(HAVE_SYS_WAIT_H, 1,
  6027. [Define if you have <sys/wait.h> that is POSIX.1 compatible.])
  6028. fi
  6029. []AC_PROVIDE([AC_HEADER_SYS_WAIT])[]_m4_defun_epi([AC_HEADER_SYS_WAIT])
  6030. T15,876
  6031. AC_HEADER_MAJOR_m4_defun_pro([AC_HEADER_MAJOR])AC_CACHE_CHECK(whether sys/types.h defines makedev,
  6032. ac_cv_header_sys_types_h_makedev,
  6033. [AC_TRY_LINK([#include <sys/types.h>
  6034. ], [return makedev(0, 0);],
  6035. ac_cv_header_sys_types_h_makedev=yes, ac_cv_header_sys_types_h_makedev=no)
  6036. ])
  6037. if test $ac_cv_header_sys_types_h_makedev = no; then
  6038. AC_CHECK_HEADER(sys/mkdev.h,
  6039. [AC_DEFINE(MAJOR_IN_MKDEV, 1,
  6040. [Define if `major', `minor', and `makedev' are
  6041. declared in <mkdev.h>.])])
  6042. if test $ac_cv_header_sys_mkdev_h = no; then
  6043. AC_CHECK_HEADER(sys/sysmacros.h,
  6044. [AC_DEFINE(MAJOR_IN_SYSMACROS, 1,
  6045. [Define if `major', `minor', and `makedev' are
  6046. declared in <sysmacros.h>.])])
  6047. fi
  6048. fi
  6049. []AC_PROVIDE([AC_HEADER_MAJOR])[]_m4_defun_epi([AC_HEADER_MAJOR])
  6050. T28,13
  6051. m4_location(AC_LANG_RESTORE)aclang.m4:173
  6052. T13,26
  6053. m4_cr_LETTERSABCDEFGHIJKLMNOPQRSTUVWXYZ
  6054. T27,3
  6055. _AC_LANG_ABBREV(Fortran 77)f77
  6056. T9,186
  6057. _AS_QUOTE_AS_QUOTE_IFELSE([$1],
  6058. [AS_ESCAPE([$1], [`""])],
  6059. [m4_warn([obsolete],
  6060. [back quotes and double quotes should not be escaped in: $1])dnl
  6061. $1])
  6062. T10,54
  6063. m4_noquotem4_changequote(-=<{,}>=-)$1-=<{}>=-m4_changequote([,])
  6064. T8,143
  6065. m4_matchm4_if([$#], 0, [],
  6066. [$#], 1, [],
  6067. [$#], 2, [$2],
  6068. m4_regexp([$1], [$2]), -1, [m4_match([$1], m4_shiftn(3, $@))],
  6069. [$3])
  6070. T28,16
  6071. m4_location(AC_MAJOR_HEADER)acoldnames.m4:59
  6072. T16,2
  6073. _m4_divert(KILL)-1
  6074. T9,138
  6075. AC_PREREQm4_if(m4_version_compare(m4_defn([AC_ACVERSION]), [$1]), -1,
  6076. [AC_FATAL([Autoconf version $1 or higher is required for this script])])
  6077. T19,1091
  6078. AC_OUTPUT_MAKE_DEFS[# Transform confdefs.h into DEFS.
  6079. # Protect against shell expansion while executing Makefile rules.
  6080. # Protect against Makefile macro expansion.
  6081. #
  6082. # If the first sed substitution is executed (which looks for macros that
  6083. # take arguments), then we branch to the quote section. Otherwise,
  6084. # look for a macro that doesn't take arguments.
  6085. cat >confdef2opt.sed <<\EOF
  6086. t clear
  6087. : clear
  6088. s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
  6089. t quote
  6090. s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
  6091. t quote
  6092. d
  6093. : quote
  6094. s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
  6095. s,\[,\\&,g
  6096. s,\],\\&,g
  6097. s,\$,$$,g
  6098. p
  6099. EOF
  6100. # We use echo to avoid assuming a particular line-breaking character.
  6101. # The extra dot is to prevent the shell from consuming trailing
  6102. # line-breaks from the sub-command output. A line-break within
  6103. # single-quotes doesn't work because, if this script is created in a
  6104. # platform that uses two characters for line-breaks (e.g., DOS), tr
  6105. # would break.
  6106. ac_LF_and_DOT=`echo; echo .`
  6107. DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
  6108. rm -f confdef2opt.sed
  6109. ]
  6110. T25,17
  6111. m4_location(AC_PROG_YACC)acspecific.m4:124
  6112. T20,19
  6113. m4_location(AC_MMAP)acfunctions.m4:1085
  6114. T10,711
  6115. AC_REQUIREm4_expansion_stack_push(m4_location[: $1 is required by...])dnl
  6116. m4_ifdef([_m4_expanding($1)],
  6117. [m4_fatal([$0: circular dependency of $1])])dnl
  6118. m4_ifndef([_m4_divert_dump],
  6119. [m4_fatal([$0: cannot be used outside of an m4_defun'd macro])])dnl
  6120. m4_provide_ifelse([$1],
  6121. [],
  6122. [m4_divert_push(m4_eval(m4_divnum - 1))dnl
  6123. m4_default([$2], [$1])
  6124. m4_divert(m4_defn([_m4_divert_dump]))dnl
  6125. m4_undivert(m4_defn([_m4_divert_diversion]))dnl
  6126. m4_divert_pop(m4_defn([_m4_divert_dump]))])dnl
  6127. m4_provide_ifelse([$1],
  6128. [],
  6129. [m4_warn([syntax],
  6130. [$1 is m4_require'd but is not m4_defun'd])])dnl
  6131. m4_expansion_stack_pop()dnl
  6132. T7,57
  6133. AS_EXIT{ (exit m4_default([$1], 1)); exit m4_default([$1], 1); }
  6134. T14,202
  6135. AC_DECL_YYTEXT_m4_defun_pro([AC_DECL_YYTEXT])AC_DIAGNOSE([obsolete], [The macro `AC_DECL_YYTEXT' is obsolete.
  6136. You should run autoupdate.])dnl
  6137. AC_PROG_LEX[]AC_PROVIDE([AC_DECL_YYTEXT])[]_m4_defun_epi([AC_DECL_YYTEXT])
  6138. T28,18
  6139. m4_location(fp_FUNC_FNMATCH)acfunctions.m4:363
  6140. F8,8
  6141. traceofftraceoff
  6142. F8,5
  6143. m4_shiftshift
  6144. T17,52
  6145. AC_LANG_SOURCE(C)#line __oline__ "configure"
  6146. #include "confdefs.h"
  6147. $1
  6148. T15,749
  6149. AC_CHECK_HEADER_m4_defun_pro([AC_CHECK_HEADER])AS_VAR_PUSHDEF([ac_Header], [ac_cv_header_$1])dnl
  6150. AC_CACHE_CHECK([for $1], ac_Header,
  6151. [m4_ifval([$4],
  6152. [AC_COMPILE_IFELSE([AC_LANG_SOURCE([$4
  6153. @%:@include <$1>])],
  6154. [AS_VAR_SET(ac_Header, yes)],
  6155. [AS_VAR_SET(ac_Header, no)])],
  6156. [AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <$1>])],
  6157. [AS_VAR_SET(ac_Header, yes)],
  6158. [AS_VAR_SET(ac_Header, no)])])])
  6159. AS_IF([test AS_VAR_GET(ac_Header) = yes], [$2], [$3])[]dnl
  6160. AS_VAR_POPDEF([ac_Header])dnl
  6161. []AC_PROVIDE([AC_CHECK_HEADER])[]_m4_defun_epi([AC_CHECK_HEADER])
  6162. T21,16
  6163. m4_location(AC_PID_T)acoldnames.m4:63
  6164. T29,13
  6165. m4_location(AC_LANG_INT_SAVE)aclang.m4:338
  6166. T23,2
  6167. _m4_divert(VERSION_END)23
  6168. T8,151
  6169. _AC_EVAL_m4_defun_pro([_AC_EVAL])_AC_RUN_LOG([eval $1],
  6170. [eval echo "$as_me:__oline__: \"$1\""])[]AC_PROVIDE([_AC_EVAL])[]_m4_defun_epi([_AC_EVAL])
  6171. T6,502
  6172. AC_AIX_m4_defun_pro([AC_AIX])AH_VERBATIM([_ALL_SOURCE],
  6173. [/* Define if on AIX 3.
  6174. System headers sometimes define this.
  6175. We just want to avoid a redefinition error message. */
  6176. @%:@ifndef _ALL_SOURCE
  6177. @%:@ undef _ALL_SOURCE
  6178. @%:@endif])dnl
  6179. AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
  6180. AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
  6181. AC_MSG_CHECKING([for AIX])
  6182. AC_EGREP_CPP(yes,
  6183. [#ifdef _AIX
  6184. yes
  6185. #endif
  6186. ],
  6187. [AC_MSG_RESULT([yes])
  6188. AC_DEFINE(_ALL_SOURCE)],
  6189. [AC_MSG_RESULT([no])])
  6190. []AC_PROVIDE([AC_AIX])[]_m4_defun_epi([AC_AIX])
  6191. T22,18
  6192. m4_location(AC_ALLOCA)acfunctions.m4:250
  6193. T15,145
  6194. AC_EGREP_HEADER_m4_defun_pro([AC_EGREP_HEADER])AC_EGREP_CPP([$1],
  6195. [#include <$2>
  6196. ], [$3], [$4])[]AC_PROVIDE([AC_EGREP_HEADER])[]_m4_defun_epi([AC_EGREP_HEADER])
  6197. T18,817
  6198. AC_CONFIG_AUX_DIRS_m4_defun_pro([AC_CONFIG_AUX_DIRS])ac_aux_dir=
  6199. for ac_dir in $1; do
  6200. if test -f $ac_dir/install-sh; then
  6201. ac_aux_dir=$ac_dir
  6202. ac_install_sh="$ac_aux_dir/install-sh -c"
  6203. break
  6204. elif test -f $ac_dir/install.sh; then
  6205. ac_aux_dir=$ac_dir
  6206. ac_install_sh="$ac_aux_dir/install.sh -c"
  6207. break
  6208. elif test -f $ac_dir/shtool; then
  6209. ac_aux_dir=$ac_dir
  6210. ac_install_sh="$ac_aux_dir/shtool install -c"
  6211. break
  6212. fi
  6213. done
  6214. if test -z "$ac_aux_dir"; then
  6215. AC_MSG_ERROR([cannot find install-sh or install.sh in $1])
  6216. fi
  6217. ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  6218. ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  6219. ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  6220. AC_PROVIDE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  6221. []AC_PROVIDE([AC_CONFIG_AUX_DIRS])[]_m4_defun_epi([AC_CONFIG_AUX_DIRS])
  6222. T28,16
  6223. m4_location(AC_HEADER_CHECK)acoldnames.m4:30
  6224. T13,426
  6225. AC_TYPE_UID_T_m4_defun_pro([AC_TYPE_UID_T])AC_CACHE_CHECK(for uid_t in sys/types.h, ac_cv_type_uid_t,
  6226. [AC_EGREP_HEADER(uid_t, sys/types.h,
  6227. ac_cv_type_uid_t=yes, ac_cv_type_uid_t=no)])
  6228. if test $ac_cv_type_uid_t = no; then
  6229. AC_DEFINE(uid_t, int, [Define to `int' if <sys/types.h> doesn't define.])
  6230. AC_DEFINE(gid_t, int, [Define to `int' if <sys/types.h> doesn't define.])
  6231. fi
  6232. []AC_PROVIDE([AC_TYPE_UID_T])[]_m4_defun_epi([AC_TYPE_UID_T])
  6233. T14,210
  6234. AC_SIZEOF_TYPE_m4_defun_pro([AC_SIZEOF_TYPE])AC_DIAGNOSE([obsolete], [The macro `AC_SIZEOF_TYPE' is obsolete.
  6235. You should run autoupdate.])dnl
  6236. AC_CHECK_SIZEOF($@)[]AC_PROVIDE([AC_SIZEOF_TYPE])[]_m4_defun_epi([AC_SIZEOF_TYPE])
  6237. T14,1077
  6238. AC_FUNC_MEMCMP_m4_defun_pro([AC_FUNC_MEMCMP])AC_CACHE_CHECK([for working memcmp], ac_cv_func_memcmp_working,
  6239. [AC_RUN_IFELSE([AC_LANG_PROGRAM([], [[
  6240. /* Some versions of memcmp are not 8-bit clean. */
  6241. char c0 = 0x40, c1 = 0x80, c2 = 0x81;
  6242. if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
  6243. exit (1);
  6244. /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
  6245. or more and with at least one buffer not starting on a 4-byte boundary.
  6246. William Lewis provided this test program. */
  6247. {
  6248. char foo[21];
  6249. char bar[21];
  6250. int i;
  6251. for (i = 0; i < 4; i++)
  6252. {
  6253. char *a = foo + i;
  6254. char *b = bar + i;
  6255. strcpy (a, "--------01111111");
  6256. strcpy (b, "--------10000000");
  6257. if (memcmp (a, b, 16) >= 0)
  6258. exit (1);
  6259. }
  6260. exit (0);
  6261. }
  6262. ]])],
  6263. [ac_cv_func_memcmp_working=yes],
  6264. [ac_cv_func_memcmp_working=no],
  6265. [ac_cv_func_memcmp_working=no])])
  6266. test $ac_cv_func_memcmp_working = no && AC_LIBOBJ([memcmp])
  6267. []AC_PROVIDE([AC_FUNC_MEMCMP])[]_m4_defun_epi([AC_FUNC_MEMCMP])
  6268. T26,14
  6269. m4_location(AC_TYPE_UID_T)actypes.m4:303
  6270. T27,17
  6271. m4_location(AC_SEARCH_LIBS)acgeneral.m4:2537
  6272. T32,13
  6273. m4_location(AC_LANG_COMPILER(C))aclang.m4:917
  6274. T24,161
  6275. AC_LANG_BOOL_COMPILE_TRY_m4_defun_pro([AC_LANG_BOOL_COMPILE_TRY])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]AC_PROVIDE([AC_LANG_BOOL_COMPILE_TRY])[]_m4_defun_epi([AC_LANG_BOOL_COMPILE_TRY])
  6276. T23,0
  6277. AC_DEFINE_TRACE_LITERAL
  6278. T29,17
  6279. m4_location(AC_LINKER_OPTION)acgeneral.m4:4486
  6280. T17,685
  6281. AC_CANONICAL_HOSTm4_provide_ifelse([AC_CANONICAL_HOST],
  6282. [m4_warn([syntax], [AC_CANONICAL_HOST invoked multiple times])],
  6283. [_m4_defun_pro([AC_CANONICAL_HOST])AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  6284. m4_divert_text([HELP_CANON],
  6285. [[ --host=HOST build programs to run on HOST [BUILD]]])dnl
  6286. AC_CACHE_CHECK([host system type], [ac_cv_host],
  6287. [ac_cv_host_alias=$host_alias
  6288. test -z "$ac_cv_host_alias" &&
  6289. ac_cv_host_alias=$ac_cv_build_alias
  6290. ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
  6291. AC_MSG_ERROR([$ac_config_sub $ac_cv_host_alias failed])
  6292. ])
  6293. _AC_CANONICAL_SPLIT([host])
  6294. []AC_PROVIDE([AC_CANONICAL_HOST])[]_m4_defun_epi([AC_CANONICAL_HOST])])
  6295. T10,40
  6296. m4_warningm4_errprintn(m4_location[: warning: $1])
  6297. T30,17
  6298. m4_location(AC_HAVE_POUNDBANG)acspecific.m4:346
  6299. T15,281
  6300. AS_DIRNAME_EXPR_m4_defun_pro([AS_DIRNAME_EXPR])m4_require([_AS_EXPR_PREPARE])dnl
  6301. $as_expr X[]$1 : 'X\(.*[[^/]]\)//*[[^/][^/]]*/*$' \| \
  6302. X[]$1 : 'X\(//\)[[^/]]' \| \
  6303. X[]$1 : 'X\(//\)$' \| \
  6304. X[]$1 : 'X\(/\)' \| \
  6305. . : '\(.\)'[]_m4_defun_epi([AS_DIRNAME_EXPR])
  6306. T28,161
  6307. AC_LANG_COMPILER(Fortran 77)_m4_defun_pro([AC_LANG_COMPILER(Fortran 77)])AC_REQUIRE([AC_PROG_F77])[]AC_PROVIDE([AC_LANG_COMPILER(Fortran 77)])[]_m4_defun_epi([AC_LANG_COMPILER(Fortran 77)])
  6308. T24,17
  6309. m4_location(_AC_RUN_LOG)acgeneral.m4:2126
  6310. T13,431
  6311. m4_divert_popm4_ifval([$1],
  6312. [m4_if(_m4_divert([$1]), m4_divnum, [],
  6313. [m4_fatal([$0($1): unexpected current diversion: ]m4_divnum)])])dnl
  6314. m4_popdef([_m4_divert_diversion])dnl
  6315. dnl m4_ifndef([_m4_divert_diversion],
  6316. dnl [m4_fatal([too many m4_divert_pop])])dnl
  6317. m4_builtin([divert],
  6318. m4_ifdef([_m4_divert_diversion],
  6319. [_m4_divert(_m4_divert_diversion)], -1))dnl
  6320. m4_popdef([m4_divert_stack])dnl
  6321. T27,14
  6322. m4_location(AC_CHECK_TYPES)actypes.m4:172
  6323. T33,1144
  6324. _AC_INCLUDES_DEFAULT_REQUIREMENTS_m4_defun_pro([_AC_INCLUDES_DEFAULT_REQUIREMENTS])m4_divert_text([DEFAULTS],
  6325. [# Factoring default headers for most tests.
  6326. dnl If ever you change this variable, please keep autoconf.texi in sync.
  6327. ac_includes_default="\
  6328. #include <stdio.h>
  6329. #if HAVE_SYS_TYPES_H
  6330. # include <sys/types.h>
  6331. #endif
  6332. #if HAVE_SYS_STAT_H
  6333. # include <sys/stat.h>
  6334. #endif
  6335. #if STDC_HEADERS
  6336. # include <stdlib.h>
  6337. # include <stddef.h>
  6338. #else
  6339. # if HAVE_STDLIB_H
  6340. # include <stdlib.h>
  6341. # endif
  6342. #endif
  6343. #if HAVE_STRING_H
  6344. # if !STDC_HEADERS && HAVE_MEMORY_H
  6345. # include <memory.h>
  6346. # endif
  6347. # include <string.h>
  6348. #endif
  6349. #if HAVE_STRINGS_H
  6350. # include <strings.h>
  6351. #endif
  6352. #if HAVE_INTTYPES_H
  6353. # include <inttypes.h>
  6354. #else
  6355. # if HAVE_STDINT_H
  6356. # include <stdint.h>
  6357. # endif
  6358. #endif
  6359. #if HAVE_UNISTD_H
  6360. # include <unistd.h>
  6361. #endif"
  6362. ])dnl
  6363. AC_REQUIRE([AC_HEADER_STDC])dnl
  6364. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6365. AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6366. inttypes.h stdint.h unistd.h],
  6367. [], [], $ac_includes_default)
  6368. []AC_PROVIDE([_AC_INCLUDES_DEFAULT_REQUIREMENTS])[]_m4_defun_epi([_AC_INCLUDES_DEFAULT_REQUIREMENTS])
  6369. T23,133
  6370. m4_expansion_stack_dumpm4_ifdef([m4_expansion_stack],
  6371. [m4_errprintn(m4_defn([m4_expansion_stack]))])dnl
  6372. m4_errprintn(m4_location[: the top level])
  6373. T28,14
  6374. m4_location(AC_LONG_64_BITS)actypes.m4:398
  6375. T11,100
  6376. AC_TRY_EVAL_m4_defun_pro([AC_TRY_EVAL])_AC_EVAL([$$1])[]AC_PROVIDE([AC_TRY_EVAL])[]_m4_defun_epi([AC_TRY_EVAL])
  6377. T13,931
  6378. AC_FUNC_CHOWN_m4_defun_pro([AC_FUNC_CHOWN])AC_REQUIRE([AC_TYPE_UID_T])dnl
  6379. AC_CHECK_HEADERS(unistd.h)
  6380. AC_CACHE_CHECK([for working chown], ac_cv_func_chown_works,
  6381. [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
  6382. #include <fcntl.h>
  6383. ],
  6384. [[ char *f = "conftest.chown";
  6385. struct stat before, after;
  6386. if (creat (f, 0600) < 0)
  6387. exit (1);
  6388. if (stat (f, &before) < 0)
  6389. exit (1);
  6390. if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
  6391. exit (1);
  6392. if (stat (f, &after) < 0)
  6393. exit (1);
  6394. exit ((before.st_uid == after.st_uid
  6395. && before.st_gid == after.st_gid) ? 0 : 1);
  6396. ]])],
  6397. [ac_cv_func_chown_works=yes],
  6398. [ac_cv_func_chown_works=no],
  6399. [ac_cv_func_chown_works=no])
  6400. rm -f conftest.chown
  6401. ])
  6402. if test $ac_cv_func_chown_works = yes; then
  6403. AC_DEFINE(HAVE_CHOWN, 1,
  6404. [Define if your system has a working `chown' function.])
  6405. fi
  6406. []AC_PROVIDE([AC_FUNC_CHOWN])[]_m4_defun_epi([AC_FUNC_CHOWN])
  6407. T11,95
  6408. m4_undefinem4_ifndef([$1],
  6409. [m4_fatal([$0: undefined macro: $1])])dnl
  6410. m4_builtin([undefine], $@)
  6411. T12,317
  6412. AC_PATH_TOOL_m4_defun_pro([AC_PATH_TOOL])if test -n "$ac_tool_prefix"; then
  6413. AC_PATH_PROG([$1], [${ac_tool_prefix}$2], , [$4])
  6414. fi
  6415. if test -z "$ac_cv_path_$1"; then
  6416. ac_pt_$1=$$1
  6417. AC_PATH_PROG([ac_pt_$1], [$2], [$3], [$4])
  6418. $1=$ac_pt_$1
  6419. else
  6420. $1="$ac_cv_path_$1"
  6421. fi
  6422. []AC_PROVIDE([AC_PATH_TOOL])[]_m4_defun_epi([AC_PATH_TOOL])
  6423. T11,193
  6424. AC_TEST_CPP_m4_defun_pro([AC_TEST_CPP])AC_DIAGNOSE([obsolete], [The macro `AC_TEST_CPP' is obsolete.
  6425. You should run autoupdate.])dnl
  6426. AC_TRY_CPP($@)[]AC_PROVIDE([AC_TEST_CPP])[]_m4_defun_epi([AC_TEST_CPP])
  6427. T12,132
  6428. AC_PROG_YACC_m4_defun_pro([AC_PROG_YACC])AC_CHECK_PROGS(YACC, 'bison -y' byacc, yacc)[]AC_PROVIDE([AC_PROG_YACC])[]_m4_defun_epi([AC_PROG_YACC])
  6429. T26,18
  6430. m4_location(AC_FUNC_CHOWN)acfunctions.m4:286
  6431. T15,307
  6432. AC_FUNC_VPRINTF_m4_defun_pro([AC_FUNC_VPRINTF])AC_CHECK_FUNCS(vprintf, []
  6433. [AC_CHECK_FUNC(_doprnt,
  6434. [AC_DEFINE(HAVE_DOPRNT, 1,
  6435. [Define if you don't have `vprintf' but do have
  6436. `_doprnt.'])])])
  6437. []AC_PROVIDE([AC_FUNC_VPRINTF])[]_m4_defun_epi([AC_FUNC_VPRINTF])
  6438. F10,7
  6439. m4_traceontraceon
  6440. T36,11
  6441. m4_location(_AS_BROKEN_TEST_PREPARE)m4sh.m4:414
  6442. T24,16
  6443. m4_location(AM_CYGWIN32)acoldnames.m4:79
  6444. T11,94
  6445. AC_REVISIONm4_divert_text([REVISION],
  6446. [@%:@ From __file__ m4_translit([$1], [$""]).])dnl
  6447. T28,14
  6448. m4_location(AC_PROG_CC_STDC)aclang.m4:1479
  6449. T17,875
  6450. AS_SHELL_SANITIZE_m4_defun_pro([AS_SHELL_SANITIZE])# Be Bourne compatible
  6451. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  6452. emulate sh
  6453. NULLCMD=:
  6454. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  6455. set -o posix
  6456. fi
  6457. # Name of the executable.
  6458. dnl Moved here because the tests below can use AC_MSG_ERROR, which uses $as_me
  6459. as_me=`AS_BASENAME($[0])`
  6460. _AS_EXPR_PREPARE
  6461. _AS_LN_S_PREPARE
  6462. _AS_TEST_PREPARE
  6463. _AS_UNSET_PREPARE
  6464. _AS_TR_PREPARE
  6465. # NLS nuisances.
  6466. AS_UNSET([LANG], [C])
  6467. AS_UNSET([LC_ALL], [C])
  6468. AS_UNSET([LC_TIME], [C])
  6469. AS_UNSET([LC_CTYPE], [C])
  6470. AS_UNSET([LANGUAGE], [C])
  6471. AS_UNSET([LC_COLLATE], [C])
  6472. AS_UNSET([LC_NUMERIC], [C])
  6473. AS_UNSET([LC_MESSAGES], [C])
  6474. # IFS
  6475. # We need space, tab and new line, in precisely that order.
  6476. as_nl='
  6477. '
  6478. IFS=" $as_nl"
  6479. # CDPATH.
  6480. AS_UNSET([CDPATH], [:])
  6481. []_m4_defun_epi([AS_SHELL_SANITIZE])
  6482. T19,52
  6483. AC_LANG_SOURCE(C++)#line __oline__ "configure"
  6484. #include "confdefs.h"
  6485. $1
  6486. T13,209
  6487. AC_GETLOADAVG_m4_defun_pro([AC_GETLOADAVG])AC_DIAGNOSE([obsolete], [The macro `AC_GETLOADAVG' is obsolete.
  6488. You should run autoupdate.])dnl
  6489. AC_FUNC_GETLOADAVG($@)[]AC_PROVIDE([AC_GETLOADAVG])[]_m4_defun_epi([AC_GETLOADAVG])
  6490. T7,101
  6491. _m4_for$4[]dnl
  6492. m4_if($1, [$2], [],
  6493. [m4_define([$1], m4_eval($1+[$3]))_m4_for([$1], [$2], [$3], [$4])])
  6494. T25,2
  6495. _m4_divert(VERSION_BEGIN)20
  6496. T28,16
  6497. m4_location(AC_TEST_PROGRAM)acoldnames.m4:40
  6498. F3,3
  6499. dnldnl
  6500. T20,11
  6501. m4_location(AS_LN_S)m4sh.m4:363
  6502. T28,11
  6503. m4_location(AS_EXECUTABLE_P)m4sh.m4:312
  6504. T20,2
  6505. _m4_divert(HELP_VAR)14
  6506. T22,2
  6507. _m4_divert(HELP_CANON)11
  6508. T12,4341
  6509. AC_FUNC_MMAP_m4_defun_pro([AC_FUNC_MMAP])AC_CHECK_HEADERS(stdlib.h unistd.h)
  6510. AC_CHECK_FUNCS(getpagesize)
  6511. AC_CACHE_CHECK(for working mmap, ac_cv_func_mmap_fixed_mapped,
  6512. [AC_RUN_IFELSE([AC_LANG_SOURCE([AC_INCLUDES_DEFAULT]
  6513. [[/* Thanks to Mike Haertel and Jim Avera for this test.
  6514. Here is a matrix of mmap possibilities:
  6515. mmap private not fixed
  6516. mmap private fixed at somewhere currently unmapped
  6517. mmap private fixed at somewhere already mapped
  6518. mmap shared not fixed
  6519. mmap shared fixed at somewhere currently unmapped
  6520. mmap shared fixed at somewhere already mapped
  6521. For private mappings, we should verify that changes cannot be read()
  6522. back from the file, nor mmap's back from the file at a different
  6523. address. (There have been systems where private was not correctly
  6524. implemented like the infamous i386 svr4.0, and systems where the
  6525. VM page cache was not coherent with the file system buffer cache
  6526. like early versions of FreeBSD and possibly contemporary NetBSD.)
  6527. For shared mappings, we should conversely verify that changes get
  6528. propogated back to all the places they're supposed to be.
  6529. Grep wants private fixed already mapped.
  6530. The main things grep needs to know about mmap are:
  6531. * does it exist and is it safe to write into the mmap'd area
  6532. * how to use it (BSD variants) */
  6533. #include <fcntl.h>
  6534. #include <sys/mman.h>
  6535. #if !STDC_HEADERS && !HAVE_STDLIB_H
  6536. char *malloc ();
  6537. #endif
  6538. /* This mess was copied from the GNU getpagesize.h. */
  6539. #if !HAVE_GETPAGESIZE
  6540. /* Assume that all systems that can run configure have sys/param.h. */
  6541. # if !HAVE_SYS_PARAM_H
  6542. # define HAVE_SYS_PARAM_H 1
  6543. # endif
  6544. # ifdef _SC_PAGESIZE
  6545. # define getpagesize() sysconf(_SC_PAGESIZE)
  6546. # else /* no _SC_PAGESIZE */
  6547. # if HAVE_SYS_PARAM_H
  6548. # include <sys/param.h>
  6549. # ifdef EXEC_PAGESIZE
  6550. # define getpagesize() EXEC_PAGESIZE
  6551. # else /* no EXEC_PAGESIZE */
  6552. # ifdef NBPG
  6553. # define getpagesize() NBPG * CLSIZE
  6554. # ifndef CLSIZE
  6555. # define CLSIZE 1
  6556. # endif /* no CLSIZE */
  6557. # else /* no NBPG */
  6558. # ifdef NBPC
  6559. # define getpagesize() NBPC
  6560. # else /* no NBPC */
  6561. # ifdef PAGESIZE
  6562. # define getpagesize() PAGESIZE
  6563. # endif /* PAGESIZE */
  6564. # endif /* no NBPC */
  6565. # endif /* no NBPG */
  6566. # endif /* no EXEC_PAGESIZE */
  6567. # else /* no HAVE_SYS_PARAM_H */
  6568. # define getpagesize() 8192 /* punt totally */
  6569. # endif /* no HAVE_SYS_PARAM_H */
  6570. # endif /* no _SC_PAGESIZE */
  6571. #endif /* no HAVE_GETPAGESIZE */
  6572. int
  6573. main ()
  6574. {
  6575. char *data, *data2, *data3;
  6576. int i, pagesize;
  6577. int fd;
  6578. pagesize = getpagesize ();
  6579. /* First, make a file with some known garbage in it. */
  6580. data = (char *) malloc (pagesize);
  6581. if (!data)
  6582. exit (1);
  6583. for (i = 0; i < pagesize; ++i)
  6584. *(data + i) = rand ();
  6585. umask (0);
  6586. fd = creat ("conftest.mmap", 0600);
  6587. if (fd < 0)
  6588. exit (1);
  6589. if (write (fd, data, pagesize) != pagesize)
  6590. exit (1);
  6591. close (fd);
  6592. /* Next, try to mmap the file at a fixed address which already has
  6593. something else allocated at it. If we can, also make sure that
  6594. we see the same garbage. */
  6595. fd = open ("conftest.mmap", O_RDWR);
  6596. if (fd < 0)
  6597. exit (1);
  6598. data2 = (char *) malloc (2 * pagesize);
  6599. if (!data2)
  6600. exit (1);
  6601. data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
  6602. if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
  6603. MAP_PRIVATE | MAP_FIXED, fd, 0L))
  6604. exit (1);
  6605. for (i = 0; i < pagesize; ++i)
  6606. if (*(data + i) != *(data2 + i))
  6607. exit (1);
  6608. /* Finally, make sure that changes to the mapped area do not
  6609. percolate back to the file as seen by read(). (This is a bug on
  6610. some variants of i386 svr4.0.) */
  6611. for (i = 0; i < pagesize; ++i)
  6612. *(data2 + i) = *(data2 + i) + 1;
  6613. data3 = (char *) malloc (pagesize);
  6614. if (!data3)
  6615. exit (1);
  6616. if (read (fd, data3, pagesize) != pagesize)
  6617. exit (1);
  6618. for (i = 0; i < pagesize; ++i)
  6619. if (*(data + i) != *(data3 + i))
  6620. exit (1);
  6621. close (fd);
  6622. exit (0);
  6623. }]])],
  6624. [ac_cv_func_mmap_fixed_mapped=yes],
  6625. [ac_cv_func_mmap_fixed_mapped=no],
  6626. [ac_cv_func_mmap_fixed_mapped=no])])
  6627. if test $ac_cv_func_mmap_fixed_mapped = yes; then
  6628. AC_DEFINE(HAVE_MMAP, 1,
  6629. [Define if you have a working `mmap' system call.])
  6630. fi
  6631. rm -f conftest.mmap
  6632. []AC_PROVIDE([AC_FUNC_MMAP])[]_m4_defun_epi([AC_FUNC_MMAP])
  6633. T8,27
  6634. m4_ifvalm4_if([$1], [], [$3], [$2])
  6635. T19,212
  6636. AC_LANG(Fortran 77)ac_ext=f
  6637. ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&AS_MESSAGE_LOG_FD'
  6638. ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
  6639. ac_compiler_gnu=$ac_cv_f77_compiler_gnu
  6640. T11,48
  6641. m4_dumpdefs_m4_dumpdefs_up([$1])dnl
  6642. _m4_dumpdefs_down([$1])
  6643. F12,9
  6644. m4_changecomchangecom
  6645. T5,97
  6646. AS_IFm4_ifval([$2$3],
  6647. [if $1; then
  6648. m4_ifval([$2], [$2], :)
  6649. m4_ifvaln([$3],
  6650. [else
  6651. $3])dnl
  6652. fi
  6653. ])dnl
  6654. T10,27
  6655. m4_providem4_define([m4_provide($1)])
  6656. T42,13
  6657. m4_location(_AC_PROG_PREPROC_WORKS_IFELSE)aclang.m4:873
  6658. T27,14
  6659. m4_location(AC_TYPE_SIGNAL)actypes.m4:335
  6660. T25,19
  6661. m4_location(AC_FUNC_STAT)acfunctions.m4:1210
  6662. T10,26
  6663. m4_defaultm4_ifval([$1], [$1], [$2])
  6664. T13,118
  6665. AC_TYPE_OFF_T_m4_defun_pro([AC_TYPE_OFF_T])AC_CHECK_TYPE(off_t, long)[]AC_PROVIDE([AC_TYPE_OFF_T])[]_m4_defun_epi([AC_TYPE_OFF_T])
  6666. T11,30
  6667. AC_MSG_WARNAS_MESSAGE([WARNING: $1], [2])
  6668. T27,13
  6669. m4_location(ac_cv_prog_gcc)aclang.m4:924
  6670. T7,161
  6671. m4_join_m4_defun_pro([m4_join])m4_case([$#],
  6672. [1], [],
  6673. [2], [[$2]],
  6674. [[$2][$1]m4_join([$1], m4_shift(m4_shift($@)))])[]_m4_defun_epi([m4_join])
  6675. T25,631
  6676. _AC_COMPILER_EXEEXT_WORKS# Check the compiler produces executables we can run. If not, either
  6677. # the compiler is broken, or we cross compile.
  6678. AC_MSG_CHECKING([whether the _AC_LANG compiler works])
  6679. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  6680. # If not cross compiling, check that we can run a simple program.
  6681. if test "$cross_compiling" != yes; then
  6682. if AC_TRY_COMMAND([./$ac_file]); then
  6683. cross_compiling=no
  6684. else
  6685. if test "$cross_compiling" = maybe; then
  6686. cross_compiling=yes
  6687. else
  6688. AC_MSG_ERROR([cannot run _AC_LANG compiled programs.
  6689. If you meant to cross compile, use `--host'.])
  6690. fi
  6691. fi
  6692. fi
  6693. AC_MSG_RESULT([yes])
  6694. T27,18
  6695. m4_location(AC_FUNC_MKTIME)acfunctions.m4:935
  6696. T16,89
  6697. _AH_TEMPLATE_OLD_AH_VERBATIM_OLD([$1],
  6698. m4_text_wrap([$2 */], [ ], [/* ])[
  6699. #undef $1])
  6700. T22,16
  6701. m4_location(AC_FD_MSG)acgeneral.m4:576
  6702. T19,17
  6703. m4_location(AC_AIX)acspecific.m4:971
  6704. T22,2
  6705. _m4_divert(HELP_BEGIN)10
  6706. T12,257
  6707. AC_PROG_LN_S_m4_defun_pro([AC_PROG_LN_S])AC_MSG_CHECKING([whether ln -s works])
  6708. AC_SUBST([LN_S], [$as_ln_s])dnl
  6709. if test "$LN_S" = "ln -s"; then
  6710. AC_MSG_RESULT([yes])
  6711. else
  6712. AC_MSG_RESULT([no, using $LN_S])
  6713. fi
  6714. []AC_PROVIDE([AC_PROG_LN_S])[]_m4_defun_epi([AC_PROG_LN_S])
  6715. T14,673
  6716. AC_FUNC_MALLOC_m4_defun_pro([AC_FUNC_MALLOC])AC_REQUIRE([AC_HEADER_STDC])dnl
  6717. AC_CHECK_HEADERS(stdlib.h)
  6718. AC_CACHE_CHECK([for working malloc], ac_cv_func_malloc_works,
  6719. [AC_RUN_IFELSE(
  6720. [AC_LANG_PROGRAM(
  6721. [[#if STDC_HEADERS || HAVE_STDLIB_H
  6722. # include <stdlib.h>
  6723. #else
  6724. char *malloc ();
  6725. #endif
  6726. ]],
  6727. [exit (malloc (0) ? 0 : 1);])],
  6728. [ac_cv_func_malloc_works=yes],
  6729. [ac_cv_func_malloc_works=no],
  6730. [ac_cv_func_malloc_works=no])])
  6731. if test $ac_cv_func_malloc_works = yes; then
  6732. AC_DEFINE(HAVE_MALLOC, 1,
  6733. [Define if your system has a working `malloc' function.])
  6734. fi
  6735. []AC_PROVIDE([AC_FUNC_MALLOC])[]_m4_defun_epi([AC_FUNC_MALLOC])
  6736. T13,498
  6737. AC_CHECK_DECL_m4_defun_pro([AC_CHECK_DECL])AS_VAR_PUSHDEF([ac_Symbol], [ac_cv_have_decl_$1])dnl
  6738. AC_CACHE_CHECK([whether $1 is declared], ac_Symbol,
  6739. [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$4])],
  6740. [#ifndef $1
  6741. char *p = (char *) $1;
  6742. #endif
  6743. ])],
  6744. [AS_VAR_SET(ac_Symbol, yes)],
  6745. [AS_VAR_SET(ac_Symbol, no)])])
  6746. AS_IF([test AS_VAR_GET(ac_Symbol) = yes], [$2], [$3])[]dnl
  6747. AS_VAR_POPDEF([ac_Symbol])dnl
  6748. []AC_PROVIDE([AC_CHECK_DECL])[]_m4_defun_epi([AC_CHECK_DECL])
  6749. T21,16
  6750. m4_location(AC_CONST)acoldnames.m4:49
  6751. T18,419
  6752. AC_OUTPUT_COMMANDS_m4_defun_pro([AC_OUTPUT_COMMANDS])AC_DIAGNOSE([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete.
  6753. You should run autoupdate.])dnl
  6754. m4_define([_AC_OUTPUT_COMMANDS_CNT], m4_incr(_AC_OUTPUT_COMMANDS_CNT))dnl
  6755. dnl Double quoted since that was the case in the original macro.
  6756. AC_CONFIG_COMMANDS([default-]_AC_OUTPUT_COMMANDS_CNT, [[$1]], [[$2]])dnl
  6757. []AC_PROVIDE([AC_OUTPUT_COMMANDS])[]_m4_defun_epi([AC_OUTPUT_COMMANDS])
  6758. T24,198
  6759. AC_LANG_COMPILER_REQUIRE_m4_defun_pro([AC_LANG_COMPILER_REQUIRE])m4_require([AC_LANG_COMPILER(]_AC_LANG[)],
  6760. [AC_LANG_COMPILER])[]AC_PROVIDE([AC_LANG_COMPILER_REQUIRE])[]_m4_defun_epi([AC_LANG_COMPILER_REQUIRE])
  6761. T18,233
  6762. AC_LONG_FILE_NAMES_m4_defun_pro([AC_LONG_FILE_NAMES])AC_DIAGNOSE([obsolete], [The macro `AC_LONG_FILE_NAMES' is obsolete.
  6763. You should run autoupdate.])dnl
  6764. AC_SYS_LONG_FILE_NAMES($@)[]AC_PROVIDE([AC_LONG_FILE_NAMES])[]_m4_defun_epi([AC_LONG_FILE_NAMES])
  6765. T18,432
  6766. AC_SYS_INTERPRETER_m4_defun_pro([AC_SYS_INTERPRETER])AC_CACHE_CHECK(whether @%:@! works in shell scripts, ac_cv_sys_interpreter,
  6767. [echo '#! /bin/cat
  6768. exit 69
  6769. ' >conftest
  6770. chmod u+x conftest
  6771. (SHELL=/bin/sh; export SHELL; ./conftest >/dev/null)
  6772. if test $? -ne 69; then
  6773. ac_cv_sys_interpreter=yes
  6774. else
  6775. ac_cv_sys_interpreter=no
  6776. fi
  6777. rm -f conftest])
  6778. interpval=$ac_cv_sys_interpreter
  6779. []AC_PROVIDE([AC_SYS_INTERPRETER])[]_m4_defun_epi([AC_SYS_INTERPRETER])
  6780. T14,131
  6781. AC_LANG_SOURCE_m4_defun_pro([AC_LANG_SOURCE])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]AC_PROVIDE([AC_LANG_SOURCE])[]_m4_defun_epi([AC_LANG_SOURCE])
  6782. T23,164
  6783. AC_CONFIG_COMMANDS_POST_m4_defun_pro([AC_CONFIG_COMMANDS_POST])m4_append([AC_OUTPUT_COMMANDS_POST], [$1
  6784. ])[]AC_PROVIDE([AC_CONFIG_COMMANDS_POST])[]_m4_defun_epi([AC_CONFIG_COMMANDS_POST])
  6785. F10,7
  6786. m4_esyscmdesyscmd
  6787. F10,7
  6788. m4_builtinbuiltin
  6789. T31,17
  6790. m4_location(AC_CONFIG_COMMANDS)acgeneral.m4:3213
  6791. T13,1683
  6792. AC_FUNC_WAIT3_m4_defun_pro([AC_FUNC_WAIT3])AC_DIAGNOSE([obsolete],
  6793. [$0: `wait3' is being removed from the Open Group standards.
  6794. Remove this `AC_FUNC_WAIT3' and adjust your code to use `waitpid' instead.])dnl
  6795. AC_CACHE_CHECK([for wait3 that fills in rusage],
  6796. [ac_cv_func_wait3_rusage],
  6797. [AC_RUN_IFELSE([AC_LANG_SOURCE(
  6798. [[#include <sys/types.h>
  6799. #include <sys/time.h>
  6800. #include <sys/resource.h>
  6801. #include <stdio.h>
  6802. /* HP-UX has wait3 but does not fill in rusage at all. */
  6803. int
  6804. main ()
  6805. {
  6806. struct rusage r;
  6807. int i;
  6808. /* Use a field that we can force nonzero --
  6809. voluntary context switches.
  6810. For systems like NeXT and OSF/1 that don't set it,
  6811. also use the system CPU time. And page faults (I/O) for Linux. */
  6812. r.ru_nvcsw = 0;
  6813. r.ru_stime.tv_sec = 0;
  6814. r.ru_stime.tv_usec = 0;
  6815. r.ru_majflt = r.ru_minflt = 0;
  6816. switch (fork ())
  6817. {
  6818. case 0: /* Child. */
  6819. sleep(1); /* Give up the CPU. */
  6820. _exit(0);
  6821. break;
  6822. case -1: /* What can we do? */
  6823. _exit(0);
  6824. break;
  6825. default: /* Parent. */
  6826. wait3(&i, 0, &r);
  6827. /* Avoid "text file busy" from rm on fast HP-UX machines. */
  6828. sleep(2);
  6829. exit (r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0
  6830. && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0);
  6831. }
  6832. }]])],
  6833. [ac_cv_func_wait3_rusage=yes],
  6834. [ac_cv_func_wait3_rusage=no],
  6835. [ac_cv_func_wait3_rusage=no])])
  6836. if test $ac_cv_func_wait3_rusage = yes; then
  6837. AC_DEFINE(HAVE_WAIT3, 1,
  6838. [Define if you have the `wait3' system call.
  6839. Deprecated, you should no longer depend upon `wait3'.])
  6840. fi
  6841. []AC_PROVIDE([AC_FUNC_WAIT3])[]_m4_defun_epi([AC_FUNC_WAIT3])
  6842. T21,1038
  6843. _AC_FUNC_GETPGRP_TESTAC_LANG_SOURCE([AC_INCLUDES_DEFAULT]
  6844. [[
  6845. /*
  6846. * If this system has a BSD-style getpgrp(),
  6847. * which takes a pid argument, exit unsuccessfully.
  6848. *
  6849. * Snarfed from Chet Ramey's bash pgrp.c test program
  6850. */
  6851. int pid;
  6852. int pg1, pg2, pg3, pg4;
  6853. int ng, np, s, child;
  6854. int
  6855. main ()
  6856. {
  6857. pid = getpid ();
  6858. pg1 = getpgrp (0);
  6859. pg2 = getpgrp ();
  6860. pg3 = getpgrp (pid);
  6861. pg4 = getpgrp (1);
  6862. /* If all of these values are the same, it's pretty sure that we're
  6863. on a system that ignores getpgrp's first argument. */
  6864. if (pg2 == pg4 && pg1 == pg3 && pg2 == pg3)
  6865. exit (0);
  6866. child = fork ();
  6867. if (child < 0)
  6868. exit(1);
  6869. else if (child == 0)
  6870. {
  6871. np = getpid ();
  6872. /* If this is Sys V, this will not work; pgrp will be set to np
  6873. because setpgrp just changes a pgrp to be the same as the
  6874. pid. */
  6875. setpgrp (np, pg1);
  6876. ng = getpgrp (0); /* Same result for Sys V and BSD */
  6877. if (ng == pg1)
  6878. exit (1);
  6879. else
  6880. exit (0);
  6881. }
  6882. else
  6883. {
  6884. wait (&s);
  6885. exit (s>>8);
  6886. }
  6887. }]])
  6888. T8,184
  6889. AC_OFF_T_m4_defun_pro([AC_OFF_T])AC_DIAGNOSE([obsolete], [The macro `AC_OFF_T' is obsolete.
  6890. You should run autoupdate.])dnl
  6891. AC_TYPE_OFF_T($@)[]AC_PROVIDE([AC_OFF_T])[]_m4_defun_epi([AC_OFF_T])
  6892. T20,140
  6893. AC_LANG_PREPROC(C++)_m4_defun_pro([AC_LANG_PREPROC(C++)])AC_REQUIRE([AC_PROG_CXXCPP])[]AC_PROVIDE([AC_LANG_PREPROC(C++)])[]_m4_defun_epi([AC_LANG_PREPROC(C++)])
  6894. T15,694
  6895. AC_FUNC_SETPGRP_m4_defun_pro([AC_FUNC_SETPGRP])AC_CACHE_CHECK(whether setpgrp takes no argument, ac_cv_func_setpgrp_void,
  6896. [AC_RUN_IFELSE(
  6897. [AC_LANG_PROGRAM(
  6898. [#if HAVE_UNISTD_H
  6899. # include <unistd.h>
  6900. #endif
  6901. ],
  6902. [/* If this system has a BSD-style setpgrp, which takes arguments, exit
  6903. successfully. */
  6904. exit (setpgrp (1,1) == -1);])],
  6905. [ac_cv_func_setpgrp_void=no],
  6906. [ac_cv_func_setpgrp_void=yes],
  6907. [AC_MSG_ERROR([cannot check setpgrp if cross compiling])])])
  6908. if test $ac_cv_func_setpgrp_void = yes; then
  6909. AC_DEFINE(SETPGRP_VOID, 1,
  6910. [Define if the `setpgrp' function takes no argument.])
  6911. fi
  6912. []AC_PROVIDE([AC_FUNC_SETPGRP])[]_m4_defun_epi([AC_FUNC_SETPGRP])
  6913. T27,16
  6914. m4_location(AC_HEADER_TIME)acheaders.m4:331
  6915. T7,179
  6916. AC_LN_S_m4_defun_pro([AC_LN_S])AC_DIAGNOSE([obsolete], [The macro `AC_LN_S' is obsolete.
  6917. You should run autoupdate.])dnl
  6918. AC_PROG_LN_S($@)[]AC_PROVIDE([AC_LN_S])[]_m4_defun_epi([AC_LN_S])
  6919. T14,569
  6920. AC_HEADER_TIME_m4_defun_pro([AC_HEADER_TIME])AC_CACHE_CHECK([whether time.h and sys/time.h may both be included],
  6921. ac_cv_header_time,
  6922. [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
  6923. #include <sys/time.h>
  6924. #include <time.h>
  6925. ],
  6926. [if ((struct tm *) 0)
  6927. return 0;])],
  6928. [ac_cv_header_time=yes],
  6929. [ac_cv_header_time=no])])
  6930. if test $ac_cv_header_time = yes; then
  6931. AC_DEFINE(TIME_WITH_SYS_TIME, 1,
  6932. [Define if you can safely include both <sys/time.h> and <time.h>.])
  6933. fi
  6934. []AC_PROVIDE([AC_HEADER_TIME])[]_m4_defun_epi([AC_HEADER_TIME])
  6935. T16,298
  6936. AC_CHECK_HEADERS_m4_defun_pro([AC_CHECK_HEADERS])AH_CHECK_HEADERS([$1])dnl
  6937. for ac_header in $1
  6938. do
  6939. AC_CHECK_HEADER($ac_header,
  6940. [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$ac_header)) $2],
  6941. [$3],
  6942. [$4])dnl
  6943. done
  6944. []AC_PROVIDE([AC_CHECK_HEADERS])[]_m4_defun_epi([AC_CHECK_HEADERS])
  6945. T12,26
  6946. m4_normalizem4_strip(m4_flatten([$1]))
  6947. T35,17
  6948. m4_location(AC_CONFIG_COMMANDS_PRE)acgeneral.m4:3249
  6949. T27,17
  6950. m4_location(AC_CHECK_FILES)acgeneral.m4:2888
  6951. T16,247
  6952. _AC_INIT_PACKAGEm4_define([AC_PACKAGE_NAME], [$1])
  6953. m4_define([AC_PACKAGE_TARNAME],
  6954. m4_tolower(m4_patsubst([[[$1]]], [GNU ])))
  6955. m4_define([AC_PACKAGE_VERSION], [$2])
  6956. m4_define([AC_PACKAGE_STRING], [$1 $2])
  6957. m4_define([AC_PACKAGE_BUGREPORT], [$3])
  6958. T27,14
  6959. m4_location(ac_cv_prog_gxx)aclang.m4:1139
  6960. T31,17
  6961. m4_location(_AC_RUN_LOG_STDERR)acgeneral.m4:2142
  6962. T30,16
  6963. m4_location(AC_YYTEXT_POINTER)acoldnames.m4:78
  6964. T14,151
  6965. AC_LANG_ASSERT_m4_defun_pro([AC_LANG_ASSERT])m4_if(_AC_LANG, $1, [],
  6966. [m4_fatal([$0: current language is not $1: ] _AC_LANG)])[]_m4_defun_epi([AC_LANG_ASSERT])
  6967. T21,420
  6968. AC_FUNC_ERROR_AT_LINE_m4_defun_pro([AC_FUNC_ERROR_AT_LINE])AC_LIBSOURCES([error.h, error.c])dnl
  6969. AC_CACHE_CHECK([for error_at_line], ac_cv_lib_error_at_line,
  6970. [AC_TRY_LINK([],[error_at_line (0, 0, "", 0, "");],
  6971. [ac_cv_lib_error_at_line=yes],
  6972. [ac_cv_lib_error_at_line=no])])
  6973. if test $ac_cv_lib_error_at_line = no; then
  6974. AC_LIBOBJ(error)
  6975. fi
  6976. []AC_PROVIDE([AC_FUNC_ERROR_AT_LINE])[]_m4_defun_epi([AC_FUNC_ERROR_AT_LINE])
  6977. T28,16
  6978. m4_location(AC_HEADER_MAJOR)acheaders.m4:191
  6979. T14,120
  6980. AC_TYPE_MODE_T_m4_defun_pro([AC_TYPE_MODE_T])AC_CHECK_TYPE(mode_t, int)[]AC_PROVIDE([AC_TYPE_MODE_T])[]_m4_defun_epi([AC_TYPE_MODE_T])
  6981. T24,0
  6982. AC_LIST_HEADERS_COMMANDS
  6983. T15,567
  6984. AC_CONFIG_LINKS_m4_defun_pro([AC_CONFIG_LINKS])m4_divert_push([KILL])
  6985. _AC_CONFIG_UNIQUE([$1])
  6986. _AC_CONFIG_DEPENDENCIES([$1])
  6987. m4_if(m4_regexp([$1], [^\.:\| \.:]), -1,,
  6988. [AC_FATAL([$0: invalid destination: `.'])])
  6989. m4_append([AC_LIST_LINKS], [ $1])
  6990. dnl Register the commands
  6991. m4_ifval([$2], [AC_FOREACH([AC_File], [$1],
  6992. [m4_append([AC_LIST_LINKS_COMMANDS],
  6993. [ ]m4_patsubst(AC_File, [:.*])[ ) $2 ;;
  6994. ])])])
  6995. _AC_CONFIG_COMMANDS_INIT([$3])
  6996. m4_divert_pop([KILL])dnl
  6997. ac_config_links="$ac_config_links m4_normalize([$1])"
  6998. []AC_PROVIDE([AC_CONFIG_LINKS])[]_m4_defun_epi([AC_CONFIG_LINKS])
  6999. T18,234
  7000. AC_GCC_TRADITIONAL_m4_defun_pro([AC_GCC_TRADITIONAL])AC_DIAGNOSE([obsolete], [The macro `AC_GCC_TRADITIONAL' is obsolete.
  7001. You should run autoupdate.])dnl
  7002. AC_PROG_GCC_TRADITIONAL($@)[]AC_PROVIDE([AC_GCC_TRADITIONAL])[]_m4_defun_epi([AC_GCC_TRADITIONAL])
  7003. T15,67
  7004. AC_LANG_PREPROCAC_LANG_COMPILER_REQUIRE()dnl
  7005. _AC_LANG_DISPATCH([$0], _AC_LANG, $@)
  7006. T14,493
  7007. AC_CHECK_DECLS_m4_defun_pro([AC_CHECK_DECLS])m4_foreach([AC_Symbol], [$1],
  7008. [AC_CHECK_DECL(AC_Symbol,
  7009. [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_DECL_]AC_Symbol), 1,
  7010. [Define to 1 if you have the declaration
  7011. of `]AC_Symbol[', and to 0 if you don't.])
  7012. $2],
  7013. [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_DECL_]AC_Symbol), 0)
  7014. $3],
  7015. [$4])])
  7016. []AC_PROVIDE([AC_CHECK_DECLS])[]_m4_defun_epi([AC_CHECK_DECLS])
  7017. F11,8
  7018. m4_patsubstpatsubst
  7019. T14,1608
  7020. AC_PROG_CC_C_O_m4_defun_pro([AC_PROG_CC_C_O])AC_REQUIRE([AC_PROG_CC])dnl
  7021. if test "x$CC" != xcc; then
  7022. AC_MSG_CHECKING([whether $CC and cc understand -c and -o together])
  7023. else
  7024. AC_MSG_CHECKING([whether cc understands -c and -o together])
  7025. fi
  7026. set dummy $CC; ac_cc=`echo $[2] |
  7027. sed 's/[[^a-zA-Z0-9_]]/_/g;s/^[[0-9]]/_/'`
  7028. AC_CACHE_VAL(ac_cv_prog_cc_${ac_cc}_c_o,
  7029. [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
  7030. # Make sure it works both with $CC and with simple cc.
  7031. # We do the test twice because some compilers refuse to overwrite an
  7032. # existing .o file with -o, though they will create one.
  7033. ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
  7034. if AC_TRY_EVAL(ac_try) &&
  7035. test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
  7036. then
  7037. eval ac_cv_prog_cc_${ac_cc}_c_o=yes
  7038. if test "x$CC" != xcc; then
  7039. # Test first that cc exists at all.
  7040. if AC_TRY_COMMAND(cc -c conftest.$ac_ext >&AS_MESSAGE_LOG_FD); then
  7041. ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
  7042. if AC_TRY_EVAL(ac_try) &&
  7043. test -f conftest.$ac_objext && AC_TRY_EVAL(ac_try);
  7044. then
  7045. # cc works too.
  7046. :
  7047. else
  7048. # cc exists but doesn't like -o.
  7049. eval ac_cv_prog_cc_${ac_cc}_c_o=no
  7050. fi
  7051. fi
  7052. fi
  7053. else
  7054. eval ac_cv_prog_cc_${ac_cc}_c_o=no
  7055. fi
  7056. rm -f conftest*
  7057. ])dnl
  7058. if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
  7059. AC_MSG_RESULT([yes])
  7060. else
  7061. AC_MSG_RESULT([no])
  7062. AC_DEFINE(NO_MINUS_C_MINUS_O, 1,
  7063. [Define if your C compiler doesn't accept -c and -o together.])
  7064. fi
  7065. []AC_PROVIDE([AC_PROG_CC_C_O])[]_m4_defun_epi([AC_PROG_CC_C_O])
  7066. T21,16
  7067. m4_location(AC_UID_T)acoldnames.m4:76
  7068. T26,17
  7069. m4_location(AC_RUN_IFELSE)acgeneral.m4:2843
  7070. T9,374
  7071. AC_CYGWIN_m4_defun_pro([AC_CYGWIN])AC_DIAGNOSE([obsolete], [The macro `AC_CYGWIN' is obsolete.
  7072. You should run autoupdate.])dnl
  7073. AC_REQUIRE([AC_CANONICAL_HOST])[]dnl
  7074. AC_DIAGNOSE([obsolete],
  7075. [$0 is obsolete: use AC_CANONICAL_HOST and $host_os])dnl
  7076. case $host_os in
  7077. *cygwin* ) CYGWIN=yes;;
  7078. * ) CYGWIN=no;;
  7079. esac
  7080. []AC_PROVIDE([AC_CYGWIN])[]_m4_defun_epi([AC_CYGWIN])
  7081. T31,14
  7082. m4_location(AC_STRUCT_TIMEZONE)actypes.m4:564
  7083. T16,5966
  7084. _AC_OUTPUT_FILEScat >>$CONFIG_STATUS <<EOF
  7085. #
  7086. # CONFIG_FILES section.
  7087. #
  7088. # No need to generate the scripts if there are no CONFIG_FILES.
  7089. # This happens for instance when ./config.status config.h
  7090. if test -n "\$CONFIG_FILES"; then
  7091. # Protect against being on the right side of a sed subst in config.status.
  7092. dnl Please, pay attention that this sed code depends a lot on the shape
  7093. dnl of the sed commands issued by AC_SUBST. So if you change one, change
  7094. dnl the other too.
  7095. [ sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  7096. s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF]
  7097. dnl These here document variables are unquoted when configure runs
  7098. dnl but quoted when config.status runs, so variables are expanded once.
  7099. dnl Insert the sed substitutions of variables.
  7100. _AC_SUBST_SED_PROGRAM()dnl
  7101. CEOF
  7102. EOF
  7103. cat >>$CONFIG_STATUS <<\EOF
  7104. # Split the substitutions into bite-sized pieces for seds with
  7105. # small command number limits, like on Digital OSF/1 and HP-UX.
  7106. dnl One cannot portably go further than 100 commands because of HP-UX.
  7107. dnl Here, there are 2 cmd per line, and two cmd are added later.
  7108. ac_max_sed_lines=48
  7109. ac_sed_frag=1 # Number of current file.
  7110. ac_beg=1 # First line for current file.
  7111. ac_end=$ac_max_sed_lines # Line after last line for current file.
  7112. ac_more_lines=:
  7113. ac_sed_cmds=
  7114. while $ac_more_lines; do
  7115. if test $ac_beg -gt 1; then
  7116. sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  7117. else
  7118. sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  7119. fi
  7120. if test ! -s $tmp/subs.frag; then
  7121. ac_more_lines=false
  7122. else
  7123. # The purpose of the label and of the branching condition is to
  7124. # speed up the sed processing (if there are no `@' at all, there
  7125. # is no need to browse any of the substitutions).
  7126. # These are the two extra sed commands mentioned above.
  7127. (echo [':t
  7128. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b'] && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  7129. if test -z "$ac_sed_cmds"; then
  7130. ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  7131. else
  7132. ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  7133. fi
  7134. ac_sed_frag=`expr $ac_sed_frag + 1`
  7135. ac_beg=$ac_end
  7136. ac_end=`expr $ac_end + $ac_max_sed_lines`
  7137. fi
  7138. done
  7139. if test -z "$ac_sed_cmds"; then
  7140. ac_sed_cmds=cat
  7141. fi
  7142. fi # test -n "$CONFIG_FILES"
  7143. EOF
  7144. cat >>$CONFIG_STATUS <<\EOF
  7145. for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  7146. # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  7147. case $ac_file in
  7148. - | *:- | *:-:* ) # input from stdin
  7149. cat >$tmp/stdin
  7150. ac_file_in=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
  7151. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  7152. *:* ) ac_file_in=`echo "$ac_file" | sed 's,[[^:]]*:,,'`
  7153. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  7154. * ) ac_file_in=$ac_file.in ;;
  7155. esac
  7156. # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  7157. ac_dir=`AS_DIRNAME(["$ac_file"])`
  7158. if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  7159. AS_MKDIR_P(["$ac_dir"])
  7160. ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
  7161. # A "../" for each directory in $ac_dir_suffix.
  7162. ac_dots=`echo "$ac_dir_suffix" | sed 's,/[[^/]]*,../,g'`
  7163. else
  7164. ac_dir_suffix= ac_dots=
  7165. fi
  7166. case $srcdir in
  7167. .) ac_srcdir=.
  7168. if test -z "$ac_dots"; then
  7169. ac_top_srcdir=.
  7170. else
  7171. ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
  7172. fi ;;
  7173. [[\\/]]* | ?:[[\\/]]* )
  7174. ac_srcdir=$srcdir$ac_dir_suffix;
  7175. ac_top_srcdir=$srcdir ;;
  7176. *) # Relative path.
  7177. ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
  7178. ac_top_srcdir=$ac_dots$srcdir ;;
  7179. esac
  7180. AC_PROVIDE_IFELSE([AC_PROG_INSTALL],
  7181. [ case $INSTALL in
  7182. [[\\/$]]* | ?:[[\\/]]* ) ac_INSTALL=$INSTALL ;;
  7183. *) ac_INSTALL=$ac_dots$INSTALL ;;
  7184. esac
  7185. ])dnl
  7186. if test x"$ac_file" != x-; then
  7187. AC_MSG_NOTICE([creating $ac_file])
  7188. rm -f "$ac_file"
  7189. fi
  7190. # Let's still pretend it is `configure' which instantiates (i.e., don't
  7191. # use $as_me), people would be surprised to read:
  7192. # /* config.h. Generated automatically by config.status. */
  7193. configure_input="Generated automatically from `echo $ac_file_in |
  7194. sed 's,.*/,,'` by configure."
  7195. # First look for the input files in the build tree, otherwise in the
  7196. # src tree.
  7197. ac_file_inputs=`IFS=:
  7198. for f in $ac_file_in; do
  7199. case $f in
  7200. -) echo $tmp/stdin ;;
  7201. [[\\/$]]*)
  7202. # Absolute (can't be DOS-style, as IFS=:)
  7203. test -f "$f" || AC_MSG_ERROR([cannot find input file: $f])
  7204. echo $f;;
  7205. *) # Relative
  7206. if test -f "$f"; then
  7207. # Build tree
  7208. echo $f
  7209. elif test -f "$srcdir/$f"; then
  7210. # Source tree
  7211. echo $srcdir/$f
  7212. else
  7213. # /dev/null tree
  7214. AC_MSG_ERROR([cannot find input file: $f])
  7215. fi;;
  7216. esac
  7217. done` || AS_EXIT([1])
  7218. EOF
  7219. cat >>$CONFIG_STATUS <<EOF
  7220. dnl Neutralize VPATH when `$srcdir' = `.'.
  7221. sed "$ac_vpsub
  7222. dnl Shell code in configure.ac might set extrasub.
  7223. dnl FIXME: do we really want to maintain this feature?
  7224. $extrasub
  7225. EOF
  7226. cat >>$CONFIG_STATUS <<\EOF
  7227. :t
  7228. [/@[a-zA-Z_][a-zA-Z_0-9]*@/!b]
  7229. s,@configure_input@,$configure_input,;t t
  7230. s,@srcdir@,$ac_srcdir,;t t
  7231. s,@top_srcdir@,$ac_top_srcdir,;t t
  7232. AC_PROVIDE_IFELSE([AC_PROG_INSTALL], [s,@INSTALL@,$ac_INSTALL,;t t
  7233. ])dnl
  7234. dnl The parens around the eval prevent an "illegal io" in Ultrix sh.
  7235. " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  7236. rm -f $tmp/stdin
  7237. dnl This would break Makefile dependencies.
  7238. dnl if cmp -s $ac_file $tmp/out 2>/dev/null; then
  7239. dnl echo "$ac_file is unchanged"
  7240. dnl else
  7241. dnl rm -f $ac_file
  7242. dnl mv $tmp/out $ac_file
  7243. dnl fi
  7244. if test x"$ac_file" != x-; then
  7245. mv $tmp/out $ac_file
  7246. else
  7247. cat $tmp/out
  7248. rm -f $tmp/out
  7249. fi
  7250. m4_ifset([AC_LIST_FILES_COMMANDS],
  7251. [ # Run the commands associated with the file.
  7252. case $ac_file in
  7253. AC_LIST_FILES_COMMANDS()dnl
  7254. esac
  7255. ])dnl
  7256. done
  7257. EOF
  7258. T30,18
  7259. m4_location(AC_FUNC_GETMNTENT)acfunctions.m4:582
  7260. T8,116
  7261. m4_defunm4_define([m4_location($1)], m4_location)dnl
  7262. m4_define([$1],
  7263. [_m4_defun_pro([$1])$2[]_m4_defun_epi([$1])])
  7264. F12,9
  7265. m4_debugfiledebugfile
  7266. T18,141
  7267. _AC_CHECK_TYPE_OLD_AC_CHECK_TYPE_NEW([$1],,
  7268. [AC_DEFINE_UNQUOTED([$1], [$2],
  7269. [Define to `$2' if <sys/types.h> does not define.])])dnl
  7270. T12,125
  7271. AC_LANG_CALL_m4_defun_pro([AC_LANG_CALL])_AC_LANG_DISPATCH([$0], _AC_LANG, $@)[]AC_PROVIDE([AC_LANG_CALL])[]_m4_defun_epi([AC_LANG_CALL])
  7272. T13,1
  7273. AS_MESSAGE_FD6
  7274. T7,99
  7275. AS_LN_S_m4_defun_pro([AS_LN_S])m4_require([_AS_LN_S_PREPARE])dnl
  7276. $as_ln_s $1 $2
  7277. []_m4_defun_epi([AS_LN_S])
  7278. T11,340
  7279. AC_LANG_POP_m4_defun_pro([AC_LANG_POP])m4_ifval([$1],
  7280. [m4_if([$1], m4_defn([_AC_LANG]), [],
  7281. [m4_fatal([$0($1): unexpected current language: ]m4_defn([_AC_LANG]))])])dnl
  7282. m4_pushdef([$0 OLD], m4_defn([_AC_LANG]))dnl
  7283. m4_popdef([_AC_LANG])dnl
  7284. _AC_LANG_SET(m4_defn([$0 OLD]), m4_defn([_AC_LANG]))dnl
  7285. m4_popdef([$0 OLD])dnl
  7286. []_m4_defun_epi([AC_LANG_POP])
  7287. T31,17
  7288. m4_location(_AC_PREPROC_IFELSE)acgeneral.m4:2649
  7289. T28,16
  7290. m4_location(AC_HEADER_EGREP)acoldnames.m4:31
  7291. T26,14
  7292. m4_location(AC_C_VOLATILE)aclang.m4:1689
  7293. T28,19
  7294. m4_location(AM_FUNC_OBSTACK)acfunctions.m4:1108
  7295. T26,14
  7296. m4_location(AC_TYPE_PID_T)actypes.m4:307
  7297. T18,225
  7298. AC_WORDS_BIGENDIAN_m4_defun_pro([AC_WORDS_BIGENDIAN])AC_DIAGNOSE([obsolete], [The macro `AC_WORDS_BIGENDIAN' is obsolete.
  7299. You should run autoupdate.])dnl
  7300. AC_C_BIGENDIAN($@)[]AC_PROVIDE([AC_WORDS_BIGENDIAN])[]_m4_defun_epi([AC_WORDS_BIGENDIAN])
  7301. T20,715
  7302. AC_STRUCT_ST_BLKSIZE_m4_defun_pro([AC_STRUCT_ST_BLKSIZE])AC_DIAGNOSE([obsolete], [The macro `AC_STRUCT_ST_BLKSIZE' is obsolete.
  7303. You should run autoupdate.])dnl
  7304. AC_DIAGNOSE([obsolete], [$0:
  7305. your code should no longer depend upon `HAVE_ST_BLKSIZE', but
  7306. `HAVE_STRUCT_STAT_ST_BLKSIZE'. Remove this warning and
  7307. the `AC_DEFINE' when you adjust the code.])
  7308. AC_CHECK_MEMBERS([struct stat.st_blksize],
  7309. [AC_DEFINE(HAVE_ST_BLKSIZE, 1,
  7310. [Define if your `struct stat' has
  7311. `st_blksize'. Deprecated, use
  7312. `HAVE_STRUCT_STAT_ST_BLKSIZE' instead.])])
  7313. []AC_PROVIDE([AC_STRUCT_ST_BLKSIZE])[]_m4_defun_epi([AC_STRUCT_ST_BLKSIZE])
  7314. F7,7
  7315. pushdefpushdef
  7316. T13,795
  7317. AC_DIR_HEADER_m4_defun_pro([AC_DIR_HEADER])AC_DIAGNOSE([obsolete], [The macro `AC_DIR_HEADER' is obsolete.
  7318. You should run autoupdate.])dnl
  7319. AC_HEADER_DIRENT
  7320. AC_FUNC_CLOSEDIR_VOID
  7321. AC_DIAGNOSE([obsolete],
  7322. [$0: Remove this warning and the four `AC_DEFINE' when you
  7323. ajust your code to use `AC_HEADER_DIRENT'.])
  7324. test ac_cv_header_dirent_dirent_h &&
  7325. AC_DEFINE([DIRENT], 1, [Same as `HAVE_DIRENT_H', don't depend on me.])
  7326. test ac_cv_header_dirent_sys_ndir_h &&
  7327. AC_DEFINE([SYSNDIR], 1, [Same as `HAVE_SYS_NDIR_H', don't depend on me.])
  7328. test ac_cv_header_dirent_sys_dir_h &&
  7329. AC_DEFINE([SYSDIR], 1, [Same as `HAVE_SYS_DIR_H', don't depend on me.])
  7330. test ac_cv_header_dirent_ndir_h &&
  7331. AC_DEFINE([NDIR], 1, [Same as `HAVE_NDIR_H', don't depend on me.])
  7332. []AC_PROVIDE([AC_DIR_HEADER])[]_m4_defun_epi([AC_DIR_HEADER])
  7333. T33,17
  7334. m4_location(AC_SYS_POSIX_TERMIOS)acspecific.m4:568
  7335. T35,17
  7336. m4_location(AC_SYS_LONG_FILE_NAMES)acspecific.m4:489
  7337. T28,16
  7338. m4_location(AC_HAVE_HEADERS)acoldnames.m4:29
  7339. T27,18
  7340. m4_location(AC_FUNC_FSEEKO)acfunctions.m4:386
  7341. T8,184
  7342. AC_UID_T_m4_defun_pro([AC_UID_T])AC_DIAGNOSE([obsolete], [The macro `AC_UID_T' is obsolete.
  7343. You should run autoupdate.])dnl
  7344. AC_TYPE_UID_T($@)[]AC_PROVIDE([AC_UID_T])[]_m4_defun_epi([AC_UID_T])
  7345. T10,125
  7346. _AC_ECHO_Necho $ECHO_N "_AS_QUOTE([$1])$ECHO_C" >&m4_default([$2],
  7347. [AS_MESSAGE_FD])
  7348. T36,17
  7349. m4_location(_AC_OUTPUT_COMMANDS_CNT)acgeneral.m4:3241
  7350. T27,19
  7351. m4_location(_AC_FUNC_VFORK)acfunctions.m4:1576
  7352. T34,331
  7353. _AC_HEADER_TIOCGWINSZ_IN_TERMIOS_HAC_CACHE_CHECK([whether termios.h defines TIOCGWINSZ],
  7354. ac_cv_sys_tiocgwinsz_in_termios_h,
  7355. [AC_EGREP_CPP([yes],
  7356. [#include <sys/types.h>
  7357. #include <termios.h>
  7358. #ifdef TIOCGWINSZ
  7359. yes
  7360. #endif
  7361. ],
  7362. ac_cv_sys_tiocgwinsz_in_termios_h=yes,
  7363. ac_cv_sys_tiocgwinsz_in_termios_h=no)])
  7364. T23,898
  7365. _AC_COMPUTE_INT_COMPILE# Depending upon the size, compute the lo and hi bounds.
  7366. AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) >= 0])],
  7367. [ac_lo=0 ac_mid=0
  7368. while :; do
  7369. AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) <= $ac_mid])],
  7370. [ac_hi=$ac_mid; break],
  7371. [ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`])
  7372. done],
  7373. [ac_hi=-1 ac_mid=-1
  7374. while :; do
  7375. AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) >= $ac_mid])],
  7376. [ac_lo=$ac_mid; break],
  7377. [ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`])
  7378. done])
  7379. # Binary search between lo and hi bounds.
  7380. while test "x$ac_lo" != "x$ac_hi"; do
  7381. ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  7382. AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([$3], [($1) <= $ac_mid])],
  7383. [ac_hi=$ac_mid], [ac_lo=`expr $ac_mid + 1`])
  7384. done
  7385. $2=$ac_lo[]dnl
  7386. T14,507
  7387. AC_C_STRINGIZE_m4_defun_pro([AC_C_STRINGIZE])AC_CACHE_CHECK([for preprocessor stringizing operator],
  7388. [ac_cv_c_stringize],
  7389. [AC_EGREP_CPP([@%:@teststring],
  7390. [@%:@define x(y) #y
  7391. char *s = x(teststring);],
  7392. [ac_cv_c_stringize=no],
  7393. [ac_cv_c_stringize=yes])])
  7394. if test $ac_cv_c_stringize = yes; then
  7395. AC_DEFINE(HAVE_STRINGIZE, 1,
  7396. [Define if cpp supports the ANSI @%:@ stringizing operator.])
  7397. fi
  7398. []AC_PROVIDE([AC_C_STRINGIZE])[]_m4_defun_epi([AC_C_STRINGIZE])
  7399. T23,17
  7400. m4_location(AC_TRY_CPP)acgeneral.m4:2669
  7401. T14,92
  7402. AC_CACHE_CHECKAC_MSG_CHECKING([$1])
  7403. AC_CACHE_VAL([$2], [$3])dnl
  7404. AC_MSG_RESULT_UNQUOTED([AS_VAR_GET([$2])])
  7405. T29,17
  7406. m4_location(AC_COMPILE_CHECK)acgeneral.m4:2796
  7407. T25,139
  7408. __m4_warning_error_ifelsem4_case([$3],
  7409. [error], [$1],
  7410. [], [$2],
  7411. [no-error], [$2],
  7412. [$0([$1], [$2], m4_shiftn(3, $@))])
  7413. T31,259
  7414. AC_VALIDATE_CACHED_SYSTEM_TUPLE_m4_defun_pro([AC_VALIDATE_CACHED_SYSTEM_TUPLE])AC_DIAGNOSE([obsolete], [The macro `AC_VALIDATE_CACHED_SYSTEM_TUPLE' is obsolete.
  7415. You should run autoupdate.])dnl
  7416. []AC_PROVIDE([AC_VALIDATE_CACHED_SYSTEM_TUPLE])[]_m4_defun_epi([AC_VALIDATE_CACHED_SYSTEM_TUPLE])
  7417. T12,505
  7418. AC_EGREP_CPP_m4_defun_pro([AC_EGREP_CPP])AC_LANG_PREPROC_REQUIRE()dnl
  7419. AC_LANG_CONFTEST([AC_LANG_SOURCE([[$2]])])
  7420. dnl eval is necessary to expand ac_cpp.
  7421. dnl Ultrix and Pyramid sh refuse to redirect output of eval, so use subshell.
  7422. if (eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
  7423. dnl Quote $1 to prevent m4 from eating character classes
  7424. egrep "[$1]" >/dev/null 2>&1; then
  7425. m4_default([$3], :)
  7426. m4_ifvaln([$4], [else
  7427. $4])dnl
  7428. fi
  7429. rm -f conftest*
  7430. []AC_PROVIDE([AC_EGREP_CPP])[]_m4_defun_epi([AC_EGREP_CPP])
  7431. T28,11
  7432. m4_location(AS_DIRNAME_EXPR)m4sh.m4:284
  7433. T29,17
  7434. m4_location(AC_TRY_LINK_FUNC)acgeneral.m4:2511
  7435. T26,16
  7436. m4_location(AC_ST_BLKSIZE)acoldnames.m4:70
  7437. T30,16
  7438. m4_location(AC_PREFIX_DEFAULT)acgeneral.m4:616
  7439. T27,11
  7440. m4_location(_AS_CR_PREPARE)m4sh.m4:558
  7441. T12,94
  7442. _AC_LANG_SET_m4_defun_pro([_AC_LANG_SET])_AC_LANG_DISPATCH([AC_LANG], [$2])[]_m4_defun_epi([_AC_LANG_SET])
  7443. T24,38
  7444. AC_LANG_CALL(Fortran 77)AC_LANG_PROGRAM([$1],
  7445. [ call $2])
  7446. T28,13
  7447. m4_location(AC_LANG_PROGRAM)aclang.m4:308
  7448. T12,510
  7449. AC_SITE_LOAD# Prefer explicitly selected file to automatically selected ones.
  7450. if test -z "$CONFIG_SITE"; then
  7451. if test "x$prefix" != xNONE; then
  7452. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  7453. else
  7454. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  7455. fi
  7456. fi
  7457. for ac_site_file in $CONFIG_SITE; do
  7458. if test -r "$ac_site_file"; then
  7459. AC_MSG_NOTICE([loading site script $ac_site_file])
  7460. cat "$ac_site_file" >&AS_MESSAGE_LOG_FD
  7461. . "$ac_site_file"
  7462. fi
  7463. done
  7464. T21,17
  7465. m4_location(_AC_EVAL)acgeneral.m4:2150
  7466. T9,97
  7467. AS_ESCAPEm4_patsubst([$1],
  7468. m4_ifval([$2], [[\([$2]\)]], [[\([\"$`]\)]]),
  7469. [\\\1])
  7470. T16,221
  7471. AC_CHAR_UNSIGNED_m4_defun_pro([AC_CHAR_UNSIGNED])AC_DIAGNOSE([obsolete], [The macro `AC_CHAR_UNSIGNED' is obsolete.
  7472. You should run autoupdate.])dnl
  7473. AC_C_CHAR_UNSIGNED($@)[]AC_PROVIDE([AC_CHAR_UNSIGNED])[]_m4_defun_epi([AC_CHAR_UNSIGNED])
  7474. T27,18
  7475. m4_location(AC_FUNC_MALLOC)acfunctions.m4:737
  7476. T7,30
  7477. m4_copym4_define([$2], m4_defn([$1]))
  7478. T26,16
  7479. m4_location(AC_RETSIGTYPE)acoldnames.m4:65
  7480. T22,13
  7481. m4_location(AC_EXEEXT)aclang.m4:646
  7482. T18,208
  7483. _AC_LINK_FILES_CNT_m4_defun_pro([_AC_LINK_FILES_CNT])AC_DIAGNOSE([obsolete], [The macro `_AC_LINK_FILES_CNT' is obsolete.
  7484. You should run autoupdate.])dnl
  7485. 0[]AC_PROVIDE([_AC_LINK_FILES_CNT])[]_m4_defun_epi([_AC_LINK_FILES_CNT])
  7486. T16,40
  7487. AC_LANG_CONFTESTcat >conftest.$ac_ext <<_ACEOF
  7488. $1
  7489. _ACEOF
  7490. T25,18
  7491. m4_location(AC_DYNIX_SEQ)acspecific.m4:1038
  7492. T15,125
  7493. AS_EXECUTABLE_P_m4_defun_pro([AS_EXECUTABLE_P])m4_require([_AS_TEST_PREPARE])dnl
  7494. $as_executable_p $1[]dnl
  7495. []_m4_defun_epi([AS_EXECUTABLE_P])
  7496. T27,106
  7497. AC_LANG_PROGRAM(Fortran 77)m4_ifval([$1],
  7498. [m4_warn([syntax], [$0: ignoring PROLOGUE: $1])])dnl
  7499. program main
  7500. $2
  7501. end
  7502. T23,19
  7503. m4_location(AC_VPRINTF)acfunctions.m4:1603
  7504. T26,17
  7505. m4_location(AC_CHECK_DECL)acgeneral.m4:2913
  7506. T9,6
  7507. m4_dquote[[$*]]
  7508. T7,158
  7509. AC_LANG_m4_defun_pro([AC_LANG])_AC_LANG_SET(m4_ifdef([_AC_LANG], [m4_defn([_AC_LANG])]),
  7510. [$1])dnl
  7511. m4_define([_AC_LANG], [$1])[]_m4_defun_epi([AC_LANG])
  7512. T10,103
  7513. m4_toupperm4_translit([$1],
  7514. [abcdefghijklmnopqrstuvwxyz],
  7515. [ABCDEFGHIJKLMNOPQRSTUVWXYZ])
  7516. T25,0
  7517. m4_include(acspecific.m4)
  7518. T10,99
  7519. _m4_shiftnm4_if([$1], 0,
  7520. [m4_shift($@)],
  7521. [_m4_shiftn(m4_eval([$1]-1), m4_shift(m4_shift($@)))])
  7522. T24,705
  7523. AC_LANG_FUNC_LINK_TRY(C)AC_LANG_PROGRAM(
  7524. [/* System header to define __stub macros and hopefully few prototypes,
  7525. which can conflict with char $1 (); below. */
  7526. #include <assert.h>
  7527. /* Override any gcc2 internal prototype to avoid an error. */
  7528. #ifdef __cplusplus
  7529. extern "C"
  7530. #endif
  7531. /* We use char because int might match the return type of a gcc2
  7532. builtin and then its argument prototype would still apply. */
  7533. char $1 ();
  7534. char (*f) ();
  7535. ],
  7536. [/* The GNU C library defines this for functions which it implements
  7537. to always fail with ENOSYS. Some functions are actually named
  7538. something starting with __ and the normal name is an alias. */
  7539. #if defined (__stub_$1) || defined (__stub___$1)
  7540. choke me
  7541. #else
  7542. f = $1;
  7543. #endif
  7544. ])
  7545. T30,14
  7546. m4_location(AM_TYPE_PTRDIFF_T)actypes.m4:289
  7547. T12,264
  7548. AC_LANG(C++)ac_ext=cc
  7549. ac_cpp='$CXXCPP $CPPFLAGS'
  7550. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&AS_MESSAGE_LOG_FD'
  7551. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&AS_MESSAGE_LOG_FD'
  7552. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  7553. T30,17
  7554. m4_location(AC_LIST_MEMBER_OF)acgeneral.m4:4512
  7555. T18,236
  7556. _AS_TR_CPP_PREPARE_m4_defun_pro([_AS_TR_CPP_PREPARE])m4_require([_AS_CR_PREPARE])dnl
  7557. # Sed expression to map a string onto a valid CPP name.
  7558. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[[^_$as_cr_alnum]]%_%g"
  7559. []_m4_defun_epi([_AS_TR_CPP_PREPARE])
  7560. T9,63
  7561. _AC_SUBSTm4_expand_once([m4_append([_AC_SUBST_SED_PROGRAM],
  7562. [$2
  7563. ])])dnl
  7564. F7,6
  7565. m4_exitm4exit
  7566. T17,124
  7567. m4_include_uniquem4_ifdef([m4_include($1)],
  7568. [m4_warn([syntax], [file `$1' included several times])])dnl
  7569. m4_define([m4_include($1)])
  7570. T16,2
  7571. _m4_divert(BODY)40
  7572. T11,1
  7573. _AH_COUNTER0
  7574. T23,114
  7575. m4_expansion_stack_pushm4_pushdef([m4_expansion_stack],
  7576. [$1]m4_ifdef([m4_expansion_stack], [
  7577. m4_defn([m4_expansion_stack])]))
  7578. T20,433
  7579. AC_SYS_POSIX_TERMIOS_m4_defun_pro([AC_SYS_POSIX_TERMIOS])AC_CACHE_CHECK([POSIX termios], ac_cv_sys_posix_termios,
  7580. [AC_TRY_LINK([#include <sys/types.h>
  7581. #include <unistd.h>
  7582. @%:@include <termios.h>],
  7583. [/* SunOS 4.0.3 has termios.h but not the library calls. */
  7584. tcgetattr(0, 0);],
  7585. ac_cv_sys_posix_termios=yes,
  7586. ac_cv_sys_posix_termios=no)])
  7587. []AC_PROVIDE([AC_SYS_POSIX_TERMIOS])[]_m4_defun_epi([AC_SYS_POSIX_TERMIOS])
  7588. T19,133
  7589. AC_LANG_COMPILER(C)_m4_defun_pro([AC_LANG_COMPILER(C)])AC_REQUIRE([AC_PROG_CC])[]AC_PROVIDE([AC_LANG_COMPILER(C)])[]_m4_defun_epi([AC_LANG_COMPILER(C)])
  7590. T14,242
  7591. AC_CHECK_PROGS_m4_defun_pro([AC_CHECK_PROGS])for ac_prog in $2
  7592. do
  7593. AC_CHECK_PROG([$1], [$ac_prog], [$ac_prog], , [$4])
  7594. test -n "$$1" && break
  7595. done
  7596. m4_ifvaln([$3], [test -n "$$1" || $1="$3"])[]AC_PROVIDE([AC_CHECK_PROGS])[]_m4_defun_epi([AC_CHECK_PROGS])
  7597. T25,13
  7598. m4_location(AC_LANG_PUSH)aclang.m4:142
  7599. T19,248
  7600. _AC_ARG_VAR_LDFLAGS_m4_defun_pro([_AC_ARG_VAR_LDFLAGS])AC_ARG_VAR([LDFLAGS],
  7601. [linker flags, e.g. -L<lib dir> if you have libraries in a
  7602. nonstandard directory <lib dir>])[]AC_PROVIDE([_AC_ARG_VAR_LDFLAGS])[]_m4_defun_epi([_AC_ARG_VAR_LDFLAGS])
  7603. T18,937
  7604. AC_FUNC_UTIME_NULL_m4_defun_pro([AC_FUNC_UTIME_NULL])AC_CACHE_CHECK(whether utime accepts a null argument, ac_cv_func_utime_null,
  7605. [rm -f conftest.data; >conftest.data
  7606. # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
  7607. AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
  7608. [[struct stat s, t;
  7609. exit (!(stat ("conftest.data", &s) == 0
  7610. && utime ("conftest.data", (long *)0) == 0
  7611. && stat ("conftest.data", &t) == 0
  7612. && t.st_mtime >= s.st_mtime
  7613. && t.st_mtime - s.st_mtime < 120));]])],
  7614. ac_cv_func_utime_null=yes,
  7615. ac_cv_func_utime_null=no,
  7616. ac_cv_func_utime_null=no)
  7617. rm -f core core.* *.core])
  7618. if test $ac_cv_func_utime_null = yes; then
  7619. AC_DEFINE(HAVE_UTIME_NULL, 1,
  7620. [Define if `utime(file, NULL)' sets file's timestamp to the
  7621. present.])
  7622. fi
  7623. rm -f conftest.data
  7624. []AC_PROVIDE([AC_FUNC_UTIME_NULL])[]_m4_defun_epi([AC_FUNC_UTIME_NULL])
  7625. T17,604
  7626. AC_NO_EXECUTABLESm4_provide_ifelse([AC_NO_EXECUTABLES],
  7627. [m4_warn([syntax], [AC_NO_EXECUTABLES invoked multiple times])],
  7628. [_m4_defun_pro([AC_NO_EXECUTABLES])m4_divert_push([KILL])
  7629. AC_BEFORE([$0], [_AC_COMPILER_EXEEXT_WORKS])
  7630. AC_BEFORE([$0], [_AC_COMPILER_EXEEXT])
  7631. m4_define([_AC_COMPILER_EXEEXT_WORKS],
  7632. [cross_compiling=maybe
  7633. ])
  7634. m4_define([_AC_COMPILER_EXEEXT],
  7635. [EXEEXT=
  7636. ])
  7637. m4_define([AC_LINK_IFELSE],
  7638. [AC_FATAL([All the tests involving linking were disabled by $0])])
  7639. m4_divert_pop()dnl
  7640. []AC_PROVIDE([AC_NO_EXECUTABLES])[]_m4_defun_epi([AC_NO_EXECUTABLES])])
  7641. T20,215
  7642. AC_CHECK_TOOL_PREFIX_m4_defun_pro([AC_CHECK_TOOL_PREFIX])AC_DIAGNOSE([obsolete], [The macro `AC_CHECK_TOOL_PREFIX' is obsolete.
  7643. You should run autoupdate.])dnl
  7644. []AC_PROVIDE([AC_CHECK_TOOL_PREFIX])[]_m4_defun_epi([AC_CHECK_TOOL_PREFIX])
  7645. T9,186
  7646. AC_INLINE_m4_defun_pro([AC_INLINE])AC_DIAGNOSE([obsolete], [The macro `AC_INLINE' is obsolete.
  7647. You should run autoupdate.])dnl
  7648. AC_C_INLINE($@)[]AC_PROVIDE([AC_INLINE])[]_m4_defun_epi([AC_INLINE])
  7649. T33,13
  7650. m4_location(_AC_ARG_VAR_CPPFLAGS)aclang.m4:820
  7651. T18,240
  7652. AC_LANG_PROGRAM(C)$1
  7653. m4_ifdef([_AC_LANG_PROGRAM_C_F77_HOOKS], [_AC_LANG_PROGRAM_C_F77_HOOKS()])dnl
  7654. int
  7655. main ()
  7656. {
  7657. dnl Do *not* indent the following line: there may be CPP directives.
  7658. dnl Don't move the `;' right after for the same reason.
  7659. $2
  7660. ;
  7661. return 0;
  7662. }
  7663. T24,0
  7664. _AC_OUTPUT_COMMANDS_INIT
  7665. T12,478
  7666. AC_XENIX_DIR_m4_defun_pro([AC_XENIX_DIR])AC_DIAGNOSE([obsolete], [The macro `AC_XENIX_DIR' is obsolete.
  7667. You should run autoupdate.])dnl
  7668. # You shouldn't need to depend upon XENIX. Remove this test if useless.
  7669. AC_MSG_CHECKING([for Xenix])
  7670. AC_EGREP_CPP(yes,
  7671. [#if defined(M_XENIX) && !defined(M_UNIX)
  7672. yes
  7673. @%:@endif],
  7674. [AC_MSG_RESULT([yes]); XENIX=yes],
  7675. [AC_MSG_RESULT([no]); XENIX=])
  7676. AC_HEADER_DIRENT[]dnl
  7677. []AC_PROVIDE([AC_XENIX_DIR])[]_m4_defun_epi([AC_XENIX_DIR])
  7678. T18,238
  7679. _m4_foreach_quotedm4_if($2, [()], ,
  7680. [m4_define([$1], [m4_car_quoted$2])$3[]_m4_foreach_quoted([$1],
  7681. [(m4_shift$2)],
  7682. [$3])])
  7683. T24,14
  7684. m4_location(AC_PROG_CXX)aclang.m4:1180
  7685. T9,380
  7686. AS_TR_CPP_m4_defun_pro([AS_TR_CPP])m4_require([_$0_PREPARE])dnl
  7687. AS_LITERAL_IF([$1],
  7688. [m4_patsubst(m4_translit([[$1]],
  7689. [*abcdefghijklmnopqrstuvwxyz],
  7690. [PABCDEFGHIJKLMNOPQRSTUVWXYZ]),
  7691. [[^A-Z0-9_]], [_])],
  7692. [`echo "$1" | $as_tr_cpp`])[]_m4_defun_epi([AS_TR_CPP])
  7693. T11,41
  7694. AC_DIAGNOSEm4_warning_ifelse([$1], [_m4_warn([$2])])
  7695. T27,13
  7696. m4_location(AC_LANG_SOURCE)aclang.m4:298
  7697. T30,13
  7698. m4_location(AC_LANG_FORTRAN77)aclang.m4:264
  7699. T27,17
  7700. m4_location(AC_CHECK_DECLS)acgeneral.m4:2933
  7701. T17,299
  7702. AC_LANG_CALL(C++)AC_LANG_PROGRAM([$1
  7703. m4_if([$2], [main], ,
  7704. [/* Override any gcc2 internal prototype to avoid an error. */
  7705. #ifdef __cplusplus
  7706. extern "C"
  7707. #endif
  7708. /* We use char because int might match the return type of a gcc2
  7709. builtin and then its argument prototype would still apply. */
  7710. char $2 ();])], [$2 ();])
  7711. T9,184
  7712. AM_EXEEXT_m4_defun_pro([AM_EXEEXT])AC_DIAGNOSE([obsolete], [The macro `AM_EXEEXT' is obsolete.
  7713. You should run autoupdate.])dnl
  7714. AC_EXEEXT($@)[]AC_PROVIDE([AM_EXEEXT])[]_m4_defun_epi([AM_EXEEXT])
  7715. T9,51
  7716. m4_shiftnm4_assert(($1 >= 0) && ($# > $1))dnl
  7717. _m4_shiftn($@)
  7718. T14,125
  7719. AC_TYPE_SIZE_T_m4_defun_pro([AC_TYPE_SIZE_T])AC_CHECK_TYPE(size_t, unsigned)[]AC_PROVIDE([AC_TYPE_SIZE_T])[]_m4_defun_epi([AC_TYPE_SIZE_T])
  7720. T10,1512
  7721. AC_PROG_CC_m4_defun_pro([AC_PROG_CC])AC_LANG_PUSH(C)dnl
  7722. AC_ARG_VAR([CC], [C compiler command])dnl
  7723. AC_ARG_VAR([CFLAGS], [C compiler flags])dnl
  7724. _AC_ARG_VAR_LDFLAGS()dnl
  7725. _AC_ARG_VAR_CPPFLAGS()dnl
  7726. m4_ifval([$1],
  7727. [AC_CHECK_TOOLS(CC, [$1])],
  7728. [AC_CHECK_TOOL(CC, gcc)
  7729. if test -z "$CC"; then
  7730. AC_CHECK_TOOL(CC, cc)
  7731. fi
  7732. if test -z "$CC"; then
  7733. AC_CHECK_PROG(CC, cc, cc, , , /usr/ucb/cc)
  7734. fi
  7735. if test -z "$CC"; then
  7736. AC_CHECK_TOOLS(CC, cl)
  7737. fi
  7738. ])
  7739. test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH])
  7740. # Provide some information about the compiler.
  7741. echo "$as_me:__oline__:" \
  7742. "checking for _AC_LANG compiler version" >&AS_MESSAGE_LOG_FD
  7743. ac_compiler=`set X $ac_compile; echo $[2]`
  7744. _AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
  7745. _AC_EVAL([$ac_compiler -v </dev/null >&AS_MESSAGE_LOG_FD])
  7746. _AC_EVAL([$ac_compiler -V </dev/null >&AS_MESSAGE_LOG_FD])
  7747. m4_expand_once([_AC_COMPILER_EXEEXT])[]dnl
  7748. m4_expand_once([_AC_COMPILER_OBJEXT])[]dnl
  7749. _AC_LANG_COMPILER_GNU
  7750. GCC=`test $ac_compiler_gnu = yes && echo yes`
  7751. _AC_PROG_CC_G
  7752. # Some people use a C++ compiler to compile C. Since we use `exit',
  7753. # in C++ we need to declare it. In case someone uses the same compiler
  7754. # for both compiling C and C++ we need to have the C++ compiler decide
  7755. # the declaration of exit, since it's the most demanding environment.
  7756. _AC_COMPILE_IFELSE([@%:@ifndef __cplusplus
  7757. choke me
  7758. @%:@endif],
  7759. [_AC_PROG_CXX_EXIT_DECLARATION])
  7760. AC_LANG_POP(C)dnl
  7761. []AC_PROVIDE([AC_PROG_CC])[]_m4_defun_epi([AC_PROG_CC])
  7762. T29,58
  7763. AC_LANG_BOOL_COMPILE_TRY(C++)AC_LANG_PROGRAM([$1], [int _array_ @<:@1 - 2 * !($2)@:>@])
  7764. T15,1079
  7765. AC_FUNC_FNMATCH_m4_defun_pro([AC_FUNC_FNMATCH])AC_CACHE_CHECK([for working GNU-style fnmatch],
  7766. [ac_cv_func_fnmatch_works],
  7767. # Some versions of Solaris, SCO, and the GNU C Library
  7768. # have a broken or incompatible fnmatch.
  7769. # So we run a test program. If we are cross-compiling, take no chance.
  7770. # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
  7771. [AC_RUN_IFELSE([AC_LANG_PROGRAM([@%:@include <fnmatch.h>],
  7772. [exit (fnmatch ("a*", "abc", 0) != 0
  7773. || fnmatch ("d*/*1", "d/s/1", FNM_FILE_NAME) != FNM_NOMATCH
  7774. || fnmatch ("*", "x", FNM_FILE_NAME | FNM_LEADING_DIR) != 0
  7775. || fnmatch ("x*", "x/y/z", FNM_FILE_NAME | FNM_LEADING_DIR) != 0
  7776. || fnmatch ("*c*", "c/x", FNM_FILE_NAME | FNM_LEADING_DIR) != 0);])],
  7777. [ac_cv_func_fnmatch_works=yes],
  7778. [ac_cv_func_fnmatch_works=no],
  7779. [ac_cv_func_fnmatch_works=no])])
  7780. if test $ac_cv_func_fnmatch_works = yes; then
  7781. AC_DEFINE(HAVE_FNMATCH, 1,
  7782. [Define if your system has a working `fnmatch' function.])
  7783. fi
  7784. []AC_PROVIDE([AC_FUNC_FNMATCH])[]_m4_defun_epi([AC_FUNC_FNMATCH])
  7785. T12,200
  7786. AC_DYNIX_SEQ_m4_defun_pro([AC_DYNIX_SEQ])AC_DIAGNOSE([obsolete], [The macro `AC_DYNIX_SEQ' is obsolete.
  7787. You should run autoupdate.])dnl
  7788. AC_FUNC_GETMNTENT[]AC_PROVIDE([AC_DYNIX_SEQ])[]_m4_defun_epi([AC_DYNIX_SEQ])
  7789. T27,1578
  7790. AC_SYS_RESTARTABLE_SYSCALLS_m4_defun_pro([AC_SYS_RESTARTABLE_SYSCALLS])AC_DIAGNOSE([obsolete],
  7791. [$0: System call restartability is now typically set at runtime.
  7792. Remove this `AC_SYS_RESTARTABLE_SYSCALLS'
  7793. and adjust your code to use `sigaction' with `SA_RESTART' instead.])dnl
  7794. AC_REQUIRE([AC_HEADER_SYS_WAIT])dnl
  7795. AC_CHECK_HEADERS(unistd.h)
  7796. AC_CACHE_CHECK(for restartable system calls, ac_cv_sys_restartable_syscalls,
  7797. [AC_RUN_IFELSE([AC_LANG_SOURCE(
  7798. [/* Exit 0 (true) if wait returns something other than -1,
  7799. i.e. the pid of the child, which means that wait was restarted
  7800. after getting the signal. */
  7801. #include <sys/types.h>
  7802. #include <signal.h>
  7803. #if HAVE_UNISTD_H
  7804. # include <unistd.h>
  7805. #endif
  7806. #if HAVE_SYS_WAIT_H
  7807. # include <sys/wait.h>
  7808. #endif
  7809. /* Some platforms explicitly require an extern "C" signal handler
  7810. when using C++. */
  7811. #ifdef __cplusplus
  7812. extern "C" void ucatch (int dummy) { }
  7813. #else
  7814. void ucatch (dummy) int dummy; { }
  7815. #endif
  7816. int
  7817. main ()
  7818. {
  7819. int i = fork (), status;
  7820. if (i == 0)
  7821. {
  7822. sleep (3);
  7823. kill (getppid (), SIGINT);
  7824. sleep (3);
  7825. exit (0);
  7826. }
  7827. signal (SIGINT, ucatch);
  7828. status = wait (&i);
  7829. if (status == -1)
  7830. wait (&i);
  7831. exit (status == -1);
  7832. }])],
  7833. [ac_cv_sys_restartable_syscalls=yes],
  7834. [ac_cv_sys_restartable_syscalls=no])])
  7835. if test $ac_cv_sys_restartable_syscalls = yes; then
  7836. AC_DEFINE(HAVE_RESTARTABLE_SYSCALLS, 1,
  7837. [Define if system calls automatically restart after interruption
  7838. by a signal.])
  7839. fi
  7840. []AC_PROVIDE([AC_SYS_RESTARTABLE_SYSCALLS])[]_m4_defun_epi([AC_SYS_RESTARTABLE_SYSCALLS])
  7841. T15,0
  7842. AC_LIST_HEADERS
  7843. T12,21
  7844. AC_LANG_CASEm4_case(_AC_LANG, $@)
  7845. T36,17
  7846. m4_location(AC_CONFIG_COMMANDS_POST)acgeneral.m4:3260
  7847. T27,58
  7848. AC_LANG_BOOL_COMPILE_TRY(C)AC_LANG_PROGRAM([$1], [int _array_ @<:@1 - 2 * !($2)@:>@])
  7849. T25,16
  7850. m4_location(AC_ST_BLOCKS)acoldnames.m4:71
  7851. T28,14
  7852. m4_location(AC_PROG_F77_C_O)aclang.m4:1389
  7853. T8,56
  7854. AS_ERROR{ AS_MESSAGE([error: $1], [2])
  7855. AS_EXIT([$2]); }[]dnl
  7856. T21,747
  7857. AC_FUNC_CLOSEDIR_VOID_m4_defun_pro([AC_FUNC_CLOSEDIR_VOID])AC_REQUIRE([AC_HEADER_DIRENT])dnl
  7858. AC_CACHE_CHECK([whether closedir returns void],
  7859. [ac_cv_func_closedir_void],
  7860. [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
  7861. #include <$ac_header_dirent>
  7862. #ifndef __cplusplus
  7863. int closedir ();
  7864. #endif
  7865. ],
  7866. [[exit (closedir (opendir (".")) != 0);]])],
  7867. [ac_cv_func_closedir_void=no],
  7868. [ac_cv_func_closedir_void=yes],
  7869. [ac_cv_func_closedir_void=yes])])
  7870. if test $ac_cv_func_closedir_void = yes; then
  7871. AC_DEFINE(CLOSEDIR_VOID, 1,
  7872. [Define if the `closedir' function returns void instead of `int'.])
  7873. fi
  7874. []AC_PROVIDE([AC_FUNC_CLOSEDIR_VOID])[]_m4_defun_epi([AC_FUNC_CLOSEDIR_VOID])
  7875. T12,98
  7876. AH_CHECK_LIBAH_TEMPLATE(AS_TR_CPP(HAVE_LIB$1),
  7877. [Define if you have the `]$1[' library (-l]$1[).])
  7878. T23,181
  7879. AH_CHECK_HEADERS_DIRENTAC_FOREACH([AC_Header], [$1],
  7880. [AH_TEMPLATE(AS_TR_CPP(HAVE_[]AC_Header),
  7881. [Define if you have the <]AC_Header[> header file, and
  7882. it defines `DIR'.])])
  7883. T25,17
  7884. m4_location(AC_PROG_LN_S)acspecific.m4:277
  7885. T31,443
  7886. _AC_SYS_LARGEFILE_TEST_INCLUDES@%:@include <sys/types.h>
  7887. /* Check that off_t can represent 2**63 - 1 correctly.
  7888. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  7889. since some C++ compilers masquerading as C compilers
  7890. incorrectly reject 9223372036854775807. */
  7891. @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  7892. int off_t_is_large[[(LARGE_OFF_T % 2147483629 == 721
  7893. && LARGE_OFF_T % 2147483647 == 1)
  7894. ? 1 : -1]];[]dnl
  7895. T15,209
  7896. AC_TEST_PROGRAM_m4_defun_pro([AC_TEST_PROGRAM])AC_DIAGNOSE([obsolete], [The macro `AC_TEST_PROGRAM' is obsolete.
  7897. You should run autoupdate.])dnl
  7898. AC_TRY_RUN($@)[]AC_PROVIDE([AC_TEST_PROGRAM])[]_m4_defun_epi([AC_TEST_PROGRAM])
  7899. T27,16
  7900. m4_location(AC_HEADER_STDC)acheaders.m4:284
  7901. T18,153
  7902. AC_DEFINE_UNQUOTEDAC_DEFINE_TRACE([$1])dnl
  7903. m4_ifval([$3], [_AH_TEMPLATE_OLD([$1], [$3])])dnl
  7904. cat >>confdefs.h <<EOF
  7905. [@%:@define] $1 m4_if($#, 2, [$2], $#, 3, [$2], 1)
  7906. EOF
  7907. T26,17
  7908. m4_location(AC_CHECK_PROG)acgeneral.m4:2343
  7909. T15,1202
  7910. _AC_DECL_YYTEXTAC_CACHE_CHECK(lex output file root, ac_cv_prog_lex_root,
  7911. [# The minimal lex program is just a single line: %%. But some broken lexes
  7912. # (Solaris, I think it was) want two %% lines, so accommodate them.
  7913. echo '%%
  7914. %%' | $LEX
  7915. if test -f lex.yy.c; then
  7916. ac_cv_prog_lex_root=lex.yy
  7917. elif test -f lexyy.c; then
  7918. ac_cv_prog_lex_root=lexyy
  7919. else
  7920. AC_MSG_ERROR([cannot find output from $LEX; giving up])
  7921. fi])
  7922. LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
  7923. AC_SUBST(LEX_OUTPUT_ROOT)dnl
  7924. AC_CACHE_CHECK(whether yytext is a pointer, ac_cv_prog_lex_yytext_pointer,
  7925. [# POSIX says lex can declare yytext either as a pointer or an array; the
  7926. # default is implementation-dependent. Figure out which it is, since
  7927. # not all implementations provide the %pointer and %array declarations.
  7928. ac_cv_prog_lex_yytext_pointer=no
  7929. echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
  7930. ac_save_LIBS=$LIBS
  7931. LIBS="$LIBS $LEXLIB"
  7932. AC_LINK_IFELSE([`cat $LEX_OUTPUT_ROOT.c`], ac_cv_prog_lex_yytext_pointer=yes)
  7933. LIBS=$ac_save_LIBS
  7934. rm -f "${LEX_OUTPUT_ROOT}.c"
  7935. ])
  7936. dnl
  7937. if test $ac_cv_prog_lex_yytext_pointer = yes; then
  7938. AC_DEFINE(YYTEXT_POINTER, 1,
  7939. [Define if `lex' declares `yytext' as a `char *' by default,
  7940. not a `char[]'.])
  7941. fi
  7942. T18,167
  7943. AC_SHELL_PATH_WALKac_save_IFS=$IFS; IFS=$ac_path_separator
  7944. ac_dummy="m4_default([$1], [$PATH])"
  7945. for ac_dir in $ac_dummy; do
  7946. IFS=$ac_save_IFS
  7947. test -z "$ac_dir" && ac_dir=.
  7948. $2
  7949. done
  7950. T17,1912
  7951. _AC_PATH_X_DIRECT# Standard set of common directories for X headers.
  7952. # Check X11 before X11Rn because it is often a symlink to the current release.
  7953. ac_x_header_dirs='
  7954. /usr/X11/include
  7955. /usr/X11R6/include
  7956. /usr/X11R5/include
  7957. /usr/X11R4/include
  7958. /usr/include/X11
  7959. /usr/include/X11R6
  7960. /usr/include/X11R5
  7961. /usr/include/X11R4
  7962. /usr/local/X11/include
  7963. /usr/local/X11R6/include
  7964. /usr/local/X11R5/include
  7965. /usr/local/X11R4/include
  7966. /usr/local/include/X11
  7967. /usr/local/include/X11R6
  7968. /usr/local/include/X11R5
  7969. /usr/local/include/X11R4
  7970. /usr/X386/include
  7971. /usr/x386/include
  7972. /usr/XFree86/include/X11
  7973. /usr/include
  7974. /usr/local/include
  7975. /usr/unsupported/include
  7976. /usr/athena/include
  7977. /usr/local/x11r5/include
  7978. /usr/lpp/Xamples/include
  7979. /usr/openwin/include
  7980. /usr/openwin/share/include'
  7981. if test "$ac_x_includes" = no; then
  7982. # Guess where to find include files, by looking for Intrinsic.h.
  7983. # First, try using that file with no special directory specified.
  7984. AC_PREPROC_IFELSE([AC_LANG_SOURCE([@%:@include <X11/Intrinsic.h>])],
  7985. [# We can compile using X headers with no special include directory.
  7986. ac_x_includes=],
  7987. [for ac_dir in $ac_x_header_dirs; do
  7988. if test -r "$ac_dir/X11/Intrinsic.h"; then
  7989. ac_x_includes=$ac_dir
  7990. break
  7991. fi
  7992. done])
  7993. fi # $ac_x_includes = no
  7994. if test "$ac_x_libraries" = no; then
  7995. # Check for the libraries.
  7996. # See if we find them without any special options.
  7997. # Don't add to $LIBS permanently.
  7998. ac_save_LIBS=$LIBS
  7999. LIBS="-lXt $LIBS"
  8000. AC_TRY_LINK([@%:@include <X11/Intrinsic.h>], [XtMalloc (0)],
  8001. [LIBS=$ac_save_LIBS
  8002. # We can link X programs with no special library path.
  8003. ac_x_libraries=],
  8004. [LIBS=$ac_save_LIBS
  8005. for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  8006. do
  8007. # Don't even attempt the hair of trying to link an X program!
  8008. for ac_extension in a so sl; do
  8009. if test -r $ac_dir/libXt.$ac_extension; then
  8010. ac_x_libraries=$ac_dir
  8011. break 2
  8012. fi
  8013. done
  8014. done])
  8015. fi # $ac_x_libraries = no
  8016. F10,7
  8017. m4_dumpdefdumpdef
  8018. T8,155
  8019. m4_stripm4_patsubst(m4_patsubst(m4_patsubst([[[[$1]]]],
  8020. [[ ]+], [ ]),
  8021. [^\(..\) ], [\1]),
  8022. [ \(.\)$], [\1])
  8023. T30,17
  8024. m4_location(AC_PREFIX_PROGRAM)acgeneral.m4:2495
  8025. T25,201
  8026. _AC_COMPILER_EXEEXT_CROSS# Check the compiler produces executables we can run. If not, either
  8027. # the compiler is broken, or we cross compile.
  8028. AC_MSG_CHECKING([whether we are cross compiling])
  8029. AC_MSG_RESULT([$cross_compiling])
  8030. T15,214
  8031. AC_HEADER_CHECK_m4_defun_pro([AC_HEADER_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_HEADER_CHECK' is obsolete.
  8032. You should run autoupdate.])dnl
  8033. AC_CHECK_HEADER($@)[]AC_PROVIDE([AC_HEADER_CHECK])[]_m4_defun_epi([AC_HEADER_CHECK])
  8034. T13,117
  8035. AC_TYPE_PID_T_m4_defun_pro([AC_TYPE_PID_T])AC_CHECK_TYPE(pid_t, int)[]AC_PROVIDE([AC_TYPE_PID_T])[]_m4_defun_epi([AC_TYPE_PID_T])
  8036. T27,14
  8037. m4_location(AC_PROG_CC_C_O)aclang.m4:1080
  8038. T13,4
  8039. m4_car_quoted[$1]
  8040. T13,259
  8041. _AC_PROG_ECHOcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  8042. *c*,-n*) ECHO_N= ECHO_C='
  8043. ' ECHO_T=' ' ;;
  8044. *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  8045. *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  8046. esac
  8047. AC_SUBST(ECHO_C)dnl
  8048. AC_SUBST(ECHO_N)dnl
  8049. AC_SUBST(ECHO_T)dnl
  8050. T14,1216
  8051. AC_C_BIGENDIAN_m4_defun_pro([AC_C_BIGENDIAN])AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian,
  8052. [ac_cv_c_bigendian=unknown
  8053. # See if sys/param.h defines the BYTE_ORDER macro.
  8054. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
  8055. #include <sys/param.h>
  8056. ],
  8057. [#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
  8058. bogus endian macros
  8059. #endif
  8060. ])],
  8061. [# It does; now see whether it defined to BIG_ENDIAN or not.
  8062. AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
  8063. #include <sys/param.h>
  8064. ], [#if BYTE_ORDER != BIG_ENDIAN
  8065. not big endian
  8066. #endif
  8067. ])], [ac_cv_c_bigendian=yes],
  8068. [ac_cv_c_bigendian=no])])
  8069. if test $ac_cv_c_bigendian = unknown; then
  8070. AC_TRY_RUN(
  8071. [int
  8072. main ()
  8073. {
  8074. /* Are we little or big endian? From Harbison&Steele. */
  8075. union
  8076. {
  8077. long l;
  8078. char c[sizeof (long)];
  8079. } u;
  8080. u.l = 1;
  8081. exit (u.c[sizeof (long) - 1] == 1);
  8082. }], ac_cv_c_bigendian=no, ac_cv_c_bigendian=yes)
  8083. fi])
  8084. if test $ac_cv_c_bigendian = yes; then
  8085. AC_DEFINE(WORDS_BIGENDIAN, 1,
  8086. [Define if your processor stores words with the most significant
  8087. byte first (like Motorola and SPARC, unlike Intel and VAX).])
  8088. fi
  8089. []AC_PROVIDE([AC_C_BIGENDIAN])[]_m4_defun_epi([AC_C_BIGENDIAN])
  8090. T13,384
  8091. AC_CHECK_FUNC_m4_defun_pro([AC_CHECK_FUNC])AS_VAR_PUSHDEF([ac_var], [ac_cv_func_$1])dnl
  8092. AC_CACHE_CHECK([for $1], ac_var,
  8093. [AC_LINK_IFELSE([AC_LANG_FUNC_LINK_TRY([$1])],
  8094. [AS_VAR_SET(ac_var, yes)],
  8095. [AS_VAR_SET(ac_var, no)])])
  8096. AS_IF([test AS_VAR_GET(ac_var) = yes], [$2], [$3])dnl
  8097. AS_VAR_POPDEF([ac_var])dnl
  8098. []AC_PROVIDE([AC_CHECK_FUNC])[]_m4_defun_epi([AC_CHECK_FUNC])
  8099. T14,338
  8100. AC_CHECK_FILES_m4_defun_pro([AC_CHECK_FILES])AC_FOREACH([AC_FILE_NAME], [$1],
  8101. [AC_CHECK_FILE(AC_FILE_NAME,
  8102. [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]AC_FILE_NAME), 1,
  8103. [Define if you have the file `]AC_File['.])
  8104. $2],
  8105. [$3])])[]AC_PROVIDE([AC_CHECK_FILES])[]_m4_defun_epi([AC_CHECK_FILES])
  8106. T25,18
  8107. m4_location(AC_XENIX_DIR)acspecific.m4:1033
  8108. T24,16
  8109. m4_location(AC_CYGWIN32)acoldnames.m4:80
  8110. T28,17
  8111. m4_location(AC_EGREP_HEADER)acgeneral.m4:2699
  8112. T15,299
  8113. AC_LANG_CALL(C)AC_LANG_PROGRAM([$1
  8114. m4_if([$2], [main], ,
  8115. [/* Override any gcc2 internal prototype to avoid an error. */
  8116. #ifdef __cplusplus
  8117. extern "C"
  8118. #endif
  8119. /* We use char because int might match the return type of a gcc2
  8120. builtin and then its argument prototype would still apply. */
  8121. char $2 ();])], [$2 ();])
  8122. T11,483
  8123. AC_F77_FUNC_m4_defun_pro([AC_F77_FUNC])AC_REQUIRE([_AC_F77_NAME_MANGLING])dnl
  8124. case $ac_cv_f77_mangling in
  8125. upper*) ac_val="m4_toupper([$1])" ;;
  8126. lower*) ac_val="m4_tolower([$1])" ;;
  8127. *) ac_val="unknown" ;;
  8128. esac
  8129. case $ac_cv_f77_mangling in *," underscore"*) ac_val="$ac_val"_ ;; esac
  8130. m4_if(m4_index([$1],[_]),-1,[],
  8131. [case $ac_cv_f77_mangling in *," extra underscore"*) ac_val="$ac_val"_ ;; esac
  8132. ])
  8133. m4_default([$2],[$1])="$ac_val"
  8134. []AC_PROVIDE([AC_F77_FUNC])[]_m4_defun_epi([AC_F77_FUNC])
  8135. T24,18
  8136. m4_location(AC_IRIX_SUN)acspecific.m4:1045
  8137. T27,16
  8138. m4_location(AC_GETGROUPS_T)acoldnames.m4:54
  8139. T13,212
  8140. _m4_defun_epim4_divert_pop()dnl
  8141. m4_if(_m4_divert_dump, _m4_divert_diversion,
  8142. [m4_undivert([GROW])dnl
  8143. m4_undefine([_m4_divert_dump])])dnl
  8144. m4_expansion_stack_pop()dnl
  8145. m4_popdef([_m4_expanding($1)])dnl
  8146. m4_provide([$1])dnl
  8147. T17,221
  8148. AC_PROGRAMS_CHECK_m4_defun_pro([AC_PROGRAMS_CHECK])AC_DIAGNOSE([obsolete], [The macro `AC_PROGRAMS_CHECK' is obsolete.
  8149. You should run autoupdate.])dnl
  8150. AC_CHECK_PROGS($@)[]AC_PROVIDE([AC_PROGRAMS_CHECK])[]_m4_defun_epi([AC_PROGRAMS_CHECK])
  8151. T15,1824
  8152. AC_F77_WRAPPERS_m4_defun_pro([AC_F77_WRAPPERS])AC_REQUIRE([_AC_F77_NAME_MANGLING])dnl
  8153. AH_TEMPLATE([F77_FUNC],
  8154. [Define to a macro mangling the given C identifier (in lower and upper
  8155. case), which must not contain underscores, for linking with Fortran.])dnl
  8156. AH_TEMPLATE([F77_FUNC_],
  8157. [As F77_FUNC, but for C identifiers containing underscores.])dnl
  8158. case $ac_cv_f77_mangling in
  8159. "lower case, no underscore, no extra underscore")
  8160. AC_DEFINE([F77_FUNC(name,NAME)], [name])
  8161. AC_DEFINE([F77_FUNC_(name,NAME)], [name]) ;;
  8162. "lower case, no underscore, extra underscore")
  8163. AC_DEFINE([F77_FUNC(name,NAME)], [name])
  8164. AC_DEFINE([F77_FUNC_(name,NAME)], [name ## _]) ;;
  8165. "lower case, underscore, no extra underscore")
  8166. AC_DEFINE([F77_FUNC(name,NAME)], [name ## _])
  8167. AC_DEFINE([F77_FUNC_(name,NAME)], [name ## _]) ;;
  8168. "lower case, underscore, extra underscore")
  8169. AC_DEFINE([F77_FUNC(name,NAME)], [name ## _])
  8170. AC_DEFINE([F77_FUNC_(name,NAME)], [name ## __]) ;;
  8171. "upper case, no underscore, no extra underscore")
  8172. AC_DEFINE([F77_FUNC(name,NAME)], [NAME])
  8173. AC_DEFINE([F77_FUNC_(name,NAME)], [NAME]) ;;
  8174. "upper case, no underscore, extra underscore")
  8175. AC_DEFINE([F77_FUNC(name,NAME)], [NAME])
  8176. AC_DEFINE([F77_FUNC_(name,NAME)], [NAME ## _]) ;;
  8177. "upper case, underscore, no extra underscore")
  8178. AC_DEFINE([F77_FUNC(name,NAME)], [NAME ## _])
  8179. AC_DEFINE([F77_FUNC_(name,NAME)], [NAME ## _]) ;;
  8180. "upper case, underscore, extra underscore")
  8181. AC_DEFINE([F77_FUNC(name,NAME)], [NAME ## _])
  8182. AC_DEFINE([F77_FUNC_(name,NAME)], [NAME ## __]) ;;
  8183. *)
  8184. AC_MSG_WARN([unknown Fortran 77 name-mangling scheme])
  8185. ;;
  8186. esac
  8187. []AC_PROVIDE([AC_F77_WRAPPERS])[]_m4_defun_epi([AC_F77_WRAPPERS])
  8188. T36,13
  8189. m4_location(AC_LANG_PREPROC_REQUIRE)aclang.m4:575
  8190. T25,13
  8191. m4_location(_AC_LANG_SET)aclang.m4:124
  8192. T22,1
  8193. _m4_divert(PARSE_ARGS)4
  8194. T17,807
  8195. _AC_CONFIG_UNIQUEm4_divert_push([KILL])
  8196. AC_FOREACH([AC_File], [$1],
  8197. [m4_pushdef([AC_Dest], m4_patsubst(AC_File, [:.*]))
  8198. AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_HEADERS],
  8199. [AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_HEADER or AC_CONFIG_HEADERS.])])
  8200. AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_LINKS],
  8201. [AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_LINKS.])])
  8202. AC_CONFIG_IF_MEMBER(AC_Dest, [_AC_LIST_SUBDIRS],
  8203. [AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_SUBDIRS.])])
  8204. AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_COMMANDS],
  8205. [AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_COMMANDS.])])
  8206. AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_FILES],
  8207. [AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_FILES or AC_OUTPUT.])])
  8208. m4_popdef([AC_Dest])])
  8209. m4_divert_pop([KILL])dnl
  8210. T27,203
  8211. AC_LANG_PREPROC(Fortran 77)_m4_defun_pro([AC_LANG_PREPROC(Fortran 77)])m4_warn([syntax],
  8212. [$0: No preprocessor defined for ]_AC_LANG)[]AC_PROVIDE([AC_LANG_PREPROC(Fortran 77)])[]_m4_defun_epi([AC_LANG_PREPROC(Fortran 77)])
  8213. T13,42
  8214. AS_VAR_SET_IFAS_IF([AS_VAR_TEST_SET([$1])], [$2], [$3])
  8215. T23,1441
  8216. AC_FUNC_SELECT_ARGTYPES_m4_defun_pro([AC_FUNC_SELECT_ARGTYPES])AC_CHECK_HEADERS(sys/select.h sys/socket.h)
  8217. AC_CACHE_CHECK([types of arguments for select],
  8218. [ac_cv_func_select_args],
  8219. [for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
  8220. for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
  8221. for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
  8222. AC_COMPILE_IFELSE(
  8223. [AC_LANG_PROGRAM(
  8224. [AC_INCLUDES_DEFAULT
  8225. #if HAVE_SYS_SELECT_H
  8226. # include <sys/select.h>
  8227. #endif
  8228. #if HAVE_SYS_SOCKET_H
  8229. # include <sys/socket.h>
  8230. #endif
  8231. ],
  8232. [extern int select ($ac_arg1,
  8233. $ac_arg234, $ac_arg234, $ac_arg234,
  8234. $ac_arg5);])],
  8235. [ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3])
  8236. done
  8237. done
  8238. done
  8239. # Provide a safe default value.
  8240. : ${ac_cv_func_select_args='int,int *,struct timeval *'}
  8241. ])
  8242. ac_save_IFS=$IFS; IFS=','
  8243. set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
  8244. IFS=$ac_save_IFS
  8245. shift
  8246. AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG1, $[1],
  8247. [Define to the type of arg 1 for `select'.])
  8248. AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG234, ($[2]),
  8249. [Define to the type of args 2, 3 and 4 for `select'.])
  8250. AC_DEFINE_UNQUOTED(SELECT_TYPE_ARG5, ($[3]),
  8251. [Define to the type of arg 5 for `select'.])
  8252. rm -f conftest*
  8253. []AC_PROVIDE([AC_FUNC_SELECT_ARGTYPES])[]_m4_defun_epi([AC_FUNC_SELECT_ARGTYPES])
  8254. T6,259
  8255. AC_RSH_m4_defun_pro([AC_RSH])AC_DIAGNOSE([obsolete], [The macro `AC_RSH' is obsolete.
  8256. You should run autoupdate.])dnl
  8257. AC_DIAGNOSE([obsolete], [$0: is no longer supported.
  8258. Remove this warning when you adjust the code.])[]AC_PROVIDE([AC_RSH])[]_m4_defun_epi([AC_RSH])
  8259. T22,16
  8260. m4_location(AC_PREFIX)acoldnames.m4:32
  8261. T22,13
  8262. m4_location(AC_OBJEXT)aclang.m4:647
  8263. T15,133
  8264. _m4_dumpdefs_upm4_ifdef([$1],
  8265. [m4_pushdef([_m4_dumpdefs], m4_defn([$1]))dnl
  8266. m4_dumpdef([$1])dnl
  8267. m4_popdef([$1])dnl
  8268. _m4_dumpdefs_up([$1])])
  8269. T18,3048
  8270. _AC_OUTPUT_SUBDIRS
  8271. #
  8272. # CONFIG_SUBDIRS section.
  8273. #
  8274. if test "$no_recursion" != yes; then
  8275. # Remove --cache-file and --srcdir arguments so they do not pile up.
  8276. ac_sub_configure_args=
  8277. ac_prev=
  8278. for ac_arg in $ac_configure_args; do
  8279. if test -n "$ac_prev"; then
  8280. ac_prev=
  8281. continue
  8282. fi
  8283. case $ac_arg in
  8284. -cache-file | --cache-file | --cache-fil | --cache-fi \
  8285. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  8286. ac_prev=cache_file ;;
  8287. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  8288. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
  8289. | --c=*)
  8290. ;;
  8291. --config-cache | -C)
  8292. ;;
  8293. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  8294. ac_prev=srcdir ;;
  8295. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  8296. ;;
  8297. *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
  8298. esac
  8299. done
  8300. for ac_subdir in : $subdirs; do test "x$ac_subdir" = x: && continue
  8301. # Do not complain, so a configure script can configure whichever
  8302. # parts of a large source tree are present.
  8303. test -d $srcdir/$ac_subdir || continue
  8304. AC_MSG_NOTICE([configuring in $ac_subdir])
  8305. case $srcdir in
  8306. .) ;;
  8307. *) AS_MKDIR_P(["./$ac_subdir"])
  8308. if test -d ./$ac_subdir; then :;
  8309. else
  8310. AC_MSG_ERROR([cannot create `pwd`/$ac_subdir])
  8311. fi
  8312. ;;
  8313. esac
  8314. ac_popdir=`pwd`
  8315. cd $ac_subdir
  8316. # A "../" for each directory in /$ac_subdir.
  8317. ac_dots=`echo $ac_subdir |
  8318. sed 's,^\./,,;s,[[^/]]$,&/,;s,[[^/]]*/,../,g'`
  8319. case $srcdir in
  8320. .) # No --srcdir option. We are building in place.
  8321. ac_sub_srcdir=$srcdir ;;
  8322. [[\\/]]* | ?:[[\\/]]* ) # Absolute path.
  8323. ac_sub_srcdir=$srcdir/$ac_subdir ;;
  8324. *) # Relative path.
  8325. ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
  8326. esac
  8327. # Check for guested configure; otherwise get Cygnus style configure.
  8328. if test -f $ac_sub_srcdir/configure.gnu; then
  8329. ac_sub_configure="$SHELL '$ac_sub_srcdir/configure.gnu'"
  8330. elif test -f $ac_sub_srcdir/configure; then
  8331. ac_sub_configure="$SHELL '$ac_sub_srcdir/configure'"
  8332. elif test -f $ac_sub_srcdir/configure.in; then
  8333. ac_sub_configure=$ac_configure
  8334. else
  8335. AC_MSG_WARN([no configuration information is in $ac_subdir])
  8336. ac_sub_configure=
  8337. fi
  8338. # The recursion is here.
  8339. if test -n "$ac_sub_configure"; then
  8340. # Make the cache file name correct relative to the subdirectory.
  8341. case $cache_file in
  8342. [[\\/]]* | ?:[[\\/]]* ) ac_sub_cache_file=$cache_file ;;
  8343. *) # Relative path.
  8344. ac_sub_cache_file=$ac_dots$cache_file ;;
  8345. esac
  8346. AC_MSG_NOTICE([running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir])
  8347. # The eval makes quoting arguments work.
  8348. eval $ac_sub_configure $ac_sub_configure_args \
  8349. --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
  8350. AC_MSG_ERROR([$ac_sub_configure failed for $ac_subdir])
  8351. fi
  8352. cd $ac_popdir
  8353. done
  8354. fi
  8355. T10,52
  8356. AC_FOREACHm4_foreach([$1], m4_split(m4_normalize([$2])), [$3])
  8357. T14,254
  8358. AS_DIRNAME_SED_m4_defun_pro([AS_DIRNAME_SED])echo X[]$1 |
  8359. sed ['/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  8360. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  8361. /^X\(\/\/\)$/{ s//\1/; q; }
  8362. /^X\(\/\).*/{ s//\1/; q; }
  8363. s/.*/./; q'][]_m4_defun_epi([AS_DIRNAME_SED])
  8364. D-1,0
  8365. # End of frozen state file