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