Merge commit 'v4.3.16'
[xboard.git] / configure
1 #! /bin/sh\r
2 # Guess values for system-dependent variables and create Makefiles.\r
3 # Generated by GNU Autoconf 2.61 for xboard 4.3.\r
4 #\r
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,\r
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.\r
7 # This configure script is free software; the Free Software Foundation\r
8 # gives unlimited permission to copy, distribute and modify it.\r
9 ## --------------------- ##\r
10 ## M4sh Initialization.  ##\r
11 ## --------------------- ##\r
12 \r
13 # Be more Bourne compatible\r
14 DUALCASE=1; export DUALCASE # for MKS sh\r
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then\r
16   emulate sh\r
17   NULLCMD=:\r
18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which\r
19   # is contrary to our usage.  Disable this feature.\r
20   alias -g '${1+"$@"}'='"$@"'\r
21   setopt NO_GLOB_SUBST\r
22 else\r
23   case `(set -o) 2>/dev/null` in\r
24   *posix*) set -o posix ;;\r
25 esac\r
26 \r
27 fi\r
28 \r
29 \r
30 \r
31 \r
32 # PATH needs CR\r
33 # Avoid depending upon Character Ranges.\r
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'\r
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'\r
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS\r
37 as_cr_digits='0123456789'\r
38 as_cr_alnum=$as_cr_Letters$as_cr_digits\r
39 \r
40 # The user is always right.\r
41 if test "${PATH_SEPARATOR+set}" != set; then\r
42   echo "#! /bin/sh" >conf$$.sh\r
43   echo  "exit 0"   >>conf$$.sh\r
44   chmod +x conf$$.sh\r
45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then\r
46     PATH_SEPARATOR=';'\r
47   else\r
48     PATH_SEPARATOR=:\r
49   fi\r
50   rm -f conf$$.sh\r
51 fi\r
52 \r
53 # Support unset when possible.\r
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then\r
55   as_unset=unset\r
56 else\r
57   as_unset=false\r
58 fi\r
59 \r
60 \r
61 # IFS\r
62 # We need space, tab and new line, in precisely that order.  Quoting is\r
63 # there to prevent editors from complaining about space-tab.\r
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word\r
65 # splitting by setting IFS to empty value.)\r
66 as_nl='\r
67 '\r
68 IFS=" ""        $as_nl"\r
69 \r
70 # Find who we are.  Look in the path if we contain no directory separator.\r
71 case $0 in\r
72   *[\\/]* ) as_myself=$0 ;;\r
73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
74 for as_dir in $PATH\r
75 do\r
76   IFS=$as_save_IFS\r
77   test -z "$as_dir" && as_dir=.\r
78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break\r
79 done\r
80 IFS=$as_save_IFS\r
81 \r
82      ;;\r
83 esac\r
84 # We did not find ourselves, most probably we were run as `sh COMMAND'\r
85 # in which case we are not to be found in the path.\r
86 if test "x$as_myself" = x; then\r
87   as_myself=$0\r
88 fi\r
89 if test ! -f "$as_myself"; then\r
90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2\r
91   { (exit 1); exit 1; }\r
92 fi\r
93 \r
94 # Work around bugs in pre-3.0 UWIN ksh.\r
95 for as_var in ENV MAIL MAILPATH\r
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var\r
97 done\r
98 PS1='$ '\r
99 PS2='> '\r
100 PS4='+ '\r
101 \r
102 # NLS nuisances.\r
103 for as_var in \\r
104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \\r
105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \\r
106   LC_TELEPHONE LC_TIME\r
107 do\r
108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then\r
109     eval $as_var=C; export $as_var\r
110   else\r
111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var\r
112   fi\r
113 done\r
114 \r
115 # Required to use basename.\r
116 if expr a : '\(a\)' >/dev/null 2>&1 &&\r
117    test "X`expr 00001 : '.*\(...\)'`" = X001; then\r
118   as_expr=expr\r
119 else\r
120   as_expr=false\r
121 fi\r
122 \r
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then\r
124   as_basename=basename\r
125 else\r
126   as_basename=false\r
127 fi\r
128 \r
129 \r
130 # Name of the executable.\r
131 as_me=`$as_basename -- "$0" ||\r
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \\r
133          X"$0" : 'X\(//\)$' \| \\r
134          X"$0" : 'X\(/\)' \| . 2>/dev/null ||\r
135 echo X/"$0" |\r
136     sed '/^.*\/\([^/][^/]*\)\/*$/{\r
137             s//\1/\r
138             q\r
139           }\r
140           /^X\/\(\/\/\)$/{\r
141             s//\1/\r
142             q\r
143           }\r
144           /^X\/\(\/\).*/{\r
145             s//\1/\r
146             q\r
147           }\r
148           s/.*/./; q'`\r
149 \r
150 # CDPATH.\r
151 $as_unset CDPATH\r
152 \r
153 \r
154 if test "x$CONFIG_SHELL" = x; then\r
155   if (eval ":") 2>/dev/null; then\r
156   as_have_required=yes\r
157 else\r
158   as_have_required=no\r
159 fi\r
160 \r
161   if test $as_have_required = yes &&     (eval ":\r
162 (as_func_return () {\r
163   (exit \$1)\r
164 }\r
165 as_func_success () {\r
166   as_func_return 0\r
167 }\r
168 as_func_failure () {\r
169   as_func_return 1\r
170 }\r
171 as_func_ret_success () {\r
172   return 0\r
173 }\r
174 as_func_ret_failure () {\r
175   return 1\r
176 }\r
177 \r
178 exitcode=0\r
179 if as_func_success; then\r
180   :\r
181 else\r
182   exitcode=1\r
183   echo as_func_success failed.\r
184 fi\r
185 \r
186 if as_func_failure; then\r
187   exitcode=1\r
188   echo as_func_failure succeeded.\r
189 fi\r
190 \r
191 if as_func_ret_success; then\r
192   :\r
193 else\r
194   exitcode=1\r
195   echo as_func_ret_success failed.\r
196 fi\r
197 \r
198 if as_func_ret_failure; then\r
199   exitcode=1\r
200   echo as_func_ret_failure succeeded.\r
201 fi\r
202 \r
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then\r
204   :\r
205 else\r
206   exitcode=1\r
207   echo positional parameters were not saved.\r
208 fi\r
209 \r
210 test \$exitcode = 0) || { (exit 1); exit 1; }\r
211 \r
212 (\r
213   as_lineno_1=\$LINENO\r
214   as_lineno_2=\$LINENO\r
215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&\r
216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }\r
217 ") 2> /dev/null; then\r
218   :\r
219 else\r
220   as_candidate_shells=\r
221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH\r
223 do\r
224   IFS=$as_save_IFS\r
225   test -z "$as_dir" && as_dir=.\r
226   case $as_dir in\r
227          /*)\r
228            for as_base in sh bash ksh sh5; do\r
229              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"\r
230            done;;\r
231        esac\r
232 done\r
233 IFS=$as_save_IFS\r
234 \r
235 \r
236       for as_shell in $as_candidate_shells $SHELL; do\r
237          # Try only shells that exist, to save several forks.\r
238          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&\r
239                 { ("$as_shell") 2> /dev/null <<\_ASEOF\r
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then\r
241   emulate sh\r
242   NULLCMD=:\r
243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which\r
244   # is contrary to our usage.  Disable this feature.\r
245   alias -g '${1+"$@"}'='"$@"'\r
246   setopt NO_GLOB_SUBST\r
247 else\r
248   case `(set -o) 2>/dev/null` in\r
249   *posix*) set -o posix ;;\r
250 esac\r
251 \r
252 fi\r
253 \r
254 \r
255 :\r
256 _ASEOF\r
257 }; then\r
258   CONFIG_SHELL=$as_shell\r
259                as_have_required=yes\r
260                if { "$as_shell" 2> /dev/null <<\_ASEOF\r
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then\r
262   emulate sh\r
263   NULLCMD=:\r
264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which\r
265   # is contrary to our usage.  Disable this feature.\r
266   alias -g '${1+"$@"}'='"$@"'\r
267   setopt NO_GLOB_SUBST\r
268 else\r
269   case `(set -o) 2>/dev/null` in\r
270   *posix*) set -o posix ;;\r
271 esac\r
272 \r
273 fi\r
274 \r
275 \r
276 :\r
277 (as_func_return () {\r
278   (exit $1)\r
279 }\r
280 as_func_success () {\r
281   as_func_return 0\r
282 }\r
283 as_func_failure () {\r
284   as_func_return 1\r
285 }\r
286 as_func_ret_success () {\r
287   return 0\r
288 }\r
289 as_func_ret_failure () {\r
290   return 1\r
291 }\r
292 \r
293 exitcode=0\r
294 if as_func_success; then\r
295   :\r
296 else\r
297   exitcode=1\r
298   echo as_func_success failed.\r
299 fi\r
300 \r
301 if as_func_failure; then\r
302   exitcode=1\r
303   echo as_func_failure succeeded.\r
304 fi\r
305 \r
306 if as_func_ret_success; then\r
307   :\r
308 else\r
309   exitcode=1\r
310   echo as_func_ret_success failed.\r
311 fi\r
312 \r
313 if as_func_ret_failure; then\r
314   exitcode=1\r
315   echo as_func_ret_failure succeeded.\r
316 fi\r
317 \r
318 if ( set x; as_func_ret_success y && test x = "$1" ); then\r
319   :\r
320 else\r
321   exitcode=1\r
322   echo positional parameters were not saved.\r
323 fi\r
324 \r
325 test $exitcode = 0) || { (exit 1); exit 1; }\r
326 \r
327 (\r
328   as_lineno_1=$LINENO\r
329   as_lineno_2=$LINENO\r
330   test "x$as_lineno_1" != "x$as_lineno_2" &&\r
331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }\r
332 \r
333 _ASEOF\r
334 }; then\r
335   break\r
336 fi\r
337 \r
338 fi\r
339 \r
340       done\r
341 \r
342       if test "x$CONFIG_SHELL" != x; then\r
343   for as_var in BASH_ENV ENV\r
344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var\r
345         done\r
346         export CONFIG_SHELL\r
347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}\r
348 fi\r
349 \r
350 \r
351     if test $as_have_required = no; then\r
352   echo This script requires a shell more modern than all the\r
353       echo shells that I found on your system.  Please install a\r
354       echo modern shell, or manually run the script under such a\r
355       echo shell if you do have one.\r
356       { (exit 1); exit 1; }\r
357 fi\r
358 \r
359 \r
360 fi\r
361 \r
362 fi\r
363 \r
364 \r
365 \r
366 (eval "as_func_return () {\r
367   (exit \$1)\r
368 }\r
369 as_func_success () {\r
370   as_func_return 0\r
371 }\r
372 as_func_failure () {\r
373   as_func_return 1\r
374 }\r
375 as_func_ret_success () {\r
376   return 0\r
377 }\r
378 as_func_ret_failure () {\r
379   return 1\r
380 }\r
381 \r
382 exitcode=0\r
383 if as_func_success; then\r
384   :\r
385 else\r
386   exitcode=1\r
387   echo as_func_success failed.\r
388 fi\r
389 \r
390 if as_func_failure; then\r
391   exitcode=1\r
392   echo as_func_failure succeeded.\r
393 fi\r
394 \r
395 if as_func_ret_success; then\r
396   :\r
397 else\r
398   exitcode=1\r
399   echo as_func_ret_success failed.\r
400 fi\r
401 \r
402 if as_func_ret_failure; then\r
403   exitcode=1\r
404   echo as_func_ret_failure succeeded.\r
405 fi\r
406 \r
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then\r
408   :\r
409 else\r
410   exitcode=1\r
411   echo positional parameters were not saved.\r
412 fi\r
413 \r
414 test \$exitcode = 0") || {\r
415   echo No shell found that supports shell functions.\r
416   echo Please tell autoconf@gnu.org about your system,\r
417   echo including any error possibly output before this\r
418   echo message\r
419 }\r
420 \r
421 \r
422 \r
423   as_lineno_1=$LINENO\r
424   as_lineno_2=$LINENO\r
425   test "x$as_lineno_1" != "x$as_lineno_2" &&\r
426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {\r
427 \r
428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO\r
429   # uniformly replaced by the line number.  The first 'sed' inserts a\r
430   # line-number line after each line using $LINENO; the second 'sed'\r
431   # does the real work.  The second script uses 'N' to pair each\r
432   # line-number line with the line containing $LINENO, and appends\r
433   # trailing '-' during substitution so that $LINENO is not a special\r
434   # case at line end.\r
435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the\r
436   # scripts with optimization help from Paolo Bonzini.  Blame Lee\r
437   # E. McMahon (1931-1989) for sed's syntax.  :-)\r
438   sed -n '\r
439     p\r
440     /[$]LINENO/=\r
441   ' <$as_myself |\r
442     sed '\r
443       s/[$]LINENO.*/&-/\r
444       t lineno\r
445       b\r
446       :lineno\r
447       N\r
448       :loop\r
449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/\r
450       t loop\r
451       s/-\n.*//\r
452     ' >$as_me.lineno &&\r
453   chmod +x "$as_me.lineno" ||\r
454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2\r
455    { (exit 1); exit 1; }; }\r
456 \r
457   # Don't try to exec as it changes $[0], causing all sort of problems\r
458   # (the dirname of $[0] is not the place where we might find the\r
459   # original and so on.  Autoconf is especially sensitive to this).\r
460   . "./$as_me.lineno"\r
461   # Exit status is that of the last command.\r
462   exit\r
463 }\r
464 \r
465 \r
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then\r
467   as_dirname=dirname\r
468 else\r
469   as_dirname=false\r
470 fi\r
471 \r
472 ECHO_C= ECHO_N= ECHO_T=\r
473 case `echo -n x` in\r
474 -n*)\r
475   case `echo 'x\c'` in\r
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.\r
477   *)   ECHO_C='\c';;\r
478   esac;;\r
479 *)\r
480   ECHO_N='-n';;\r
481 esac\r
482 \r
483 if expr a : '\(a\)' >/dev/null 2>&1 &&\r
484    test "X`expr 00001 : '.*\(...\)'`" = X001; then\r
485   as_expr=expr\r
486 else\r
487   as_expr=false\r
488 fi\r
489 \r
490 rm -f conf$$ conf$$.exe conf$$.file\r
491 if test -d conf$$.dir; then\r
492   rm -f conf$$.dir/conf$$.file\r
493 else\r
494   rm -f conf$$.dir\r
495   mkdir conf$$.dir\r
496 fi\r
497 echo >conf$$.file\r
498 if ln -s conf$$.file conf$$ 2>/dev/null; then\r
499   as_ln_s='ln -s'\r
500   # ... but there are two gotchas:\r
501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.\r
502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.\r
503   # In both cases, we have to default to `cp -p'.\r
504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||\r
505     as_ln_s='cp -p'\r
506 elif ln conf$$.file conf$$ 2>/dev/null; then\r
507   as_ln_s=ln\r
508 else\r
509   as_ln_s='cp -p'\r
510 fi\r
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file\r
512 rmdir conf$$.dir 2>/dev/null\r
513 \r
514 if mkdir -p . 2>/dev/null; then\r
515   as_mkdir_p=:\r
516 else\r
517   test -d ./-p && rmdir ./-p\r
518   as_mkdir_p=false\r
519 fi\r
520 \r
521 if test -x / >/dev/null 2>&1; then\r
522   as_test_x='test -x'\r
523 else\r
524   if ls -dL / >/dev/null 2>&1; then\r
525     as_ls_L_option=L\r
526   else\r
527     as_ls_L_option=\r
528   fi\r
529   as_test_x='\r
530     eval sh -c '\''\r
531       if test -d "$1"; then\r
532         test -d "$1/.";\r
533       else\r
534         case $1 in\r
535         -*)set "./$1";;\r
536         esac;\r
537         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in\r
538         ???[sx]*):;;*)false;;esac;fi\r
539     '\'' sh\r
540   '\r
541 fi\r
542 as_executable_p=$as_test_x\r
543 \r
544 # Sed expression to map a string onto a valid CPP name.\r
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"\r
546 \r
547 # Sed expression to map a string onto a valid variable name.\r
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"\r
549 \r
550 \r
551 \r
552 exec 7<&0 </dev/null 6>&1\r
553 \r
554 # Name of the host.\r
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,\r
556 # so uname gets run too.\r
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`\r
558 \r
559 #\r
560 # Initializations.\r
561 #\r
562 ac_default_prefix=/usr/local\r
563 ac_clean_files=\r
564 ac_config_libobj_dir=.\r
565 LIBOBJS=\r
566 cross_compiling=no\r
567 subdirs=\r
568 MFLAGS=\r
569 MAKEFLAGS=\r
570 SHELL=${CONFIG_SHELL-/bin/sh}\r
571 \r
572 # Identity of this package.\r
573 PACKAGE_NAME='xboard'\r
574 PACKAGE_TARNAME='xboard'\r
575 PACKAGE_VERSION='4.4'\r
576 PACKAGE_STRING='xboard 4.4'\r
577 PACKAGE_BUGREPORT=''\r
578 \r
579 # Factoring default headers for most tests.\r
580 ac_includes_default="\\r
581 #include <stdio.h>\r
582 #ifdef HAVE_SYS_TYPES_H\r
583 # include <sys/types.h>\r
584 #endif\r
585 #ifdef HAVE_SYS_STAT_H\r
586 # include <sys/stat.h>\r
587 #endif\r
588 #ifdef STDC_HEADERS\r
589 # include <stdlib.h>\r
590 # include <stddef.h>\r
591 #else\r
592 # ifdef HAVE_STDLIB_H\r
593 #  include <stdlib.h>\r
594 # endif\r
595 #endif\r
596 #ifdef HAVE_STRING_H\r
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H\r
598 #  include <memory.h>\r
599 # endif\r
600 # include <string.h>\r
601 #endif\r
602 #ifdef HAVE_STRINGS_H\r
603 # include <strings.h>\r
604 #endif\r
605 #ifdef HAVE_INTTYPES_H\r
606 # include <inttypes.h>\r
607 #endif\r
608 #ifdef HAVE_STDINT_H\r
609 # include <stdint.h>\r
610 #endif\r
611 #ifdef HAVE_UNISTD_H\r
612 # include <unistd.h>\r
613 #endif"\r
614 \r
615 ac_subst_vars='SHELL\r
616 PATH_SEPARATOR\r
617 PACKAGE_NAME\r
618 PACKAGE_TARNAME\r
619 PACKAGE_VERSION\r
620 PACKAGE_STRING\r
621 PACKAGE_BUGREPORT\r
622 exec_prefix\r
623 prefix\r
624 program_transform_name\r
625 bindir\r
626 sbindir\r
627 libexecdir\r
628 datarootdir\r
629 datadir\r
630 sysconfdir\r
631 sharedstatedir\r
632 localstatedir\r
633 includedir\r
634 oldincludedir\r
635 docdir\r
636 infodir\r
637 htmldir\r
638 dvidir\r
639 pdfdir\r
640 psdir\r
641 libdir\r
642 localedir\r
643 mandir\r
644 DEFS\r
645 ECHO_C\r
646 ECHO_N\r
647 ECHO_T\r
648 LIBS\r
649 build_alias\r
650 host_alias\r
651 target_alias\r
652 INSTALL_PROGRAM\r
653 INSTALL_SCRIPT\r
654 INSTALL_DATA\r
655 am__isrc\r
656 CYGPATH_W\r
657 PACKAGE\r
658 VERSION\r
659 ACLOCAL\r
660 AUTOCONF\r
661 AUTOMAKE\r
662 AUTOHEADER\r
663 MAKEINFO\r
664 install_sh\r
665 STRIP\r
666 INSTALL_STRIP_PROGRAM\r
667 mkdir_p\r
668 AWK\r
669 SET_MAKE\r
670 am__leading_dot\r
671 AMTAR\r
672 am__tar\r
673 am__untar\r
674 CC\r
675 CFLAGS\r
676 LDFLAGS\r
677 CPPFLAGS\r
678 ac_ct_CC\r
679 EXEEXT\r
680 OBJEXT\r
681 DEPDIR\r
682 am__include\r
683 am__quote\r
684 AMDEP_TRUE\r
685 AMDEP_FALSE\r
686 AMDEPBACKSLASH\r
687 CCDEPMODE\r
688 am__fastdepCC_TRUE\r
689 am__fastdepCC_FALSE\r
690 LIBOBJS\r
691 LTLIBOBJS\r
692 CPP\r
693 LEX\r
694 LEX_OUTPUT_ROOT\r
695 LEXLIB\r
696 RSH\r
697 MINFO\r
698 NROFF\r
699 NROFFFLAGS\r
700 AWKPATH\r
701 PERLPATH\r
702 GREP\r
703 EGREP\r
704 XMKMF\r
705 X_CFLAGS\r
706 X_PRE_LIBS\r
707 X_LIBS\r
708 X_EXTRA_LIBS\r
709 XAW_LIBS\r
710 build\r
711 build_cpu\r
712 build_vendor\r
713 build_os\r
714 host\r
715 host_cpu\r
716 host_vendor\r
717 host_os\r
718 PRE_XMULIB\r
719 POST_XMULIB\r
720 CONF_CFLAGS\r
721 CONF_LDFLAGS\r
722 ZIPPY_O\r
723 ZIPPY_H\r
724 PRODUCT\r
725 PATCHLEVEL'\r
726 ac_subst_files=''\r
727       ac_precious_vars='build_alias\r
728 host_alias\r
729 target_alias\r
730 CC\r
731 CFLAGS\r
732 LDFLAGS\r
733 LIBS\r
734 CPPFLAGS\r
735 CPP\r
736 XMKMF'\r
737 \r
738 \r
739 # Initialize some variables set by options.\r
740 ac_init_help=\r
741 ac_init_version=false\r
742 # The variables have the same names as the options, with\r
743 # dashes changed to underlines.\r
744 cache_file=/dev/null\r
745 exec_prefix=NONE\r
746 no_create=\r
747 no_recursion=\r
748 prefix=NONE\r
749 program_prefix=NONE\r
750 program_suffix=NONE\r
751 program_transform_name=s,x,x,\r
752 silent=\r
753 site=\r
754 srcdir=\r
755 verbose=\r
756 x_includes=NONE\r
757 x_libraries=NONE\r
758 \r
759 # Installation directory options.\r
760 # These are left unexpanded so users can "make install exec_prefix=/foo"\r
761 # and all the variables that are supposed to be based on exec_prefix\r
762 # by default will actually change.\r
763 # Use braces instead of parens because sh, perl, etc. also accept them.\r
764 # (The list follows the same order as the GNU Coding Standards.)\r
765 bindir='${exec_prefix}/bin'\r
766 sbindir='${exec_prefix}/sbin'\r
767 libexecdir='${exec_prefix}/libexec'\r
768 datarootdir='${prefix}/share'\r
769 datadir='${datarootdir}'\r
770 sysconfdir='${prefix}/etc'\r
771 sharedstatedir='${prefix}/com'\r
772 localstatedir='${prefix}/var'\r
773 includedir='${prefix}/include'\r
774 oldincludedir='/usr/include'\r
775 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'\r
776 infodir='${datarootdir}/info'\r
777 htmldir='${docdir}'\r
778 dvidir='${docdir}'\r
779 pdfdir='${docdir}'\r
780 psdir='${docdir}'\r
781 libdir='${exec_prefix}/lib'\r
782 localedir='${datarootdir}/locale'\r
783 mandir='${datarootdir}/man'\r
784 \r
785 ac_prev=\r
786 ac_dashdash=\r
787 for ac_option\r
788 do\r
789   # If the previous option needs an argument, assign it.\r
790   if test -n "$ac_prev"; then\r
791     eval $ac_prev=\$ac_option\r
792     ac_prev=\r
793     continue\r
794   fi\r
795 \r
796   case $ac_option in\r
797   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;\r
798   *)    ac_optarg=yes ;;\r
799   esac\r
800 \r
801   # Accept the important Cygnus configure options, so we can diagnose typos.\r
802 \r
803   case $ac_dashdash$ac_option in\r
804   --)\r
805     ac_dashdash=yes ;;\r
806 \r
807   -bindir | --bindir | --bindi | --bind | --bin | --bi)\r
808     ac_prev=bindir ;;\r
809   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)\r
810     bindir=$ac_optarg ;;\r
811 \r
812   -build | --build | --buil | --bui | --bu)\r
813     ac_prev=build_alias ;;\r
814   -build=* | --build=* | --buil=* | --bui=* | --bu=*)\r
815     build_alias=$ac_optarg ;;\r
816 \r
817   -cache-file | --cache-file | --cache-fil | --cache-fi \\r
818   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)\r
819     ac_prev=cache_file ;;\r
820   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \\r
821   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)\r
822     cache_file=$ac_optarg ;;\r
823 \r
824   --config-cache | -C)\r
825     cache_file=config.cache ;;\r
826 \r
827   -datadir | --datadir | --datadi | --datad)\r
828     ac_prev=datadir ;;\r
829   -datadir=* | --datadir=* | --datadi=* | --datad=*)\r
830     datadir=$ac_optarg ;;\r
831 \r
832   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \\r
833   | --dataroo | --dataro | --datar)\r
834     ac_prev=datarootdir ;;\r
835   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \\r
836   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)\r
837     datarootdir=$ac_optarg ;;\r
838 \r
839   -disable-* | --disable-*)\r
840     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`\r
841     # Reject names that are not valid shell variable names.\r
842     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&\r
843       { echo "$as_me: error: invalid feature name: $ac_feature" >&2\r
844    { (exit 1); exit 1; }; }\r
845     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`\r
846     eval enable_$ac_feature=no ;;\r
847 \r
848   -docdir | --docdir | --docdi | --doc | --do)\r
849     ac_prev=docdir ;;\r
850   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)\r
851     docdir=$ac_optarg ;;\r
852 \r
853   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)\r
854     ac_prev=dvidir ;;\r
855   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)\r
856     dvidir=$ac_optarg ;;\r
857 \r
858   -enable-* | --enable-*)\r
859     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`\r
860     # Reject names that are not valid shell variable names.\r
861     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&\r
862       { echo "$as_me: error: invalid feature name: $ac_feature" >&2\r
863    { (exit 1); exit 1; }; }\r
864     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`\r
865     eval enable_$ac_feature=\$ac_optarg ;;\r
866 \r
867   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \\r
868   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \\r
869   | --exec | --exe | --ex)\r
870     ac_prev=exec_prefix ;;\r
871   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \\r
872   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \\r
873   | --exec=* | --exe=* | --ex=*)\r
874     exec_prefix=$ac_optarg ;;\r
875 \r
876   -gas | --gas | --ga | --g)\r
877     # Obsolete; use --with-gas.\r
878     with_gas=yes ;;\r
879 \r
880   -help | --help | --hel | --he | -h)\r
881     ac_init_help=long ;;\r
882   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)\r
883     ac_init_help=recursive ;;\r
884   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)\r
885     ac_init_help=short ;;\r
886 \r
887   -host | --host | --hos | --ho)\r
888     ac_prev=host_alias ;;\r
889   -host=* | --host=* | --hos=* | --ho=*)\r
890     host_alias=$ac_optarg ;;\r
891 \r
892   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)\r
893     ac_prev=htmldir ;;\r
894   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \\r
895   | --ht=*)\r
896     htmldir=$ac_optarg ;;\r
897 \r
898   -includedir | --includedir | --includedi | --included | --include \\r
899   | --includ | --inclu | --incl | --inc)\r
900     ac_prev=includedir ;;\r
901   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \\r
902   | --includ=* | --inclu=* | --incl=* | --inc=*)\r
903     includedir=$ac_optarg ;;\r
904 \r
905   -infodir | --infodir | --infodi | --infod | --info | --inf)\r
906     ac_prev=infodir ;;\r
907   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)\r
908     infodir=$ac_optarg ;;\r
909 \r
910   -libdir | --libdir | --libdi | --libd)\r
911     ac_prev=libdir ;;\r
912   -libdir=* | --libdir=* | --libdi=* | --libd=*)\r
913     libdir=$ac_optarg ;;\r
914 \r
915   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \\r
916   | --libexe | --libex | --libe)\r
917     ac_prev=libexecdir ;;\r
918   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \\r
919   | --libexe=* | --libex=* | --libe=*)\r
920     libexecdir=$ac_optarg ;;\r
921 \r
922   -localedir | --localedir | --localedi | --localed | --locale)\r
923     ac_prev=localedir ;;\r
924   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)\r
925     localedir=$ac_optarg ;;\r
926 \r
927   -localstatedir | --localstatedir | --localstatedi | --localstated \\r
928   | --localstate | --localstat | --localsta | --localst | --locals)\r
929     ac_prev=localstatedir ;;\r
930   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \\r
931   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)\r
932     localstatedir=$ac_optarg ;;\r
933 \r
934   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)\r
935     ac_prev=mandir ;;\r
936   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)\r
937     mandir=$ac_optarg ;;\r
938 \r
939   -nfp | --nfp | --nf)\r
940     # Obsolete; use --without-fp.\r
941     with_fp=no ;;\r
942 \r
943   -no-create | --no-create | --no-creat | --no-crea | --no-cre \\r
944   | --no-cr | --no-c | -n)\r
945     no_create=yes ;;\r
946 \r
947   -no-recursion | --no-recursion | --no-recursio | --no-recursi \\r
948   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)\r
949     no_recursion=yes ;;\r
950 \r
951   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \\r
952   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \\r
953   | --oldin | --oldi | --old | --ol | --o)\r
954     ac_prev=oldincludedir ;;\r
955   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \\r
956   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \\r
957   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)\r
958     oldincludedir=$ac_optarg ;;\r
959 \r
960   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)\r
961     ac_prev=prefix ;;\r
962   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)\r
963     prefix=$ac_optarg ;;\r
964 \r
965   -program-prefix | --program-prefix | --program-prefi | --program-pref \\r
966   | --program-pre | --program-pr | --program-p)\r
967     ac_prev=program_prefix ;;\r
968   -program-prefix=* | --program-prefix=* | --program-prefi=* \\r
969   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)\r
970     program_prefix=$ac_optarg ;;\r
971 \r
972   -program-suffix | --program-suffix | --program-suffi | --program-suff \\r
973   | --program-suf | --program-su | --program-s)\r
974     ac_prev=program_suffix ;;\r
975   -program-suffix=* | --program-suffix=* | --program-suffi=* \\r
976   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)\r
977     program_suffix=$ac_optarg ;;\r
978 \r
979   -program-transform-name | --program-transform-name \\r
980   | --program-transform-nam | --program-transform-na \\r
981   | --program-transform-n | --program-transform- \\r
982   | --program-transform | --program-transfor \\r
983   | --program-transfo | --program-transf \\r
984   | --program-trans | --program-tran \\r
985   | --progr-tra | --program-tr | --program-t)\r
986     ac_prev=program_transform_name ;;\r
987   -program-transform-name=* | --program-transform-name=* \\r
988   | --program-transform-nam=* | --program-transform-na=* \\r
989   | --program-transform-n=* | --program-transform-=* \\r
990   | --program-transform=* | --program-transfor=* \\r
991   | --program-transfo=* | --program-transf=* \\r
992   | --program-trans=* | --program-tran=* \\r
993   | --progr-tra=* | --program-tr=* | --program-t=*)\r
994     program_transform_name=$ac_optarg ;;\r
995 \r
996   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)\r
997     ac_prev=pdfdir ;;\r
998   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)\r
999     pdfdir=$ac_optarg ;;\r
1000 \r
1001   -psdir | --psdir | --psdi | --psd | --ps)\r
1002     ac_prev=psdir ;;\r
1003   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)\r
1004     psdir=$ac_optarg ;;\r
1005 \r
1006   -q | -quiet | --quiet | --quie | --qui | --qu | --q \\r
1007   | -silent | --silent | --silen | --sile | --sil)\r
1008     silent=yes ;;\r
1009 \r
1010   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)\r
1011     ac_prev=sbindir ;;\r
1012   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \\r
1013   | --sbi=* | --sb=*)\r
1014     sbindir=$ac_optarg ;;\r
1015 \r
1016   -sharedstatedir | --sharedstatedir | --sharedstatedi \\r
1017   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \\r
1018   | --sharedst | --shareds | --shared | --share | --shar \\r
1019   | --sha | --sh)\r
1020     ac_prev=sharedstatedir ;;\r
1021   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \\r
1022   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \\r
1023   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \\r
1024   | --sha=* | --sh=*)\r
1025     sharedstatedir=$ac_optarg ;;\r
1026 \r
1027   -site | --site | --sit)\r
1028     ac_prev=site ;;\r
1029   -site=* | --site=* | --sit=*)\r
1030     site=$ac_optarg ;;\r
1031 \r
1032   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)\r
1033     ac_prev=srcdir ;;\r
1034   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)\r
1035     srcdir=$ac_optarg ;;\r
1036 \r
1037   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \\r
1038   | --syscon | --sysco | --sysc | --sys | --sy)\r
1039     ac_prev=sysconfdir ;;\r
1040   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \\r
1041   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)\r
1042     sysconfdir=$ac_optarg ;;\r
1043 \r
1044   -target | --target | --targe | --targ | --tar | --ta | --t)\r
1045     ac_prev=target_alias ;;\r
1046   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)\r
1047     target_alias=$ac_optarg ;;\r
1048 \r
1049   -v | -verbose | --verbose | --verbos | --verbo | --verb)\r
1050     verbose=yes ;;\r
1051 \r
1052   -version | --version | --versio | --versi | --vers | -V)\r
1053     ac_init_version=: ;;\r
1054 \r
1055   -with-* | --with-*)\r
1056     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`\r
1057     # Reject names that are not valid shell variable names.\r
1058     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&\r
1059       { echo "$as_me: error: invalid package name: $ac_package" >&2\r
1060    { (exit 1); exit 1; }; }\r
1061     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`\r
1062     eval with_$ac_package=\$ac_optarg ;;\r
1063 \r
1064   -without-* | --without-*)\r
1065     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`\r
1066     # Reject names that are not valid shell variable names.\r
1067     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&\r
1068       { echo "$as_me: error: invalid package name: $ac_package" >&2\r
1069    { (exit 1); exit 1; }; }\r
1070     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`\r
1071     eval with_$ac_package=no ;;\r
1072 \r
1073   --x)\r
1074     # Obsolete; use --with-x.\r
1075     with_x=yes ;;\r
1076 \r
1077   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \\r
1078   | --x-incl | --x-inc | --x-in | --x-i)\r
1079     ac_prev=x_includes ;;\r
1080   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \\r
1081   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)\r
1082     x_includes=$ac_optarg ;;\r
1083 \r
1084   -x-libraries | --x-libraries | --x-librarie | --x-librari \\r
1085   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)\r
1086     ac_prev=x_libraries ;;\r
1087   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \\r
1088   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)\r
1089     x_libraries=$ac_optarg ;;\r
1090 \r
1091   -*) { echo "$as_me: error: unrecognized option: $ac_option\r
1092 Try \`$0 --help' for more information." >&2\r
1093    { (exit 1); exit 1; }; }\r
1094     ;;\r
1095 \r
1096   *=*)\r
1097     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`\r
1098     # Reject names that are not valid shell variable names.\r
1099     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&\r
1100       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2\r
1101    { (exit 1); exit 1; }; }\r
1102     eval $ac_envvar=\$ac_optarg\r
1103     export $ac_envvar ;;\r
1104 \r
1105   *)\r
1106     # FIXME: should be removed in autoconf 3.0.\r
1107     echo "$as_me: WARNING: you should use --build, --host, --target" >&2\r
1108     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&\r
1109       echo "$as_me: WARNING: invalid host type: $ac_option" >&2\r
1110     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}\r
1111     ;;\r
1112 \r
1113   esac\r
1114 done\r
1115 \r
1116 if test -n "$ac_prev"; then\r
1117   ac_option=--`echo $ac_prev | sed 's/_/-/g'`\r
1118   { echo "$as_me: error: missing argument to $ac_option" >&2\r
1119    { (exit 1); exit 1; }; }\r
1120 fi\r
1121 \r
1122 # Be sure to have absolute directory names.\r
1123 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \\r
1124                 datadir sysconfdir sharedstatedir localstatedir includedir \\r
1125                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \\r
1126                 libdir localedir mandir\r
1127 do\r
1128   eval ac_val=\$$ac_var\r
1129   case $ac_val in\r
1130     [\\/$]* | ?:[\\/]* )  continue;;\r
1131     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;\r
1132   esac\r
1133   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2\r
1134    { (exit 1); exit 1; }; }\r
1135 done\r
1136 \r
1137 # There might be people who depend on the old broken behavior: `$host'\r
1138 # used to hold the argument of --host etc.\r
1139 # FIXME: To remove some day.\r
1140 build=$build_alias\r
1141 host=$host_alias\r
1142 target=$target_alias\r
1143 \r
1144 # FIXME: To remove some day.\r
1145 if test "x$host_alias" != x; then\r
1146   if test "x$build_alias" = x; then\r
1147     cross_compiling=maybe\r
1148     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.\r
1149     If a cross compiler is detected then cross compile mode will be used." >&2\r
1150   elif test "x$build_alias" != "x$host_alias"; then\r
1151     cross_compiling=yes\r
1152   fi\r
1153 fi\r
1154 \r
1155 ac_tool_prefix=\r
1156 test -n "$host_alias" && ac_tool_prefix=$host_alias-\r
1157 \r
1158 test "$silent" = yes && exec 6>/dev/null\r
1159 \r
1160 \r
1161 ac_pwd=`pwd` && test -n "$ac_pwd" &&\r
1162 ac_ls_di=`ls -di .` &&\r
1163 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||\r
1164   { echo "$as_me: error: Working directory cannot be determined" >&2\r
1165    { (exit 1); exit 1; }; }\r
1166 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||\r
1167   { echo "$as_me: error: pwd does not report name of working directory" >&2\r
1168    { (exit 1); exit 1; }; }\r
1169 \r
1170 \r
1171 # Find the source files, if location was not specified.\r
1172 if test -z "$srcdir"; then\r
1173   ac_srcdir_defaulted=yes\r
1174   # Try the directory containing this script, then the parent directory.\r
1175   ac_confdir=`$as_dirname -- "$0" ||\r
1176 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
1177          X"$0" : 'X\(//\)[^/]' \| \\r
1178          X"$0" : 'X\(//\)$' \| \\r
1179          X"$0" : 'X\(/\)' \| . 2>/dev/null ||\r
1180 echo X"$0" |\r
1181     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
1182             s//\1/\r
1183             q\r
1184           }\r
1185           /^X\(\/\/\)[^/].*/{\r
1186             s//\1/\r
1187             q\r
1188           }\r
1189           /^X\(\/\/\)$/{\r
1190             s//\1/\r
1191             q\r
1192           }\r
1193           /^X\(\/\).*/{\r
1194             s//\1/\r
1195             q\r
1196           }\r
1197           s/.*/./; q'`\r
1198   srcdir=$ac_confdir\r
1199   if test ! -r "$srcdir/$ac_unique_file"; then\r
1200     srcdir=..\r
1201   fi\r
1202 else\r
1203   ac_srcdir_defaulted=no\r
1204 fi\r
1205 if test ! -r "$srcdir/$ac_unique_file"; then\r
1206   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."\r
1207   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2\r
1208    { (exit 1); exit 1; }; }\r
1209 fi\r
1210 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"\r
1211 ac_abs_confdir=`(\r
1212         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2\r
1213    { (exit 1); exit 1; }; }\r
1214         pwd)`\r
1215 # When building in place, set srcdir=.\r
1216 if test "$ac_abs_confdir" = "$ac_pwd"; then\r
1217   srcdir=.\r
1218 fi\r
1219 # Remove unnecessary trailing slashes from srcdir.\r
1220 # Double slashes in file names in object file debugging info\r
1221 # mess up M-x gdb in Emacs.\r
1222 case $srcdir in\r
1223 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;\r
1224 esac\r
1225 for ac_var in $ac_precious_vars; do\r
1226   eval ac_env_${ac_var}_set=\${${ac_var}+set}\r
1227   eval ac_env_${ac_var}_value=\$${ac_var}\r
1228   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}\r
1229   eval ac_cv_env_${ac_var}_value=\$${ac_var}\r
1230 done\r
1231 \r
1232 #\r
1233 # Report the --help message.\r
1234 #\r
1235 if test "$ac_init_help" = "long"; then\r
1236   # Omit some internal or obsolete options to make the list less imposing.\r
1237   # This message is too long to be a string in the A/UX 3.1 sh.\r
1238   cat <<_ACEOF\r
1239 \`configure' configures xboard 4.3 to adapt to many kinds of systems.\r
1240 \r
1241 Usage: $0 [OPTION]... [VAR=VALUE]...\r
1242 \r
1243 To assign environment variables (e.g., CC, CFLAGS...), specify them as\r
1244 VAR=VALUE.  See below for descriptions of some of the useful variables.\r
1245 \r
1246 Defaults for the options are specified in brackets.\r
1247 \r
1248 Configuration:\r
1249   -h, --help              display this help and exit\r
1250       --help=short        display options specific to this package\r
1251       --help=recursive    display the short help of all the included packages\r
1252   -V, --version           display version information and exit\r
1253   -q, --quiet, --silent   do not print \`checking...' messages\r
1254       --cache-file=FILE   cache test results in FILE [disabled]\r
1255   -C, --config-cache      alias for \`--cache-file=config.cache'\r
1256   -n, --no-create         do not create output files\r
1257       --srcdir=DIR        find the sources in DIR [configure dir or \`..']\r
1258 \r
1259 Installation directories:\r
1260   --prefix=PREFIX         install architecture-independent files in PREFIX\r
1261                           [$ac_default_prefix]\r
1262   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX\r
1263                           [PREFIX]\r
1264 \r
1265 By default, \`make install' will install all the files in\r
1266 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify\r
1267 an installation prefix other than \`$ac_default_prefix' using \`--prefix',\r
1268 for instance \`--prefix=\$HOME'.\r
1269 \r
1270 For better control, use the options below.\r
1271 \r
1272 Fine tuning of the installation directories:\r
1273   --bindir=DIR           user executables [EPREFIX/bin]\r
1274   --sbindir=DIR          system admin executables [EPREFIX/sbin]\r
1275   --libexecdir=DIR       program executables [EPREFIX/libexec]\r
1276   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]\r
1277   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]\r
1278   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]\r
1279   --libdir=DIR           object code libraries [EPREFIX/lib]\r
1280   --includedir=DIR       C header files [PREFIX/include]\r
1281   --oldincludedir=DIR    C header files for non-gcc [/usr/include]\r
1282   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]\r
1283   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]\r
1284   --infodir=DIR          info documentation [DATAROOTDIR/info]\r
1285   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]\r
1286   --mandir=DIR           man documentation [DATAROOTDIR/man]\r
1287   --docdir=DIR           documentation root [DATAROOTDIR/doc/xboard]\r
1288   --htmldir=DIR          html documentation [DOCDIR]\r
1289   --dvidir=DIR           dvi documentation [DOCDIR]\r
1290   --pdfdir=DIR           pdf documentation [DOCDIR]\r
1291   --psdir=DIR            ps documentation [DOCDIR]\r
1292 _ACEOF\r
1293 \r
1294   cat <<\_ACEOF\r
1295 \r
1296 Program names:\r
1297   --program-prefix=PREFIX            prepend PREFIX to installed program names\r
1298   --program-suffix=SUFFIX            append SUFFIX to installed program names\r
1299   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names\r
1300 \r
1301 X features:\r
1302   --x-includes=DIR    X include files are in DIR\r
1303   --x-libraries=DIR   X library files are in DIR\r
1304 \r
1305 System types:\r
1306   --build=BUILD     configure for building on BUILD [guessed]\r
1307   --host=HOST       cross-compile to build programs to run on HOST [BUILD]\r
1308 _ACEOF\r
1309 fi\r
1310 \r
1311 if test -n "$ac_init_help"; then\r
1312   case $ac_init_help in\r
1313      short | recursive ) echo "Configuration of xboard 4.3:";;\r
1314    esac\r
1315   cat <<\_ACEOF\r
1316 \r
1317 Optional Features:\r
1318   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)\r
1319   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]\r
1320   --disable-dependency-tracking  speeds up one-time build\r
1321   --enable-dependency-tracking   do not reject slow dependency extractors\r
1322   --enable-xpm            libXpm will be used if found (default)\r
1323   --disable-xpm           libXpm will not be used\r
1324   --enable-ptys           force use of pseudo-ttys with child processes\r
1325   --disable-ptys          force use of pipes with child processes\r
1326   --enable-zippy          support interfacing a chess program to ICS (default)\r
1327   --disable-zippy         do not support interfacing a chess program to ICS\r
1328   --enable-sigint         sending SIGINT (^C) wakes up GNU Chess (default)\r
1329   --disable-sigint        typing a command wakes up GNU Chess\r
1330 \r
1331 Optional Packages:\r
1332   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]\r
1333   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)\r
1334   --with-x                use the X Window System\r
1335   --with-Xaw3d            use Xaw3d instead of Xaw\r
1336 \r
1337 Some influential environment variables:\r
1338   CC          C compiler command\r
1339   CFLAGS      C compiler flags\r
1340   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a\r
1341               nonstandard directory <lib dir>\r
1342   LIBS        libraries to pass to the linker, e.g. -l<library>\r
1343   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if\r
1344               you have headers in a nonstandard directory <include dir>\r
1345   CPP         C preprocessor\r
1346   XMKMF       Path to xmkmf, Makefile generator for X Window System\r
1347 \r
1348 Use these variables to override the choices made by `configure' or to help\r
1349 it to find libraries and programs with nonstandard names/locations.\r
1350 \r
1351 _ACEOF\r
1352 ac_status=$?\r
1353 fi\r
1354 \r
1355 if test "$ac_init_help" = "recursive"; then\r
1356   # If there are subdirs, report their specific --help.\r
1357   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue\r
1358     test -d "$ac_dir" || continue\r
1359     ac_builddir=.\r
1360 \r
1361 case "$ac_dir" in\r
1362 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;\r
1363 *)\r
1364   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`\r
1365   # A ".." for each directory in $ac_dir_suffix.\r
1366   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`\r
1367   case $ac_top_builddir_sub in\r
1368   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;\r
1369   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;\r
1370   esac ;;\r
1371 esac\r
1372 ac_abs_top_builddir=$ac_pwd\r
1373 ac_abs_builddir=$ac_pwd$ac_dir_suffix\r
1374 # for backward compatibility:\r
1375 ac_top_builddir=$ac_top_build_prefix\r
1376 \r
1377 case $srcdir in\r
1378   .)  # We are building in place.\r
1379     ac_srcdir=.\r
1380     ac_top_srcdir=$ac_top_builddir_sub\r
1381     ac_abs_top_srcdir=$ac_pwd ;;\r
1382   [\\/]* | ?:[\\/]* )  # Absolute name.\r
1383     ac_srcdir=$srcdir$ac_dir_suffix;\r
1384     ac_top_srcdir=$srcdir\r
1385     ac_abs_top_srcdir=$srcdir ;;\r
1386   *) # Relative name.\r
1387     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix\r
1388     ac_top_srcdir=$ac_top_build_prefix$srcdir\r
1389     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;\r
1390 esac\r
1391 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix\r
1392 \r
1393     cd "$ac_dir" || { ac_status=$?; continue; }\r
1394     # Check for guested configure.\r
1395     if test -f "$ac_srcdir/configure.gnu"; then\r
1396       echo &&\r
1397       $SHELL "$ac_srcdir/configure.gnu" --help=recursive\r
1398     elif test -f "$ac_srcdir/configure"; then\r
1399       echo &&\r
1400       $SHELL "$ac_srcdir/configure" --help=recursive\r
1401     else\r
1402       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2\r
1403     fi || ac_status=$?\r
1404     cd "$ac_pwd" || { ac_status=$?; break; }\r
1405   done\r
1406 fi\r
1407 \r
1408 test -n "$ac_init_help" && exit $ac_status\r
1409 if $ac_init_version; then\r
1410   cat <<\_ACEOF\r
1411 xboard configure 4.3\r
1412 generated by GNU Autoconf 2.61\r
1413 \r
1414 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,\r
1415 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.\r
1416 This configure script is free software; the Free Software Foundation\r
1417 gives unlimited permission to copy, distribute and modify it.\r
1418 _ACEOF\r
1419   exit\r
1420 fi\r
1421 cat >config.log <<_ACEOF\r
1422 This file contains any messages produced by compilers while\r
1423 running configure, to aid debugging if configure makes a mistake.\r
1424 \r
1425 It was created by xboard $as_me 4.3, which was\r
1426 generated by GNU Autoconf 2.61.  Invocation command line was\r
1427 \r
1428   $ $0 $@\r
1429 \r
1430 _ACEOF\r
1431 exec 5>>config.log\r
1432 {\r
1433 cat <<_ASUNAME\r
1434 ## --------- ##\r
1435 ## Platform. ##\r
1436 ## --------- ##\r
1437 \r
1438 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`\r
1439 uname -m = `(uname -m) 2>/dev/null || echo unknown`\r
1440 uname -r = `(uname -r) 2>/dev/null || echo unknown`\r
1441 uname -s = `(uname -s) 2>/dev/null || echo unknown`\r
1442 uname -v = `(uname -v) 2>/dev/null || echo unknown`\r
1443 \r
1444 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`\r
1445 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`\r
1446 \r
1447 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`\r
1448 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`\r
1449 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`\r
1450 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`\r
1451 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`\r
1452 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`\r
1453 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`\r
1454 \r
1455 _ASUNAME\r
1456 \r
1457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
1458 for as_dir in $PATH\r
1459 do\r
1460   IFS=$as_save_IFS\r
1461   test -z "$as_dir" && as_dir=.\r
1462   echo "PATH: $as_dir"\r
1463 done\r
1464 IFS=$as_save_IFS\r
1465 \r
1466 } >&5\r
1467 \r
1468 cat >&5 <<_ACEOF\r
1469 \r
1470 \r
1471 ## ----------- ##\r
1472 ## Core tests. ##\r
1473 ## ----------- ##\r
1474 \r
1475 _ACEOF\r
1476 \r
1477 \r
1478 # Keep a trace of the command line.\r
1479 # Strip out --no-create and --no-recursion so they do not pile up.\r
1480 # Strip out --silent because we don't want to record it for future runs.\r
1481 # Also quote any args containing shell meta-characters.\r
1482 # Make two passes to allow for proper duplicate-argument suppression.\r
1483 ac_configure_args=\r
1484 ac_configure_args0=\r
1485 ac_configure_args1=\r
1486 ac_must_keep_next=false\r
1487 for ac_pass in 1 2\r
1488 do\r
1489   for ac_arg\r
1490   do\r
1491     case $ac_arg in\r
1492     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;\r
1493     -q | -quiet | --quiet | --quie | --qui | --qu | --q \\r
1494     | -silent | --silent | --silen | --sile | --sil)\r
1495       continue ;;\r
1496     *\'*)\r
1497       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;\r
1498     esac\r
1499     case $ac_pass in\r
1500     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;\r
1501     2)\r
1502       ac_configure_args1="$ac_configure_args1 '$ac_arg'"\r
1503       if test $ac_must_keep_next = true; then\r
1504         ac_must_keep_next=false # Got value, back to normal.\r
1505       else\r
1506         case $ac_arg in\r
1507           *=* | --config-cache | -C | -disable-* | --disable-* \\r
1508           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \\r
1509           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \\r
1510           | -with-* | --with-* | -without-* | --without-* | --x)\r
1511             case "$ac_configure_args0 " in\r
1512               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;\r
1513             esac\r
1514             ;;\r
1515           -* ) ac_must_keep_next=true ;;\r
1516         esac\r
1517       fi\r
1518       ac_configure_args="$ac_configure_args '$ac_arg'"\r
1519       ;;\r
1520     esac\r
1521   done\r
1522 done\r
1523 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }\r
1524 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }\r
1525 \r
1526 # When interrupted or exit'd, cleanup temporary files, and complete\r
1527 # config.log.  We remove comments because anyway the quotes in there\r
1528 # would cause problems or look ugly.\r
1529 # WARNING: Use '\'' to represent an apostrophe within the trap.\r
1530 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.\r
1531 trap 'exit_status=$?\r
1532   # Save into config.log some information that might help in debugging.\r
1533   {\r
1534     echo\r
1535 \r
1536     cat <<\_ASBOX\r
1537 ## ---------------- ##\r
1538 ## Cache variables. ##\r
1539 ## ---------------- ##\r
1540 _ASBOX\r
1541     echo\r
1542     # The following way of writing the cache mishandles newlines in values,\r
1543 (\r
1544   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do\r
1545     eval ac_val=\$$ac_var\r
1546     case $ac_val in #(\r
1547     *${as_nl}*)\r
1548       case $ac_var in #(\r
1549       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5\r
1550 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;\r
1551       esac\r
1552       case $ac_var in #(\r
1553       _ | IFS | as_nl) ;; #(\r
1554       *) $as_unset $ac_var ;;\r
1555       esac ;;\r
1556     esac\r
1557   done\r
1558   (set) 2>&1 |\r
1559     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(\r
1560     *${as_nl}ac_space=\ *)\r
1561       sed -n \\r
1562         "s/'\''/'\''\\\\'\'''\''/g;\r
1563           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"\r
1564       ;; #(\r
1565     *)\r
1566       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"\r
1567       ;;\r
1568     esac |\r
1569     sort\r
1570 )\r
1571     echo\r
1572 \r
1573     cat <<\_ASBOX\r
1574 ## ----------------- ##\r
1575 ## Output variables. ##\r
1576 ## ----------------- ##\r
1577 _ASBOX\r
1578     echo\r
1579     for ac_var in $ac_subst_vars\r
1580     do\r
1581       eval ac_val=\$$ac_var\r
1582       case $ac_val in\r
1583       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;\r
1584       esac\r
1585       echo "$ac_var='\''$ac_val'\''"\r
1586     done | sort\r
1587     echo\r
1588 \r
1589     if test -n "$ac_subst_files"; then\r
1590       cat <<\_ASBOX\r
1591 ## ------------------- ##\r
1592 ## File substitutions. ##\r
1593 ## ------------------- ##\r
1594 _ASBOX\r
1595       echo\r
1596       for ac_var in $ac_subst_files\r
1597       do\r
1598         eval ac_val=\$$ac_var\r
1599         case $ac_val in\r
1600         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;\r
1601         esac\r
1602         echo "$ac_var='\''$ac_val'\''"\r
1603       done | sort\r
1604       echo\r
1605     fi\r
1606 \r
1607     if test -s confdefs.h; then\r
1608       cat <<\_ASBOX\r
1609 ## ----------- ##\r
1610 ## confdefs.h. ##\r
1611 ## ----------- ##\r
1612 _ASBOX\r
1613       echo\r
1614       cat confdefs.h\r
1615       echo\r
1616     fi\r
1617     test "$ac_signal" != 0 &&\r
1618       echo "$as_me: caught signal $ac_signal"\r
1619     echo "$as_me: exit $exit_status"\r
1620   } >&5\r
1621   rm -f core *.core core.conftest.* &&\r
1622     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&\r
1623     exit $exit_status\r
1624 ' 0\r
1625 for ac_signal in 1 2 13 15; do\r
1626   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal\r
1627 done\r
1628 ac_signal=0\r
1629 \r
1630 # confdefs.h avoids OS command line length limits that DEFS can exceed.\r
1631 rm -f -r conftest* confdefs.h\r
1632 \r
1633 # Predefined preprocessor variables.\r
1634 \r
1635 cat >>confdefs.h <<_ACEOF\r
1636 #define PACKAGE_NAME "$PACKAGE_NAME"\r
1637 _ACEOF\r
1638 \r
1639 \r
1640 cat >>confdefs.h <<_ACEOF\r
1641 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"\r
1642 _ACEOF\r
1643 \r
1644 \r
1645 cat >>confdefs.h <<_ACEOF\r
1646 #define PACKAGE_VERSION "$PACKAGE_VERSION"\r
1647 _ACEOF\r
1648 \r
1649 \r
1650 cat >>confdefs.h <<_ACEOF\r
1651 #define PACKAGE_STRING "$PACKAGE_STRING"\r
1652 _ACEOF\r
1653 \r
1654 \r
1655 cat >>confdefs.h <<_ACEOF\r
1656 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"\r
1657 _ACEOF\r
1658 \r
1659 \r
1660 # Let the site file select an alternate cache file if it wants to.\r
1661 # Prefer explicitly selected file to automatically selected ones.\r
1662 if test -n "$CONFIG_SITE"; then\r
1663   set x "$CONFIG_SITE"\r
1664 elif test "x$prefix" != xNONE; then\r
1665   set x "$prefix/share/config.site" "$prefix/etc/config.site"\r
1666 else\r
1667   set x "$ac_default_prefix/share/config.site" \\r
1668         "$ac_default_prefix/etc/config.site"\r
1669 fi\r
1670 shift\r
1671 for ac_site_file\r
1672 do\r
1673   if test -r "$ac_site_file"; then\r
1674     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5\r
1675 echo "$as_me: loading site script $ac_site_file" >&6;}\r
1676     sed 's/^/| /' "$ac_site_file" >&5\r
1677     . "$ac_site_file"\r
1678   fi\r
1679 done\r
1680 \r
1681 if test -r "$cache_file"; then\r
1682   # Some versions of bash will fail to source /dev/null (special\r
1683   # files actually), so we avoid doing that.\r
1684   if test -f "$cache_file"; then\r
1685     { echo "$as_me:$LINENO: loading cache $cache_file" >&5\r
1686 echo "$as_me: loading cache $cache_file" >&6;}\r
1687     case $cache_file in\r
1688       [\\/]* | ?:[\\/]* ) . "$cache_file";;\r
1689       *)                      . "./$cache_file";;\r
1690     esac\r
1691   fi\r
1692 else\r
1693   { echo "$as_me:$LINENO: creating cache $cache_file" >&5\r
1694 echo "$as_me: creating cache $cache_file" >&6;}\r
1695   >$cache_file\r
1696 fi\r
1697 \r
1698 # Check that the precious variables saved in the cache have kept the same\r
1699 # value.\r
1700 ac_cache_corrupted=false\r
1701 for ac_var in $ac_precious_vars; do\r
1702   eval ac_old_set=\$ac_cv_env_${ac_var}_set\r
1703   eval ac_new_set=\$ac_env_${ac_var}_set\r
1704   eval ac_old_val=\$ac_cv_env_${ac_var}_value\r
1705   eval ac_new_val=\$ac_env_${ac_var}_value\r
1706   case $ac_old_set,$ac_new_set in\r
1707     set,)\r
1708       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5\r
1709 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}\r
1710       ac_cache_corrupted=: ;;\r
1711     ,set)\r
1712       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5\r
1713 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}\r
1714       ac_cache_corrupted=: ;;\r
1715     ,);;\r
1716     *)\r
1717       if test "x$ac_old_val" != "x$ac_new_val"; then\r
1718         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5\r
1719 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}\r
1720         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5\r
1721 echo "$as_me:   former value:  $ac_old_val" >&2;}\r
1722         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5\r
1723 echo "$as_me:   current value: $ac_new_val" >&2;}\r
1724         ac_cache_corrupted=:\r
1725       fi;;\r
1726   esac\r
1727   # Pass precious variables to config.status.\r
1728   if test "$ac_new_set" = set; then\r
1729     case $ac_new_val in\r
1730     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;\r
1731     *) ac_arg=$ac_var=$ac_new_val ;;\r
1732     esac\r
1733     case " $ac_configure_args " in\r
1734       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.\r
1735       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;\r
1736     esac\r
1737   fi\r
1738 done\r
1739 if $ac_cache_corrupted; then\r
1740   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5\r
1741 echo "$as_me: error: changes in the environment can compromise the build" >&2;}\r
1742   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5\r
1743 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}\r
1744    { (exit 1); exit 1; }; }\r
1745 fi\r
1746 \r
1747 \r
1748 \r
1749 \r
1750 \r
1751 \r
1752 \r
1753 \r
1754 \r
1755 \r
1756 \r
1757 \r
1758 \r
1759 \r
1760 \r
1761 \r
1762 \r
1763 \r
1764 \r
1765 \r
1766 \r
1767 \r
1768 \r
1769 \r
1770 \r
1771 ac_ext=c\r
1772 ac_cpp='$CPP $CPPFLAGS'\r
1773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
1774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
1775 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
1776 \r
1777 \r
1778 am__api_version='1.10'\r
1779 \r
1780 ac_aux_dir=\r
1781 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do\r
1782   if test -f "$ac_dir/install-sh"; then\r
1783     ac_aux_dir=$ac_dir\r
1784     ac_install_sh="$ac_aux_dir/install-sh -c"\r
1785     break\r
1786   elif test -f "$ac_dir/install.sh"; then\r
1787     ac_aux_dir=$ac_dir\r
1788     ac_install_sh="$ac_aux_dir/install.sh -c"\r
1789     break\r
1790   elif test -f "$ac_dir/shtool"; then\r
1791     ac_aux_dir=$ac_dir\r
1792     ac_install_sh="$ac_aux_dir/shtool install -c"\r
1793     break\r
1794   fi\r
1795 done\r
1796 if test -z "$ac_aux_dir"; then\r
1797   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5\r
1798 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}\r
1799    { (exit 1); exit 1; }; }\r
1800 fi\r
1801 \r
1802 # These three variables are undocumented and unsupported,\r
1803 # and are intended to be withdrawn in a future Autoconf release.\r
1804 # They can cause serious problems if a builder's source tree is in a directory\r
1805 # whose full name contains unusual characters.\r
1806 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.\r
1807 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.\r
1808 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.\r
1809 \r
1810 \r
1811 # Find a good install program.  We prefer a C program (faster),\r
1812 # so one script is as good as another.  But avoid the broken or\r
1813 # incompatible versions:\r
1814 # SysV /etc/install, /usr/sbin/install\r
1815 # SunOS /usr/etc/install\r
1816 # IRIX /sbin/install\r
1817 # AIX /bin/install\r
1818 # AmigaOS /C/install, which installs bootblocks on floppy discs\r
1819 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag\r
1820 # AFS /usr/afsws/bin/install, which mishandles nonexistent args\r
1821 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"\r
1822 # OS/2's system install, which has a completely different semantic\r
1823 # ./install, which can be erroneously created by make from ./install.sh.\r
1824 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5\r
1825 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }\r
1826 if test -z "$INSTALL"; then\r
1827 if test "${ac_cv_path_install+set}" = set; then\r
1828   echo $ECHO_N "(cached) $ECHO_C" >&6\r
1829 else\r
1830   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
1831 for as_dir in $PATH\r
1832 do\r
1833   IFS=$as_save_IFS\r
1834   test -z "$as_dir" && as_dir=.\r
1835   # Account for people who put trailing slashes in PATH elements.\r
1836 case $as_dir/ in\r
1837   ./ | .// | /cC/* | \\r
1838   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \\r
1839   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \\r
1840   /usr/ucb/* ) ;;\r
1841   *)\r
1842     # OSF1 and SCO ODT 3.0 have their own names for install.\r
1843     # Don't use installbsd from OSF since it installs stuff as root\r
1844     # by default.\r
1845     for ac_prog in ginstall scoinst install; do\r
1846       for ac_exec_ext in '' $ac_executable_extensions; do\r
1847         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then\r
1848           if test $ac_prog = install &&\r
1849             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then\r
1850             # AIX install.  It has an incompatible calling convention.\r
1851             :\r
1852           elif test $ac_prog = install &&\r
1853             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then\r
1854             # program-specific install script used by HP pwplus--don't use.\r
1855             :\r
1856           else\r
1857             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"\r
1858             break 3\r
1859           fi\r
1860         fi\r
1861       done\r
1862     done\r
1863     ;;\r
1864 esac\r
1865 done\r
1866 IFS=$as_save_IFS\r
1867 \r
1868 \r
1869 fi\r
1870   if test "${ac_cv_path_install+set}" = set; then\r
1871     INSTALL=$ac_cv_path_install\r
1872   else\r
1873     # As a last resort, use the slow shell script.  Don't cache a\r
1874     # value for INSTALL within a source directory, because that will\r
1875     # break other packages using the cache if that directory is\r
1876     # removed, or if the value is a relative name.\r
1877     INSTALL=$ac_install_sh\r
1878   fi\r
1879 fi\r
1880 { echo "$as_me:$LINENO: result: $INSTALL" >&5\r
1881 echo "${ECHO_T}$INSTALL" >&6; }\r
1882 \r
1883 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.\r
1884 # It thinks the first close brace ends the variable substitution.\r
1885 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'\r
1886 \r
1887 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'\r
1888 \r
1889 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'\r
1890 \r
1891 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5\r
1892 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }\r
1893 # Just in case\r
1894 sleep 1\r
1895 echo timestamp > conftest.file\r
1896 # Do `set' in a subshell so we don't clobber the current shell's\r
1897 # arguments.  Must try -L first in case configure is actually a\r
1898 # symlink; some systems play weird games with the mod time of symlinks\r
1899 # (eg FreeBSD returns the mod time of the symlink's containing\r
1900 # directory).\r
1901 if (\r
1902    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`\r
1903    if test "$*" = "X"; then\r
1904       # -L didn't work.\r
1905       set X `ls -t $srcdir/configure conftest.file`\r
1906    fi\r
1907    rm -f conftest.file\r
1908    if test "$*" != "X $srcdir/configure conftest.file" \\r
1909       && test "$*" != "X conftest.file $srcdir/configure"; then\r
1910 \r
1911       # If neither matched, then we have a broken ls.  This can happen\r
1912       # if, for instance, CONFIG_SHELL is bash and it inherits a\r
1913       # broken ls alias from the environment.  This has actually\r
1914       # happened.  Such a system could not be considered "sane".\r
1915       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken\r
1916 alias in your environment" >&5\r
1917 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken\r
1918 alias in your environment" >&2;}\r
1919    { (exit 1); exit 1; }; }\r
1920    fi\r
1921 \r
1922    test "$2" = conftest.file\r
1923    )\r
1924 then\r
1925    # Ok.\r
1926    :\r
1927 else\r
1928    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!\r
1929 Check your system clock" >&5\r
1930 echo "$as_me: error: newly created file is older than distributed files!\r
1931 Check your system clock" >&2;}\r
1932    { (exit 1); exit 1; }; }\r
1933 fi\r
1934 { echo "$as_me:$LINENO: result: yes" >&5\r
1935 echo "${ECHO_T}yes" >&6; }\r
1936 test "$program_prefix" != NONE &&\r
1937   program_transform_name="s&^&$program_prefix&;$program_transform_name"\r
1938 # Use a double $ so make ignores it.\r
1939 test "$program_suffix" != NONE &&\r
1940   program_transform_name="s&\$&$program_suffix&;$program_transform_name"\r
1941 # Double any \ or $.  echo might interpret backslashes.\r
1942 # By default was `s,x,x', remove it if useless.\r
1943 cat <<\_ACEOF >conftest.sed\r
1944 s/[\\$]/&&/g;s/;s,x,x,$//\r
1945 _ACEOF\r
1946 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`\r
1947 rm -f conftest.sed\r
1948 \r
1949 # expand $ac_aux_dir to an absolute path\r
1950 am_aux_dir=`cd $ac_aux_dir && pwd`\r
1951 \r
1952 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"\r
1953 # Use eval to expand $SHELL\r
1954 if eval "$MISSING --run true"; then\r
1955   am_missing_run="$MISSING --run "\r
1956 else\r
1957   am_missing_run=\r
1958   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5\r
1959 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}\r
1960 fi\r
1961 \r
1962 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5\r
1963 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }\r
1964 if test -z "$MKDIR_P"; then\r
1965   if test "${ac_cv_path_mkdir+set}" = set; then\r
1966   echo $ECHO_N "(cached) $ECHO_C" >&6\r
1967 else\r
1968   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
1969 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin\r
1970 do\r
1971   IFS=$as_save_IFS\r
1972   test -z "$as_dir" && as_dir=.\r
1973   for ac_prog in mkdir gmkdir; do\r
1974          for ac_exec_ext in '' $ac_executable_extensions; do\r
1975            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue\r
1976            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(\r
1977              'mkdir (GNU coreutils) '* | \\r
1978              'mkdir (coreutils) '* | \\r
1979              'mkdir (fileutils) '4.1*)\r
1980                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext\r
1981                break 3;;\r
1982            esac\r
1983          done\r
1984        done\r
1985 done\r
1986 IFS=$as_save_IFS\r
1987 \r
1988 fi\r
1989 \r
1990   if test "${ac_cv_path_mkdir+set}" = set; then\r
1991     MKDIR_P="$ac_cv_path_mkdir -p"\r
1992   else\r
1993     # As a last resort, use the slow shell script.  Don't cache a\r
1994     # value for MKDIR_P within a source directory, because that will\r
1995     # break other packages using the cache if that directory is\r
1996     # removed, or if the value is a relative name.\r
1997     test -d ./--version && rmdir ./--version\r
1998     MKDIR_P="$ac_install_sh -d"\r
1999   fi\r
2000 fi\r
2001 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5\r
2002 echo "${ECHO_T}$MKDIR_P" >&6; }\r
2003 \r
2004 mkdir_p="$MKDIR_P"\r
2005 case $mkdir_p in\r
2006   [\\/$]* | ?:[\\/]*) ;;\r
2007   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;\r
2008 esac\r
2009 \r
2010 for ac_prog in gawk mawk nawk awk\r
2011 do\r
2012   # Extract the first word of "$ac_prog", so it can be a program name with args.\r
2013 set dummy $ac_prog; ac_word=$2\r
2014 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
2015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
2016 if test "${ac_cv_prog_AWK+set}" = set; then\r
2017   echo $ECHO_N "(cached) $ECHO_C" >&6\r
2018 else\r
2019   if test -n "$AWK"; then\r
2020   ac_cv_prog_AWK="$AWK" # Let the user override the test.\r
2021 else\r
2022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
2023 for as_dir in $PATH\r
2024 do\r
2025   IFS=$as_save_IFS\r
2026   test -z "$as_dir" && as_dir=.\r
2027   for ac_exec_ext in '' $ac_executable_extensions; do\r
2028   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
2029     ac_cv_prog_AWK="$ac_prog"\r
2030     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
2031     break 2\r
2032   fi\r
2033 done\r
2034 done\r
2035 IFS=$as_save_IFS\r
2036 \r
2037 fi\r
2038 fi\r
2039 AWK=$ac_cv_prog_AWK\r
2040 if test -n "$AWK"; then\r
2041   { echo "$as_me:$LINENO: result: $AWK" >&5\r
2042 echo "${ECHO_T}$AWK" >&6; }\r
2043 else\r
2044   { echo "$as_me:$LINENO: result: no" >&5\r
2045 echo "${ECHO_T}no" >&6; }\r
2046 fi\r
2047 \r
2048 \r
2049   test -n "$AWK" && break\r
2050 done\r
2051 \r
2052 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5\r
2053 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }\r
2054 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`\r
2055 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then\r
2056   echo $ECHO_N "(cached) $ECHO_C" >&6\r
2057 else\r
2058   cat >conftest.make <<\_ACEOF\r
2059 SHELL = /bin/sh\r
2060 all:\r
2061         @echo '@@@%%%=$(MAKE)=@@@%%%'\r
2062 _ACEOF\r
2063 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.\r
2064 case `${MAKE-make} -f conftest.make 2>/dev/null` in\r
2065   *@@@%%%=?*=@@@%%%*)\r
2066     eval ac_cv_prog_make_${ac_make}_set=yes;;\r
2067   *)\r
2068     eval ac_cv_prog_make_${ac_make}_set=no;;\r
2069 esac\r
2070 rm -f conftest.make\r
2071 fi\r
2072 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then\r
2073   { echo "$as_me:$LINENO: result: yes" >&5\r
2074 echo "${ECHO_T}yes" >&6; }\r
2075   SET_MAKE=\r
2076 else\r
2077   { echo "$as_me:$LINENO: result: no" >&5\r
2078 echo "${ECHO_T}no" >&6; }\r
2079   SET_MAKE="MAKE=${MAKE-make}"\r
2080 fi\r
2081 \r
2082 rm -rf .tst 2>/dev/null\r
2083 mkdir .tst 2>/dev/null\r
2084 if test -d .tst; then\r
2085   am__leading_dot=.\r
2086 else\r
2087   am__leading_dot=_\r
2088 fi\r
2089 rmdir .tst 2>/dev/null\r
2090 \r
2091 if test "`cd $srcdir && pwd`" != "`pwd`"; then\r
2092   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output\r
2093   # is not polluted with repeated "-I."\r
2094   am__isrc=' -I$(srcdir)'\r
2095   # test to see if srcdir already configured\r
2096   if test -f $srcdir/config.status; then\r
2097     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5\r
2098 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}\r
2099    { (exit 1); exit 1; }; }\r
2100   fi\r
2101 fi\r
2102 \r
2103 # test whether we have cygpath\r
2104 if test -z "$CYGPATH_W"; then\r
2105   if (cygpath --version) >/dev/null 2>/dev/null; then\r
2106     CYGPATH_W='cygpath -w'\r
2107   else\r
2108     CYGPATH_W=echo\r
2109   fi\r
2110 fi\r
2111 \r
2112 \r
2113 # Define the identity of the package.\r
2114  PACKAGE='xboard'\r
2115  VERSION='4.3'\r
2116 \r
2117 \r
2118 cat >>confdefs.h <<_ACEOF\r
2119 #define PACKAGE "$PACKAGE"\r
2120 _ACEOF\r
2121 \r
2122 \r
2123 cat >>confdefs.h <<_ACEOF\r
2124 #define VERSION "$VERSION"\r
2125 _ACEOF\r
2126 \r
2127 # Some tools Automake needs.\r
2128 \r
2129 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}\r
2130 \r
2131 \r
2132 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}\r
2133 \r
2134 \r
2135 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}\r
2136 \r
2137 \r
2138 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}\r
2139 \r
2140 \r
2141 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}\r
2142 \r
2143 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}\r
2144 \r
2145 # Installed binaries are usually stripped using `strip' when the user\r
2146 # run `make install-strip'.  However `strip' might not be the right\r
2147 # tool to use in cross-compilation environments, therefore Automake\r
2148 # will honor the `STRIP' environment variable to overrule this program.\r
2149 if test "$cross_compiling" != no; then\r
2150   if test -n "$ac_tool_prefix"; then\r
2151   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.\r
2152 set dummy ${ac_tool_prefix}strip; ac_word=$2\r
2153 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
2154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
2155 if test "${ac_cv_prog_STRIP+set}" = set; then\r
2156   echo $ECHO_N "(cached) $ECHO_C" >&6\r
2157 else\r
2158   if test -n "$STRIP"; then\r
2159   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.\r
2160 else\r
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
2162 for as_dir in $PATH\r
2163 do\r
2164   IFS=$as_save_IFS\r
2165   test -z "$as_dir" && as_dir=.\r
2166   for ac_exec_ext in '' $ac_executable_extensions; do\r
2167   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
2168     ac_cv_prog_STRIP="${ac_tool_prefix}strip"\r
2169     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
2170     break 2\r
2171   fi\r
2172 done\r
2173 done\r
2174 IFS=$as_save_IFS\r
2175 \r
2176 fi\r
2177 fi\r
2178 STRIP=$ac_cv_prog_STRIP\r
2179 if test -n "$STRIP"; then\r
2180   { echo "$as_me:$LINENO: result: $STRIP" >&5\r
2181 echo "${ECHO_T}$STRIP" >&6; }\r
2182 else\r
2183   { echo "$as_me:$LINENO: result: no" >&5\r
2184 echo "${ECHO_T}no" >&6; }\r
2185 fi\r
2186 \r
2187 \r
2188 fi\r
2189 if test -z "$ac_cv_prog_STRIP"; then\r
2190   ac_ct_STRIP=$STRIP\r
2191   # Extract the first word of "strip", so it can be a program name with args.\r
2192 set dummy strip; ac_word=$2\r
2193 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
2194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
2195 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then\r
2196   echo $ECHO_N "(cached) $ECHO_C" >&6\r
2197 else\r
2198   if test -n "$ac_ct_STRIP"; then\r
2199   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.\r
2200 else\r
2201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
2202 for as_dir in $PATH\r
2203 do\r
2204   IFS=$as_save_IFS\r
2205   test -z "$as_dir" && as_dir=.\r
2206   for ac_exec_ext in '' $ac_executable_extensions; do\r
2207   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
2208     ac_cv_prog_ac_ct_STRIP="strip"\r
2209     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
2210     break 2\r
2211   fi\r
2212 done\r
2213 done\r
2214 IFS=$as_save_IFS\r
2215 \r
2216 fi\r
2217 fi\r
2218 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP\r
2219 if test -n "$ac_ct_STRIP"; then\r
2220   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5\r
2221 echo "${ECHO_T}$ac_ct_STRIP" >&6; }\r
2222 else\r
2223   { echo "$as_me:$LINENO: result: no" >&5\r
2224 echo "${ECHO_T}no" >&6; }\r
2225 fi\r
2226 \r
2227   if test "x$ac_ct_STRIP" = x; then\r
2228     STRIP=":"\r
2229   else\r
2230     case $cross_compiling:$ac_tool_warned in\r
2231 yes:)\r
2232 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools\r
2233 whose name does not start with the host triplet.  If you think this\r
2234 configuration is useful to you, please write to autoconf@gnu.org." >&5\r
2235 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools\r
2236 whose name does not start with the host triplet.  If you think this\r
2237 configuration is useful to you, please write to autoconf@gnu.org." >&2;}\r
2238 ac_tool_warned=yes ;;\r
2239 esac\r
2240     STRIP=$ac_ct_STRIP\r
2241   fi\r
2242 else\r
2243   STRIP="$ac_cv_prog_STRIP"\r
2244 fi\r
2245 \r
2246 fi\r
2247 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"\r
2248 \r
2249 # We need awk for the "check" target.  The system "awk" is bad on\r
2250 # some platforms.\r
2251 # Always define AMTAR for backward compatibility.\r
2252 \r
2253 AMTAR=${AMTAR-"${am_missing_run}tar"}\r
2254 \r
2255 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'\r
2256 \r
2257 \r
2258 \r
2259 \r
2260 \r
2261 ac_ext=c\r
2262 ac_cpp='$CPP $CPPFLAGS'\r
2263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
2264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
2265 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
2266 if test -n "$ac_tool_prefix"; then\r
2267   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.\r
2268 set dummy ${ac_tool_prefix}gcc; ac_word=$2\r
2269 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
2270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
2271 if test "${ac_cv_prog_CC+set}" = set; then\r
2272   echo $ECHO_N "(cached) $ECHO_C" >&6\r
2273 else\r
2274   if test -n "$CC"; then\r
2275   ac_cv_prog_CC="$CC" # Let the user override the test.\r
2276 else\r
2277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
2278 for as_dir in $PATH\r
2279 do\r
2280   IFS=$as_save_IFS\r
2281   test -z "$as_dir" && as_dir=.\r
2282   for ac_exec_ext in '' $ac_executable_extensions; do\r
2283   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
2284     ac_cv_prog_CC="${ac_tool_prefix}gcc"\r
2285     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
2286     break 2\r
2287   fi\r
2288 done\r
2289 done\r
2290 IFS=$as_save_IFS\r
2291 \r
2292 fi\r
2293 fi\r
2294 CC=$ac_cv_prog_CC\r
2295 if test -n "$CC"; then\r
2296   { echo "$as_me:$LINENO: result: $CC" >&5\r
2297 echo "${ECHO_T}$CC" >&6; }\r
2298 else\r
2299   { echo "$as_me:$LINENO: result: no" >&5\r
2300 echo "${ECHO_T}no" >&6; }\r
2301 fi\r
2302 \r
2303 \r
2304 fi\r
2305 if test -z "$ac_cv_prog_CC"; then\r
2306   ac_ct_CC=$CC\r
2307   # Extract the first word of "gcc", so it can be a program name with args.\r
2308 set dummy gcc; ac_word=$2\r
2309 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
2311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then\r
2312   echo $ECHO_N "(cached) $ECHO_C" >&6\r
2313 else\r
2314   if test -n "$ac_ct_CC"; then\r
2315   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.\r
2316 else\r
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
2318 for as_dir in $PATH\r
2319 do\r
2320   IFS=$as_save_IFS\r
2321   test -z "$as_dir" && as_dir=.\r
2322   for ac_exec_ext in '' $ac_executable_extensions; do\r
2323   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
2324     ac_cv_prog_ac_ct_CC="gcc"\r
2325     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
2326     break 2\r
2327   fi\r
2328 done\r
2329 done\r
2330 IFS=$as_save_IFS\r
2331 \r
2332 fi\r
2333 fi\r
2334 ac_ct_CC=$ac_cv_prog_ac_ct_CC\r
2335 if test -n "$ac_ct_CC"; then\r
2336   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5\r
2337 echo "${ECHO_T}$ac_ct_CC" >&6; }\r
2338 else\r
2339   { echo "$as_me:$LINENO: result: no" >&5\r
2340 echo "${ECHO_T}no" >&6; }\r
2341 fi\r
2342 \r
2343   if test "x$ac_ct_CC" = x; then\r
2344     CC=""\r
2345   else\r
2346     case $cross_compiling:$ac_tool_warned in\r
2347 yes:)\r
2348 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools\r
2349 whose name does not start with the host triplet.  If you think this\r
2350 configuration is useful to you, please write to autoconf@gnu.org." >&5\r
2351 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools\r
2352 whose name does not start with the host triplet.  If you think this\r
2353 configuration is useful to you, please write to autoconf@gnu.org." >&2;}\r
2354 ac_tool_warned=yes ;;\r
2355 esac\r
2356     CC=$ac_ct_CC\r
2357   fi\r
2358 else\r
2359   CC="$ac_cv_prog_CC"\r
2360 fi\r
2361 \r
2362 if test -z "$CC"; then\r
2363           if test -n "$ac_tool_prefix"; then\r
2364     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.\r
2365 set dummy ${ac_tool_prefix}cc; ac_word=$2\r
2366 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
2367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
2368 if test "${ac_cv_prog_CC+set}" = set; then\r
2369   echo $ECHO_N "(cached) $ECHO_C" >&6\r
2370 else\r
2371   if test -n "$CC"; then\r
2372   ac_cv_prog_CC="$CC" # Let the user override the test.\r
2373 else\r
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
2375 for as_dir in $PATH\r
2376 do\r
2377   IFS=$as_save_IFS\r
2378   test -z "$as_dir" && as_dir=.\r
2379   for ac_exec_ext in '' $ac_executable_extensions; do\r
2380   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
2381     ac_cv_prog_CC="${ac_tool_prefix}cc"\r
2382     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
2383     break 2\r
2384   fi\r
2385 done\r
2386 done\r
2387 IFS=$as_save_IFS\r
2388 \r
2389 fi\r
2390 fi\r
2391 CC=$ac_cv_prog_CC\r
2392 if test -n "$CC"; then\r
2393   { echo "$as_me:$LINENO: result: $CC" >&5\r
2394 echo "${ECHO_T}$CC" >&6; }\r
2395 else\r
2396   { echo "$as_me:$LINENO: result: no" >&5\r
2397 echo "${ECHO_T}no" >&6; }\r
2398 fi\r
2399 \r
2400 \r
2401   fi\r
2402 fi\r
2403 if test -z "$CC"; then\r
2404   # Extract the first word of "cc", so it can be a program name with args.\r
2405 set dummy cc; ac_word=$2\r
2406 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
2407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
2408 if test "${ac_cv_prog_CC+set}" = set; then\r
2409   echo $ECHO_N "(cached) $ECHO_C" >&6\r
2410 else\r
2411   if test -n "$CC"; then\r
2412   ac_cv_prog_CC="$CC" # Let the user override the test.\r
2413 else\r
2414   ac_prog_rejected=no\r
2415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
2416 for as_dir in $PATH\r
2417 do\r
2418   IFS=$as_save_IFS\r
2419   test -z "$as_dir" && as_dir=.\r
2420   for ac_exec_ext in '' $ac_executable_extensions; do\r
2421   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
2422     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then\r
2423        ac_prog_rejected=yes\r
2424        continue\r
2425      fi\r
2426     ac_cv_prog_CC="cc"\r
2427     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
2428     break 2\r
2429   fi\r
2430 done\r
2431 done\r
2432 IFS=$as_save_IFS\r
2433 \r
2434 if test $ac_prog_rejected = yes; then\r
2435   # We found a bogon in the path, so make sure we never use it.\r
2436   set dummy $ac_cv_prog_CC\r
2437   shift\r
2438   if test $# != 0; then\r
2439     # We chose a different compiler from the bogus one.\r
2440     # However, it has the same basename, so the bogon will be chosen\r
2441     # first if we set CC to just the basename; use the full file name.\r
2442     shift\r
2443     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"\r
2444   fi\r
2445 fi\r
2446 fi\r
2447 fi\r
2448 CC=$ac_cv_prog_CC\r
2449 if test -n "$CC"; then\r
2450   { echo "$as_me:$LINENO: result: $CC" >&5\r
2451 echo "${ECHO_T}$CC" >&6; }\r
2452 else\r
2453   { echo "$as_me:$LINENO: result: no" >&5\r
2454 echo "${ECHO_T}no" >&6; }\r
2455 fi\r
2456 \r
2457 \r
2458 fi\r
2459 if test -z "$CC"; then\r
2460   if test -n "$ac_tool_prefix"; then\r
2461   for ac_prog in cl.exe\r
2462   do\r
2463     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.\r
2464 set dummy $ac_tool_prefix$ac_prog; ac_word=$2\r
2465 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
2466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
2467 if test "${ac_cv_prog_CC+set}" = set; then\r
2468   echo $ECHO_N "(cached) $ECHO_C" >&6\r
2469 else\r
2470   if test -n "$CC"; then\r
2471   ac_cv_prog_CC="$CC" # Let the user override the test.\r
2472 else\r
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
2474 for as_dir in $PATH\r
2475 do\r
2476   IFS=$as_save_IFS\r
2477   test -z "$as_dir" && as_dir=.\r
2478   for ac_exec_ext in '' $ac_executable_extensions; do\r
2479   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
2480     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"\r
2481     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
2482     break 2\r
2483   fi\r
2484 done\r
2485 done\r
2486 IFS=$as_save_IFS\r
2487 \r
2488 fi\r
2489 fi\r
2490 CC=$ac_cv_prog_CC\r
2491 if test -n "$CC"; then\r
2492   { echo "$as_me:$LINENO: result: $CC" >&5\r
2493 echo "${ECHO_T}$CC" >&6; }\r
2494 else\r
2495   { echo "$as_me:$LINENO: result: no" >&5\r
2496 echo "${ECHO_T}no" >&6; }\r
2497 fi\r
2498 \r
2499 \r
2500     test -n "$CC" && break\r
2501   done\r
2502 fi\r
2503 if test -z "$CC"; then\r
2504   ac_ct_CC=$CC\r
2505   for ac_prog in cl.exe\r
2506 do\r
2507   # Extract the first word of "$ac_prog", so it can be a program name with args.\r
2508 set dummy $ac_prog; ac_word=$2\r
2509 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
2510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
2511 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then\r
2512   echo $ECHO_N "(cached) $ECHO_C" >&6\r
2513 else\r
2514   if test -n "$ac_ct_CC"; then\r
2515   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.\r
2516 else\r
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
2518 for as_dir in $PATH\r
2519 do\r
2520   IFS=$as_save_IFS\r
2521   test -z "$as_dir" && as_dir=.\r
2522   for ac_exec_ext in '' $ac_executable_extensions; do\r
2523   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
2524     ac_cv_prog_ac_ct_CC="$ac_prog"\r
2525     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
2526     break 2\r
2527   fi\r
2528 done\r
2529 done\r
2530 IFS=$as_save_IFS\r
2531 \r
2532 fi\r
2533 fi\r
2534 ac_ct_CC=$ac_cv_prog_ac_ct_CC\r
2535 if test -n "$ac_ct_CC"; then\r
2536   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5\r
2537 echo "${ECHO_T}$ac_ct_CC" >&6; }\r
2538 else\r
2539   { echo "$as_me:$LINENO: result: no" >&5\r
2540 echo "${ECHO_T}no" >&6; }\r
2541 fi\r
2542 \r
2543 \r
2544   test -n "$ac_ct_CC" && break\r
2545 done\r
2546 \r
2547   if test "x$ac_ct_CC" = x; then\r
2548     CC=""\r
2549   else\r
2550     case $cross_compiling:$ac_tool_warned in\r
2551 yes:)\r
2552 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools\r
2553 whose name does not start with the host triplet.  If you think this\r
2554 configuration is useful to you, please write to autoconf@gnu.org." >&5\r
2555 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools\r
2556 whose name does not start with the host triplet.  If you think this\r
2557 configuration is useful to you, please write to autoconf@gnu.org." >&2;}\r
2558 ac_tool_warned=yes ;;\r
2559 esac\r
2560     CC=$ac_ct_CC\r
2561   fi\r
2562 fi\r
2563 \r
2564 fi\r
2565 \r
2566 \r
2567 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH\r
2568 See \`config.log' for more details." >&5\r
2569 echo "$as_me: error: no acceptable C compiler found in \$PATH\r
2570 See \`config.log' for more details." >&2;}\r
2571    { (exit 1); exit 1; }; }\r
2572 \r
2573 # Provide some information about the compiler.\r
2574 echo "$as_me:$LINENO: checking for C compiler version" >&5\r
2575 ac_compiler=`set X $ac_compile; echo $2`\r
2576 { (ac_try="$ac_compiler --version >&5"\r
2577 case "(($ac_try" in\r
2578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2579   *) ac_try_echo=$ac_try;;\r
2580 esac\r
2581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
2582   (eval "$ac_compiler --version >&5") 2>&5\r
2583   ac_status=$?\r
2584   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2585   (exit $ac_status); }\r
2586 { (ac_try="$ac_compiler -v >&5"\r
2587 case "(($ac_try" in\r
2588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2589   *) ac_try_echo=$ac_try;;\r
2590 esac\r
2591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
2592   (eval "$ac_compiler -v >&5") 2>&5\r
2593   ac_status=$?\r
2594   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2595   (exit $ac_status); }\r
2596 { (ac_try="$ac_compiler -V >&5"\r
2597 case "(($ac_try" in\r
2598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2599   *) ac_try_echo=$ac_try;;\r
2600 esac\r
2601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
2602   (eval "$ac_compiler -V >&5") 2>&5\r
2603   ac_status=$?\r
2604   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2605   (exit $ac_status); }\r
2606 \r
2607 cat >conftest.$ac_ext <<_ACEOF\r
2608 /* confdefs.h.  */\r
2609 _ACEOF\r
2610 cat confdefs.h >>conftest.$ac_ext\r
2611 cat >>conftest.$ac_ext <<_ACEOF\r
2612 /* end confdefs.h.  */\r
2613 \r
2614 int\r
2615 main ()\r
2616 {\r
2617 \r
2618   ;\r
2619   return 0;\r
2620 }\r
2621 _ACEOF\r
2622 ac_clean_files_save=$ac_clean_files\r
2623 ac_clean_files="$ac_clean_files a.out a.exe b.out"\r
2624 # Try to create an executable without -o first, disregard a.out.\r
2625 # It will help us diagnose broken compilers, and finding out an intuition\r
2626 # of exeext.\r
2627 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5\r
2628 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }\r
2629 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`\r
2630 #\r
2631 # List of possible output files, starting from the most likely.\r
2632 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)\r
2633 # only as a last resort.  b.out is created by i960 compilers.\r
2634 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'\r
2635 #\r
2636 # The IRIX 6 linker writes into existing files which may not be\r
2637 # executable, retaining their permissions.  Remove them first so a\r
2638 # subsequent execution test works.\r
2639 ac_rmfiles=\r
2640 for ac_file in $ac_files\r
2641 do\r
2642   case $ac_file in\r
2643     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;\r
2644     * ) ac_rmfiles="$ac_rmfiles $ac_file";;\r
2645   esac\r
2646 done\r
2647 rm -f $ac_rmfiles\r
2648 \r
2649 if { (ac_try="$ac_link_default"\r
2650 case "(($ac_try" in\r
2651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2652   *) ac_try_echo=$ac_try;;\r
2653 esac\r
2654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
2655   (eval "$ac_link_default") 2>&5\r
2656   ac_status=$?\r
2657   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2658   (exit $ac_status); }; then\r
2659   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.\r
2660 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'\r
2661 # in a Makefile.  We should not override ac_cv_exeext if it was cached,\r
2662 # so that the user can short-circuit this test for compilers unknown to\r
2663 # Autoconf.\r
2664 for ac_file in $ac_files ''\r
2665 do\r
2666   test -f "$ac_file" || continue\r
2667   case $ac_file in\r
2668     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )\r
2669         ;;\r
2670     [ab].out )\r
2671         # We found the default executable, but exeext='' is most\r
2672         # certainly right.\r
2673         break;;\r
2674     *.* )\r
2675         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;\r
2676         then :; else\r
2677            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`\r
2678         fi\r
2679         # We set ac_cv_exeext here because the later test for it is not\r
2680         # safe: cross compilers may not add the suffix if given an `-o'\r
2681         # argument, so we may need to know it at that point already.\r
2682         # Even if this section looks crufty: it has the advantage of\r
2683         # actually working.\r
2684         break;;\r
2685     * )\r
2686         break;;\r
2687   esac\r
2688 done\r
2689 test "$ac_cv_exeext" = no && ac_cv_exeext=\r
2690 \r
2691 else\r
2692   ac_file=''\r
2693 fi\r
2694 \r
2695 { echo "$as_me:$LINENO: result: $ac_file" >&5\r
2696 echo "${ECHO_T}$ac_file" >&6; }\r
2697 if test -z "$ac_file"; then\r
2698   echo "$as_me: failed program was:" >&5\r
2699 sed 's/^/| /' conftest.$ac_ext >&5\r
2700 \r
2701 { { echo "$as_me:$LINENO: error: C compiler cannot create executables\r
2702 See \`config.log' for more details." >&5\r
2703 echo "$as_me: error: C compiler cannot create executables\r
2704 See \`config.log' for more details." >&2;}\r
2705    { (exit 77); exit 77; }; }\r
2706 fi\r
2707 \r
2708 ac_exeext=$ac_cv_exeext\r
2709 \r
2710 # Check that the compiler produces executables we can run.  If not, either\r
2711 # the compiler is broken, or we cross compile.\r
2712 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5\r
2713 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }\r
2714 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0\r
2715 # If not cross compiling, check that we can run a simple program.\r
2716 if test "$cross_compiling" != yes; then\r
2717   if { ac_try='./$ac_file'\r
2718   { (case "(($ac_try" in\r
2719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2720   *) ac_try_echo=$ac_try;;\r
2721 esac\r
2722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
2723   (eval "$ac_try") 2>&5\r
2724   ac_status=$?\r
2725   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2726   (exit $ac_status); }; }; then\r
2727     cross_compiling=no\r
2728   else\r
2729     if test "$cross_compiling" = maybe; then\r
2730         cross_compiling=yes\r
2731     else\r
2732         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.\r
2733 If you meant to cross compile, use \`--host'.\r
2734 See \`config.log' for more details." >&5\r
2735 echo "$as_me: error: cannot run C compiled programs.\r
2736 If you meant to cross compile, use \`--host'.\r
2737 See \`config.log' for more details." >&2;}\r
2738    { (exit 1); exit 1; }; }\r
2739     fi\r
2740   fi\r
2741 fi\r
2742 { echo "$as_me:$LINENO: result: yes" >&5\r
2743 echo "${ECHO_T}yes" >&6; }\r
2744 \r
2745 rm -f a.out a.exe conftest$ac_cv_exeext b.out\r
2746 ac_clean_files=$ac_clean_files_save\r
2747 # Check that the compiler produces executables we can run.  If not, either\r
2748 # the compiler is broken, or we cross compile.\r
2749 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5\r
2750 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }\r
2751 { echo "$as_me:$LINENO: result: $cross_compiling" >&5\r
2752 echo "${ECHO_T}$cross_compiling" >&6; }\r
2753 \r
2754 { echo "$as_me:$LINENO: checking for suffix of executables" >&5\r
2755 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }\r
2756 if { (ac_try="$ac_link"\r
2757 case "(($ac_try" in\r
2758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2759   *) ac_try_echo=$ac_try;;\r
2760 esac\r
2761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
2762   (eval "$ac_link") 2>&5\r
2763   ac_status=$?\r
2764   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2765   (exit $ac_status); }; then\r
2766   # If both `conftest.exe' and `conftest' are `present' (well, observable)\r
2767 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will\r
2768 # work properly (i.e., refer to `conftest.exe'), while it won't with\r
2769 # `rm'.\r
2770 for ac_file in conftest.exe conftest conftest.*; do\r
2771   test -f "$ac_file" || continue\r
2772   case $ac_file in\r
2773     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;\r
2774     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`\r
2775           break;;\r
2776     * ) break;;\r
2777   esac\r
2778 done\r
2779 else\r
2780   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link\r
2781 See \`config.log' for more details." >&5\r
2782 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link\r
2783 See \`config.log' for more details." >&2;}\r
2784    { (exit 1); exit 1; }; }\r
2785 fi\r
2786 \r
2787 rm -f conftest$ac_cv_exeext\r
2788 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5\r
2789 echo "${ECHO_T}$ac_cv_exeext" >&6; }\r
2790 \r
2791 rm -f conftest.$ac_ext\r
2792 EXEEXT=$ac_cv_exeext\r
2793 ac_exeext=$EXEEXT\r
2794 { echo "$as_me:$LINENO: checking for suffix of object files" >&5\r
2795 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }\r
2796 if test "${ac_cv_objext+set}" = set; then\r
2797   echo $ECHO_N "(cached) $ECHO_C" >&6\r
2798 else\r
2799   cat >conftest.$ac_ext <<_ACEOF\r
2800 /* confdefs.h.  */\r
2801 _ACEOF\r
2802 cat confdefs.h >>conftest.$ac_ext\r
2803 cat >>conftest.$ac_ext <<_ACEOF\r
2804 /* end confdefs.h.  */\r
2805 \r
2806 int\r
2807 main ()\r
2808 {\r
2809 \r
2810   ;\r
2811   return 0;\r
2812 }\r
2813 _ACEOF\r
2814 rm -f conftest.o conftest.obj\r
2815 if { (ac_try="$ac_compile"\r
2816 case "(($ac_try" in\r
2817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2818   *) ac_try_echo=$ac_try;;\r
2819 esac\r
2820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
2821   (eval "$ac_compile") 2>&5\r
2822   ac_status=$?\r
2823   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2824   (exit $ac_status); }; then\r
2825   for ac_file in conftest.o conftest.obj conftest.*; do\r
2826   test -f "$ac_file" || continue;\r
2827   case $ac_file in\r
2828     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;\r
2829     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`\r
2830        break;;\r
2831   esac\r
2832 done\r
2833 else\r
2834   echo "$as_me: failed program was:" >&5\r
2835 sed 's/^/| /' conftest.$ac_ext >&5\r
2836 \r
2837 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile\r
2838 See \`config.log' for more details." >&5\r
2839 echo "$as_me: error: cannot compute suffix of object files: cannot compile\r
2840 See \`config.log' for more details." >&2;}\r
2841    { (exit 1); exit 1; }; }\r
2842 fi\r
2843 \r
2844 rm -f conftest.$ac_cv_objext conftest.$ac_ext\r
2845 fi\r
2846 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5\r
2847 echo "${ECHO_T}$ac_cv_objext" >&6; }\r
2848 OBJEXT=$ac_cv_objext\r
2849 ac_objext=$OBJEXT\r
2850 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5\r
2851 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }\r
2852 if test "${ac_cv_c_compiler_gnu+set}" = set; then\r
2853   echo $ECHO_N "(cached) $ECHO_C" >&6\r
2854 else\r
2855   cat >conftest.$ac_ext <<_ACEOF\r
2856 /* confdefs.h.  */\r
2857 _ACEOF\r
2858 cat confdefs.h >>conftest.$ac_ext\r
2859 cat >>conftest.$ac_ext <<_ACEOF\r
2860 /* end confdefs.h.  */\r
2861 \r
2862 int\r
2863 main ()\r
2864 {\r
2865 #ifndef __GNUC__\r
2866        choke me\r
2867 #endif\r
2868 \r
2869   ;\r
2870   return 0;\r
2871 }\r
2872 _ACEOF\r
2873 rm -f conftest.$ac_objext\r
2874 if { (ac_try="$ac_compile"\r
2875 case "(($ac_try" in\r
2876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2877   *) ac_try_echo=$ac_try;;\r
2878 esac\r
2879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
2880   (eval "$ac_compile") 2>conftest.er1\r
2881   ac_status=$?\r
2882   grep -v '^ *+' conftest.er1 >conftest.err\r
2883   rm -f conftest.er1\r
2884   cat conftest.err >&5\r
2885   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2886   (exit $ac_status); } && {\r
2887          test -z "$ac_c_werror_flag" ||\r
2888          test ! -s conftest.err\r
2889        } && test -s conftest.$ac_objext; then\r
2890   ac_compiler_gnu=yes\r
2891 else\r
2892   echo "$as_me: failed program was:" >&5\r
2893 sed 's/^/| /' conftest.$ac_ext >&5\r
2894 \r
2895         ac_compiler_gnu=no\r
2896 fi\r
2897 \r
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
2899 ac_cv_c_compiler_gnu=$ac_compiler_gnu\r
2900 \r
2901 fi\r
2902 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5\r
2903 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }\r
2904 GCC=`test $ac_compiler_gnu = yes && echo yes`\r
2905 ac_test_CFLAGS=${CFLAGS+set}\r
2906 ac_save_CFLAGS=$CFLAGS\r
2907 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5\r
2908 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }\r
2909 if test "${ac_cv_prog_cc_g+set}" = set; then\r
2910   echo $ECHO_N "(cached) $ECHO_C" >&6\r
2911 else\r
2912   ac_save_c_werror_flag=$ac_c_werror_flag\r
2913    ac_c_werror_flag=yes\r
2914    ac_cv_prog_cc_g=no\r
2915    CFLAGS="-g"\r
2916    cat >conftest.$ac_ext <<_ACEOF\r
2917 /* confdefs.h.  */\r
2918 _ACEOF\r
2919 cat confdefs.h >>conftest.$ac_ext\r
2920 cat >>conftest.$ac_ext <<_ACEOF\r
2921 /* end confdefs.h.  */\r
2922 \r
2923 int\r
2924 main ()\r
2925 {\r
2926 \r
2927   ;\r
2928   return 0;\r
2929 }\r
2930 _ACEOF\r
2931 rm -f conftest.$ac_objext\r
2932 if { (ac_try="$ac_compile"\r
2933 case "(($ac_try" in\r
2934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2935   *) ac_try_echo=$ac_try;;\r
2936 esac\r
2937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
2938   (eval "$ac_compile") 2>conftest.er1\r
2939   ac_status=$?\r
2940   grep -v '^ *+' conftest.er1 >conftest.err\r
2941   rm -f conftest.er1\r
2942   cat conftest.err >&5\r
2943   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2944   (exit $ac_status); } && {\r
2945          test -z "$ac_c_werror_flag" ||\r
2946          test ! -s conftest.err\r
2947        } && test -s conftest.$ac_objext; then\r
2948   ac_cv_prog_cc_g=yes\r
2949 else\r
2950   echo "$as_me: failed program was:" >&5\r
2951 sed 's/^/| /' conftest.$ac_ext >&5\r
2952 \r
2953         CFLAGS=""\r
2954       cat >conftest.$ac_ext <<_ACEOF\r
2955 /* confdefs.h.  */\r
2956 _ACEOF\r
2957 cat confdefs.h >>conftest.$ac_ext\r
2958 cat >>conftest.$ac_ext <<_ACEOF\r
2959 /* end confdefs.h.  */\r
2960 \r
2961 int\r
2962 main ()\r
2963 {\r
2964 \r
2965   ;\r
2966   return 0;\r
2967 }\r
2968 _ACEOF\r
2969 rm -f conftest.$ac_objext\r
2970 if { (ac_try="$ac_compile"\r
2971 case "(($ac_try" in\r
2972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
2973   *) ac_try_echo=$ac_try;;\r
2974 esac\r
2975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
2976   (eval "$ac_compile") 2>conftest.er1\r
2977   ac_status=$?\r
2978   grep -v '^ *+' conftest.er1 >conftest.err\r
2979   rm -f conftest.er1\r
2980   cat conftest.err >&5\r
2981   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
2982   (exit $ac_status); } && {\r
2983          test -z "$ac_c_werror_flag" ||\r
2984          test ! -s conftest.err\r
2985        } && test -s conftest.$ac_objext; then\r
2986   :\r
2987 else\r
2988   echo "$as_me: failed program was:" >&5\r
2989 sed 's/^/| /' conftest.$ac_ext >&5\r
2990 \r
2991         ac_c_werror_flag=$ac_save_c_werror_flag\r
2992          CFLAGS="-g"\r
2993          cat >conftest.$ac_ext <<_ACEOF\r
2994 /* confdefs.h.  */\r
2995 _ACEOF\r
2996 cat confdefs.h >>conftest.$ac_ext\r
2997 cat >>conftest.$ac_ext <<_ACEOF\r
2998 /* end confdefs.h.  */\r
2999 \r
3000 int\r
3001 main ()\r
3002 {\r
3003 \r
3004   ;\r
3005   return 0;\r
3006 }\r
3007 _ACEOF\r
3008 rm -f conftest.$ac_objext\r
3009 if { (ac_try="$ac_compile"\r
3010 case "(($ac_try" in\r
3011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
3012   *) ac_try_echo=$ac_try;;\r
3013 esac\r
3014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
3015   (eval "$ac_compile") 2>conftest.er1\r
3016   ac_status=$?\r
3017   grep -v '^ *+' conftest.er1 >conftest.err\r
3018   rm -f conftest.er1\r
3019   cat conftest.err >&5\r
3020   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
3021   (exit $ac_status); } && {\r
3022          test -z "$ac_c_werror_flag" ||\r
3023          test ! -s conftest.err\r
3024        } && test -s conftest.$ac_objext; then\r
3025   ac_cv_prog_cc_g=yes\r
3026 else\r
3027   echo "$as_me: failed program was:" >&5\r
3028 sed 's/^/| /' conftest.$ac_ext >&5\r
3029 \r
3030 \r
3031 fi\r
3032 \r
3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
3034 fi\r
3035 \r
3036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
3037 fi\r
3038 \r
3039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
3040    ac_c_werror_flag=$ac_save_c_werror_flag\r
3041 fi\r
3042 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5\r
3043 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }\r
3044 if test "$ac_test_CFLAGS" = set; then\r
3045   CFLAGS=$ac_save_CFLAGS\r
3046 elif test $ac_cv_prog_cc_g = yes; then\r
3047   if test "$GCC" = yes; then\r
3048     CFLAGS="-g -O2"\r
3049   else\r
3050     CFLAGS="-g"\r
3051   fi\r
3052 else\r
3053   if test "$GCC" = yes; then\r
3054     CFLAGS="-O2"\r
3055   else\r
3056     CFLAGS=\r
3057   fi\r
3058 fi\r
3059 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5\r
3060 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }\r
3061 if test "${ac_cv_prog_cc_c89+set}" = set; then\r
3062   echo $ECHO_N "(cached) $ECHO_C" >&6\r
3063 else\r
3064   ac_cv_prog_cc_c89=no\r
3065 ac_save_CC=$CC\r
3066 cat >conftest.$ac_ext <<_ACEOF\r
3067 /* confdefs.h.  */\r
3068 _ACEOF\r
3069 cat confdefs.h >>conftest.$ac_ext\r
3070 cat >>conftest.$ac_ext <<_ACEOF\r
3071 /* end confdefs.h.  */\r
3072 #include <stdarg.h>\r
3073 #include <stdio.h>\r
3074 #include <sys/types.h>\r
3075 #include <sys/stat.h>\r
3076 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */\r
3077 struct buf { int x; };\r
3078 FILE * (*rcsopen) (struct buf *, struct stat *, int);\r
3079 static char *e (p, i)\r
3080      char **p;\r
3081      int i;\r
3082 {\r
3083   return p[i];\r
3084 }\r
3085 static char *f (char * (*g) (char **, int), char **p, ...)\r
3086 {\r
3087   char *s;\r
3088   va_list v;\r
3089   va_start (v,p);\r
3090   s = g (p, va_arg (v,int));\r
3091   va_end (v);\r
3092   return s;\r
3093 }\r
3094 \r
3095 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has\r
3096    function prototypes and stuff, but not '\xHH' hex character constants.\r
3097    These don't provoke an error unfortunately, instead are silently treated\r
3098    as 'x'.  The following induces an error, until -std is added to get\r
3099    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an\r
3100    array size at least.  It's necessary to write '\x00'==0 to get something\r
3101    that's true only with -std.  */\r
3102 int osf4_cc_array ['\x00' == 0 ? 1 : -1];\r
3103 \r
3104 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters\r
3105    inside strings and character constants.  */\r
3106 #define FOO(x) 'x'\r
3107 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];\r
3108 \r
3109 int test (int i, double x);\r
3110 struct s1 {int (*f) (int a);};\r
3111 struct s2 {int (*f) (double a);};\r
3112 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);\r
3113 int argc;\r
3114 char **argv;\r
3115 int\r
3116 main ()\r
3117 {\r
3118 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];\r
3119   ;\r
3120   return 0;\r
3121 }\r
3122 _ACEOF\r
3123 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \\r
3124         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"\r
3125 do\r
3126   CC="$ac_save_CC $ac_arg"\r
3127   rm -f conftest.$ac_objext\r
3128 if { (ac_try="$ac_compile"\r
3129 case "(($ac_try" in\r
3130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
3131   *) ac_try_echo=$ac_try;;\r
3132 esac\r
3133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
3134   (eval "$ac_compile") 2>conftest.er1\r
3135   ac_status=$?\r
3136   grep -v '^ *+' conftest.er1 >conftest.err\r
3137   rm -f conftest.er1\r
3138   cat conftest.err >&5\r
3139   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
3140   (exit $ac_status); } && {\r
3141          test -z "$ac_c_werror_flag" ||\r
3142          test ! -s conftest.err\r
3143        } && test -s conftest.$ac_objext; then\r
3144   ac_cv_prog_cc_c89=$ac_arg\r
3145 else\r
3146   echo "$as_me: failed program was:" >&5\r
3147 sed 's/^/| /' conftest.$ac_ext >&5\r
3148 \r
3149 \r
3150 fi\r
3151 \r
3152 rm -f core conftest.err conftest.$ac_objext\r
3153   test "x$ac_cv_prog_cc_c89" != "xno" && break\r
3154 done\r
3155 rm -f conftest.$ac_ext\r
3156 CC=$ac_save_CC\r
3157 \r
3158 fi\r
3159 # AC_CACHE_VAL\r
3160 case "x$ac_cv_prog_cc_c89" in\r
3161   x)\r
3162     { echo "$as_me:$LINENO: result: none needed" >&5\r
3163 echo "${ECHO_T}none needed" >&6; } ;;\r
3164   xno)\r
3165     { echo "$as_me:$LINENO: result: unsupported" >&5\r
3166 echo "${ECHO_T}unsupported" >&6; } ;;\r
3167   *)\r
3168     CC="$CC $ac_cv_prog_cc_c89"\r
3169     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5\r
3170 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;\r
3171 esac\r
3172 \r
3173 \r
3174 ac_ext=c\r
3175 ac_cpp='$CPP $CPPFLAGS'\r
3176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
3177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
3178 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
3179 DEPDIR="${am__leading_dot}deps"\r
3180 \r
3181 ac_config_commands="$ac_config_commands depfiles"\r
3182 \r
3183 \r
3184 am_make=${MAKE-make}\r
3185 cat > confinc << 'END'\r
3186 am__doit:\r
3187         @echo done\r
3188 .PHONY: am__doit\r
3189 END\r
3190 # If we don't find an include directive, just comment out the code.\r
3191 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5\r
3192 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }\r
3193 am__include="#"\r
3194 am__quote=\r
3195 _am_result=none\r
3196 # First try GNU make style include.\r
3197 echo "include confinc" > confmf\r
3198 # We grep out `Entering directory' and `Leaving directory'\r
3199 # messages which can occur if `w' ends up in MAKEFLAGS.\r
3200 # In particular we don't look at `^make:' because GNU make might\r
3201 # be invoked under some other name (usually "gmake"), in which\r
3202 # case it prints its new name instead of `make'.\r
3203 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then\r
3204    am__include=include\r
3205    am__quote=\r
3206    _am_result=GNU\r
3207 fi\r
3208 # Now try BSD make style include.\r
3209 if test "$am__include" = "#"; then\r
3210    echo '.include "confinc"' > confmf\r
3211    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then\r
3212       am__include=.include\r
3213       am__quote="\""\r
3214       _am_result=BSD\r
3215    fi\r
3216 fi\r
3217 \r
3218 \r
3219 { echo "$as_me:$LINENO: result: $_am_result" >&5\r
3220 echo "${ECHO_T}$_am_result" >&6; }\r
3221 rm -f confinc confmf\r
3222 \r
3223 # Check whether --enable-dependency-tracking was given.\r
3224 if test "${enable_dependency_tracking+set}" = set; then\r
3225   enableval=$enable_dependency_tracking;\r
3226 fi\r
3227 \r
3228 if test "x$enable_dependency_tracking" != xno; then\r
3229   am_depcomp="$ac_aux_dir/depcomp"\r
3230   AMDEPBACKSLASH='\'\r
3231 fi\r
3232  if test "x$enable_dependency_tracking" != xno; then\r
3233   AMDEP_TRUE=\r
3234   AMDEP_FALSE='#'\r
3235 else\r
3236   AMDEP_TRUE='#'\r
3237   AMDEP_FALSE=\r
3238 fi\r
3239 \r
3240 \r
3241 \r
3242 depcc="$CC"   am_compiler_list=\r
3243 \r
3244 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5\r
3245 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }\r
3246 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then\r
3247   echo $ECHO_N "(cached) $ECHO_C" >&6\r
3248 else\r
3249   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then\r
3250   # We make a subdir and do the tests there.  Otherwise we can end up\r
3251   # making bogus files that we don't know about and never remove.  For\r
3252   # instance it was reported that on HP-UX the gcc test will end up\r
3253   # making a dummy file named `D' -- because `-MD' means `put the output\r
3254   # in D'.\r
3255   mkdir conftest.dir\r
3256   # Copy depcomp to subdir because otherwise we won't find it if we're\r
3257   # using a relative directory.\r
3258   cp "$am_depcomp" conftest.dir\r
3259   cd conftest.dir\r
3260   # We will build objects and dependencies in a subdirectory because\r
3261   # it helps to detect inapplicable dependency modes.  For instance\r
3262   # both Tru64's cc and ICC support -MD to output dependencies as a\r
3263   # side effect of compilation, but ICC will put the dependencies in\r
3264   # the current directory while Tru64 will put them in the object\r
3265   # directory.\r
3266   mkdir sub\r
3267 \r
3268   am_cv_CC_dependencies_compiler_type=none\r
3269   if test "$am_compiler_list" = ""; then\r
3270      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`\r
3271   fi\r
3272   for depmode in $am_compiler_list; do\r
3273     # Setup a source with many dependencies, because some compilers\r
3274     # like to wrap large dependency lists on column 80 (with \), and\r
3275     # we should not choose a depcomp mode which is confused by this.\r
3276     #\r
3277     # We need to recreate these files for each test, as the compiler may\r
3278     # overwrite some of them when testing with obscure command lines.\r
3279     # This happens at least with the AIX C compiler.\r
3280     : > sub/conftest.c\r
3281     for i in 1 2 3 4 5 6; do\r
3282       echo '#include "conftst'$i'.h"' >> sub/conftest.c\r
3283       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with\r
3284       # Solaris 8's {/usr,}/bin/sh.\r
3285       touch sub/conftst$i.h\r
3286     done\r
3287     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf\r
3288 \r
3289     case $depmode in\r
3290     nosideeffect)\r
3291       # after this tag, mechanisms are not by side-effect, so they'll\r
3292       # only be used when explicitly requested\r
3293       if test "x$enable_dependency_tracking" = xyes; then\r
3294         continue\r
3295       else\r
3296         break\r
3297       fi\r
3298       ;;\r
3299     none) break ;;\r
3300     esac\r
3301     # We check with `-c' and `-o' for the sake of the "dashmstdout"\r
3302     # mode.  It turns out that the SunPro C++ compiler does not properly\r
3303     # handle `-M -o', and we need to detect this.\r
3304     if depmode=$depmode \\r
3305        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \\r
3306        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \\r
3307        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \\r
3308          >/dev/null 2>conftest.err &&\r
3309        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&\r
3310        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&\r
3311        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&\r
3312        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then\r
3313       # icc doesn't choke on unknown options, it will just issue warnings\r
3314       # or remarks (even with -Werror).  So we grep stderr for any message\r
3315       # that says an option was ignored or not supported.\r
3316       # When given -MP, icc 7.0 and 7.1 complain thusly:\r
3317       #   icc: Command line warning: ignoring option '-M'; no argument required\r
3318       # The diagnosis changed in icc 8.0:\r
3319       #   icc: Command line remark: option '-MP' not supported\r
3320       if (grep 'ignoring option' conftest.err ||\r
3321           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else\r
3322         am_cv_CC_dependencies_compiler_type=$depmode\r
3323         break\r
3324       fi\r
3325     fi\r
3326   done\r
3327 \r
3328   cd ..\r
3329   rm -rf conftest.dir\r
3330 else\r
3331   am_cv_CC_dependencies_compiler_type=none\r
3332 fi\r
3333 \r
3334 fi\r
3335 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5\r
3336 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }\r
3337 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type\r
3338 \r
3339  if\r
3340   test "x$enable_dependency_tracking" != xno \\r
3341   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then\r
3342   am__fastdepCC_TRUE=\r
3343   am__fastdepCC_FALSE='#'\r
3344 else\r
3345   am__fastdepCC_TRUE='#'\r
3346   am__fastdepCC_FALSE=\r
3347 fi\r
3348 \r
3349 \r
3350 ac_config_headers="$ac_config_headers config.h"\r
3351 \r
3352 ac_config_files="$ac_config_files Makefile"\r
3353 \r
3354 cat >confcache <<\_ACEOF\r
3355 # This file is a shell script that caches the results of configure\r
3356 # tests run on this system so they can be shared between configure\r
3357 # scripts and configure runs, see configure's option --config-cache.\r
3358 # It is not useful on other systems.  If it contains results you don't\r
3359 # want to keep, you may remove or edit it.\r
3360 #\r
3361 # config.status only pays attention to the cache file if you give it\r
3362 # the --recheck option to rerun configure.\r
3363 #\r
3364 # `ac_cv_env_foo' variables (set or unset) will be overridden when\r
3365 # loading this file, other *unset* `ac_cv_foo' will be assigned the\r
3366 # following values.\r
3367 \r
3368 _ACEOF\r
3369 \r
3370 # The following way of writing the cache mishandles newlines in values,\r
3371 # but we know of no workaround that is simple, portable, and efficient.\r
3372 # So, we kill variables containing newlines.\r
3373 # Ultrix sh set writes to stderr and can't be redirected directly,\r
3374 # and sets the high bit in the cache file unless we assign to the vars.\r
3375 (\r
3376   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do\r
3377     eval ac_val=\$$ac_var\r
3378     case $ac_val in #(\r
3379     *${as_nl}*)\r
3380       case $ac_var in #(\r
3381       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5\r
3382 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;\r
3383       esac\r
3384       case $ac_var in #(\r
3385       _ | IFS | as_nl) ;; #(\r
3386       *) $as_unset $ac_var ;;\r
3387       esac ;;\r
3388     esac\r
3389   done\r
3390 \r
3391   (set) 2>&1 |\r
3392     case $as_nl`(ac_space=' '; set) 2>&1` in #(\r
3393     *${as_nl}ac_space=\ *)\r
3394       # `set' does not quote correctly, so add quotes (double-quote\r
3395       # substitution turns \\\\ into \\, and sed turns \\ into \).\r
3396       sed -n \\r
3397         "s/'/'\\\\''/g;\r
3398           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"\r
3399       ;; #(\r
3400     *)\r
3401       # `set' quotes correctly as required by POSIX, so do not add quotes.\r
3402       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"\r
3403       ;;\r
3404     esac |\r
3405     sort\r
3406 ) |\r
3407   sed '\r
3408      /^ac_cv_env_/b end\r
3409      t clear\r
3410      :clear\r
3411      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/\r
3412      t end\r
3413      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/\r
3414      :end' >>confcache\r
3415 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else\r
3416   if test -w "$cache_file"; then\r
3417     test "x$cache_file" != "x/dev/null" &&\r
3418       { echo "$as_me:$LINENO: updating cache $cache_file" >&5\r
3419 echo "$as_me: updating cache $cache_file" >&6;}\r
3420     cat confcache >$cache_file\r
3421   else\r
3422     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5\r
3423 echo "$as_me: not updating unwritable cache $cache_file" >&6;}\r
3424   fi\r
3425 fi\r
3426 rm -f confcache\r
3427 \r
3428 test "x$prefix" = xNONE && prefix=$ac_default_prefix\r
3429 # Let make expand exec_prefix.\r
3430 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'\r
3431 \r
3432 DEFS=-DHAVE_CONFIG_H\r
3433 \r
3434 ac_libobjs=\r
3435 ac_ltlibobjs=\r
3436 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue\r
3437   # 1. Remove the extension, and $U if already installed.\r
3438   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'\r
3439   ac_i=`echo "$ac_i" | sed "$ac_script"`\r
3440   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR\r
3441   #    will be set to the directory where LIBOBJS objects are built.\r
3442   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"\r
3443   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'\r
3444 done\r
3445 LIBOBJS=$ac_libobjs\r
3446 \r
3447 LTLIBOBJS=$ac_ltlibobjs\r
3448 \r
3449 \r
3450 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then\r
3451   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.\r
3452 Usually this means the macro was only invoked conditionally." >&5\r
3453 echo "$as_me: error: conditional \"AMDEP\" was never defined.\r
3454 Usually this means the macro was only invoked conditionally." >&2;}\r
3455    { (exit 1); exit 1; }; }\r
3456 fi\r
3457 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then\r
3458   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.\r
3459 Usually this means the macro was only invoked conditionally." >&5\r
3460 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.\r
3461 Usually this means the macro was only invoked conditionally." >&2;}\r
3462    { (exit 1); exit 1; }; }\r
3463 fi\r
3464 \r
3465 : ${CONFIG_STATUS=./config.status}\r
3466 ac_clean_files_save=$ac_clean_files\r
3467 ac_clean_files="$ac_clean_files $CONFIG_STATUS"\r
3468 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5\r
3469 echo "$as_me: creating $CONFIG_STATUS" >&6;}\r
3470 cat >$CONFIG_STATUS <<_ACEOF\r
3471 #! $SHELL\r
3472 # Generated by $as_me.\r
3473 # Run this file to recreate the current configuration.\r
3474 # Compiler output produced by configure, useful for debugging\r
3475 # configure, is in config.log if it exists.\r
3476 \r
3477 debug=false\r
3478 ac_cs_recheck=false\r
3479 ac_cs_silent=false\r
3480 SHELL=\${CONFIG_SHELL-$SHELL}\r
3481 _ACEOF\r
3482 \r
3483 cat >>$CONFIG_STATUS <<\_ACEOF\r
3484 ## --------------------- ##\r
3485 ## M4sh Initialization.  ##\r
3486 ## --------------------- ##\r
3487 \r
3488 # Be more Bourne compatible\r
3489 DUALCASE=1; export DUALCASE # for MKS sh\r
3490 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then\r
3491   emulate sh\r
3492   NULLCMD=:\r
3493   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which\r
3494   # is contrary to our usage.  Disable this feature.\r
3495   alias -g '${1+"$@"}'='"$@"'\r
3496   setopt NO_GLOB_SUBST\r
3497 else\r
3498   case `(set -o) 2>/dev/null` in\r
3499   *posix*) set -o posix ;;\r
3500 esac\r
3501 \r
3502 fi\r
3503 \r
3504 \r
3505 \r
3506 \r
3507 # PATH needs CR\r
3508 # Avoid depending upon Character Ranges.\r
3509 as_cr_letters='abcdefghijklmnopqrstuvwxyz'\r
3510 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'\r
3511 as_cr_Letters=$as_cr_letters$as_cr_LETTERS\r
3512 as_cr_digits='0123456789'\r
3513 as_cr_alnum=$as_cr_Letters$as_cr_digits\r
3514 \r
3515 # The user is always right.\r
3516 if test "${PATH_SEPARATOR+set}" != set; then\r
3517   echo "#! /bin/sh" >conf$$.sh\r
3518   echo  "exit 0"   >>conf$$.sh\r
3519   chmod +x conf$$.sh\r
3520   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then\r
3521     PATH_SEPARATOR=';'\r
3522   else\r
3523     PATH_SEPARATOR=:\r
3524   fi\r
3525   rm -f conf$$.sh\r
3526 fi\r
3527 \r
3528 # Support unset when possible.\r
3529 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then\r
3530   as_unset=unset\r
3531 else\r
3532   as_unset=false\r
3533 fi\r
3534 \r
3535 \r
3536 # IFS\r
3537 # We need space, tab and new line, in precisely that order.  Quoting is\r
3538 # there to prevent editors from complaining about space-tab.\r
3539 # (If _AS_PATH_WALK were called with IFS unset, it would disable word\r
3540 # splitting by setting IFS to empty value.)\r
3541 as_nl='\r
3542 '\r
3543 IFS=" ""        $as_nl"\r
3544 \r
3545 # Find who we are.  Look in the path if we contain no directory separator.\r
3546 case $0 in\r
3547   *[\\/]* ) as_myself=$0 ;;\r
3548   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
3549 for as_dir in $PATH\r
3550 do\r
3551   IFS=$as_save_IFS\r
3552   test -z "$as_dir" && as_dir=.\r
3553   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break\r
3554 done\r
3555 IFS=$as_save_IFS\r
3556 \r
3557      ;;\r
3558 esac\r
3559 # We did not find ourselves, most probably we were run as `sh COMMAND'\r
3560 # in which case we are not to be found in the path.\r
3561 if test "x$as_myself" = x; then\r
3562   as_myself=$0\r
3563 fi\r
3564 if test ! -f "$as_myself"; then\r
3565   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2\r
3566   { (exit 1); exit 1; }\r
3567 fi\r
3568 \r
3569 # Work around bugs in pre-3.0 UWIN ksh.\r
3570 for as_var in ENV MAIL MAILPATH\r
3571 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var\r
3572 done\r
3573 PS1='$ '\r
3574 PS2='> '\r
3575 PS4='+ '\r
3576 \r
3577 # NLS nuisances.\r
3578 for as_var in \\r
3579   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \\r
3580   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \\r
3581   LC_TELEPHONE LC_TIME\r
3582 do\r
3583   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then\r
3584     eval $as_var=C; export $as_var\r
3585   else\r
3586     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var\r
3587   fi\r
3588 done\r
3589 \r
3590 # Required to use basename.\r
3591 if expr a : '\(a\)' >/dev/null 2>&1 &&\r
3592    test "X`expr 00001 : '.*\(...\)'`" = X001; then\r
3593   as_expr=expr\r
3594 else\r
3595   as_expr=false\r
3596 fi\r
3597 \r
3598 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then\r
3599   as_basename=basename\r
3600 else\r
3601   as_basename=false\r
3602 fi\r
3603 \r
3604 \r
3605 # Name of the executable.\r
3606 as_me=`$as_basename -- "$0" ||\r
3607 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \\r
3608          X"$0" : 'X\(//\)$' \| \\r
3609          X"$0" : 'X\(/\)' \| . 2>/dev/null ||\r
3610 echo X/"$0" |\r
3611     sed '/^.*\/\([^/][^/]*\)\/*$/{\r
3612             s//\1/\r
3613             q\r
3614           }\r
3615           /^X\/\(\/\/\)$/{\r
3616             s//\1/\r
3617             q\r
3618           }\r
3619           /^X\/\(\/\).*/{\r
3620             s//\1/\r
3621             q\r
3622           }\r
3623           s/.*/./; q'`\r
3624 \r
3625 # CDPATH.\r
3626 $as_unset CDPATH\r
3627 \r
3628 \r
3629 \r
3630   as_lineno_1=$LINENO\r
3631   as_lineno_2=$LINENO\r
3632   test "x$as_lineno_1" != "x$as_lineno_2" &&\r
3633   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {\r
3634 \r
3635   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO\r
3636   # uniformly replaced by the line number.  The first 'sed' inserts a\r
3637   # line-number line after each line using $LINENO; the second 'sed'\r
3638   # does the real work.  The second script uses 'N' to pair each\r
3639   # line-number line with the line containing $LINENO, and appends\r
3640   # trailing '-' during substitution so that $LINENO is not a special\r
3641   # case at line end.\r
3642   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the\r
3643   # scripts with optimization help from Paolo Bonzini.  Blame Lee\r
3644   # E. McMahon (1931-1989) for sed's syntax.  :-)\r
3645   sed -n '\r
3646     p\r
3647     /[$]LINENO/=\r
3648   ' <$as_myself |\r
3649     sed '\r
3650       s/[$]LINENO.*/&-/\r
3651       t lineno\r
3652       b\r
3653       :lineno\r
3654       N\r
3655       :loop\r
3656       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/\r
3657       t loop\r
3658       s/-\n.*//\r
3659     ' >$as_me.lineno &&\r
3660   chmod +x "$as_me.lineno" ||\r
3661     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2\r
3662    { (exit 1); exit 1; }; }\r
3663 \r
3664   # Don't try to exec as it changes $[0], causing all sort of problems\r
3665   # (the dirname of $[0] is not the place where we might find the\r
3666   # original and so on.  Autoconf is especially sensitive to this).\r
3667   . "./$as_me.lineno"\r
3668   # Exit status is that of the last command.\r
3669   exit\r
3670 }\r
3671 \r
3672 \r
3673 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then\r
3674   as_dirname=dirname\r
3675 else\r
3676   as_dirname=false\r
3677 fi\r
3678 \r
3679 ECHO_C= ECHO_N= ECHO_T=\r
3680 case `echo -n x` in\r
3681 -n*)\r
3682   case `echo 'x\c'` in\r
3683   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.\r
3684   *)   ECHO_C='\c';;\r
3685   esac;;\r
3686 *)\r
3687   ECHO_N='-n';;\r
3688 esac\r
3689 \r
3690 if expr a : '\(a\)' >/dev/null 2>&1 &&\r
3691    test "X`expr 00001 : '.*\(...\)'`" = X001; then\r
3692   as_expr=expr\r
3693 else\r
3694   as_expr=false\r
3695 fi\r
3696 \r
3697 rm -f conf$$ conf$$.exe conf$$.file\r
3698 if test -d conf$$.dir; then\r
3699   rm -f conf$$.dir/conf$$.file\r
3700 else\r
3701   rm -f conf$$.dir\r
3702   mkdir conf$$.dir\r
3703 fi\r
3704 echo >conf$$.file\r
3705 if ln -s conf$$.file conf$$ 2>/dev/null; then\r
3706   as_ln_s='ln -s'\r
3707   # ... but there are two gotchas:\r
3708   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.\r
3709   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.\r
3710   # In both cases, we have to default to `cp -p'.\r
3711   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||\r
3712     as_ln_s='cp -p'\r
3713 elif ln conf$$.file conf$$ 2>/dev/null; then\r
3714   as_ln_s=ln\r
3715 else\r
3716   as_ln_s='cp -p'\r
3717 fi\r
3718 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file\r
3719 rmdir conf$$.dir 2>/dev/null\r
3720 \r
3721 if mkdir -p . 2>/dev/null; then\r
3722   as_mkdir_p=:\r
3723 else\r
3724   test -d ./-p && rmdir ./-p\r
3725   as_mkdir_p=false\r
3726 fi\r
3727 \r
3728 if test -x / >/dev/null 2>&1; then\r
3729   as_test_x='test -x'\r
3730 else\r
3731   if ls -dL / >/dev/null 2>&1; then\r
3732     as_ls_L_option=L\r
3733   else\r
3734     as_ls_L_option=\r
3735   fi\r
3736   as_test_x='\r
3737     eval sh -c '\''\r
3738       if test -d "$1"; then\r
3739         test -d "$1/.";\r
3740       else\r
3741         case $1 in\r
3742         -*)set "./$1";;\r
3743         esac;\r
3744         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in\r
3745         ???[sx]*):;;*)false;;esac;fi\r
3746     '\'' sh\r
3747   '\r
3748 fi\r
3749 as_executable_p=$as_test_x\r
3750 \r
3751 # Sed expression to map a string onto a valid CPP name.\r
3752 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"\r
3753 \r
3754 # Sed expression to map a string onto a valid variable name.\r
3755 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"\r
3756 \r
3757 \r
3758 exec 6>&1\r
3759 \r
3760 # Save the log message, to keep $[0] and so on meaningful, and to\r
3761 # report actual input values of CONFIG_FILES etc. instead of their\r
3762 # values after options handling.\r
3763 ac_log="\r
3764 This file was extended by xboard $as_me 4.3, which was\r
3765 generated by GNU Autoconf 2.61.  Invocation command line was\r
3766 \r
3767   CONFIG_FILES    = $CONFIG_FILES\r
3768   CONFIG_HEADERS  = $CONFIG_HEADERS\r
3769   CONFIG_LINKS    = $CONFIG_LINKS\r
3770   CONFIG_COMMANDS = $CONFIG_COMMANDS\r
3771   $ $0 $@\r
3772 \r
3773 on `(hostname || uname -n) 2>/dev/null | sed 1q`\r
3774 "\r
3775 \r
3776 _ACEOF\r
3777 \r
3778 cat >>$CONFIG_STATUS <<_ACEOF\r
3779 # Files that config.status was made for.\r
3780 config_files="$ac_config_files"\r
3781 config_headers="$ac_config_headers"\r
3782 config_commands="$ac_config_commands"\r
3783 \r
3784 _ACEOF\r
3785 \r
3786 cat >>$CONFIG_STATUS <<\_ACEOF\r
3787 ac_cs_usage="\\r
3788 \`$as_me' instantiates files from templates according to the\r
3789 current configuration.\r
3790 \r
3791 Usage: $0 [OPTIONS] [FILE]...\r
3792 \r
3793   -h, --help       print this help, then exit\r
3794   -V, --version    print version number and configuration settings, then exit\r
3795   -q, --quiet      do not print progress messages\r
3796   -d, --debug      don't remove temporary files\r
3797       --recheck    update $as_me by reconfiguring in the same conditions\r
3798   --file=FILE[:TEMPLATE]\r
3799                    instantiate the configuration file FILE\r
3800   --header=FILE[:TEMPLATE]\r
3801                    instantiate the configuration header FILE\r
3802 \r
3803 Configuration files:\r
3804 $config_files\r
3805 \r
3806 Configuration headers:\r
3807 $config_headers\r
3808 \r
3809 Configuration commands:\r
3810 $config_commands\r
3811 \r
3812 Report bugs to <bug-autoconf@gnu.org>."\r
3813 \r
3814 _ACEOF\r
3815 cat >>$CONFIG_STATUS <<_ACEOF\r
3816 ac_cs_version="\\\r
3817 xboard config.status 4.3\r
3818 configured by $0, generated by GNU Autoconf 2.61,\r
3819   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"\r
3820 \r
3821 Copyright (C) 2006 Free Software Foundation, Inc.\r
3822 This config.status script is free software; the Free Software Foundation\r
3823 gives unlimited permission to copy, distribute and modify it."\r
3824 \r
3825 ac_pwd='$ac_pwd'\r
3826 srcdir='$srcdir'\r
3827 INSTALL='$INSTALL'\r
3828 MKDIR_P='$MKDIR_P'\r
3829 _ACEOF\r
3830 \r
3831 cat >>$CONFIG_STATUS <<\_ACEOF\r
3832 # If no file are specified by the user, then we need to provide default\r
3833 # value.  By we need to know if files were specified by the user.\r
3834 ac_need_defaults=:\r
3835 while test $# != 0\r
3836 do\r
3837   case $1 in\r
3838   --*=*)\r
3839     ac_option=`expr "X$1" : 'X\([^=]*\)='`\r
3840     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`\r
3841     ac_shift=:\r
3842     ;;\r
3843   *)\r
3844     ac_option=$1\r
3845     ac_optarg=$2\r
3846     ac_shift=shift\r
3847     ;;\r
3848   esac\r
3849 \r
3850   case $ac_option in\r
3851   # Handling of the options.\r
3852   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)\r
3853     ac_cs_recheck=: ;;\r
3854   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )\r
3855     echo "$ac_cs_version"; exit ;;\r
3856   --debug | --debu | --deb | --de | --d | -d )\r
3857     debug=: ;;\r
3858   --file | --fil | --fi | --f )\r
3859     $ac_shift\r
3860     CONFIG_FILES="$CONFIG_FILES $ac_optarg"\r
3861     ac_need_defaults=false;;\r
3862   --header | --heade | --head | --hea )\r
3863     $ac_shift\r
3864     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"\r
3865     ac_need_defaults=false;;\r
3866   --he | --h)\r
3867     # Conflict between --help and --header\r
3868     { echo "$as_me: error: ambiguous option: $1\r
3869 Try \`$0 --help' for more information." >&2\r
3870    { (exit 1); exit 1; }; };;\r
3871   --help | --hel | -h )\r
3872     echo "$ac_cs_usage"; exit ;;\r
3873   -q | -quiet | --quiet | --quie | --qui | --qu | --q \\r
3874   | -silent | --silent | --silen | --sile | --sil | --si | --s)\r
3875     ac_cs_silent=: ;;\r
3876 \r
3877   # This is an error.\r
3878   -*) { echo "$as_me: error: unrecognized option: $1\r
3879 Try \`$0 --help' for more information." >&2\r
3880    { (exit 1); exit 1; }; } ;;\r
3881 \r
3882   *) ac_config_targets="$ac_config_targets $1"\r
3883      ac_need_defaults=false ;;\r
3884 \r
3885   esac\r
3886   shift\r
3887 done\r
3888 \r
3889 ac_configure_extra_args=\r
3890 \r
3891 if $ac_cs_silent; then\r
3892   exec 6>/dev/null\r
3893   ac_configure_extra_args="$ac_configure_extra_args --silent"\r
3894 fi\r
3895 \r
3896 _ACEOF\r
3897 cat >>$CONFIG_STATUS <<_ACEOF\r
3898 if \$ac_cs_recheck; then\r
3899   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6\r
3900   CONFIG_SHELL=$SHELL\r
3901   export CONFIG_SHELL\r
3902   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion\r
3903 fi\r
3904 \r
3905 _ACEOF\r
3906 cat >>$CONFIG_STATUS <<\_ACEOF\r
3907 exec 5>>config.log\r
3908 {\r
3909   echo\r
3910   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX\r
3911 ## Running $as_me. ##\r
3912 _ASBOX\r
3913   echo "$ac_log"\r
3914 } >&5\r
3915 \r
3916 _ACEOF\r
3917 cat >>$CONFIG_STATUS <<_ACEOF\r
3918 #\r
3919 # INIT-COMMANDS\r
3920 #\r
3921 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"\r
3922 \r
3923 _ACEOF\r
3924 \r
3925 cat >>$CONFIG_STATUS <<\_ACEOF\r
3926 \r
3927 # Handling of arguments.\r
3928 for ac_config_target in $ac_config_targets\r
3929 do\r
3930   case $ac_config_target in\r
3931     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;\r
3932     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;\r
3933     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;\r
3934 \r
3935   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5\r
3936 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}\r
3937    { (exit 1); exit 1; }; };;\r
3938   esac\r
3939 done\r
3940 \r
3941 \r
3942 # If the user did not use the arguments to specify the items to instantiate,\r
3943 # then the envvar interface is used.  Set only those that are not.\r
3944 # We use the long form for the default assignment because of an extremely\r
3945 # bizarre bug on SunOS 4.1.3.\r
3946 if $ac_need_defaults; then\r
3947   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files\r
3948   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers\r
3949   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands\r
3950 fi\r
3951 \r
3952 # Have a temporary directory for convenience.  Make it in the build tree\r
3953 # simply because there is no reason against having it here, and in addition,\r
3954 # creating and moving files from /tmp can sometimes cause problems.\r
3955 # Hook for its removal unless debugging.\r
3956 # Note that there is a small window in which the directory will not be cleaned:\r
3957 # after its creation but before its name has been assigned to `$tmp'.\r
3958 $debug ||\r
3959 {\r
3960   tmp=\r
3961   trap 'exit_status=$?\r
3962   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status\r
3963 ' 0\r
3964   trap '{ (exit 1); exit 1; }' 1 2 13 15\r
3965 }\r
3966 # Create a (secure) tmp directory for tmp files.\r
3967 \r
3968 {\r
3969   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&\r
3970   test -n "$tmp" && test -d "$tmp"\r
3971 }  ||\r
3972 {\r
3973   tmp=./conf$$-$RANDOM\r
3974   (umask 077 && mkdir "$tmp")\r
3975 } ||\r
3976 {\r
3977    echo "$me: cannot create a temporary directory in ." >&2\r
3978    { (exit 1); exit 1; }\r
3979 }\r
3980 \r
3981 #\r
3982 # Set up the sed scripts for CONFIG_FILES section.\r
3983 #\r
3984 \r
3985 # No need to generate the scripts if there are no CONFIG_FILES.\r
3986 # This happens for instance when ./config.status config.h\r
3987 if test -n "$CONFIG_FILES"; then\r
3988 \r
3989 _ACEOF\r
3990 \r
3991 \r
3992 \r
3993 ac_delim='%!_!# '\r
3994 for ac_last_try in false false false false false :; do\r
3995   cat >conf$$subs.sed <<_ACEOF\r
3996 SHELL!$SHELL$ac_delim\r
3997 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim\r
3998 PACKAGE_NAME!$PACKAGE_NAME$ac_delim\r
3999 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim\r
4000 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim\r
4001 PACKAGE_STRING!$PACKAGE_STRING$ac_delim\r
4002 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim\r
4003 exec_prefix!$exec_prefix$ac_delim\r
4004 prefix!$prefix$ac_delim\r
4005 program_transform_name!$program_transform_name$ac_delim\r
4006 bindir!$bindir$ac_delim\r
4007 sbindir!$sbindir$ac_delim\r
4008 libexecdir!$libexecdir$ac_delim\r
4009 datarootdir!$datarootdir$ac_delim\r
4010 datadir!$datadir$ac_delim\r
4011 sysconfdir!$sysconfdir$ac_delim\r
4012 sharedstatedir!$sharedstatedir$ac_delim\r
4013 localstatedir!$localstatedir$ac_delim\r
4014 includedir!$includedir$ac_delim\r
4015 oldincludedir!$oldincludedir$ac_delim\r
4016 docdir!$docdir$ac_delim\r
4017 infodir!$infodir$ac_delim\r
4018 htmldir!$htmldir$ac_delim\r
4019 dvidir!$dvidir$ac_delim\r
4020 pdfdir!$pdfdir$ac_delim\r
4021 psdir!$psdir$ac_delim\r
4022 libdir!$libdir$ac_delim\r
4023 localedir!$localedir$ac_delim\r
4024 mandir!$mandir$ac_delim\r
4025 DEFS!$DEFS$ac_delim\r
4026 ECHO_C!$ECHO_C$ac_delim\r
4027 ECHO_N!$ECHO_N$ac_delim\r
4028 ECHO_T!$ECHO_T$ac_delim\r
4029 LIBS!$LIBS$ac_delim\r
4030 build_alias!$build_alias$ac_delim\r
4031 host_alias!$host_alias$ac_delim\r
4032 target_alias!$target_alias$ac_delim\r
4033 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim\r
4034 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim\r
4035 INSTALL_DATA!$INSTALL_DATA$ac_delim\r
4036 am__isrc!$am__isrc$ac_delim\r
4037 CYGPATH_W!$CYGPATH_W$ac_delim\r
4038 PACKAGE!$PACKAGE$ac_delim\r
4039 VERSION!$VERSION$ac_delim\r
4040 ACLOCAL!$ACLOCAL$ac_delim\r
4041 AUTOCONF!$AUTOCONF$ac_delim\r
4042 AUTOMAKE!$AUTOMAKE$ac_delim\r
4043 AUTOHEADER!$AUTOHEADER$ac_delim\r
4044 MAKEINFO!$MAKEINFO$ac_delim\r
4045 install_sh!$install_sh$ac_delim\r
4046 STRIP!$STRIP$ac_delim\r
4047 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim\r
4048 mkdir_p!$mkdir_p$ac_delim\r
4049 AWK!$AWK$ac_delim\r
4050 SET_MAKE!$SET_MAKE$ac_delim\r
4051 am__leading_dot!$am__leading_dot$ac_delim\r
4052 AMTAR!$AMTAR$ac_delim\r
4053 am__tar!$am__tar$ac_delim\r
4054 am__untar!$am__untar$ac_delim\r
4055 CC!$CC$ac_delim\r
4056 CFLAGS!$CFLAGS$ac_delim\r
4057 LDFLAGS!$LDFLAGS$ac_delim\r
4058 CPPFLAGS!$CPPFLAGS$ac_delim\r
4059 ac_ct_CC!$ac_ct_CC$ac_delim\r
4060 EXEEXT!$EXEEXT$ac_delim\r
4061 OBJEXT!$OBJEXT$ac_delim\r
4062 DEPDIR!$DEPDIR$ac_delim\r
4063 am__include!$am__include$ac_delim\r
4064 am__quote!$am__quote$ac_delim\r
4065 AMDEP_TRUE!$AMDEP_TRUE$ac_delim\r
4066 AMDEP_FALSE!$AMDEP_FALSE$ac_delim\r
4067 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim\r
4068 CCDEPMODE!$CCDEPMODE$ac_delim\r
4069 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim\r
4070 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim\r
4071 LIBOBJS!$LIBOBJS$ac_delim\r
4072 LTLIBOBJS!$LTLIBOBJS$ac_delim\r
4073 _ACEOF\r
4074 \r
4075   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then\r
4076     break\r
4077   elif $ac_last_try; then\r
4078     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5\r
4079 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}\r
4080    { (exit 1); exit 1; }; }\r
4081   else\r
4082     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "\r
4083   fi\r
4084 done\r
4085 \r
4086 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`\r
4087 if test -n "$ac_eof"; then\r
4088   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`\r
4089   ac_eof=`expr $ac_eof + 1`\r
4090 fi\r
4091 \r
4092 cat >>$CONFIG_STATUS <<_ACEOF\r
4093 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof\r
4094 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end\r
4095 _ACEOF\r
4096 sed '\r
4097 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g\r
4098 s/^/s,@/; s/!/@,|#_!!_#|/\r
4099 :n\r
4100 t n\r
4101 s/'"$ac_delim"'$/,g/; t\r
4102 s/$/\\/; p\r
4103 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n\r
4104 ' >>$CONFIG_STATUS <conf$$subs.sed\r
4105 rm -f conf$$subs.sed\r
4106 cat >>$CONFIG_STATUS <<_ACEOF\r
4107 :end\r
4108 s/|#_!!_#|//g\r
4109 CEOF$ac_eof\r
4110 _ACEOF\r
4111 \r
4112 \r
4113 # VPATH may cause trouble with some makes, so we remove $(srcdir),\r
4114 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and\r
4115 # trailing colons and then remove the whole line if VPATH becomes empty\r
4116 # (actually we leave an empty line to preserve line numbers).\r
4117 if test "x$srcdir" = x.; then\r
4118   ac_vpsub='/^[  ]*VPATH[        ]*=/{\r
4119 s/:*\$(srcdir):*/:/\r
4120 s/:*\${srcdir}:*/:/\r
4121 s/:*@srcdir@:*/:/\r
4122 s/^\([^=]*=[     ]*\):*/\1/\r
4123 s/:*$//\r
4124 s/^[^=]*=[       ]*$//\r
4125 }'\r
4126 fi\r
4127 \r
4128 cat >>$CONFIG_STATUS <<\_ACEOF\r
4129 fi # test -n "$CONFIG_FILES"\r
4130 \r
4131 \r
4132 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS\r
4133 do\r
4134   case $ac_tag in\r
4135   :[FHLC]) ac_mode=$ac_tag; continue;;\r
4136   esac\r
4137   case $ac_mode$ac_tag in\r
4138   :[FHL]*:*);;\r
4139   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5\r
4140 echo "$as_me: error: Invalid tag $ac_tag." >&2;}\r
4141    { (exit 1); exit 1; }; };;\r
4142   :[FH]-) ac_tag=-:-;;\r
4143   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;\r
4144   esac\r
4145   ac_save_IFS=$IFS\r
4146   IFS=:\r
4147   set x $ac_tag\r
4148   IFS=$ac_save_IFS\r
4149   shift\r
4150   ac_file=$1\r
4151   shift\r
4152 \r
4153   case $ac_mode in\r
4154   :L) ac_source=$1;;\r
4155   :[FH])\r
4156     ac_file_inputs=\r
4157     for ac_f\r
4158     do\r
4159       case $ac_f in\r
4160       -) ac_f="$tmp/stdin";;\r
4161       *) # Look for the file first in the build tree, then in the source tree\r
4162          # (if the path is not absolute).  The absolute path cannot be DOS-style,\r
4163          # because $ac_f cannot contain `:'.\r
4164          test -f "$ac_f" ||\r
4165            case $ac_f in\r
4166            [\\/$]*) false;;\r
4167            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;\r
4168            esac ||\r
4169            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5\r
4170 echo "$as_me: error: cannot find input file: $ac_f" >&2;}\r
4171    { (exit 1); exit 1; }; };;\r
4172       esac\r
4173       ac_file_inputs="$ac_file_inputs $ac_f"\r
4174     done\r
4175 \r
4176     # Let's still pretend it is `configure' which instantiates (i.e., don't\r
4177     # use $as_me), people would be surprised to read:\r
4178     #    /* config.h.  Generated by config.status.  */\r
4179     configure_input="Generated from "`IFS=:\r
4180           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."\r
4181     if test x"$ac_file" != x-; then\r
4182       configure_input="$ac_file.  $configure_input"\r
4183       { echo "$as_me:$LINENO: creating $ac_file" >&5\r
4184 echo "$as_me: creating $ac_file" >&6;}\r
4185     fi\r
4186 \r
4187     case $ac_tag in\r
4188     *:-:* | *:-) cat >"$tmp/stdin";;\r
4189     esac\r
4190     ;;\r
4191   esac\r
4192 \r
4193   ac_dir=`$as_dirname -- "$ac_file" ||\r
4194 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
4195          X"$ac_file" : 'X\(//\)[^/]' \| \\r
4196          X"$ac_file" : 'X\(//\)$' \| \\r
4197          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||\r
4198 echo X"$ac_file" |\r
4199     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
4200             s//\1/\r
4201             q\r
4202           }\r
4203           /^X\(\/\/\)[^/].*/{\r
4204             s//\1/\r
4205             q\r
4206           }\r
4207           /^X\(\/\/\)$/{\r
4208             s//\1/\r
4209             q\r
4210           }\r
4211           /^X\(\/\).*/{\r
4212             s//\1/\r
4213             q\r
4214           }\r
4215           s/.*/./; q'`\r
4216   { as_dir="$ac_dir"\r
4217   case $as_dir in #(\r
4218   -*) as_dir=./$as_dir;;\r
4219   esac\r
4220   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {\r
4221     as_dirs=\r
4222     while :; do\r
4223       case $as_dir in #(\r
4224       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(\r
4225       *) as_qdir=$as_dir;;\r
4226       esac\r
4227       as_dirs="'$as_qdir' $as_dirs"\r
4228       as_dir=`$as_dirname -- "$as_dir" ||\r
4229 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
4230          X"$as_dir" : 'X\(//\)[^/]' \| \\r
4231          X"$as_dir" : 'X\(//\)$' \| \\r
4232          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||\r
4233 echo X"$as_dir" |\r
4234     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
4235             s//\1/\r
4236             q\r
4237           }\r
4238           /^X\(\/\/\)[^/].*/{\r
4239             s//\1/\r
4240             q\r
4241           }\r
4242           /^X\(\/\/\)$/{\r
4243             s//\1/\r
4244             q\r
4245           }\r
4246           /^X\(\/\).*/{\r
4247             s//\1/\r
4248             q\r
4249           }\r
4250           s/.*/./; q'`\r
4251       test -d "$as_dir" && break\r
4252     done\r
4253     test -z "$as_dirs" || eval "mkdir $as_dirs"\r
4254   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5\r
4255 echo "$as_me: error: cannot create directory $as_dir" >&2;}\r
4256    { (exit 1); exit 1; }; }; }\r
4257   ac_builddir=.\r
4258 \r
4259 case "$ac_dir" in\r
4260 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;\r
4261 *)\r
4262   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`\r
4263   # A ".." for each directory in $ac_dir_suffix.\r
4264   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`\r
4265   case $ac_top_builddir_sub in\r
4266   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;\r
4267   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;\r
4268   esac ;;\r
4269 esac\r
4270 ac_abs_top_builddir=$ac_pwd\r
4271 ac_abs_builddir=$ac_pwd$ac_dir_suffix\r
4272 # for backward compatibility:\r
4273 ac_top_builddir=$ac_top_build_prefix\r
4274 \r
4275 case $srcdir in\r
4276   .)  # We are building in place.\r
4277     ac_srcdir=.\r
4278     ac_top_srcdir=$ac_top_builddir_sub\r
4279     ac_abs_top_srcdir=$ac_pwd ;;\r
4280   [\\/]* | ?:[\\/]* )  # Absolute name.\r
4281     ac_srcdir=$srcdir$ac_dir_suffix;\r
4282     ac_top_srcdir=$srcdir\r
4283     ac_abs_top_srcdir=$srcdir ;;\r
4284   *) # Relative name.\r
4285     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix\r
4286     ac_top_srcdir=$ac_top_build_prefix$srcdir\r
4287     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;\r
4288 esac\r
4289 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix\r
4290 \r
4291 \r
4292   case $ac_mode in\r
4293   :F)\r
4294   #\r
4295   # CONFIG_FILE\r
4296   #\r
4297 \r
4298   case $INSTALL in\r
4299   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;\r
4300   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;\r
4301   esac\r
4302   ac_MKDIR_P=$MKDIR_P\r
4303   case $MKDIR_P in\r
4304   [\\/$]* | ?:[\\/]* ) ;;\r
4305   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;\r
4306   esac\r
4307 _ACEOF\r
4308 \r
4309 cat >>$CONFIG_STATUS <<\_ACEOF\r
4310 # If the template does not know about datarootdir, expand it.\r
4311 # FIXME: This hack should be removed a few years after 2.60.\r
4312 ac_datarootdir_hack=; ac_datarootdir_seen=\r
4313 \r
4314 case `sed -n '/datarootdir/ {\r
4315   p\r
4316   q\r
4317 }\r
4318 /@datadir@/p\r
4319 /@docdir@/p\r
4320 /@infodir@/p\r
4321 /@localedir@/p\r
4322 /@mandir@/p\r
4323 ' $ac_file_inputs` in\r
4324 *datarootdir*) ac_datarootdir_seen=yes;;\r
4325 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)\r
4326   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5\r
4327 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}\r
4328 _ACEOF\r
4329 cat >>$CONFIG_STATUS <<_ACEOF\r
4330   ac_datarootdir_hack='\r
4331   s&@datadir@&$datadir&g\r
4332   s&@docdir@&$docdir&g\r
4333   s&@infodir@&$infodir&g\r
4334   s&@localedir@&$localedir&g\r
4335   s&@mandir@&$mandir&g\r
4336     s&\\\${datarootdir}&$datarootdir&g' ;;\r
4337 esac\r
4338 _ACEOF\r
4339 \r
4340 # Neutralize VPATH when `$srcdir' = `.'.\r
4341 # Shell code in configure.ac might set extrasub.\r
4342 # FIXME: do we really want to maintain this feature?\r
4343 cat >>$CONFIG_STATUS <<_ACEOF\r
4344   sed "$ac_vpsub\r
4345 $extrasub\r
4346 _ACEOF\r
4347 cat >>$CONFIG_STATUS <<\_ACEOF\r
4348 :t\r
4349 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b\r
4350 s&@configure_input@&$configure_input&;t t\r
4351 s&@top_builddir@&$ac_top_builddir_sub&;t t\r
4352 s&@srcdir@&$ac_srcdir&;t t\r
4353 s&@abs_srcdir@&$ac_abs_srcdir&;t t\r
4354 s&@top_srcdir@&$ac_top_srcdir&;t t\r
4355 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t\r
4356 s&@builddir@&$ac_builddir&;t t\r
4357 s&@abs_builddir@&$ac_abs_builddir&;t t\r
4358 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t\r
4359 s&@INSTALL@&$ac_INSTALL&;t t\r
4360 s&@MKDIR_P@&$ac_MKDIR_P&;t t\r
4361 $ac_datarootdir_hack\r
4362 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out\r
4363 \r
4364 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&\r
4365   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&\r
4366   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&\r
4367   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'\r
4368 which seems to be undefined.  Please make sure it is defined." >&5\r
4369 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'\r
4370 which seems to be undefined.  Please make sure it is defined." >&2;}\r
4371 \r
4372   rm -f "$tmp/stdin"\r
4373   case $ac_file in\r
4374   -) cat "$tmp/out"; rm -f "$tmp/out";;\r
4375   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;\r
4376   esac\r
4377  ;;\r
4378   :H)\r
4379   #\r
4380   # CONFIG_HEADER\r
4381   #\r
4382 _ACEOF\r
4383 \r
4384 # Transform confdefs.h into a sed script `conftest.defines', that\r
4385 # substitutes the proper values into config.h.in to produce config.h.\r
4386 rm -f conftest.defines conftest.tail\r
4387 # First, append a space to every undef/define line, to ease matching.\r
4388 echo 's/$/ /' >conftest.defines\r
4389 # Then, protect against being on the right side of a sed subst, or in\r
4390 # an unquoted here document, in config.status.  If some macros were\r
4391 # called several times there might be several #defines for the same\r
4392 # symbol, which is useless.  But do not sort them, since the last\r
4393 # AC_DEFINE must be honored.\r
4394 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*\r
4395 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where\r
4396 # NAME is the cpp macro being defined, VALUE is the value it is being given.\r
4397 # PARAMS is the parameter list in the macro definition--in most cases, it's\r
4398 # just an empty string.\r
4399 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'\r
4400 ac_dB='\\)[      (].*,\\1define\\2'\r
4401 ac_dC=' '\r
4402 ac_dD=' ,'\r
4403 \r
4404 uniq confdefs.h |\r
4405   sed -n '\r
4406         t rset\r
4407         :rset\r
4408         s/^[     ]*#[    ]*define[       ][      ]*//\r
4409         t ok\r
4410         d\r
4411         :ok\r
4412         s/[\\&,]/\\&/g\r
4413         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p\r
4414         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p\r
4415   ' >>conftest.defines\r
4416 \r
4417 # Remove the space that was appended to ease matching.\r
4418 # Then replace #undef with comments.  This is necessary, for\r
4419 # example, in the case of _POSIX_SOURCE, which is predefined and required\r
4420 # on some systems where configure will not decide to define it.\r
4421 # (The regexp can be short, since the line contains either #define or #undef.)\r
4422 echo 's/ $//\r
4423 s,^[     #]*u.*,/* & */,' >>conftest.defines\r
4424 \r
4425 # Break up conftest.defines:\r
4426 ac_max_sed_lines=50\r
4427 \r
4428 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"\r
4429 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"\r
4430 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"\r
4431 # et cetera.\r
4432 ac_in='$ac_file_inputs'\r
4433 ac_out='"$tmp/out1"'\r
4434 ac_nxt='"$tmp/out2"'\r
4435 \r
4436 while :\r
4437 do\r
4438   # Write a here document:\r
4439     cat >>$CONFIG_STATUS <<_ACEOF\r
4440     # First, check the format of the line:\r
4441     cat >"\$tmp/defines.sed" <<\\CEOF\r
4442 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def\r
4443 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def\r
4444 b\r
4445 :def\r
4446 _ACEOF\r
4447   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS\r
4448   echo 'CEOF\r
4449     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS\r
4450   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in\r
4451   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail\r
4452   grep . conftest.tail >/dev/null || break\r
4453   rm -f conftest.defines\r
4454   mv conftest.tail conftest.defines\r
4455 done\r
4456 rm -f conftest.defines conftest.tail\r
4457 \r
4458 echo "ac_result=$ac_in" >>$CONFIG_STATUS\r
4459 cat >>$CONFIG_STATUS <<\_ACEOF\r
4460   if test x"$ac_file" != x-; then\r
4461     echo "/* $configure_input  */" >"$tmp/config.h"\r
4462     cat "$ac_result" >>"$tmp/config.h"\r
4463     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then\r
4464       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5\r
4465 echo "$as_me: $ac_file is unchanged" >&6;}\r
4466     else\r
4467       rm -f $ac_file\r
4468       mv "$tmp/config.h" $ac_file\r
4469     fi\r
4470   else\r
4471     echo "/* $configure_input  */"\r
4472     cat "$ac_result"\r
4473   fi\r
4474   rm -f "$tmp/out12"\r
4475 # Compute $ac_file's index in $config_headers.\r
4476 _am_arg=$ac_file\r
4477 _am_stamp_count=1\r
4478 for _am_header in $config_headers :; do\r
4479   case $_am_header in\r
4480     $_am_arg | $_am_arg:* )\r
4481       break ;;\r
4482     * )\r
4483       _am_stamp_count=`expr $_am_stamp_count + 1` ;;\r
4484   esac\r
4485 done\r
4486 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||\r
4487 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
4488          X"$_am_arg" : 'X\(//\)[^/]' \| \\r
4489          X"$_am_arg" : 'X\(//\)$' \| \\r
4490          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||\r
4491 echo X"$_am_arg" |\r
4492     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
4493             s//\1/\r
4494             q\r
4495           }\r
4496           /^X\(\/\/\)[^/].*/{\r
4497             s//\1/\r
4498             q\r
4499           }\r
4500           /^X\(\/\/\)$/{\r
4501             s//\1/\r
4502             q\r
4503           }\r
4504           /^X\(\/\).*/{\r
4505             s//\1/\r
4506             q\r
4507           }\r
4508           s/.*/./; q'`/stamp-h$_am_stamp_count\r
4509  ;;\r
4510 \r
4511   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5\r
4512 echo "$as_me: executing $ac_file commands" >&6;}\r
4513  ;;\r
4514   esac\r
4515 \r
4516 \r
4517   case $ac_file$ac_mode in\r
4518     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do\r
4519   # Strip MF so we end up with the name of the file.\r
4520   mf=`echo "$mf" | sed -e 's/:.*$//'`\r
4521   # Check whether this is an Automake generated Makefile or not.\r
4522   # We used to match only the files named `Makefile.in', but\r
4523   # some people rename them; so instead we look at the file content.\r
4524   # Grep'ing the first line is not enough: some people post-process\r
4525   # each Makefile.in and add a new line on top of each file to say so.\r
4526   # Grep'ing the whole file is not good either: AIX grep has a line\r
4527   # limit of 2048, but all sed's we know have understand at least 4000.\r
4528   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then\r
4529     dirpart=`$as_dirname -- "$mf" ||\r
4530 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
4531          X"$mf" : 'X\(//\)[^/]' \| \\r
4532          X"$mf" : 'X\(//\)$' \| \\r
4533          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||\r
4534 echo X"$mf" |\r
4535     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
4536             s//\1/\r
4537             q\r
4538           }\r
4539           /^X\(\/\/\)[^/].*/{\r
4540             s//\1/\r
4541             q\r
4542           }\r
4543           /^X\(\/\/\)$/{\r
4544             s//\1/\r
4545             q\r
4546           }\r
4547           /^X\(\/\).*/{\r
4548             s//\1/\r
4549             q\r
4550           }\r
4551           s/.*/./; q'`\r
4552   else\r
4553     continue\r
4554   fi\r
4555   # Extract the definition of DEPDIR, am__include, and am__quote\r
4556   # from the Makefile without running `make'.\r
4557   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`\r
4558   test -z "$DEPDIR" && continue\r
4559   am__include=`sed -n 's/^am__include = //p' < "$mf"`\r
4560   test -z "am__include" && continue\r
4561   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`\r
4562   # When using ansi2knr, U may be empty or an underscore; expand it\r
4563   U=`sed -n 's/^U = //p' < "$mf"`\r
4564   # Find all dependency output files, they are included files with\r
4565   # $(DEPDIR) in their names.  We invoke sed twice because it is the\r
4566   # simplest approach to changing $(DEPDIR) to its actual value in the\r
4567   # expansion.\r
4568   for file in `sed -n "\r
4569     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \\r
4570        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do\r
4571     # Make sure the directory exists.\r
4572     test -f "$dirpart/$file" && continue\r
4573     fdir=`$as_dirname -- "$file" ||\r
4574 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
4575          X"$file" : 'X\(//\)[^/]' \| \\r
4576          X"$file" : 'X\(//\)$' \| \\r
4577          X"$file" : 'X\(/\)' \| . 2>/dev/null ||\r
4578 echo X"$file" |\r
4579     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
4580             s//\1/\r
4581             q\r
4582           }\r
4583           /^X\(\/\/\)[^/].*/{\r
4584             s//\1/\r
4585             q\r
4586           }\r
4587           /^X\(\/\/\)$/{\r
4588             s//\1/\r
4589             q\r
4590           }\r
4591           /^X\(\/\).*/{\r
4592             s//\1/\r
4593             q\r
4594           }\r
4595           s/.*/./; q'`\r
4596     { as_dir=$dirpart/$fdir\r
4597   case $as_dir in #(\r
4598   -*) as_dir=./$as_dir;;\r
4599   esac\r
4600   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {\r
4601     as_dirs=\r
4602     while :; do\r
4603       case $as_dir in #(\r
4604       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(\r
4605       *) as_qdir=$as_dir;;\r
4606       esac\r
4607       as_dirs="'$as_qdir' $as_dirs"\r
4608       as_dir=`$as_dirname -- "$as_dir" ||\r
4609 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
4610          X"$as_dir" : 'X\(//\)[^/]' \| \\r
4611          X"$as_dir" : 'X\(//\)$' \| \\r
4612          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||\r
4613 echo X"$as_dir" |\r
4614     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
4615             s//\1/\r
4616             q\r
4617           }\r
4618           /^X\(\/\/\)[^/].*/{\r
4619             s//\1/\r
4620             q\r
4621           }\r
4622           /^X\(\/\/\)$/{\r
4623             s//\1/\r
4624             q\r
4625           }\r
4626           /^X\(\/\).*/{\r
4627             s//\1/\r
4628             q\r
4629           }\r
4630           s/.*/./; q'`\r
4631       test -d "$as_dir" && break\r
4632     done\r
4633     test -z "$as_dirs" || eval "mkdir $as_dirs"\r
4634   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5\r
4635 echo "$as_me: error: cannot create directory $as_dir" >&2;}\r
4636    { (exit 1); exit 1; }; }; }\r
4637     # echo "creating $dirpart/$file"\r
4638     echo '# dummy' > "$dirpart/$file"\r
4639   done\r
4640 done\r
4641  ;;\r
4642 \r
4643   esac\r
4644 done # for ac_tag\r
4645 \r
4646 \r
4647 { (exit 0); exit 0; }\r
4648 _ACEOF\r
4649 chmod +x $CONFIG_STATUS\r
4650 ac_clean_files=$ac_clean_files_save\r
4651 \r
4652 \r
4653 # configure is writing to config.log, and then calls config.status.\r
4654 # config.status does its own redirection, appending to config.log.\r
4655 # Unfortunately, on DOS this fails, as config.log is still kept open\r
4656 # by configure, so config.status won't be able to write to it; its\r
4657 # output is simply discarded.  So we exec the FD to /dev/null,\r
4658 # effectively closing config.log, so it can be properly (re)opened and\r
4659 # appended to by config.status.  When coming back to configure, we\r
4660 # need to make the FD available again.\r
4661 if test "$no_create" != yes; then\r
4662   ac_cs_success=:\r
4663   ac_config_status_args=\r
4664   test "$silent" = yes &&\r
4665     ac_config_status_args="$ac_config_status_args --quiet"\r
4666   exec 5>/dev/null\r
4667   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false\r
4668   exec 5>>config.log\r
4669   # Use ||, not &&, to avoid exiting from the if with $? = 1, which\r
4670   # would make configure fail if this is the last instruction.\r
4671   $ac_cs_success || { (exit 1); exit 1; }\r
4672 fi\r
4673 \r
4674 PRODUCT=xboard\r
4675 #VERSION=4.4  # version is already defined\r
4676 PATCHLEVEL=0c\r
4677 \r
4678 \r
4679 if test -z "$CFLAGS" ; then\r
4680   CFLAGS=" "\r
4681 fi\r
4682 ac_ext=c\r
4683 ac_cpp='$CPP $CPPFLAGS'\r
4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
4687 if test -n "$ac_tool_prefix"; then\r
4688   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.\r
4689 set dummy ${ac_tool_prefix}gcc; ac_word=$2\r
4690 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
4691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
4692 if test "${ac_cv_prog_CC+set}" = set; then\r
4693   echo $ECHO_N "(cached) $ECHO_C" >&6\r
4694 else\r
4695   if test -n "$CC"; then\r
4696   ac_cv_prog_CC="$CC" # Let the user override the test.\r
4697 else\r
4698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
4699 for as_dir in $PATH\r
4700 do\r
4701   IFS=$as_save_IFS\r
4702   test -z "$as_dir" && as_dir=.\r
4703   for ac_exec_ext in '' $ac_executable_extensions; do\r
4704   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
4705     ac_cv_prog_CC="${ac_tool_prefix}gcc"\r
4706     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
4707     break 2\r
4708   fi\r
4709 done\r
4710 done\r
4711 IFS=$as_save_IFS\r
4712 \r
4713 fi\r
4714 fi\r
4715 CC=$ac_cv_prog_CC\r
4716 if test -n "$CC"; then\r
4717   { echo "$as_me:$LINENO: result: $CC" >&5\r
4718 echo "${ECHO_T}$CC" >&6; }\r
4719 else\r
4720   { echo "$as_me:$LINENO: result: no" >&5\r
4721 echo "${ECHO_T}no" >&6; }\r
4722 fi\r
4723 \r
4724 \r
4725 fi\r
4726 if test -z "$ac_cv_prog_CC"; then\r
4727   ac_ct_CC=$CC\r
4728   # Extract the first word of "gcc", so it can be a program name with args.\r
4729 set dummy gcc; ac_word=$2\r
4730 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
4731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
4732 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then\r
4733   echo $ECHO_N "(cached) $ECHO_C" >&6\r
4734 else\r
4735   if test -n "$ac_ct_CC"; then\r
4736   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.\r
4737 else\r
4738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
4739 for as_dir in $PATH\r
4740 do\r
4741   IFS=$as_save_IFS\r
4742   test -z "$as_dir" && as_dir=.\r
4743   for ac_exec_ext in '' $ac_executable_extensions; do\r
4744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
4745     ac_cv_prog_ac_ct_CC="gcc"\r
4746     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
4747     break 2\r
4748   fi\r
4749 done\r
4750 done\r
4751 IFS=$as_save_IFS\r
4752 \r
4753 fi\r
4754 fi\r
4755 ac_ct_CC=$ac_cv_prog_ac_ct_CC\r
4756 if test -n "$ac_ct_CC"; then\r
4757   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5\r
4758 echo "${ECHO_T}$ac_ct_CC" >&6; }\r
4759 else\r
4760   { echo "$as_me:$LINENO: result: no" >&5\r
4761 echo "${ECHO_T}no" >&6; }\r
4762 fi\r
4763 \r
4764   if test "x$ac_ct_CC" = x; then\r
4765     CC=""\r
4766   else\r
4767     case $cross_compiling:$ac_tool_warned in\r
4768 yes:)\r
4769 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools\r
4770 whose name does not start with the host triplet.  If you think this\r
4771 configuration is useful to you, please write to autoconf@gnu.org." >&5\r
4772 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools\r
4773 whose name does not start with the host triplet.  If you think this\r
4774 configuration is useful to you, please write to autoconf@gnu.org." >&2;}\r
4775 ac_tool_warned=yes ;;\r
4776 esac\r
4777     CC=$ac_ct_CC\r
4778   fi\r
4779 else\r
4780   CC="$ac_cv_prog_CC"\r
4781 fi\r
4782 \r
4783 if test -z "$CC"; then\r
4784           if test -n "$ac_tool_prefix"; then\r
4785     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.\r
4786 set dummy ${ac_tool_prefix}cc; ac_word=$2\r
4787 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
4788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
4789 if test "${ac_cv_prog_CC+set}" = set; then\r
4790   echo $ECHO_N "(cached) $ECHO_C" >&6\r
4791 else\r
4792   if test -n "$CC"; then\r
4793   ac_cv_prog_CC="$CC" # Let the user override the test.\r
4794 else\r
4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
4796 for as_dir in $PATH\r
4797 do\r
4798   IFS=$as_save_IFS\r
4799   test -z "$as_dir" && as_dir=.\r
4800   for ac_exec_ext in '' $ac_executable_extensions; do\r
4801   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
4802     ac_cv_prog_CC="${ac_tool_prefix}cc"\r
4803     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
4804     break 2\r
4805   fi\r
4806 done\r
4807 done\r
4808 IFS=$as_save_IFS\r
4809 \r
4810 fi\r
4811 fi\r
4812 CC=$ac_cv_prog_CC\r
4813 if test -n "$CC"; then\r
4814   { echo "$as_me:$LINENO: result: $CC" >&5\r
4815 echo "${ECHO_T}$CC" >&6; }\r
4816 else\r
4817   { echo "$as_me:$LINENO: result: no" >&5\r
4818 echo "${ECHO_T}no" >&6; }\r
4819 fi\r
4820 \r
4821 \r
4822   fi\r
4823 fi\r
4824 if test -z "$CC"; then\r
4825   # Extract the first word of "cc", so it can be a program name with args.\r
4826 set dummy cc; ac_word=$2\r
4827 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
4828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
4829 if test "${ac_cv_prog_CC+set}" = set; then\r
4830   echo $ECHO_N "(cached) $ECHO_C" >&6\r
4831 else\r
4832   if test -n "$CC"; then\r
4833   ac_cv_prog_CC="$CC" # Let the user override the test.\r
4834 else\r
4835   ac_prog_rejected=no\r
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
4837 for as_dir in $PATH\r
4838 do\r
4839   IFS=$as_save_IFS\r
4840   test -z "$as_dir" && as_dir=.\r
4841   for ac_exec_ext in '' $ac_executable_extensions; do\r
4842   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
4843     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then\r
4844        ac_prog_rejected=yes\r
4845        continue\r
4846      fi\r
4847     ac_cv_prog_CC="cc"\r
4848     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
4849     break 2\r
4850   fi\r
4851 done\r
4852 done\r
4853 IFS=$as_save_IFS\r
4854 \r
4855 if test $ac_prog_rejected = yes; then\r
4856   # We found a bogon in the path, so make sure we never use it.\r
4857   set dummy $ac_cv_prog_CC\r
4858   shift\r
4859   if test $# != 0; then\r
4860     # We chose a different compiler from the bogus one.\r
4861     # However, it has the same basename, so the bogon will be chosen\r
4862     # first if we set CC to just the basename; use the full file name.\r
4863     shift\r
4864     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"\r
4865   fi\r
4866 fi\r
4867 fi\r
4868 fi\r
4869 CC=$ac_cv_prog_CC\r
4870 if test -n "$CC"; then\r
4871   { echo "$as_me:$LINENO: result: $CC" >&5\r
4872 echo "${ECHO_T}$CC" >&6; }\r
4873 else\r
4874   { echo "$as_me:$LINENO: result: no" >&5\r
4875 echo "${ECHO_T}no" >&6; }\r
4876 fi\r
4877 \r
4878 \r
4879 fi\r
4880 if test -z "$CC"; then\r
4881   if test -n "$ac_tool_prefix"; then\r
4882   for ac_prog in cl.exe\r
4883   do\r
4884     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.\r
4885 set dummy $ac_tool_prefix$ac_prog; ac_word=$2\r
4886 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
4887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
4888 if test "${ac_cv_prog_CC+set}" = set; then\r
4889   echo $ECHO_N "(cached) $ECHO_C" >&6\r
4890 else\r
4891   if test -n "$CC"; then\r
4892   ac_cv_prog_CC="$CC" # Let the user override the test.\r
4893 else\r
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
4895 for as_dir in $PATH\r
4896 do\r
4897   IFS=$as_save_IFS\r
4898   test -z "$as_dir" && as_dir=.\r
4899   for ac_exec_ext in '' $ac_executable_extensions; do\r
4900   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
4901     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"\r
4902     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
4903     break 2\r
4904   fi\r
4905 done\r
4906 done\r
4907 IFS=$as_save_IFS\r
4908 \r
4909 fi\r
4910 fi\r
4911 CC=$ac_cv_prog_CC\r
4912 if test -n "$CC"; then\r
4913   { echo "$as_me:$LINENO: result: $CC" >&5\r
4914 echo "${ECHO_T}$CC" >&6; }\r
4915 else\r
4916   { echo "$as_me:$LINENO: result: no" >&5\r
4917 echo "${ECHO_T}no" >&6; }\r
4918 fi\r
4919 \r
4920 \r
4921     test -n "$CC" && break\r
4922   done\r
4923 fi\r
4924 if test -z "$CC"; then\r
4925   ac_ct_CC=$CC\r
4926   for ac_prog in cl.exe\r
4927 do\r
4928   # Extract the first word of "$ac_prog", so it can be a program name with args.\r
4929 set dummy $ac_prog; ac_word=$2\r
4930 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
4931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
4932 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then\r
4933   echo $ECHO_N "(cached) $ECHO_C" >&6\r
4934 else\r
4935   if test -n "$ac_ct_CC"; then\r
4936   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.\r
4937 else\r
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
4939 for as_dir in $PATH\r
4940 do\r
4941   IFS=$as_save_IFS\r
4942   test -z "$as_dir" && as_dir=.\r
4943   for ac_exec_ext in '' $ac_executable_extensions; do\r
4944   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
4945     ac_cv_prog_ac_ct_CC="$ac_prog"\r
4946     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
4947     break 2\r
4948   fi\r
4949 done\r
4950 done\r
4951 IFS=$as_save_IFS\r
4952 \r
4953 fi\r
4954 fi\r
4955 ac_ct_CC=$ac_cv_prog_ac_ct_CC\r
4956 if test -n "$ac_ct_CC"; then\r
4957   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5\r
4958 echo "${ECHO_T}$ac_ct_CC" >&6; }\r
4959 else\r
4960   { echo "$as_me:$LINENO: result: no" >&5\r
4961 echo "${ECHO_T}no" >&6; }\r
4962 fi\r
4963 \r
4964 \r
4965   test -n "$ac_ct_CC" && break\r
4966 done\r
4967 \r
4968   if test "x$ac_ct_CC" = x; then\r
4969     CC=""\r
4970   else\r
4971     case $cross_compiling:$ac_tool_warned in\r
4972 yes:)\r
4973 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools\r
4974 whose name does not start with the host triplet.  If you think this\r
4975 configuration is useful to you, please write to autoconf@gnu.org." >&5\r
4976 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools\r
4977 whose name does not start with the host triplet.  If you think this\r
4978 configuration is useful to you, please write to autoconf@gnu.org." >&2;}\r
4979 ac_tool_warned=yes ;;\r
4980 esac\r
4981     CC=$ac_ct_CC\r
4982   fi\r
4983 fi\r
4984 \r
4985 fi\r
4986 \r
4987 \r
4988 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH\r
4989 See \`config.log' for more details." >&5\r
4990 echo "$as_me: error: no acceptable C compiler found in \$PATH\r
4991 See \`config.log' for more details." >&2;}\r
4992    { (exit 1); exit 1; }; }\r
4993 \r
4994 # Provide some information about the compiler.\r
4995 echo "$as_me:$LINENO: checking for C compiler version" >&5\r
4996 ac_compiler=`set X $ac_compile; echo $2`\r
4997 { (ac_try="$ac_compiler --version >&5"\r
4998 case "(($ac_try" in\r
4999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5000   *) ac_try_echo=$ac_try;;\r
5001 esac\r
5002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
5003   (eval "$ac_compiler --version >&5") 2>&5\r
5004   ac_status=$?\r
5005   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5006   (exit $ac_status); }\r
5007 { (ac_try="$ac_compiler -v >&5"\r
5008 case "(($ac_try" in\r
5009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5010   *) ac_try_echo=$ac_try;;\r
5011 esac\r
5012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
5013   (eval "$ac_compiler -v >&5") 2>&5\r
5014   ac_status=$?\r
5015   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5016   (exit $ac_status); }\r
5017 { (ac_try="$ac_compiler -V >&5"\r
5018 case "(($ac_try" in\r
5019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5020   *) ac_try_echo=$ac_try;;\r
5021 esac\r
5022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
5023   (eval "$ac_compiler -V >&5") 2>&5\r
5024   ac_status=$?\r
5025   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5026   (exit $ac_status); }\r
5027 \r
5028 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5\r
5029 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }\r
5030 if test "${ac_cv_c_compiler_gnu+set}" = set; then\r
5031   echo $ECHO_N "(cached) $ECHO_C" >&6\r
5032 else\r
5033   cat >conftest.$ac_ext <<_ACEOF\r
5034 /* confdefs.h.  */\r
5035 _ACEOF\r
5036 cat confdefs.h >>conftest.$ac_ext\r
5037 cat >>conftest.$ac_ext <<_ACEOF\r
5038 /* end confdefs.h.  */\r
5039 \r
5040 int\r
5041 main ()\r
5042 {\r
5043 #ifndef __GNUC__\r
5044        choke me\r
5045 #endif\r
5046 \r
5047   ;\r
5048   return 0;\r
5049 }\r
5050 _ACEOF\r
5051 rm -f conftest.$ac_objext\r
5052 if { (ac_try="$ac_compile"\r
5053 case "(($ac_try" in\r
5054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5055   *) ac_try_echo=$ac_try;;\r
5056 esac\r
5057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
5058   (eval "$ac_compile") 2>conftest.er1\r
5059   ac_status=$?\r
5060   grep -v '^ *+' conftest.er1 >conftest.err\r
5061   rm -f conftest.er1\r
5062   cat conftest.err >&5\r
5063   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5064   (exit $ac_status); } && {\r
5065          test -z "$ac_c_werror_flag" ||\r
5066          test ! -s conftest.err\r
5067        } && test -s conftest.$ac_objext; then\r
5068   ac_compiler_gnu=yes\r
5069 else\r
5070   echo "$as_me: failed program was:" >&5\r
5071 sed 's/^/| /' conftest.$ac_ext >&5\r
5072 \r
5073         ac_compiler_gnu=no\r
5074 fi\r
5075 \r
5076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
5077 ac_cv_c_compiler_gnu=$ac_compiler_gnu\r
5078 \r
5079 fi\r
5080 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5\r
5081 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }\r
5082 GCC=`test $ac_compiler_gnu = yes && echo yes`\r
5083 ac_test_CFLAGS=${CFLAGS+set}\r
5084 ac_save_CFLAGS=$CFLAGS\r
5085 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5\r
5086 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }\r
5087 if test "${ac_cv_prog_cc_g+set}" = set; then\r
5088   echo $ECHO_N "(cached) $ECHO_C" >&6\r
5089 else\r
5090   ac_save_c_werror_flag=$ac_c_werror_flag\r
5091    ac_c_werror_flag=yes\r
5092    ac_cv_prog_cc_g=no\r
5093    CFLAGS="-g"\r
5094    cat >conftest.$ac_ext <<_ACEOF\r
5095 /* confdefs.h.  */\r
5096 _ACEOF\r
5097 cat confdefs.h >>conftest.$ac_ext\r
5098 cat >>conftest.$ac_ext <<_ACEOF\r
5099 /* end confdefs.h.  */\r
5100 \r
5101 int\r
5102 main ()\r
5103 {\r
5104 \r
5105   ;\r
5106   return 0;\r
5107 }\r
5108 _ACEOF\r
5109 rm -f conftest.$ac_objext\r
5110 if { (ac_try="$ac_compile"\r
5111 case "(($ac_try" in\r
5112   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5113   *) ac_try_echo=$ac_try;;\r
5114 esac\r
5115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
5116   (eval "$ac_compile") 2>conftest.er1\r
5117   ac_status=$?\r
5118   grep -v '^ *+' conftest.er1 >conftest.err\r
5119   rm -f conftest.er1\r
5120   cat conftest.err >&5\r
5121   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5122   (exit $ac_status); } && {\r
5123          test -z "$ac_c_werror_flag" ||\r
5124          test ! -s conftest.err\r
5125        } && test -s conftest.$ac_objext; then\r
5126   ac_cv_prog_cc_g=yes\r
5127 else\r
5128   echo "$as_me: failed program was:" >&5\r
5129 sed 's/^/| /' conftest.$ac_ext >&5\r
5130 \r
5131         CFLAGS=""\r
5132       cat >conftest.$ac_ext <<_ACEOF\r
5133 /* confdefs.h.  */\r
5134 _ACEOF\r
5135 cat confdefs.h >>conftest.$ac_ext\r
5136 cat >>conftest.$ac_ext <<_ACEOF\r
5137 /* end confdefs.h.  */\r
5138 \r
5139 int\r
5140 main ()\r
5141 {\r
5142 \r
5143   ;\r
5144   return 0;\r
5145 }\r
5146 _ACEOF\r
5147 rm -f conftest.$ac_objext\r
5148 if { (ac_try="$ac_compile"\r
5149 case "(($ac_try" in\r
5150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5151   *) ac_try_echo=$ac_try;;\r
5152 esac\r
5153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
5154   (eval "$ac_compile") 2>conftest.er1\r
5155   ac_status=$?\r
5156   grep -v '^ *+' conftest.er1 >conftest.err\r
5157   rm -f conftest.er1\r
5158   cat conftest.err >&5\r
5159   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5160   (exit $ac_status); } && {\r
5161          test -z "$ac_c_werror_flag" ||\r
5162          test ! -s conftest.err\r
5163        } && test -s conftest.$ac_objext; then\r
5164   :\r
5165 else\r
5166   echo "$as_me: failed program was:" >&5\r
5167 sed 's/^/| /' conftest.$ac_ext >&5\r
5168 \r
5169         ac_c_werror_flag=$ac_save_c_werror_flag\r
5170          CFLAGS="-g"\r
5171          cat >conftest.$ac_ext <<_ACEOF\r
5172 /* confdefs.h.  */\r
5173 _ACEOF\r
5174 cat confdefs.h >>conftest.$ac_ext\r
5175 cat >>conftest.$ac_ext <<_ACEOF\r
5176 /* end confdefs.h.  */\r
5177 \r
5178 int\r
5179 main ()\r
5180 {\r
5181 \r
5182   ;\r
5183   return 0;\r
5184 }\r
5185 _ACEOF\r
5186 rm -f conftest.$ac_objext\r
5187 if { (ac_try="$ac_compile"\r
5188 case "(($ac_try" in\r
5189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5190   *) ac_try_echo=$ac_try;;\r
5191 esac\r
5192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
5193   (eval "$ac_compile") 2>conftest.er1\r
5194   ac_status=$?\r
5195   grep -v '^ *+' conftest.er1 >conftest.err\r
5196   rm -f conftest.er1\r
5197   cat conftest.err >&5\r
5198   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5199   (exit $ac_status); } && {\r
5200          test -z "$ac_c_werror_flag" ||\r
5201          test ! -s conftest.err\r
5202        } && test -s conftest.$ac_objext; then\r
5203   ac_cv_prog_cc_g=yes\r
5204 else\r
5205   echo "$as_me: failed program was:" >&5\r
5206 sed 's/^/| /' conftest.$ac_ext >&5\r
5207 \r
5208 \r
5209 fi\r
5210 \r
5211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
5212 fi\r
5213 \r
5214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
5215 fi\r
5216 \r
5217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
5218    ac_c_werror_flag=$ac_save_c_werror_flag\r
5219 fi\r
5220 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5\r
5221 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }\r
5222 if test "$ac_test_CFLAGS" = set; then\r
5223   CFLAGS=$ac_save_CFLAGS\r
5224 elif test $ac_cv_prog_cc_g = yes; then\r
5225   if test "$GCC" = yes; then\r
5226     CFLAGS="-g -O2"\r
5227   else\r
5228     CFLAGS="-g"\r
5229   fi\r
5230 else\r
5231   if test "$GCC" = yes; then\r
5232     CFLAGS="-O2"\r
5233   else\r
5234     CFLAGS=\r
5235   fi\r
5236 fi\r
5237 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5\r
5238 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }\r
5239 if test "${ac_cv_prog_cc_c89+set}" = set; then\r
5240   echo $ECHO_N "(cached) $ECHO_C" >&6\r
5241 else\r
5242   ac_cv_prog_cc_c89=no\r
5243 ac_save_CC=$CC\r
5244 cat >conftest.$ac_ext <<_ACEOF\r
5245 /* confdefs.h.  */\r
5246 _ACEOF\r
5247 cat confdefs.h >>conftest.$ac_ext\r
5248 cat >>conftest.$ac_ext <<_ACEOF\r
5249 /* end confdefs.h.  */\r
5250 #include <stdarg.h>\r
5251 #include <stdio.h>\r
5252 #include <sys/types.h>\r
5253 #include <sys/stat.h>\r
5254 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */\r
5255 struct buf { int x; };\r
5256 FILE * (*rcsopen) (struct buf *, struct stat *, int);\r
5257 static char *e (p, i)\r
5258      char **p;\r
5259      int i;\r
5260 {\r
5261   return p[i];\r
5262 }\r
5263 static char *f (char * (*g) (char **, int), char **p, ...)\r
5264 {\r
5265   char *s;\r
5266   va_list v;\r
5267   va_start (v,p);\r
5268   s = g (p, va_arg (v,int));\r
5269   va_end (v);\r
5270   return s;\r
5271 }\r
5272 \r
5273 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has\r
5274    function prototypes and stuff, but not '\xHH' hex character constants.\r
5275    These don't provoke an error unfortunately, instead are silently treated\r
5276    as 'x'.  The following induces an error, until -std is added to get\r
5277    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an\r
5278    array size at least.  It's necessary to write '\x00'==0 to get something\r
5279    that's true only with -std.  */\r
5280 int osf4_cc_array ['\x00' == 0 ? 1 : -1];\r
5281 \r
5282 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters\r
5283    inside strings and character constants.  */\r
5284 #define FOO(x) 'x'\r
5285 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];\r
5286 \r
5287 int test (int i, double x);\r
5288 struct s1 {int (*f) (int a);};\r
5289 struct s2 {int (*f) (double a);};\r
5290 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);\r
5291 int argc;\r
5292 char **argv;\r
5293 int\r
5294 main ()\r
5295 {\r
5296 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];\r
5297   ;\r
5298   return 0;\r
5299 }\r
5300 _ACEOF\r
5301 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \\r
5302         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"\r
5303 do\r
5304   CC="$ac_save_CC $ac_arg"\r
5305   rm -f conftest.$ac_objext\r
5306 if { (ac_try="$ac_compile"\r
5307 case "(($ac_try" in\r
5308   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5309   *) ac_try_echo=$ac_try;;\r
5310 esac\r
5311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
5312   (eval "$ac_compile") 2>conftest.er1\r
5313   ac_status=$?\r
5314   grep -v '^ *+' conftest.er1 >conftest.err\r
5315   rm -f conftest.er1\r
5316   cat conftest.err >&5\r
5317   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5318   (exit $ac_status); } && {\r
5319          test -z "$ac_c_werror_flag" ||\r
5320          test ! -s conftest.err\r
5321        } && test -s conftest.$ac_objext; then\r
5322   ac_cv_prog_cc_c89=$ac_arg\r
5323 else\r
5324   echo "$as_me: failed program was:" >&5\r
5325 sed 's/^/| /' conftest.$ac_ext >&5\r
5326 \r
5327 \r
5328 fi\r
5329 \r
5330 rm -f core conftest.err conftest.$ac_objext\r
5331   test "x$ac_cv_prog_cc_c89" != "xno" && break\r
5332 done\r
5333 rm -f conftest.$ac_ext\r
5334 CC=$ac_save_CC\r
5335 \r
5336 fi\r
5337 # AC_CACHE_VAL\r
5338 case "x$ac_cv_prog_cc_c89" in\r
5339   x)\r
5340     { echo "$as_me:$LINENO: result: none needed" >&5\r
5341 echo "${ECHO_T}none needed" >&6; } ;;\r
5342   xno)\r
5343     { echo "$as_me:$LINENO: result: unsupported" >&5\r
5344 echo "${ECHO_T}unsupported" >&6; } ;;\r
5345   *)\r
5346     CC="$CC $ac_cv_prog_cc_c89"\r
5347     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5\r
5348 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;\r
5349 esac\r
5350 \r
5351 \r
5352 ac_ext=c\r
5353 ac_cpp='$CPP $CPPFLAGS'\r
5354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
5355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
5356 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
5357 \r
5358 depcc="$CC"   am_compiler_list=\r
5359 \r
5360 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5\r
5361 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }\r
5362 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then\r
5363   echo $ECHO_N "(cached) $ECHO_C" >&6\r
5364 else\r
5365   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then\r
5366   # We make a subdir and do the tests there.  Otherwise we can end up\r
5367   # making bogus files that we don't know about and never remove.  For\r
5368   # instance it was reported that on HP-UX the gcc test will end up\r
5369   # making a dummy file named `D' -- because `-MD' means `put the output\r
5370   # in D'.\r
5371   mkdir conftest.dir\r
5372   # Copy depcomp to subdir because otherwise we won't find it if we're\r
5373   # using a relative directory.\r
5374   cp "$am_depcomp" conftest.dir\r
5375   cd conftest.dir\r
5376   # We will build objects and dependencies in a subdirectory because\r
5377   # it helps to detect inapplicable dependency modes.  For instance\r
5378   # both Tru64's cc and ICC support -MD to output dependencies as a\r
5379   # side effect of compilation, but ICC will put the dependencies in\r
5380   # the current directory while Tru64 will put them in the object\r
5381   # directory.\r
5382   mkdir sub\r
5383 \r
5384   am_cv_CC_dependencies_compiler_type=none\r
5385   if test "$am_compiler_list" = ""; then\r
5386      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`\r
5387   fi\r
5388   for depmode in $am_compiler_list; do\r
5389     # Setup a source with many dependencies, because some compilers\r
5390     # like to wrap large dependency lists on column 80 (with \), and\r
5391     # we should not choose a depcomp mode which is confused by this.\r
5392     #\r
5393     # We need to recreate these files for each test, as the compiler may\r
5394     # overwrite some of them when testing with obscure command lines.\r
5395     # This happens at least with the AIX C compiler.\r
5396     : > sub/conftest.c\r
5397     for i in 1 2 3 4 5 6; do\r
5398       echo '#include "conftst'$i'.h"' >> sub/conftest.c\r
5399       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with\r
5400       # Solaris 8's {/usr,}/bin/sh.\r
5401       touch sub/conftst$i.h\r
5402     done\r
5403     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf\r
5404 \r
5405     case $depmode in\r
5406     nosideeffect)\r
5407       # after this tag, mechanisms are not by side-effect, so they'll\r
5408       # only be used when explicitly requested\r
5409       if test "x$enable_dependency_tracking" = xyes; then\r
5410         continue\r
5411       else\r
5412         break\r
5413       fi\r
5414       ;;\r
5415     none) break ;;\r
5416     esac\r
5417     # We check with `-c' and `-o' for the sake of the "dashmstdout"\r
5418     # mode.  It turns out that the SunPro C++ compiler does not properly\r
5419     # handle `-M -o', and we need to detect this.\r
5420     if depmode=$depmode \\r
5421        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \\r
5422        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \\r
5423        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \\r
5424          >/dev/null 2>conftest.err &&\r
5425        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&\r
5426        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&\r
5427        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&\r
5428        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then\r
5429       # icc doesn't choke on unknown options, it will just issue warnings\r
5430       # or remarks (even with -Werror).  So we grep stderr for any message\r
5431       # that says an option was ignored or not supported.\r
5432       # When given -MP, icc 7.0 and 7.1 complain thusly:\r
5433       #   icc: Command line warning: ignoring option '-M'; no argument required\r
5434       # The diagnosis changed in icc 8.0:\r
5435       #   icc: Command line remark: option '-MP' not supported\r
5436       if (grep 'ignoring option' conftest.err ||\r
5437           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else\r
5438         am_cv_CC_dependencies_compiler_type=$depmode\r
5439         break\r
5440       fi\r
5441     fi\r
5442   done\r
5443 \r
5444   cd ..\r
5445   rm -rf conftest.dir\r
5446 else\r
5447   am_cv_CC_dependencies_compiler_type=none\r
5448 fi\r
5449 \r
5450 fi\r
5451 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5\r
5452 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }\r
5453 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type\r
5454 \r
5455  if\r
5456   test "x$enable_dependency_tracking" != xno \\r
5457   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then\r
5458   am__fastdepCC_TRUE=\r
5459   am__fastdepCC_FALSE='#'\r
5460 else\r
5461   am__fastdepCC_TRUE='#'\r
5462   am__fastdepCC_FALSE=\r
5463 fi\r
5464 \r
5465 \r
5466 ac_ext=c\r
5467 ac_cpp='$CPP $CPPFLAGS'\r
5468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
5469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
5470 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
5471 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5\r
5472 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }\r
5473 # On Suns, sometimes $CPP names a directory.\r
5474 if test -n "$CPP" && test -d "$CPP"; then\r
5475   CPP=\r
5476 fi\r
5477 if test -z "$CPP"; then\r
5478   if test "${ac_cv_prog_CPP+set}" = set; then\r
5479   echo $ECHO_N "(cached) $ECHO_C" >&6\r
5480 else\r
5481       # Double quotes because CPP needs to be expanded\r
5482     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"\r
5483     do\r
5484       ac_preproc_ok=false\r
5485 for ac_c_preproc_warn_flag in '' yes\r
5486 do\r
5487   # Use a header file that comes with gcc, so configuring glibc\r
5488   # with a fresh cross-compiler works.\r
5489   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
5490   # <limits.h> exists even on freestanding compilers.\r
5491   # On the NeXT, cc -E runs the code through the compiler's parser,\r
5492   # not just through cpp. "Syntax error" is here to catch this case.\r
5493   cat >conftest.$ac_ext <<_ACEOF\r
5494 /* confdefs.h.  */\r
5495 _ACEOF\r
5496 cat confdefs.h >>conftest.$ac_ext\r
5497 cat >>conftest.$ac_ext <<_ACEOF\r
5498 /* end confdefs.h.  */\r
5499 #ifdef __STDC__\r
5500 # include <limits.h>\r
5501 #else\r
5502 # include <assert.h>\r
5503 #endif\r
5504                      Syntax error\r
5505 _ACEOF\r
5506 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
5507 case "(($ac_try" in\r
5508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5509   *) ac_try_echo=$ac_try;;\r
5510 esac\r
5511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
5512   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
5513   ac_status=$?\r
5514   grep -v '^ *+' conftest.er1 >conftest.err\r
5515   rm -f conftest.er1\r
5516   cat conftest.err >&5\r
5517   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5518   (exit $ac_status); } >/dev/null && {\r
5519          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
5520          test ! -s conftest.err\r
5521        }; then\r
5522   :\r
5523 else\r
5524   echo "$as_me: failed program was:" >&5\r
5525 sed 's/^/| /' conftest.$ac_ext >&5\r
5526 \r
5527   # Broken: fails on valid input.\r
5528 continue\r
5529 fi\r
5530 \r
5531 rm -f conftest.err conftest.$ac_ext\r
5532 \r
5533   # OK, works on sane cases.  Now check whether nonexistent headers\r
5534   # can be detected and how.\r
5535   cat >conftest.$ac_ext <<_ACEOF\r
5536 /* confdefs.h.  */\r
5537 _ACEOF\r
5538 cat confdefs.h >>conftest.$ac_ext\r
5539 cat >>conftest.$ac_ext <<_ACEOF\r
5540 /* end confdefs.h.  */\r
5541 #include <ac_nonexistent.h>\r
5542 _ACEOF\r
5543 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
5544 case "(($ac_try" in\r
5545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5546   *) ac_try_echo=$ac_try;;\r
5547 esac\r
5548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
5549   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
5550   ac_status=$?\r
5551   grep -v '^ *+' conftest.er1 >conftest.err\r
5552   rm -f conftest.er1\r
5553   cat conftest.err >&5\r
5554   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5555   (exit $ac_status); } >/dev/null && {\r
5556          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
5557          test ! -s conftest.err\r
5558        }; then\r
5559   # Broken: success on invalid input.\r
5560 continue\r
5561 else\r
5562   echo "$as_me: failed program was:" >&5\r
5563 sed 's/^/| /' conftest.$ac_ext >&5\r
5564 \r
5565   # Passes both tests.\r
5566 ac_preproc_ok=:\r
5567 break\r
5568 fi\r
5569 \r
5570 rm -f conftest.err conftest.$ac_ext\r
5571 \r
5572 done\r
5573 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.\r
5574 rm -f conftest.err conftest.$ac_ext\r
5575 if $ac_preproc_ok; then\r
5576   break\r
5577 fi\r
5578 \r
5579     done\r
5580     ac_cv_prog_CPP=$CPP\r
5581 \r
5582 fi\r
5583   CPP=$ac_cv_prog_CPP\r
5584 else\r
5585   ac_cv_prog_CPP=$CPP\r
5586 fi\r
5587 { echo "$as_me:$LINENO: result: $CPP" >&5\r
5588 echo "${ECHO_T}$CPP" >&6; }\r
5589 ac_preproc_ok=false\r
5590 for ac_c_preproc_warn_flag in '' yes\r
5591 do\r
5592   # Use a header file that comes with gcc, so configuring glibc\r
5593   # with a fresh cross-compiler works.\r
5594   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
5595   # <limits.h> exists even on freestanding compilers.\r
5596   # On the NeXT, cc -E runs the code through the compiler's parser,\r
5597   # not just through cpp. "Syntax error" is here to catch this case.\r
5598   cat >conftest.$ac_ext <<_ACEOF\r
5599 /* confdefs.h.  */\r
5600 _ACEOF\r
5601 cat confdefs.h >>conftest.$ac_ext\r
5602 cat >>conftest.$ac_ext <<_ACEOF\r
5603 /* end confdefs.h.  */\r
5604 #ifdef __STDC__\r
5605 # include <limits.h>\r
5606 #else\r
5607 # include <assert.h>\r
5608 #endif\r
5609                      Syntax error\r
5610 _ACEOF\r
5611 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
5612 case "(($ac_try" in\r
5613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5614   *) ac_try_echo=$ac_try;;\r
5615 esac\r
5616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
5617   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
5618   ac_status=$?\r
5619   grep -v '^ *+' conftest.er1 >conftest.err\r
5620   rm -f conftest.er1\r
5621   cat conftest.err >&5\r
5622   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5623   (exit $ac_status); } >/dev/null && {\r
5624          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
5625          test ! -s conftest.err\r
5626        }; then\r
5627   :\r
5628 else\r
5629   echo "$as_me: failed program was:" >&5\r
5630 sed 's/^/| /' conftest.$ac_ext >&5\r
5631 \r
5632   # Broken: fails on valid input.\r
5633 continue\r
5634 fi\r
5635 \r
5636 rm -f conftest.err conftest.$ac_ext\r
5637 \r
5638   # OK, works on sane cases.  Now check whether nonexistent headers\r
5639   # can be detected and how.\r
5640   cat >conftest.$ac_ext <<_ACEOF\r
5641 /* confdefs.h.  */\r
5642 _ACEOF\r
5643 cat confdefs.h >>conftest.$ac_ext\r
5644 cat >>conftest.$ac_ext <<_ACEOF\r
5645 /* end confdefs.h.  */\r
5646 #include <ac_nonexistent.h>\r
5647 _ACEOF\r
5648 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
5649 case "(($ac_try" in\r
5650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5651   *) ac_try_echo=$ac_try;;\r
5652 esac\r
5653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
5654   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
5655   ac_status=$?\r
5656   grep -v '^ *+' conftest.er1 >conftest.err\r
5657   rm -f conftest.er1\r
5658   cat conftest.err >&5\r
5659   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5660   (exit $ac_status); } >/dev/null && {\r
5661          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
5662          test ! -s conftest.err\r
5663        }; then\r
5664   # Broken: success on invalid input.\r
5665 continue\r
5666 else\r
5667   echo "$as_me: failed program was:" >&5\r
5668 sed 's/^/| /' conftest.$ac_ext >&5\r
5669 \r
5670   # Passes both tests.\r
5671 ac_preproc_ok=:\r
5672 break\r
5673 fi\r
5674 \r
5675 rm -f conftest.err conftest.$ac_ext\r
5676 \r
5677 done\r
5678 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.\r
5679 rm -f conftest.err conftest.$ac_ext\r
5680 if $ac_preproc_ok; then\r
5681   :\r
5682 else\r
5683   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check\r
5684 See \`config.log' for more details." >&5\r
5685 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check\r
5686 See \`config.log' for more details." >&2;}\r
5687    { (exit 1); exit 1; }; }\r
5688 fi\r
5689 \r
5690 ac_ext=c\r
5691 ac_cpp='$CPP $CPPFLAGS'\r
5692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'\r
5693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'\r
5694 ac_compiler_gnu=$ac_cv_c_compiler_gnu\r
5695 \r
5696 \r
5697 { echo "$as_me:$LINENO: checking for library containing strerror" >&5\r
5698 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }\r
5699 if test "${ac_cv_search_strerror+set}" = set; then\r
5700   echo $ECHO_N "(cached) $ECHO_C" >&6\r
5701 else\r
5702   ac_func_search_save_LIBS=$LIBS\r
5703 cat >conftest.$ac_ext <<_ACEOF\r
5704 /* confdefs.h.  */\r
5705 _ACEOF\r
5706 cat confdefs.h >>conftest.$ac_ext\r
5707 cat >>conftest.$ac_ext <<_ACEOF\r
5708 /* end confdefs.h.  */\r
5709 \r
5710 /* Override any GCC internal prototype to avoid an error.\r
5711    Use char because int might match the return type of a GCC\r
5712    builtin and then its argument prototype would still apply.  */\r
5713 #ifdef __cplusplus\r
5714 extern "C"\r
5715 #endif\r
5716 char strerror ();\r
5717 int\r
5718 main ()\r
5719 {\r
5720 return strerror ();\r
5721   ;\r
5722   return 0;\r
5723 }\r
5724 _ACEOF\r
5725 for ac_lib in '' cposix; do\r
5726   if test -z "$ac_lib"; then\r
5727     ac_res="none required"\r
5728   else\r
5729     ac_res=-l$ac_lib\r
5730     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"\r
5731   fi\r
5732   rm -f conftest.$ac_objext conftest$ac_exeext\r
5733 if { (ac_try="$ac_link"\r
5734 case "(($ac_try" in\r
5735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5736   *) ac_try_echo=$ac_try;;\r
5737 esac\r
5738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
5739   (eval "$ac_link") 2>conftest.er1\r
5740   ac_status=$?\r
5741   grep -v '^ *+' conftest.er1 >conftest.err\r
5742   rm -f conftest.er1\r
5743   cat conftest.err >&5\r
5744   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5745   (exit $ac_status); } && {\r
5746          test -z "$ac_c_werror_flag" ||\r
5747          test ! -s conftest.err\r
5748        } && test -s conftest$ac_exeext &&\r
5749        $as_test_x conftest$ac_exeext; then\r
5750   ac_cv_search_strerror=$ac_res\r
5751 else\r
5752   echo "$as_me: failed program was:" >&5\r
5753 sed 's/^/| /' conftest.$ac_ext >&5\r
5754 \r
5755 \r
5756 fi\r
5757 \r
5758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
5759       conftest$ac_exeext\r
5760   if test "${ac_cv_search_strerror+set}" = set; then\r
5761   break\r
5762 fi\r
5763 done\r
5764 if test "${ac_cv_search_strerror+set}" = set; then\r
5765   :\r
5766 else\r
5767   ac_cv_search_strerror=no\r
5768 fi\r
5769 rm conftest.$ac_ext\r
5770 LIBS=$ac_func_search_save_LIBS\r
5771 fi\r
5772 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5\r
5773 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }\r
5774 ac_res=$ac_cv_search_strerror\r
5775 if test "$ac_res" != no; then\r
5776   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"\r
5777 \r
5778 fi\r
5779 \r
5780 # Find a good install program.  We prefer a C program (faster),\r
5781 # so one script is as good as another.  But avoid the broken or\r
5782 # incompatible versions:\r
5783 # SysV /etc/install, /usr/sbin/install\r
5784 # SunOS /usr/etc/install\r
5785 # IRIX /sbin/install\r
5786 # AIX /bin/install\r
5787 # AmigaOS /C/install, which installs bootblocks on floppy discs\r
5788 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag\r
5789 # AFS /usr/afsws/bin/install, which mishandles nonexistent args\r
5790 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"\r
5791 # OS/2's system install, which has a completely different semantic\r
5792 # ./install, which can be erroneously created by make from ./install.sh.\r
5793 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5\r
5794 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }\r
5795 if test -z "$INSTALL"; then\r
5796 if test "${ac_cv_path_install+set}" = set; then\r
5797   echo $ECHO_N "(cached) $ECHO_C" >&6\r
5798 else\r
5799   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
5800 for as_dir in $PATH\r
5801 do\r
5802   IFS=$as_save_IFS\r
5803   test -z "$as_dir" && as_dir=.\r
5804   # Account for people who put trailing slashes in PATH elements.\r
5805 case $as_dir/ in\r
5806   ./ | .// | /cC/* | \\r
5807   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \\r
5808   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \\r
5809   /usr/ucb/* ) ;;\r
5810   *)\r
5811     # OSF1 and SCO ODT 3.0 have their own names for install.\r
5812     # Don't use installbsd from OSF since it installs stuff as root\r
5813     # by default.\r
5814     for ac_prog in ginstall scoinst install; do\r
5815       for ac_exec_ext in '' $ac_executable_extensions; do\r
5816         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then\r
5817           if test $ac_prog = install &&\r
5818             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then\r
5819             # AIX install.  It has an incompatible calling convention.\r
5820             :\r
5821           elif test $ac_prog = install &&\r
5822             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then\r
5823             # program-specific install script used by HP pwplus--don't use.\r
5824             :\r
5825           else\r
5826             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"\r
5827             break 3\r
5828           fi\r
5829         fi\r
5830       done\r
5831     done\r
5832     ;;\r
5833 esac\r
5834 done\r
5835 IFS=$as_save_IFS\r
5836 \r
5837 \r
5838 fi\r
5839   if test "${ac_cv_path_install+set}" = set; then\r
5840     INSTALL=$ac_cv_path_install\r
5841   else\r
5842     # As a last resort, use the slow shell script.  Don't cache a\r
5843     # value for INSTALL within a source directory, because that will\r
5844     # break other packages using the cache if that directory is\r
5845     # removed, or if the value is a relative name.\r
5846     INSTALL=$ac_install_sh\r
5847   fi\r
5848 fi\r
5849 { echo "$as_me:$LINENO: result: $INSTALL" >&5\r
5850 echo "${ECHO_T}$INSTALL" >&6; }\r
5851 \r
5852 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.\r
5853 # It thinks the first close brace ends the variable substitution.\r
5854 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'\r
5855 \r
5856 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'\r
5857 \r
5858 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'\r
5859 \r
5860 for ac_prog in lex flex\r
5861 do\r
5862   # Extract the first word of "$ac_prog", so it can be a program name with args.\r
5863 set dummy $ac_prog; ac_word=$2\r
5864 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
5865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
5866 if test "${ac_cv_prog_LEX+set}" = set; then\r
5867   echo $ECHO_N "(cached) $ECHO_C" >&6\r
5868 else\r
5869   if test -n "$LEX"; then\r
5870   ac_cv_prog_LEX="$LEX" # Let the user override the test.\r
5871 else\r
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
5873 for as_dir in $PATH\r
5874 do\r
5875   IFS=$as_save_IFS\r
5876   test -z "$as_dir" && as_dir=.\r
5877   for ac_exec_ext in '' $ac_executable_extensions; do\r
5878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
5879     ac_cv_prog_LEX="$ac_prog"\r
5880     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
5881     break 2\r
5882   fi\r
5883 done\r
5884 done\r
5885 IFS=$as_save_IFS\r
5886 \r
5887 fi\r
5888 fi\r
5889 LEX=$ac_cv_prog_LEX\r
5890 if test -n "$LEX"; then\r
5891   { echo "$as_me:$LINENO: result: $LEX" >&5\r
5892 echo "${ECHO_T}$LEX" >&6; }\r
5893 else\r
5894   { echo "$as_me:$LINENO: result: no" >&5\r
5895 echo "${ECHO_T}no" >&6; }\r
5896 fi\r
5897 \r
5898 \r
5899   test -n "$LEX" && break\r
5900 done\r
5901 test -n "$LEX" || LEX="lex_not_found"\r
5902 \r
5903 if test "$LEX" != lex_not_found ; then\r
5904   for ac_prog in flex lex\r
5905 do\r
5906   # Extract the first word of "$ac_prog", so it can be a program name with args.\r
5907 set dummy $ac_prog; ac_word=$2\r
5908 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
5909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
5910 if test "${ac_cv_prog_LEX+set}" = set; then\r
5911   echo $ECHO_N "(cached) $ECHO_C" >&6\r
5912 else\r
5913   if test -n "$LEX"; then\r
5914   ac_cv_prog_LEX="$LEX" # Let the user override the test.\r
5915 else\r
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
5917 for as_dir in $PATH\r
5918 do\r
5919   IFS=$as_save_IFS\r
5920   test -z "$as_dir" && as_dir=.\r
5921   for ac_exec_ext in '' $ac_executable_extensions; do\r
5922   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
5923     ac_cv_prog_LEX="$ac_prog"\r
5924     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
5925     break 2\r
5926   fi\r
5927 done\r
5928 done\r
5929 IFS=$as_save_IFS\r
5930 \r
5931 fi\r
5932 fi\r
5933 LEX=$ac_cv_prog_LEX\r
5934 if test -n "$LEX"; then\r
5935   { echo "$as_me:$LINENO: result: $LEX" >&5\r
5936 echo "${ECHO_T}$LEX" >&6; }\r
5937 else\r
5938   { echo "$as_me:$LINENO: result: no" >&5\r
5939 echo "${ECHO_T}no" >&6; }\r
5940 fi\r
5941 \r
5942 \r
5943   test -n "$LEX" && break\r
5944 done\r
5945 test -n "$LEX" || LEX=":"\r
5946 \r
5947 if test "x$LEX" != "x:"; then\r
5948   cat >conftest.l <<_ACEOF\r
5949 %%\r
5950 a { ECHO; }\r
5951 b { REJECT; }\r
5952 c { yymore (); }\r
5953 d { yyless (1); }\r
5954 e { yyless (input () != 0); }\r
5955 f { unput (yytext[0]); }\r
5956 . { BEGIN INITIAL; }\r
5957 %%\r
5958 #ifdef YYTEXT_POINTER\r
5959 extern char *yytext;\r
5960 #endif\r
5961 int\r
5962 main (void)\r
5963 {\r
5964   return ! yylex () + ! yywrap ();\r
5965 }\r
5966 _ACEOF\r
5967 { (ac_try="$LEX conftest.l"\r
5968 case "(($ac_try" in\r
5969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
5970   *) ac_try_echo=$ac_try;;\r
5971 esac\r
5972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
5973   (eval "$LEX conftest.l") 2>&5\r
5974   ac_status=$?\r
5975   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
5976   (exit $ac_status); }\r
5977 { echo "$as_me:$LINENO: checking lex output file root" >&5\r
5978 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }\r
5979 if test "${ac_cv_prog_lex_root+set}" = set; then\r
5980   echo $ECHO_N "(cached) $ECHO_C" >&6\r
5981 else\r
5982 \r
5983 if test -f lex.yy.c; then\r
5984   ac_cv_prog_lex_root=lex.yy\r
5985 elif test -f lexyy.c; then\r
5986   ac_cv_prog_lex_root=lexyy\r
5987 else\r
5988   { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5\r
5989 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}\r
5990    { (exit 1); exit 1; }; }\r
5991 fi\r
5992 fi\r
5993 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5\r
5994 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }\r
5995 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root\r
5996 \r
5997 if test -z "${LEXLIB+set}"; then\r
5998   { echo "$as_me:$LINENO: checking lex library" >&5\r
5999 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }\r
6000 if test "${ac_cv_lib_lex+set}" = set; then\r
6001   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6002 else\r
6003 \r
6004     ac_save_LIBS=$LIBS\r
6005     ac_cv_lib_lex='none needed'\r
6006     for ac_lib in '' -lfl -ll; do\r
6007       LIBS="$ac_lib $ac_save_LIBS"\r
6008       cat >conftest.$ac_ext <<_ACEOF\r
6009 `cat $LEX_OUTPUT_ROOT.c`\r
6010 _ACEOF\r
6011 rm -f conftest.$ac_objext conftest$ac_exeext\r
6012 if { (ac_try="$ac_link"\r
6013 case "(($ac_try" in\r
6014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
6015   *) ac_try_echo=$ac_try;;\r
6016 esac\r
6017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
6018   (eval "$ac_link") 2>conftest.er1\r
6019   ac_status=$?\r
6020   grep -v '^ *+' conftest.er1 >conftest.err\r
6021   rm -f conftest.er1\r
6022   cat conftest.err >&5\r
6023   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6024   (exit $ac_status); } && {\r
6025          test -z "$ac_c_werror_flag" ||\r
6026          test ! -s conftest.err\r
6027        } && test -s conftest$ac_exeext &&\r
6028        $as_test_x conftest$ac_exeext; then\r
6029   ac_cv_lib_lex=$ac_lib\r
6030 else\r
6031   echo "$as_me: failed program was:" >&5\r
6032 sed 's/^/| /' conftest.$ac_ext >&5\r
6033 \r
6034 \r
6035 fi\r
6036 \r
6037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
6038       conftest$ac_exeext conftest.$ac_ext\r
6039       test "$ac_cv_lib_lex" != 'none needed' && break\r
6040     done\r
6041     LIBS=$ac_save_LIBS\r
6042 \r
6043 fi\r
6044 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5\r
6045 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }\r
6046   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex\r
6047 fi\r
6048 \r
6049 \r
6050 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5\r
6051 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }\r
6052 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then\r
6053   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6054 else\r
6055   # POSIX says lex can declare yytext either as a pointer or an array; the\r
6056 # default is implementation-dependent.  Figure out which it is, since\r
6057 # not all implementations provide the %pointer and %array declarations.\r
6058 ac_cv_prog_lex_yytext_pointer=no\r
6059 ac_save_LIBS=$LIBS\r
6060 LIBS="$LEXLIB $ac_save_LIBS"\r
6061 cat >conftest.$ac_ext <<_ACEOF\r
6062 #define YYTEXT_POINTER 1\r
6063 `cat $LEX_OUTPUT_ROOT.c`\r
6064 _ACEOF\r
6065 rm -f conftest.$ac_objext conftest$ac_exeext\r
6066 if { (ac_try="$ac_link"\r
6067 case "(($ac_try" in\r
6068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
6069   *) ac_try_echo=$ac_try;;\r
6070 esac\r
6071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
6072   (eval "$ac_link") 2>conftest.er1\r
6073   ac_status=$?\r
6074   grep -v '^ *+' conftest.er1 >conftest.err\r
6075   rm -f conftest.er1\r
6076   cat conftest.err >&5\r
6077   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6078   (exit $ac_status); } && {\r
6079          test -z "$ac_c_werror_flag" ||\r
6080          test ! -s conftest.err\r
6081        } && test -s conftest$ac_exeext &&\r
6082        $as_test_x conftest$ac_exeext; then\r
6083   ac_cv_prog_lex_yytext_pointer=yes\r
6084 else\r
6085   echo "$as_me: failed program was:" >&5\r
6086 sed 's/^/| /' conftest.$ac_ext >&5\r
6087 \r
6088 \r
6089 fi\r
6090 \r
6091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
6092       conftest$ac_exeext conftest.$ac_ext\r
6093 LIBS=$ac_save_LIBS\r
6094 \r
6095 fi\r
6096 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5\r
6097 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }\r
6098 if test $ac_cv_prog_lex_yytext_pointer = yes; then\r
6099 \r
6100 cat >>confdefs.h <<\_ACEOF\r
6101 #define YYTEXT_POINTER 1\r
6102 _ACEOF\r
6103 \r
6104 fi\r
6105 rm -f conftest.l $LEX_OUTPUT_ROOT.c\r
6106 \r
6107 fi\r
6108 fi\r
6109 for ac_prog in remsh rsh\r
6110 do\r
6111   # Extract the first word of "$ac_prog", so it can be a program name with args.\r
6112 set dummy $ac_prog; ac_word=$2\r
6113 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
6114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
6115 if test "${ac_cv_prog_RSH+set}" = set; then\r
6116   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6117 else\r
6118   if test -n "$RSH"; then\r
6119   ac_cv_prog_RSH="$RSH" # Let the user override the test.\r
6120 else\r
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
6122 for as_dir in $PATH\r
6123 do\r
6124   IFS=$as_save_IFS\r
6125   test -z "$as_dir" && as_dir=.\r
6126   for ac_exec_ext in '' $ac_executable_extensions; do\r
6127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
6128     ac_cv_prog_RSH="$ac_prog"\r
6129     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
6130     break 2\r
6131   fi\r
6132 done\r
6133 done\r
6134 IFS=$as_save_IFS\r
6135 \r
6136 fi\r
6137 fi\r
6138 RSH=$ac_cv_prog_RSH\r
6139 if test -n "$RSH"; then\r
6140   { echo "$as_me:$LINENO: result: $RSH" >&5\r
6141 echo "${ECHO_T}$RSH" >&6; }\r
6142 else\r
6143   { echo "$as_me:$LINENO: result: no" >&5\r
6144 echo "${ECHO_T}no" >&6; }\r
6145 fi\r
6146 \r
6147 \r
6148   test -n "$RSH" && break\r
6149 done\r
6150 test -n "$RSH" || RSH="rsh"\r
6151 \r
6152 for ac_prog in makeinfo\r
6153 do\r
6154   # Extract the first word of "$ac_prog", so it can be a program name with args.\r
6155 set dummy $ac_prog; ac_word=$2\r
6156 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
6157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
6158 if test "${ac_cv_prog_MINFO+set}" = set; then\r
6159   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6160 else\r
6161   if test -n "$MINFO"; then\r
6162   ac_cv_prog_MINFO="$MINFO" # Let the user override the test.\r
6163 else\r
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
6165 for as_dir in $PATH\r
6166 do\r
6167   IFS=$as_save_IFS\r
6168   test -z "$as_dir" && as_dir=.\r
6169   for ac_exec_ext in '' $ac_executable_extensions; do\r
6170   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
6171     ac_cv_prog_MINFO="$ac_prog"\r
6172     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
6173     break 2\r
6174   fi\r
6175 done\r
6176 done\r
6177 IFS=$as_save_IFS\r
6178 \r
6179 fi\r
6180 fi\r
6181 MINFO=$ac_cv_prog_MINFO\r
6182 if test -n "$MINFO"; then\r
6183   { echo "$as_me:$LINENO: result: $MINFO" >&5\r
6184 echo "${ECHO_T}$MINFO" >&6; }\r
6185 else\r
6186   { echo "$as_me:$LINENO: result: no" >&5\r
6187 echo "${ECHO_T}no" >&6; }\r
6188 fi\r
6189 \r
6190 \r
6191   test -n "$MINFO" && break\r
6192 done\r
6193 test -n "$MINFO" || MINFO="makeinfo_not_found"\r
6194 \r
6195 if test "$MINFO" == makeinfo_not_found ; then\r
6196    echo Please install \"makeinfo\"\r
6197    exit 1\r
6198 fi\r
6199 cat >>confdefs.h <<_ACEOF\r
6200 #define REMOTE_SHELL "$RSH"\r
6201 _ACEOF\r
6202 \r
6203 # Extract the first word of "nroff", so it can be a program name with args.\r
6204 set dummy nroff; ac_word=$2\r
6205 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
6206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
6207 if test "${ac_cv_prog_NROFF+set}" = set; then\r
6208   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6209 else\r
6210   if test -n "$NROFF"; then\r
6211   ac_cv_prog_NROFF="$NROFF" # Let the user override the test.\r
6212 else\r
6213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
6214 for as_dir in $PATH\r
6215 do\r
6216   IFS=$as_save_IFS\r
6217   test -z "$as_dir" && as_dir=.\r
6218   for ac_exec_ext in '' $ac_executable_extensions; do\r
6219   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
6220     ac_cv_prog_NROFF="nroff -man"\r
6221     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
6222     break 2\r
6223   fi\r
6224 done\r
6225 done\r
6226 IFS=$as_save_IFS\r
6227 \r
6228   test -z "$ac_cv_prog_NROFF" && ac_cv_prog_NROFF="cat"\r
6229 fi\r
6230 fi\r
6231 NROFF=$ac_cv_prog_NROFF\r
6232 if test -n "$NROFF"; then\r
6233   { echo "$as_me:$LINENO: result: $NROFF" >&5\r
6234 echo "${ECHO_T}$NROFF" >&6; }\r
6235 else\r
6236   { echo "$as_me:$LINENO: result: no" >&5\r
6237 echo "${ECHO_T}no" >&6; }\r
6238 fi\r
6239 \r
6240 \r
6241 \r
6242 for ac_prog in awk mawk gawk nawk\r
6243 do\r
6244   # Extract the first word of "$ac_prog", so it can be a program name with args.\r
6245 set dummy $ac_prog; ac_word=$2\r
6246 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
6247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
6248 if test "${ac_cv_path_AWKPATH+set}" = set; then\r
6249   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6250 else\r
6251   case $AWKPATH in\r
6252   [\\/]* | ?:[\\/]*)\r
6253   ac_cv_path_AWKPATH="$AWKPATH" # Let the user override the test with a path.\r
6254   ;;\r
6255   *)\r
6256   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
6257 for as_dir in $PATH\r
6258 do\r
6259   IFS=$as_save_IFS\r
6260   test -z "$as_dir" && as_dir=.\r
6261   for ac_exec_ext in '' $ac_executable_extensions; do\r
6262   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
6263     ac_cv_path_AWKPATH="$as_dir/$ac_word$ac_exec_ext"\r
6264     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
6265     break 2\r
6266   fi\r
6267 done\r
6268 done\r
6269 IFS=$as_save_IFS\r
6270 \r
6271   ;;\r
6272 esac\r
6273 fi\r
6274 AWKPATH=$ac_cv_path_AWKPATH\r
6275 if test -n "$AWKPATH"; then\r
6276   { echo "$as_me:$LINENO: result: $AWKPATH" >&5\r
6277 echo "${ECHO_T}$AWKPATH" >&6; }\r
6278 else\r
6279   { echo "$as_me:$LINENO: result: no" >&5\r
6280 echo "${ECHO_T}no" >&6; }\r
6281 fi\r
6282 \r
6283 \r
6284   test -n "$AWKPATH" && break\r
6285 done\r
6286 \r
6287 for ac_prog in perl\r
6288 do\r
6289   # Extract the first word of "$ac_prog", so it can be a program name with args.\r
6290 set dummy $ac_prog; ac_word=$2\r
6291 { echo "$as_me:$LINENO: checking for $ac_word" >&5\r
6292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }\r
6293 if test "${ac_cv_path_PERLPATH+set}" = set; then\r
6294   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6295 else\r
6296   case $PERLPATH in\r
6297   [\\/]* | ?:[\\/]*)\r
6298   ac_cv_path_PERLPATH="$PERLPATH" # Let the user override the test with a path.\r
6299   ;;\r
6300   *)\r
6301   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
6302 for as_dir in $PATH\r
6303 do\r
6304   IFS=$as_save_IFS\r
6305   test -z "$as_dir" && as_dir=.\r
6306   for ac_exec_ext in '' $ac_executable_extensions; do\r
6307   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then\r
6308     ac_cv_path_PERLPATH="$as_dir/$ac_word$ac_exec_ext"\r
6309     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5\r
6310     break 2\r
6311   fi\r
6312 done\r
6313 done\r
6314 IFS=$as_save_IFS\r
6315 \r
6316   ;;\r
6317 esac\r
6318 fi\r
6319 PERLPATH=$ac_cv_path_PERLPATH\r
6320 if test -n "$PERLPATH"; then\r
6321   { echo "$as_me:$LINENO: result: $PERLPATH" >&5\r
6322 echo "${ECHO_T}$PERLPATH" >&6; }\r
6323 else\r
6324   { echo "$as_me:$LINENO: result: no" >&5\r
6325 echo "${ECHO_T}no" >&6; }\r
6326 fi\r
6327 \r
6328 \r
6329   test -n "$PERLPATH" && break\r
6330 done\r
6331 \r
6332 \r
6333 \r
6334 \r
6335 \r
6336 \r
6337 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5\r
6338 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }\r
6339 if test "${ac_cv_path_GREP+set}" = set; then\r
6340   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6341 else\r
6342   # Extract the first word of "grep ggrep" to use in msg output\r
6343 if test -z "$GREP"; then\r
6344 set dummy grep ggrep; ac_prog_name=$2\r
6345 if test "${ac_cv_path_GREP+set}" = set; then\r
6346   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6347 else\r
6348   ac_path_GREP_found=false\r
6349 # Loop through the user's path and test for each of PROGNAME-LIST\r
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
6351 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin\r
6352 do\r
6353   IFS=$as_save_IFS\r
6354   test -z "$as_dir" && as_dir=.\r
6355   for ac_prog in grep ggrep; do\r
6356   for ac_exec_ext in '' $ac_executable_extensions; do\r
6357     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"\r
6358     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue\r
6359     # Check for GNU ac_path_GREP and select it if it is found.\r
6360   # Check for GNU $ac_path_GREP\r
6361 case `"$ac_path_GREP" --version 2>&1` in\r
6362 *GNU*)\r
6363   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;\r
6364 *)\r
6365   ac_count=0\r
6366   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"\r
6367   while :\r
6368   do\r
6369     cat "conftest.in" "conftest.in" >"conftest.tmp"\r
6370     mv "conftest.tmp" "conftest.in"\r
6371     cp "conftest.in" "conftest.nl"\r
6372     echo 'GREP' >> "conftest.nl"\r
6373     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break\r
6374     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break\r
6375     ac_count=`expr $ac_count + 1`\r
6376     if test $ac_count -gt ${ac_path_GREP_max-0}; then\r
6377       # Best one so far, save it but keep looking for a better one\r
6378       ac_cv_path_GREP="$ac_path_GREP"\r
6379       ac_path_GREP_max=$ac_count\r
6380     fi\r
6381     # 10*(2^10) chars as input seems more than enough\r
6382     test $ac_count -gt 10 && break\r
6383   done\r
6384   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;\r
6385 esac\r
6386 \r
6387 \r
6388     $ac_path_GREP_found && break 3\r
6389   done\r
6390 done\r
6391 \r
6392 done\r
6393 IFS=$as_save_IFS\r
6394 \r
6395 \r
6396 fi\r
6397 \r
6398 GREP="$ac_cv_path_GREP"\r
6399 if test -z "$GREP"; then\r
6400   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5\r
6401 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}\r
6402    { (exit 1); exit 1; }; }\r
6403 fi\r
6404 \r
6405 else\r
6406   ac_cv_path_GREP=$GREP\r
6407 fi\r
6408 \r
6409 \r
6410 fi\r
6411 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5\r
6412 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }\r
6413  GREP="$ac_cv_path_GREP"\r
6414 \r
6415 \r
6416 { echo "$as_me:$LINENO: checking for egrep" >&5\r
6417 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }\r
6418 if test "${ac_cv_path_EGREP+set}" = set; then\r
6419   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6420 else\r
6421   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1\r
6422    then ac_cv_path_EGREP="$GREP -E"\r
6423    else\r
6424      # Extract the first word of "egrep" to use in msg output\r
6425 if test -z "$EGREP"; then\r
6426 set dummy egrep; ac_prog_name=$2\r
6427 if test "${ac_cv_path_EGREP+set}" = set; then\r
6428   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6429 else\r
6430   ac_path_EGREP_found=false\r
6431 # Loop through the user's path and test for each of PROGNAME-LIST\r
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
6433 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin\r
6434 do\r
6435   IFS=$as_save_IFS\r
6436   test -z "$as_dir" && as_dir=.\r
6437   for ac_prog in egrep; do\r
6438   for ac_exec_ext in '' $ac_executable_extensions; do\r
6439     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"\r
6440     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue\r
6441     # Check for GNU ac_path_EGREP and select it if it is found.\r
6442   # Check for GNU $ac_path_EGREP\r
6443 case `"$ac_path_EGREP" --version 2>&1` in\r
6444 *GNU*)\r
6445   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;\r
6446 *)\r
6447   ac_count=0\r
6448   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"\r
6449   while :\r
6450   do\r
6451     cat "conftest.in" "conftest.in" >"conftest.tmp"\r
6452     mv "conftest.tmp" "conftest.in"\r
6453     cp "conftest.in" "conftest.nl"\r
6454     echo 'EGREP' >> "conftest.nl"\r
6455     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break\r
6456     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break\r
6457     ac_count=`expr $ac_count + 1`\r
6458     if test $ac_count -gt ${ac_path_EGREP_max-0}; then\r
6459       # Best one so far, save it but keep looking for a better one\r
6460       ac_cv_path_EGREP="$ac_path_EGREP"\r
6461       ac_path_EGREP_max=$ac_count\r
6462     fi\r
6463     # 10*(2^10) chars as input seems more than enough\r
6464     test $ac_count -gt 10 && break\r
6465   done\r
6466   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;\r
6467 esac\r
6468 \r
6469 \r
6470     $ac_path_EGREP_found && break 3\r
6471   done\r
6472 done\r
6473 \r
6474 done\r
6475 IFS=$as_save_IFS\r
6476 \r
6477 \r
6478 fi\r
6479 \r
6480 EGREP="$ac_cv_path_EGREP"\r
6481 if test -z "$EGREP"; then\r
6482   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5\r
6483 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}\r
6484    { (exit 1); exit 1; }; }\r
6485 fi\r
6486 \r
6487 else\r
6488   ac_cv_path_EGREP=$EGREP\r
6489 fi\r
6490 \r
6491 \r
6492    fi\r
6493 fi\r
6494 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5\r
6495 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }\r
6496  EGREP="$ac_cv_path_EGREP"\r
6497 \r
6498 \r
6499 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5\r
6500 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }\r
6501 if test "${ac_cv_header_stdc+set}" = set; then\r
6502   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6503 else\r
6504   cat >conftest.$ac_ext <<_ACEOF\r
6505 /* confdefs.h.  */\r
6506 _ACEOF\r
6507 cat confdefs.h >>conftest.$ac_ext\r
6508 cat >>conftest.$ac_ext <<_ACEOF\r
6509 /* end confdefs.h.  */\r
6510 #include <stdlib.h>\r
6511 #include <stdarg.h>\r
6512 #include <string.h>\r
6513 #include <float.h>\r
6514 \r
6515 int\r
6516 main ()\r
6517 {\r
6518 \r
6519   ;\r
6520   return 0;\r
6521 }\r
6522 _ACEOF\r
6523 rm -f conftest.$ac_objext\r
6524 if { (ac_try="$ac_compile"\r
6525 case "(($ac_try" in\r
6526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
6527   *) ac_try_echo=$ac_try;;\r
6528 esac\r
6529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
6530   (eval "$ac_compile") 2>conftest.er1\r
6531   ac_status=$?\r
6532   grep -v '^ *+' conftest.er1 >conftest.err\r
6533   rm -f conftest.er1\r
6534   cat conftest.err >&5\r
6535   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6536   (exit $ac_status); } && {\r
6537          test -z "$ac_c_werror_flag" ||\r
6538          test ! -s conftest.err\r
6539        } && test -s conftest.$ac_objext; then\r
6540   ac_cv_header_stdc=yes\r
6541 else\r
6542   echo "$as_me: failed program was:" >&5\r
6543 sed 's/^/| /' conftest.$ac_ext >&5\r
6544 \r
6545         ac_cv_header_stdc=no\r
6546 fi\r
6547 \r
6548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
6549 \r
6550 if test $ac_cv_header_stdc = yes; then\r
6551   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.\r
6552   cat >conftest.$ac_ext <<_ACEOF\r
6553 /* confdefs.h.  */\r
6554 _ACEOF\r
6555 cat confdefs.h >>conftest.$ac_ext\r
6556 cat >>conftest.$ac_ext <<_ACEOF\r
6557 /* end confdefs.h.  */\r
6558 #include <string.h>\r
6559 \r
6560 _ACEOF\r
6561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |\r
6562   $EGREP "memchr" >/dev/null 2>&1; then\r
6563   :\r
6564 else\r
6565   ac_cv_header_stdc=no\r
6566 fi\r
6567 rm -f conftest*\r
6568 \r
6569 fi\r
6570 \r
6571 if test $ac_cv_header_stdc = yes; then\r
6572   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.\r
6573   cat >conftest.$ac_ext <<_ACEOF\r
6574 /* confdefs.h.  */\r
6575 _ACEOF\r
6576 cat confdefs.h >>conftest.$ac_ext\r
6577 cat >>conftest.$ac_ext <<_ACEOF\r
6578 /* end confdefs.h.  */\r
6579 #include <stdlib.h>\r
6580 \r
6581 _ACEOF\r
6582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |\r
6583   $EGREP "free" >/dev/null 2>&1; then\r
6584   :\r
6585 else\r
6586   ac_cv_header_stdc=no\r
6587 fi\r
6588 rm -f conftest*\r
6589 \r
6590 fi\r
6591 \r
6592 if test $ac_cv_header_stdc = yes; then\r
6593   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.\r
6594   if test "$cross_compiling" = yes; then\r
6595   :\r
6596 else\r
6597   cat >conftest.$ac_ext <<_ACEOF\r
6598 /* confdefs.h.  */\r
6599 _ACEOF\r
6600 cat confdefs.h >>conftest.$ac_ext\r
6601 cat >>conftest.$ac_ext <<_ACEOF\r
6602 /* end confdefs.h.  */\r
6603 #include <ctype.h>\r
6604 #include <stdlib.h>\r
6605 #if ((' ' & 0x0FF) == 0x020)\r
6606 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')\r
6607 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))\r
6608 #else\r
6609 # define ISLOWER(c) \\r
6610                    (('a' <= (c) && (c) <= 'i') \\r
6611                      || ('j' <= (c) && (c) <= 'r') \\r
6612                      || ('s' <= (c) && (c) <= 'z'))\r
6613 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))\r
6614 #endif\r
6615 \r
6616 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))\r
6617 int\r
6618 main ()\r
6619 {\r
6620   int i;\r
6621   for (i = 0; i < 256; i++)\r
6622     if (XOR (islower (i), ISLOWER (i))\r
6623         || toupper (i) != TOUPPER (i))\r
6624       return 2;\r
6625   return 0;\r
6626 }\r
6627 _ACEOF\r
6628 rm -f conftest$ac_exeext\r
6629 if { (ac_try="$ac_link"\r
6630 case "(($ac_try" in\r
6631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
6632   *) ac_try_echo=$ac_try;;\r
6633 esac\r
6634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
6635   (eval "$ac_link") 2>&5\r
6636   ac_status=$?\r
6637   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6638   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'\r
6639   { (case "(($ac_try" in\r
6640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
6641   *) ac_try_echo=$ac_try;;\r
6642 esac\r
6643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
6644   (eval "$ac_try") 2>&5\r
6645   ac_status=$?\r
6646   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6647   (exit $ac_status); }; }; then\r
6648   :\r
6649 else\r
6650   echo "$as_me: program exited with status $ac_status" >&5\r
6651 echo "$as_me: failed program was:" >&5\r
6652 sed 's/^/| /' conftest.$ac_ext >&5\r
6653 \r
6654 ( exit $ac_status )\r
6655 ac_cv_header_stdc=no\r
6656 fi\r
6657 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext\r
6658 fi\r
6659 \r
6660 \r
6661 fi\r
6662 fi\r
6663 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5\r
6664 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }\r
6665 if test $ac_cv_header_stdc = yes; then\r
6666 \r
6667 cat >>confdefs.h <<\_ACEOF\r
6668 #define STDC_HEADERS 1\r
6669 _ACEOF\r
6670 \r
6671 fi\r
6672 \r
6673 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5\r
6674 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }\r
6675 if test "${ac_cv_header_time+set}" = set; then\r
6676   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6677 else\r
6678   cat >conftest.$ac_ext <<_ACEOF\r
6679 /* confdefs.h.  */\r
6680 _ACEOF\r
6681 cat confdefs.h >>conftest.$ac_ext\r
6682 cat >>conftest.$ac_ext <<_ACEOF\r
6683 /* end confdefs.h.  */\r
6684 #include <sys/types.h>\r
6685 #include <sys/time.h>\r
6686 #include <time.h>\r
6687 \r
6688 int\r
6689 main ()\r
6690 {\r
6691 if ((struct tm *) 0)\r
6692 return 0;\r
6693   ;\r
6694   return 0;\r
6695 }\r
6696 _ACEOF\r
6697 rm -f conftest.$ac_objext\r
6698 if { (ac_try="$ac_compile"\r
6699 case "(($ac_try" in\r
6700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
6701   *) ac_try_echo=$ac_try;;\r
6702 esac\r
6703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
6704   (eval "$ac_compile") 2>conftest.er1\r
6705   ac_status=$?\r
6706   grep -v '^ *+' conftest.er1 >conftest.err\r
6707   rm -f conftest.er1\r
6708   cat conftest.err >&5\r
6709   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6710   (exit $ac_status); } && {\r
6711          test -z "$ac_c_werror_flag" ||\r
6712          test ! -s conftest.err\r
6713        } && test -s conftest.$ac_objext; then\r
6714   ac_cv_header_time=yes\r
6715 else\r
6716   echo "$as_me: failed program was:" >&5\r
6717 sed 's/^/| /' conftest.$ac_ext >&5\r
6718 \r
6719         ac_cv_header_time=no\r
6720 fi\r
6721 \r
6722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
6723 fi\r
6724 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5\r
6725 echo "${ECHO_T}$ac_cv_header_time" >&6; }\r
6726 if test $ac_cv_header_time = yes; then\r
6727 \r
6728 cat >>confdefs.h <<\_ACEOF\r
6729 #define TIME_WITH_SYS_TIME 1\r
6730 _ACEOF\r
6731 \r
6732 fi\r
6733 \r
6734 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5\r
6735 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }\r
6736 if test "${ac_cv_header_sys_wait_h+set}" = set; then\r
6737   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6738 else\r
6739   cat >conftest.$ac_ext <<_ACEOF\r
6740 /* confdefs.h.  */\r
6741 _ACEOF\r
6742 cat confdefs.h >>conftest.$ac_ext\r
6743 cat >>conftest.$ac_ext <<_ACEOF\r
6744 /* end confdefs.h.  */\r
6745 #include <sys/types.h>\r
6746 #include <sys/wait.h>\r
6747 #ifndef WEXITSTATUS\r
6748 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)\r
6749 #endif\r
6750 #ifndef WIFEXITED\r
6751 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)\r
6752 #endif\r
6753 \r
6754 int\r
6755 main ()\r
6756 {\r
6757   int s;\r
6758   wait (&s);\r
6759   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;\r
6760   ;\r
6761   return 0;\r
6762 }\r
6763 _ACEOF\r
6764 rm -f conftest.$ac_objext\r
6765 if { (ac_try="$ac_compile"\r
6766 case "(($ac_try" in\r
6767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
6768   *) ac_try_echo=$ac_try;;\r
6769 esac\r
6770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
6771   (eval "$ac_compile") 2>conftest.er1\r
6772   ac_status=$?\r
6773   grep -v '^ *+' conftest.er1 >conftest.err\r
6774   rm -f conftest.er1\r
6775   cat conftest.err >&5\r
6776   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6777   (exit $ac_status); } && {\r
6778          test -z "$ac_c_werror_flag" ||\r
6779          test ! -s conftest.err\r
6780        } && test -s conftest.$ac_objext; then\r
6781   ac_cv_header_sys_wait_h=yes\r
6782 else\r
6783   echo "$as_me: failed program was:" >&5\r
6784 sed 's/^/| /' conftest.$ac_ext >&5\r
6785 \r
6786         ac_cv_header_sys_wait_h=no\r
6787 fi\r
6788 \r
6789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
6790 fi\r
6791 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5\r
6792 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }\r
6793 if test $ac_cv_header_sys_wait_h = yes; then\r
6794 \r
6795 cat >>confdefs.h <<\_ACEOF\r
6796 #define HAVE_SYS_WAIT_H 1\r
6797 _ACEOF\r
6798 \r
6799 fi\r
6800 \r
6801 \r
6802 \r
6803 \r
6804 \r
6805 \r
6806 ac_header_dirent=no\r
6807 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do\r
6808   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`\r
6809 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5\r
6810 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }\r
6811 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
6812   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6813 else\r
6814   cat >conftest.$ac_ext <<_ACEOF\r
6815 /* confdefs.h.  */\r
6816 _ACEOF\r
6817 cat confdefs.h >>conftest.$ac_ext\r
6818 cat >>conftest.$ac_ext <<_ACEOF\r
6819 /* end confdefs.h.  */\r
6820 #include <sys/types.h>\r
6821 #include <$ac_hdr>\r
6822 \r
6823 int\r
6824 main ()\r
6825 {\r
6826 if ((DIR *) 0)\r
6827 return 0;\r
6828   ;\r
6829   return 0;\r
6830 }\r
6831 _ACEOF\r
6832 rm -f conftest.$ac_objext\r
6833 if { (ac_try="$ac_compile"\r
6834 case "(($ac_try" in\r
6835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
6836   *) ac_try_echo=$ac_try;;\r
6837 esac\r
6838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
6839   (eval "$ac_compile") 2>conftest.er1\r
6840   ac_status=$?\r
6841   grep -v '^ *+' conftest.er1 >conftest.err\r
6842   rm -f conftest.er1\r
6843   cat conftest.err >&5\r
6844   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6845   (exit $ac_status); } && {\r
6846          test -z "$ac_c_werror_flag" ||\r
6847          test ! -s conftest.err\r
6848        } && test -s conftest.$ac_objext; then\r
6849   eval "$as_ac_Header=yes"\r
6850 else\r
6851   echo "$as_me: failed program was:" >&5\r
6852 sed 's/^/| /' conftest.$ac_ext >&5\r
6853 \r
6854         eval "$as_ac_Header=no"\r
6855 fi\r
6856 \r
6857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
6858 fi\r
6859 ac_res=`eval echo '${'$as_ac_Header'}'`\r
6860                { echo "$as_me:$LINENO: result: $ac_res" >&5\r
6861 echo "${ECHO_T}$ac_res" >&6; }\r
6862 if test `eval echo '${'$as_ac_Header'}'` = yes; then\r
6863   cat >>confdefs.h <<_ACEOF\r
6864 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1\r
6865 _ACEOF\r
6866 \r
6867 ac_header_dirent=$ac_hdr; break\r
6868 fi\r
6869 \r
6870 done\r
6871 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.\r
6872 if test $ac_header_dirent = dirent.h; then\r
6873   { echo "$as_me:$LINENO: checking for library containing opendir" >&5\r
6874 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }\r
6875 if test "${ac_cv_search_opendir+set}" = set; then\r
6876   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6877 else\r
6878   ac_func_search_save_LIBS=$LIBS\r
6879 cat >conftest.$ac_ext <<_ACEOF\r
6880 /* confdefs.h.  */\r
6881 _ACEOF\r
6882 cat confdefs.h >>conftest.$ac_ext\r
6883 cat >>conftest.$ac_ext <<_ACEOF\r
6884 /* end confdefs.h.  */\r
6885 \r
6886 /* Override any GCC internal prototype to avoid an error.\r
6887    Use char because int might match the return type of a GCC\r
6888    builtin and then its argument prototype would still apply.  */\r
6889 #ifdef __cplusplus\r
6890 extern "C"\r
6891 #endif\r
6892 char opendir ();\r
6893 int\r
6894 main ()\r
6895 {\r
6896 return opendir ();\r
6897   ;\r
6898   return 0;\r
6899 }\r
6900 _ACEOF\r
6901 for ac_lib in '' dir; do\r
6902   if test -z "$ac_lib"; then\r
6903     ac_res="none required"\r
6904   else\r
6905     ac_res=-l$ac_lib\r
6906     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"\r
6907   fi\r
6908   rm -f conftest.$ac_objext conftest$ac_exeext\r
6909 if { (ac_try="$ac_link"\r
6910 case "(($ac_try" in\r
6911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
6912   *) ac_try_echo=$ac_try;;\r
6913 esac\r
6914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
6915   (eval "$ac_link") 2>conftest.er1\r
6916   ac_status=$?\r
6917   grep -v '^ *+' conftest.er1 >conftest.err\r
6918   rm -f conftest.er1\r
6919   cat conftest.err >&5\r
6920   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
6921   (exit $ac_status); } && {\r
6922          test -z "$ac_c_werror_flag" ||\r
6923          test ! -s conftest.err\r
6924        } && test -s conftest$ac_exeext &&\r
6925        $as_test_x conftest$ac_exeext; then\r
6926   ac_cv_search_opendir=$ac_res\r
6927 else\r
6928   echo "$as_me: failed program was:" >&5\r
6929 sed 's/^/| /' conftest.$ac_ext >&5\r
6930 \r
6931 \r
6932 fi\r
6933 \r
6934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
6935       conftest$ac_exeext\r
6936   if test "${ac_cv_search_opendir+set}" = set; then\r
6937   break\r
6938 fi\r
6939 done\r
6940 if test "${ac_cv_search_opendir+set}" = set; then\r
6941   :\r
6942 else\r
6943   ac_cv_search_opendir=no\r
6944 fi\r
6945 rm conftest.$ac_ext\r
6946 LIBS=$ac_func_search_save_LIBS\r
6947 fi\r
6948 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5\r
6949 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }\r
6950 ac_res=$ac_cv_search_opendir\r
6951 if test "$ac_res" != no; then\r
6952   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"\r
6953 \r
6954 fi\r
6955 \r
6956 else\r
6957   { echo "$as_me:$LINENO: checking for library containing opendir" >&5\r
6958 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }\r
6959 if test "${ac_cv_search_opendir+set}" = set; then\r
6960   echo $ECHO_N "(cached) $ECHO_C" >&6\r
6961 else\r
6962   ac_func_search_save_LIBS=$LIBS\r
6963 cat >conftest.$ac_ext <<_ACEOF\r
6964 /* confdefs.h.  */\r
6965 _ACEOF\r
6966 cat confdefs.h >>conftest.$ac_ext\r
6967 cat >>conftest.$ac_ext <<_ACEOF\r
6968 /* end confdefs.h.  */\r
6969 \r
6970 /* Override any GCC internal prototype to avoid an error.\r
6971    Use char because int might match the return type of a GCC\r
6972    builtin and then its argument prototype would still apply.  */\r
6973 #ifdef __cplusplus\r
6974 extern "C"\r
6975 #endif\r
6976 char opendir ();\r
6977 int\r
6978 main ()\r
6979 {\r
6980 return opendir ();\r
6981   ;\r
6982   return 0;\r
6983 }\r
6984 _ACEOF\r
6985 for ac_lib in '' x; do\r
6986   if test -z "$ac_lib"; then\r
6987     ac_res="none required"\r
6988   else\r
6989     ac_res=-l$ac_lib\r
6990     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"\r
6991   fi\r
6992   rm -f conftest.$ac_objext conftest$ac_exeext\r
6993 if { (ac_try="$ac_link"\r
6994 case "(($ac_try" in\r
6995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
6996   *) ac_try_echo=$ac_try;;\r
6997 esac\r
6998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
6999   (eval "$ac_link") 2>conftest.er1\r
7000   ac_status=$?\r
7001   grep -v '^ *+' conftest.er1 >conftest.err\r
7002   rm -f conftest.er1\r
7003   cat conftest.err >&5\r
7004   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
7005   (exit $ac_status); } && {\r
7006          test -z "$ac_c_werror_flag" ||\r
7007          test ! -s conftest.err\r
7008        } && test -s conftest$ac_exeext &&\r
7009        $as_test_x conftest$ac_exeext; then\r
7010   ac_cv_search_opendir=$ac_res\r
7011 else\r
7012   echo "$as_me: failed program was:" >&5\r
7013 sed 's/^/| /' conftest.$ac_ext >&5\r
7014 \r
7015 \r
7016 fi\r
7017 \r
7018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
7019       conftest$ac_exeext\r
7020   if test "${ac_cv_search_opendir+set}" = set; then\r
7021   break\r
7022 fi\r
7023 done\r
7024 if test "${ac_cv_search_opendir+set}" = set; then\r
7025   :\r
7026 else\r
7027   ac_cv_search_opendir=no\r
7028 fi\r
7029 rm conftest.$ac_ext\r
7030 LIBS=$ac_func_search_save_LIBS\r
7031 fi\r
7032 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5\r
7033 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }\r
7034 ac_res=$ac_cv_search_opendir\r
7035 if test "$ac_res" != no; then\r
7036   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"\r
7037 \r
7038 fi\r
7039 \r
7040 fi\r
7041 \r
7042 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5\r
7043 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }\r
7044 if test "${ac_cv_type_signal+set}" = set; then\r
7045   echo $ECHO_N "(cached) $ECHO_C" >&6\r
7046 else\r
7047   cat >conftest.$ac_ext <<_ACEOF\r
7048 /* confdefs.h.  */\r
7049 _ACEOF\r
7050 cat confdefs.h >>conftest.$ac_ext\r
7051 cat >>conftest.$ac_ext <<_ACEOF\r
7052 /* end confdefs.h.  */\r
7053 #include <sys/types.h>\r
7054 #include <signal.h>\r
7055 \r
7056 int\r
7057 main ()\r
7058 {\r
7059 return *(signal (0, 0)) (0) == 1;\r
7060   ;\r
7061   return 0;\r
7062 }\r
7063 _ACEOF\r
7064 rm -f conftest.$ac_objext\r
7065 if { (ac_try="$ac_compile"\r
7066 case "(($ac_try" in\r
7067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
7068   *) ac_try_echo=$ac_try;;\r
7069 esac\r
7070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
7071   (eval "$ac_compile") 2>conftest.er1\r
7072   ac_status=$?\r
7073   grep -v '^ *+' conftest.er1 >conftest.err\r
7074   rm -f conftest.er1\r
7075   cat conftest.err >&5\r
7076   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
7077   (exit $ac_status); } && {\r
7078          test -z "$ac_c_werror_flag" ||\r
7079          test ! -s conftest.err\r
7080        } && test -s conftest.$ac_objext; then\r
7081   ac_cv_type_signal=int\r
7082 else\r
7083   echo "$as_me: failed program was:" >&5\r
7084 sed 's/^/| /' conftest.$ac_ext >&5\r
7085 \r
7086         ac_cv_type_signal=void\r
7087 fi\r
7088 \r
7089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
7090 fi\r
7091 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5\r
7092 echo "${ECHO_T}$ac_cv_type_signal" >&6; }\r
7093 \r
7094 cat >>confdefs.h <<_ACEOF\r
7095 #define RETSIGTYPE $ac_cv_type_signal\r
7096 _ACEOF\r
7097 \r
7098 \r
7099 # On IRIX 5.3, sys/types and inttypes.h are conflicting.\r
7100 \r
7101 \r
7102 \r
7103 \r
7104 \r
7105 \r
7106 \r
7107 \r
7108 \r
7109 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \\r
7110                   inttypes.h stdint.h unistd.h\r
7111 do\r
7112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`\r
7113 { echo "$as_me:$LINENO: checking for $ac_header" >&5\r
7114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }\r
7115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
7116   echo $ECHO_N "(cached) $ECHO_C" >&6\r
7117 else\r
7118   cat >conftest.$ac_ext <<_ACEOF\r
7119 /* confdefs.h.  */\r
7120 _ACEOF\r
7121 cat confdefs.h >>conftest.$ac_ext\r
7122 cat >>conftest.$ac_ext <<_ACEOF\r
7123 /* end confdefs.h.  */\r
7124 $ac_includes_default\r
7125 \r
7126 #include <$ac_header>\r
7127 _ACEOF\r
7128 rm -f conftest.$ac_objext\r
7129 if { (ac_try="$ac_compile"\r
7130 case "(($ac_try" in\r
7131   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
7132   *) ac_try_echo=$ac_try;;\r
7133 esac\r
7134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
7135   (eval "$ac_compile") 2>conftest.er1\r
7136   ac_status=$?\r
7137   grep -v '^ *+' conftest.er1 >conftest.err\r
7138   rm -f conftest.er1\r
7139   cat conftest.err >&5\r
7140   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
7141   (exit $ac_status); } && {\r
7142          test -z "$ac_c_werror_flag" ||\r
7143          test ! -s conftest.err\r
7144        } && test -s conftest.$ac_objext; then\r
7145   eval "$as_ac_Header=yes"\r
7146 else\r
7147   echo "$as_me: failed program was:" >&5\r
7148 sed 's/^/| /' conftest.$ac_ext >&5\r
7149 \r
7150         eval "$as_ac_Header=no"\r
7151 fi\r
7152 \r
7153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
7154 fi\r
7155 ac_res=`eval echo '${'$as_ac_Header'}'`\r
7156                { echo "$as_me:$LINENO: result: $ac_res" >&5\r
7157 echo "${ECHO_T}$ac_res" >&6; }\r
7158 if test `eval echo '${'$as_ac_Header'}'` = yes; then\r
7159   cat >>confdefs.h <<_ACEOF\r
7160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1\r
7161 _ACEOF\r
7162 \r
7163 fi\r
7164 \r
7165 done\r
7166 \r
7167 \r
7168 \r
7169 \r
7170 \r
7171 \r
7172 \r
7173 for ac_header in stropts.h sys/time.h string.h unistd.h sys/systeminfo.h\r
7174 do\r
7175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`\r
7176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
7177   { echo "$as_me:$LINENO: checking for $ac_header" >&5\r
7178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }\r
7179 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
7180   echo $ECHO_N "(cached) $ECHO_C" >&6\r
7181 fi\r
7182 ac_res=`eval echo '${'$as_ac_Header'}'`\r
7183                { echo "$as_me:$LINENO: result: $ac_res" >&5\r
7184 echo "${ECHO_T}$ac_res" >&6; }\r
7185 else\r
7186   # Is the header compilable?\r
7187 { echo "$as_me:$LINENO: checking $ac_header usability" >&5\r
7188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }\r
7189 cat >conftest.$ac_ext <<_ACEOF\r
7190 /* confdefs.h.  */\r
7191 _ACEOF\r
7192 cat confdefs.h >>conftest.$ac_ext\r
7193 cat >>conftest.$ac_ext <<_ACEOF\r
7194 /* end confdefs.h.  */\r
7195 $ac_includes_default\r
7196 #include <$ac_header>\r
7197 _ACEOF\r
7198 rm -f conftest.$ac_objext\r
7199 if { (ac_try="$ac_compile"\r
7200 case "(($ac_try" in\r
7201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
7202   *) ac_try_echo=$ac_try;;\r
7203 esac\r
7204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
7205   (eval "$ac_compile") 2>conftest.er1\r
7206   ac_status=$?\r
7207   grep -v '^ *+' conftest.er1 >conftest.err\r
7208   rm -f conftest.er1\r
7209   cat conftest.err >&5\r
7210   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
7211   (exit $ac_status); } && {\r
7212          test -z "$ac_c_werror_flag" ||\r
7213          test ! -s conftest.err\r
7214        } && test -s conftest.$ac_objext; then\r
7215   ac_header_compiler=yes\r
7216 else\r
7217   echo "$as_me: failed program was:" >&5\r
7218 sed 's/^/| /' conftest.$ac_ext >&5\r
7219 \r
7220         ac_header_compiler=no\r
7221 fi\r
7222 \r
7223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
7224 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5\r
7225 echo "${ECHO_T}$ac_header_compiler" >&6; }\r
7226 \r
7227 # Is the header present?\r
7228 { echo "$as_me:$LINENO: checking $ac_header presence" >&5\r
7229 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }\r
7230 cat >conftest.$ac_ext <<_ACEOF\r
7231 /* confdefs.h.  */\r
7232 _ACEOF\r
7233 cat confdefs.h >>conftest.$ac_ext\r
7234 cat >>conftest.$ac_ext <<_ACEOF\r
7235 /* end confdefs.h.  */\r
7236 #include <$ac_header>\r
7237 _ACEOF\r
7238 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
7239 case "(($ac_try" in\r
7240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
7241   *) ac_try_echo=$ac_try;;\r
7242 esac\r
7243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
7244   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
7245   ac_status=$?\r
7246   grep -v '^ *+' conftest.er1 >conftest.err\r
7247   rm -f conftest.er1\r
7248   cat conftest.err >&5\r
7249   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
7250   (exit $ac_status); } >/dev/null && {\r
7251          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
7252          test ! -s conftest.err\r
7253        }; then\r
7254   ac_header_preproc=yes\r
7255 else\r
7256   echo "$as_me: failed program was:" >&5\r
7257 sed 's/^/| /' conftest.$ac_ext >&5\r
7258 \r
7259   ac_header_preproc=no\r
7260 fi\r
7261 \r
7262 rm -f conftest.err conftest.$ac_ext\r
7263 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5\r
7264 echo "${ECHO_T}$ac_header_preproc" >&6; }\r
7265 \r
7266 # So?  What about this header?\r
7267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in\r
7268   yes:no: )\r
7269     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5\r
7270 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}\r
7271     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5\r
7272 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}\r
7273     ac_header_preproc=yes\r
7274     ;;\r
7275   no:yes:* )\r
7276     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5\r
7277 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}\r
7278     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5\r
7279 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}\r
7280     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5\r
7281 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}\r
7282     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5\r
7283 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}\r
7284     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5\r
7285 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}\r
7286     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5\r
7287 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}\r
7288 \r
7289     ;;\r
7290 esac\r
7291 { echo "$as_me:$LINENO: checking for $ac_header" >&5\r
7292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }\r
7293 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
7294   echo $ECHO_N "(cached) $ECHO_C" >&6\r
7295 else\r
7296   eval "$as_ac_Header=\$ac_header_preproc"\r
7297 fi\r
7298 ac_res=`eval echo '${'$as_ac_Header'}'`\r
7299                { echo "$as_me:$LINENO: result: $ac_res" >&5\r
7300 echo "${ECHO_T}$ac_res" >&6; }\r
7301 \r
7302 fi\r
7303 if test `eval echo '${'$as_ac_Header'}'` = yes; then\r
7304   cat >>confdefs.h <<_ACEOF\r
7305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1\r
7306 _ACEOF\r
7307 \r
7308 fi\r
7309 \r
7310 done\r
7311 \r
7312 \r
7313 \r
7314 for ac_header in fcntl.h sys/fcntl.h\r
7315 do\r
7316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`\r
7317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
7318   { echo "$as_me:$LINENO: checking for $ac_header" >&5\r
7319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }\r
7320 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
7321   echo $ECHO_N "(cached) $ECHO_C" >&6\r
7322 fi\r
7323 ac_res=`eval echo '${'$as_ac_Header'}'`\r
7324                { echo "$as_me:$LINENO: result: $ac_res" >&5\r
7325 echo "${ECHO_T}$ac_res" >&6; }\r
7326 else\r
7327   # Is the header compilable?\r
7328 { echo "$as_me:$LINENO: checking $ac_header usability" >&5\r
7329 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }\r
7330 cat >conftest.$ac_ext <<_ACEOF\r
7331 /* confdefs.h.  */\r
7332 _ACEOF\r
7333 cat confdefs.h >>conftest.$ac_ext\r
7334 cat >>conftest.$ac_ext <<_ACEOF\r
7335 /* end confdefs.h.  */\r
7336 $ac_includes_default\r
7337 #include <$ac_header>\r
7338 _ACEOF\r
7339 rm -f conftest.$ac_objext\r
7340 if { (ac_try="$ac_compile"\r
7341 case "(($ac_try" in\r
7342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
7343   *) ac_try_echo=$ac_try;;\r
7344 esac\r
7345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
7346   (eval "$ac_compile") 2>conftest.er1\r
7347   ac_status=$?\r
7348   grep -v '^ *+' conftest.er1 >conftest.err\r
7349   rm -f conftest.er1\r
7350   cat conftest.err >&5\r
7351   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
7352   (exit $ac_status); } && {\r
7353          test -z "$ac_c_werror_flag" ||\r
7354          test ! -s conftest.err\r
7355        } && test -s conftest.$ac_objext; then\r
7356   ac_header_compiler=yes\r
7357 else\r
7358   echo "$as_me: failed program was:" >&5\r
7359 sed 's/^/| /' conftest.$ac_ext >&5\r
7360 \r
7361         ac_header_compiler=no\r
7362 fi\r
7363 \r
7364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
7365 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5\r
7366 echo "${ECHO_T}$ac_header_compiler" >&6; }\r
7367 \r
7368 # Is the header present?\r
7369 { echo "$as_me:$LINENO: checking $ac_header presence" >&5\r
7370 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }\r
7371 cat >conftest.$ac_ext <<_ACEOF\r
7372 /* confdefs.h.  */\r
7373 _ACEOF\r
7374 cat confdefs.h >>conftest.$ac_ext\r
7375 cat >>conftest.$ac_ext <<_ACEOF\r
7376 /* end confdefs.h.  */\r
7377 #include <$ac_header>\r
7378 _ACEOF\r
7379 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
7380 case "(($ac_try" in\r
7381   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
7382   *) ac_try_echo=$ac_try;;\r
7383 esac\r
7384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
7385   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
7386   ac_status=$?\r
7387   grep -v '^ *+' conftest.er1 >conftest.err\r
7388   rm -f conftest.er1\r
7389   cat conftest.err >&5\r
7390   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
7391   (exit $ac_status); } >/dev/null && {\r
7392          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
7393          test ! -s conftest.err\r
7394        }; then\r
7395   ac_header_preproc=yes\r
7396 else\r
7397   echo "$as_me: failed program was:" >&5\r
7398 sed 's/^/| /' conftest.$ac_ext >&5\r
7399 \r
7400   ac_header_preproc=no\r
7401 fi\r
7402 \r
7403 rm -f conftest.err conftest.$ac_ext\r
7404 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5\r
7405 echo "${ECHO_T}$ac_header_preproc" >&6; }\r
7406 \r
7407 # So?  What about this header?\r
7408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in\r
7409   yes:no: )\r
7410     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5\r
7411 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}\r
7412     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5\r
7413 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}\r
7414     ac_header_preproc=yes\r
7415     ;;\r
7416   no:yes:* )\r
7417     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5\r
7418 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}\r
7419     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5\r
7420 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}\r
7421     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5\r
7422 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}\r
7423     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5\r
7424 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}\r
7425     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5\r
7426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}\r
7427     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5\r
7428 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}\r
7429 \r
7430     ;;\r
7431 esac\r
7432 { echo "$as_me:$LINENO: checking for $ac_header" >&5\r
7433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }\r
7434 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
7435   echo $ECHO_N "(cached) $ECHO_C" >&6\r
7436 else\r
7437   eval "$as_ac_Header=\$ac_header_preproc"\r
7438 fi\r
7439 ac_res=`eval echo '${'$as_ac_Header'}'`\r
7440                { echo "$as_me:$LINENO: result: $ac_res" >&5\r
7441 echo "${ECHO_T}$ac_res" >&6; }\r
7442 \r
7443 fi\r
7444 if test `eval echo '${'$as_ac_Header'}'` = yes; then\r
7445   cat >>confdefs.h <<_ACEOF\r
7446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1\r
7447 _ACEOF\r
7448  break\r
7449 fi\r
7450 \r
7451 done\r
7452 \r
7453 \r
7454 \r
7455 for ac_header in sys/socket.h lan/socket.h\r
7456 do\r
7457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`\r
7458 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
7459   { echo "$as_me:$LINENO: checking for $ac_header" >&5\r
7460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }\r
7461 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
7462   echo $ECHO_N "(cached) $ECHO_C" >&6\r
7463 fi\r
7464 ac_res=`eval echo '${'$as_ac_Header'}'`\r
7465                { echo "$as_me:$LINENO: result: $ac_res" >&5\r
7466 echo "${ECHO_T}$ac_res" >&6; }\r
7467 else\r
7468   # Is the header compilable?\r
7469 { echo "$as_me:$LINENO: checking $ac_header usability" >&5\r
7470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }\r
7471 cat >conftest.$ac_ext <<_ACEOF\r
7472 /* confdefs.h.  */\r
7473 _ACEOF\r
7474 cat confdefs.h >>conftest.$ac_ext\r
7475 cat >>conftest.$ac_ext <<_ACEOF\r
7476 /* end confdefs.h.  */\r
7477 $ac_includes_default\r
7478 #include <$ac_header>\r
7479 _ACEOF\r
7480 rm -f conftest.$ac_objext\r
7481 if { (ac_try="$ac_compile"\r
7482 case "(($ac_try" in\r
7483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
7484   *) ac_try_echo=$ac_try;;\r
7485 esac\r
7486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
7487   (eval "$ac_compile") 2>conftest.er1\r
7488   ac_status=$?\r
7489   grep -v '^ *+' conftest.er1 >conftest.err\r
7490   rm -f conftest.er1\r
7491   cat conftest.err >&5\r
7492   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
7493   (exit $ac_status); } && {\r
7494          test -z "$ac_c_werror_flag" ||\r
7495          test ! -s conftest.err\r
7496        } && test -s conftest.$ac_objext; then\r
7497   ac_header_compiler=yes\r
7498 else\r
7499   echo "$as_me: failed program was:" >&5\r
7500 sed 's/^/| /' conftest.$ac_ext >&5\r
7501 \r
7502         ac_header_compiler=no\r
7503 fi\r
7504 \r
7505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
7506 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5\r
7507 echo "${ECHO_T}$ac_header_compiler" >&6; }\r
7508 \r
7509 # Is the header present?\r
7510 { echo "$as_me:$LINENO: checking $ac_header presence" >&5\r
7511 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }\r
7512 cat >conftest.$ac_ext <<_ACEOF\r
7513 /* confdefs.h.  */\r
7514 _ACEOF\r
7515 cat confdefs.h >>conftest.$ac_ext\r
7516 cat >>conftest.$ac_ext <<_ACEOF\r
7517 /* end confdefs.h.  */\r
7518 #include <$ac_header>\r
7519 _ACEOF\r
7520 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
7521 case "(($ac_try" in\r
7522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
7523   *) ac_try_echo=$ac_try;;\r
7524 esac\r
7525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
7526   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
7527   ac_status=$?\r
7528   grep -v '^ *+' conftest.er1 >conftest.err\r
7529   rm -f conftest.er1\r
7530   cat conftest.err >&5\r
7531   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
7532   (exit $ac_status); } >/dev/null && {\r
7533          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
7534          test ! -s conftest.err\r
7535        }; then\r
7536   ac_header_preproc=yes\r
7537 else\r
7538   echo "$as_me: failed program was:" >&5\r
7539 sed 's/^/| /' conftest.$ac_ext >&5\r
7540 \r
7541   ac_header_preproc=no\r
7542 fi\r
7543 \r
7544 rm -f conftest.err conftest.$ac_ext\r
7545 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5\r
7546 echo "${ECHO_T}$ac_header_preproc" >&6; }\r
7547 \r
7548 # So?  What about this header?\r
7549 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in\r
7550   yes:no: )\r
7551     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5\r
7552 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}\r
7553     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5\r
7554 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}\r
7555     ac_header_preproc=yes\r
7556     ;;\r
7557   no:yes:* )\r
7558     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5\r
7559 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}\r
7560     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5\r
7561 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}\r
7562     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5\r
7563 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}\r
7564     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5\r
7565 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}\r
7566     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5\r
7567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}\r
7568     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5\r
7569 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}\r
7570 \r
7571     ;;\r
7572 esac\r
7573 { echo "$as_me:$LINENO: checking for $ac_header" >&5\r
7574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }\r
7575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
7576   echo $ECHO_N "(cached) $ECHO_C" >&6\r
7577 else\r
7578   eval "$as_ac_Header=\$ac_header_preproc"\r
7579 fi\r
7580 ac_res=`eval echo '${'$as_ac_Header'}'`\r
7581                { echo "$as_me:$LINENO: result: $ac_res" >&5\r
7582 echo "${ECHO_T}$ac_res" >&6; }\r
7583 \r
7584 fi\r
7585 if test `eval echo '${'$as_ac_Header'}'` = yes; then\r
7586   cat >>confdefs.h <<_ACEOF\r
7587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1\r
7588 _ACEOF\r
7589  break\r
7590 fi\r
7591 \r
7592 done\r
7593 \r
7594 if test "${ac_cv_header_stddef_h+set}" = set; then\r
7595   { echo "$as_me:$LINENO: checking for stddef.h" >&5\r
7596 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; }\r
7597 if test "${ac_cv_header_stddef_h+set}" = set; then\r
7598   echo $ECHO_N "(cached) $ECHO_C" >&6\r
7599 fi\r
7600 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5\r
7601 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; }\r
7602 else\r
7603   # Is the header compilable?\r
7604 { echo "$as_me:$LINENO: checking stddef.h usability" >&5\r
7605 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6; }\r
7606 cat >conftest.$ac_ext <<_ACEOF\r
7607 /* confdefs.h.  */\r
7608 _ACEOF\r
7609 cat confdefs.h >>conftest.$ac_ext\r
7610 cat >>conftest.$ac_ext <<_ACEOF\r
7611 /* end confdefs.h.  */\r
7612 $ac_includes_default\r
7613 #include <stddef.h>\r
7614 _ACEOF\r
7615 rm -f conftest.$ac_objext\r
7616 if { (ac_try="$ac_compile"\r
7617 case "(($ac_try" in\r
7618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
7619   *) ac_try_echo=$ac_try;;\r
7620 esac\r
7621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
7622   (eval "$ac_compile") 2>conftest.er1\r
7623   ac_status=$?\r
7624   grep -v '^ *+' conftest.er1 >conftest.err\r
7625   rm -f conftest.er1\r
7626   cat conftest.err >&5\r
7627   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
7628   (exit $ac_status); } && {\r
7629          test -z "$ac_c_werror_flag" ||\r
7630          test ! -s conftest.err\r
7631        } && test -s conftest.$ac_objext; then\r
7632   ac_header_compiler=yes\r
7633 else\r
7634   echo "$as_me: failed program was:" >&5\r
7635 sed 's/^/| /' conftest.$ac_ext >&5\r
7636 \r
7637         ac_header_compiler=no\r
7638 fi\r
7639 \r
7640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
7641 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5\r
7642 echo "${ECHO_T}$ac_header_compiler" >&6; }\r
7643 \r
7644 # Is the header present?\r
7645 { echo "$as_me:$LINENO: checking stddef.h presence" >&5\r
7646 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6; }\r
7647 cat >conftest.$ac_ext <<_ACEOF\r
7648 /* confdefs.h.  */\r
7649 _ACEOF\r
7650 cat confdefs.h >>conftest.$ac_ext\r
7651 cat >>conftest.$ac_ext <<_ACEOF\r
7652 /* end confdefs.h.  */\r
7653 #include <stddef.h>\r
7654 _ACEOF\r
7655 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
7656 case "(($ac_try" in\r
7657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
7658   *) ac_try_echo=$ac_try;;\r
7659 esac\r
7660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
7661   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
7662   ac_status=$?\r
7663   grep -v '^ *+' conftest.er1 >conftest.err\r
7664   rm -f conftest.er1\r
7665   cat conftest.err >&5\r
7666   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
7667   (exit $ac_status); } >/dev/null && {\r
7668          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
7669          test ! -s conftest.err\r
7670        }; then\r
7671   ac_header_preproc=yes\r
7672 else\r
7673   echo "$as_me: failed program was:" >&5\r
7674 sed 's/^/| /' conftest.$ac_ext >&5\r
7675 \r
7676   ac_header_preproc=no\r
7677 fi\r
7678 \r
7679 rm -f conftest.err conftest.$ac_ext\r
7680 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5\r
7681 echo "${ECHO_T}$ac_header_preproc" >&6; }\r
7682 \r
7683 # So?  What about this header?\r
7684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in\r
7685   yes:no: )\r
7686     { echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5\r
7687 echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;}\r
7688     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5\r
7689 echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;}\r
7690     ac_header_preproc=yes\r
7691     ;;\r
7692   no:yes:* )\r
7693     { echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5\r
7694 echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;}\r
7695     { echo "$as_me:$LINENO: WARNING: stddef.h:     check for missing prerequisite headers?" >&5\r
7696 echo "$as_me: WARNING: stddef.h:     check for missing prerequisite headers?" >&2;}\r
7697     { echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5\r
7698 echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;}\r
7699     { echo "$as_me:$LINENO: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&5\r
7700 echo "$as_me: WARNING: stddef.h:     section \"Present But Cannot Be Compiled\"" >&2;}\r
7701     { echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5\r
7702 echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;}\r
7703     { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5\r
7704 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;}\r
7705 \r
7706     ;;\r
7707 esac\r
7708 { echo "$as_me:$LINENO: checking for stddef.h" >&5\r
7709 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6; }\r
7710 if test "${ac_cv_header_stddef_h+set}" = set; then\r
7711   echo $ECHO_N "(cached) $ECHO_C" >&6\r
7712 else\r
7713   ac_cv_header_stddef_h=$ac_header_preproc\r
7714 fi\r
7715 { echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5\r
7716 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6; }\r
7717 \r
7718 fi\r
7719 if test $ac_cv_header_stddef_h = yes; then\r
7720   :\r
7721 else\r
7722   cat >>confdefs.h <<\_ACEOF\r
7723 #define X_WCHAR 1\r
7724 _ACEOF\r
7725 \r
7726 fi\r
7727 \r
7728 \r
7729 \r
7730 \r
7731 \r
7732 \r
7733 \r
7734 for ac_func in _getpty grantpt setitimer usleep\r
7735 do\r
7736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`\r
7737 { echo "$as_me:$LINENO: checking for $ac_func" >&5\r
7738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }\r
7739 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then\r
7740   echo $ECHO_N "(cached) $ECHO_C" >&6\r
7741 else\r
7742   cat >conftest.$ac_ext <<_ACEOF\r
7743 /* confdefs.h.  */\r
7744 _ACEOF\r
7745 cat confdefs.h >>conftest.$ac_ext\r
7746 cat >>conftest.$ac_ext <<_ACEOF\r
7747 /* end confdefs.h.  */\r
7748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.\r
7749    For example, HP-UX 11i <limits.h> declares gettimeofday.  */\r
7750 #define $ac_func innocuous_$ac_func\r
7751 \r
7752 /* System header to define __stub macros and hopefully few prototypes,\r
7753     which can conflict with char $ac_func (); below.\r
7754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
7755     <limits.h> exists even on freestanding compilers.  */\r
7756 \r
7757 #ifdef __STDC__\r
7758 # include <limits.h>\r
7759 #else\r
7760 # include <assert.h>\r
7761 #endif\r
7762 \r
7763 #undef $ac_func\r
7764 \r
7765 /* Override any GCC internal prototype to avoid an error.\r
7766    Use char because int might match the return type of a GCC\r
7767    builtin and then its argument prototype would still apply.  */\r
7768 #ifdef __cplusplus\r
7769 extern "C"\r
7770 #endif\r
7771 char $ac_func ();\r
7772 /* The GNU C library defines this for functions which it implements\r
7773     to always fail with ENOSYS.  Some functions are actually named\r
7774     something starting with __ and the normal name is an alias.  */\r
7775 #if defined __stub_$ac_func || defined __stub___$ac_func\r
7776 choke me\r
7777 #endif\r
7778 \r
7779 int\r
7780 main ()\r
7781 {\r
7782 return $ac_func ();\r
7783   ;\r
7784   return 0;\r
7785 }\r
7786 _ACEOF\r
7787 rm -f conftest.$ac_objext conftest$ac_exeext\r
7788 if { (ac_try="$ac_link"\r
7789 case "(($ac_try" in\r
7790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
7791   *) ac_try_echo=$ac_try;;\r
7792 esac\r
7793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
7794   (eval "$ac_link") 2>conftest.er1\r
7795   ac_status=$?\r
7796   grep -v '^ *+' conftest.er1 >conftest.err\r
7797   rm -f conftest.er1\r
7798   cat conftest.err >&5\r
7799   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
7800   (exit $ac_status); } && {\r
7801          test -z "$ac_c_werror_flag" ||\r
7802          test ! -s conftest.err\r
7803        } && test -s conftest$ac_exeext &&\r
7804        $as_test_x conftest$ac_exeext; then\r
7805   eval "$as_ac_var=yes"\r
7806 else\r
7807   echo "$as_me: failed program was:" >&5\r
7808 sed 's/^/| /' conftest.$ac_ext >&5\r
7809 \r
7810         eval "$as_ac_var=no"\r
7811 fi\r
7812 \r
7813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
7814       conftest$ac_exeext conftest.$ac_ext\r
7815 fi\r
7816 ac_res=`eval echo '${'$as_ac_var'}'`\r
7817                { echo "$as_me:$LINENO: result: $ac_res" >&5\r
7818 echo "${ECHO_T}$ac_res" >&6; }\r
7819 if test `eval echo '${'$as_ac_var'}'` = yes; then\r
7820   cat >>confdefs.h <<_ACEOF\r
7821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1\r
7822 _ACEOF\r
7823 \r
7824 fi\r
7825 done\r
7826 \r
7827 \r
7828 \r
7829 for ac_func in gettimeofday ftime\r
7830 do\r
7831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`\r
7832 { echo "$as_me:$LINENO: checking for $ac_func" >&5\r
7833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }\r
7834 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then\r
7835   echo $ECHO_N "(cached) $ECHO_C" >&6\r
7836 else\r
7837   cat >conftest.$ac_ext <<_ACEOF\r
7838 /* confdefs.h.  */\r
7839 _ACEOF\r
7840 cat confdefs.h >>conftest.$ac_ext\r
7841 cat >>conftest.$ac_ext <<_ACEOF\r
7842 /* end confdefs.h.  */\r
7843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.\r
7844    For example, HP-UX 11i <limits.h> declares gettimeofday.  */\r
7845 #define $ac_func innocuous_$ac_func\r
7846 \r
7847 /* System header to define __stub macros and hopefully few prototypes,\r
7848     which can conflict with char $ac_func (); below.\r
7849     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
7850     <limits.h> exists even on freestanding compilers.  */\r
7851 \r
7852 #ifdef __STDC__\r
7853 # include <limits.h>\r
7854 #else\r
7855 # include <assert.h>\r
7856 #endif\r
7857 \r
7858 #undef $ac_func\r
7859 \r
7860 /* Override any GCC internal prototype to avoid an error.\r
7861    Use char because int might match the return type of a GCC\r
7862    builtin and then its argument prototype would still apply.  */\r
7863 #ifdef __cplusplus\r
7864 extern "C"\r
7865 #endif\r
7866 char $ac_func ();\r
7867 /* The GNU C library defines this for functions which it implements\r
7868     to always fail with ENOSYS.  Some functions are actually named\r
7869     something starting with __ and the normal name is an alias.  */\r
7870 #if defined __stub_$ac_func || defined __stub___$ac_func\r
7871 choke me\r
7872 #endif\r
7873 \r
7874 int\r
7875 main ()\r
7876 {\r
7877 return $ac_func ();\r
7878   ;\r
7879   return 0;\r
7880 }\r
7881 _ACEOF\r
7882 rm -f conftest.$ac_objext conftest$ac_exeext\r
7883 if { (ac_try="$ac_link"\r
7884 case "(($ac_try" in\r
7885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
7886   *) ac_try_echo=$ac_try;;\r
7887 esac\r
7888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
7889   (eval "$ac_link") 2>conftest.er1\r
7890   ac_status=$?\r
7891   grep -v '^ *+' conftest.er1 >conftest.err\r
7892   rm -f conftest.er1\r
7893   cat conftest.err >&5\r
7894   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
7895   (exit $ac_status); } && {\r
7896          test -z "$ac_c_werror_flag" ||\r
7897          test ! -s conftest.err\r
7898        } && test -s conftest$ac_exeext &&\r
7899        $as_test_x conftest$ac_exeext; then\r
7900   eval "$as_ac_var=yes"\r
7901 else\r
7902   echo "$as_me: failed program was:" >&5\r
7903 sed 's/^/| /' conftest.$ac_ext >&5\r
7904 \r
7905         eval "$as_ac_var=no"\r
7906 fi\r
7907 \r
7908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
7909       conftest$ac_exeext conftest.$ac_ext\r
7910 fi\r
7911 ac_res=`eval echo '${'$as_ac_var'}'`\r
7912                { echo "$as_me:$LINENO: result: $ac_res" >&5\r
7913 echo "${ECHO_T}$ac_res" >&6; }\r
7914 if test `eval echo '${'$as_ac_var'}'` = yes; then\r
7915   cat >>confdefs.h <<_ACEOF\r
7916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1\r
7917 _ACEOF\r
7918  break\r
7919 fi\r
7920 done\r
7921 \r
7922 \r
7923 \r
7924 for ac_func in random rand48\r
7925 do\r
7926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`\r
7927 { echo "$as_me:$LINENO: checking for $ac_func" >&5\r
7928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }\r
7929 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then\r
7930   echo $ECHO_N "(cached) $ECHO_C" >&6\r
7931 else\r
7932   cat >conftest.$ac_ext <<_ACEOF\r
7933 /* confdefs.h.  */\r
7934 _ACEOF\r
7935 cat confdefs.h >>conftest.$ac_ext\r
7936 cat >>conftest.$ac_ext <<_ACEOF\r
7937 /* end confdefs.h.  */\r
7938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.\r
7939    For example, HP-UX 11i <limits.h> declares gettimeofday.  */\r
7940 #define $ac_func innocuous_$ac_func\r
7941 \r
7942 /* System header to define __stub macros and hopefully few prototypes,\r
7943     which can conflict with char $ac_func (); below.\r
7944     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
7945     <limits.h> exists even on freestanding compilers.  */\r
7946 \r
7947 #ifdef __STDC__\r
7948 # include <limits.h>\r
7949 #else\r
7950 # include <assert.h>\r
7951 #endif\r
7952 \r
7953 #undef $ac_func\r
7954 \r
7955 /* Override any GCC internal prototype to avoid an error.\r
7956    Use char because int might match the return type of a GCC\r
7957    builtin and then its argument prototype would still apply.  */\r
7958 #ifdef __cplusplus\r
7959 extern "C"\r
7960 #endif\r
7961 char $ac_func ();\r
7962 /* The GNU C library defines this for functions which it implements\r
7963     to always fail with ENOSYS.  Some functions are actually named\r
7964     something starting with __ and the normal name is an alias.  */\r
7965 #if defined __stub_$ac_func || defined __stub___$ac_func\r
7966 choke me\r
7967 #endif\r
7968 \r
7969 int\r
7970 main ()\r
7971 {\r
7972 return $ac_func ();\r
7973   ;\r
7974   return 0;\r
7975 }\r
7976 _ACEOF\r
7977 rm -f conftest.$ac_objext conftest$ac_exeext\r
7978 if { (ac_try="$ac_link"\r
7979 case "(($ac_try" in\r
7980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
7981   *) ac_try_echo=$ac_try;;\r
7982 esac\r
7983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
7984   (eval "$ac_link") 2>conftest.er1\r
7985   ac_status=$?\r
7986   grep -v '^ *+' conftest.er1 >conftest.err\r
7987   rm -f conftest.er1\r
7988   cat conftest.err >&5\r
7989   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
7990   (exit $ac_status); } && {\r
7991          test -z "$ac_c_werror_flag" ||\r
7992          test ! -s conftest.err\r
7993        } && test -s conftest$ac_exeext &&\r
7994        $as_test_x conftest$ac_exeext; then\r
7995   eval "$as_ac_var=yes"\r
7996 else\r
7997   echo "$as_me: failed program was:" >&5\r
7998 sed 's/^/| /' conftest.$ac_ext >&5\r
7999 \r
8000         eval "$as_ac_var=no"\r
8001 fi\r
8002 \r
8003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
8004       conftest$ac_exeext conftest.$ac_ext\r
8005 fi\r
8006 ac_res=`eval echo '${'$as_ac_var'}'`\r
8007                { echo "$as_me:$LINENO: result: $ac_res" >&5\r
8008 echo "${ECHO_T}$ac_res" >&6; }\r
8009 if test `eval echo '${'$as_ac_var'}'` = yes; then\r
8010   cat >>confdefs.h <<_ACEOF\r
8011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1\r
8012 _ACEOF\r
8013  break\r
8014 fi\r
8015 done\r
8016 \r
8017 \r
8018 \r
8019 for ac_func in gethostname sysinfo\r
8020 do\r
8021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`\r
8022 { echo "$as_me:$LINENO: checking for $ac_func" >&5\r
8023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }\r
8024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then\r
8025   echo $ECHO_N "(cached) $ECHO_C" >&6\r
8026 else\r
8027   cat >conftest.$ac_ext <<_ACEOF\r
8028 /* confdefs.h.  */\r
8029 _ACEOF\r
8030 cat confdefs.h >>conftest.$ac_ext\r
8031 cat >>conftest.$ac_ext <<_ACEOF\r
8032 /* end confdefs.h.  */\r
8033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.\r
8034    For example, HP-UX 11i <limits.h> declares gettimeofday.  */\r
8035 #define $ac_func innocuous_$ac_func\r
8036 \r
8037 /* System header to define __stub macros and hopefully few prototypes,\r
8038     which can conflict with char $ac_func (); below.\r
8039     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
8040     <limits.h> exists even on freestanding compilers.  */\r
8041 \r
8042 #ifdef __STDC__\r
8043 # include <limits.h>\r
8044 #else\r
8045 # include <assert.h>\r
8046 #endif\r
8047 \r
8048 #undef $ac_func\r
8049 \r
8050 /* Override any GCC internal prototype to avoid an error.\r
8051    Use char because int might match the return type of a GCC\r
8052    builtin and then its argument prototype would still apply.  */\r
8053 #ifdef __cplusplus\r
8054 extern "C"\r
8055 #endif\r
8056 char $ac_func ();\r
8057 /* The GNU C library defines this for functions which it implements\r
8058     to always fail with ENOSYS.  Some functions are actually named\r
8059     something starting with __ and the normal name is an alias.  */\r
8060 #if defined __stub_$ac_func || defined __stub___$ac_func\r
8061 choke me\r
8062 #endif\r
8063 \r
8064 int\r
8065 main ()\r
8066 {\r
8067 return $ac_func ();\r
8068   ;\r
8069   return 0;\r
8070 }\r
8071 _ACEOF\r
8072 rm -f conftest.$ac_objext conftest$ac_exeext\r
8073 if { (ac_try="$ac_link"\r
8074 case "(($ac_try" in\r
8075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
8076   *) ac_try_echo=$ac_try;;\r
8077 esac\r
8078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
8079   (eval "$ac_link") 2>conftest.er1\r
8080   ac_status=$?\r
8081   grep -v '^ *+' conftest.er1 >conftest.err\r
8082   rm -f conftest.er1\r
8083   cat conftest.err >&5\r
8084   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8085   (exit $ac_status); } && {\r
8086          test -z "$ac_c_werror_flag" ||\r
8087          test ! -s conftest.err\r
8088        } && test -s conftest$ac_exeext &&\r
8089        $as_test_x conftest$ac_exeext; then\r
8090   eval "$as_ac_var=yes"\r
8091 else\r
8092   echo "$as_me: failed program was:" >&5\r
8093 sed 's/^/| /' conftest.$ac_ext >&5\r
8094 \r
8095         eval "$as_ac_var=no"\r
8096 fi\r
8097 \r
8098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
8099       conftest$ac_exeext conftest.$ac_ext\r
8100 fi\r
8101 ac_res=`eval echo '${'$as_ac_var'}'`\r
8102                { echo "$as_me:$LINENO: result: $ac_res" >&5\r
8103 echo "${ECHO_T}$ac_res" >&6; }\r
8104 if test `eval echo '${'$as_ac_var'}'` = yes; then\r
8105   cat >>confdefs.h <<_ACEOF\r
8106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1\r
8107 _ACEOF\r
8108  break\r
8109 fi\r
8110 done\r
8111 \r
8112 { echo "$as_me:$LINENO: checking for setlocale" >&5\r
8113 echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; }\r
8114 if test "${ac_cv_func_setlocale+set}" = set; then\r
8115   echo $ECHO_N "(cached) $ECHO_C" >&6\r
8116 else\r
8117   cat >conftest.$ac_ext <<_ACEOF\r
8118 /* confdefs.h.  */\r
8119 _ACEOF\r
8120 cat confdefs.h >>conftest.$ac_ext\r
8121 cat >>conftest.$ac_ext <<_ACEOF\r
8122 /* end confdefs.h.  */\r
8123 /* Define setlocale to an innocuous variant, in case <limits.h> declares setlocale.\r
8124    For example, HP-UX 11i <limits.h> declares gettimeofday.  */\r
8125 #define setlocale innocuous_setlocale\r
8126 \r
8127 /* System header to define __stub macros and hopefully few prototypes,\r
8128     which can conflict with char setlocale (); below.\r
8129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
8130     <limits.h> exists even on freestanding compilers.  */\r
8131 \r
8132 #ifdef __STDC__\r
8133 # include <limits.h>\r
8134 #else\r
8135 # include <assert.h>\r
8136 #endif\r
8137 \r
8138 #undef setlocale\r
8139 \r
8140 /* Override any GCC internal prototype to avoid an error.\r
8141    Use char because int might match the return type of a GCC\r
8142    builtin and then its argument prototype would still apply.  */\r
8143 #ifdef __cplusplus\r
8144 extern "C"\r
8145 #endif\r
8146 char setlocale ();\r
8147 /* The GNU C library defines this for functions which it implements\r
8148     to always fail with ENOSYS.  Some functions are actually named\r
8149     something starting with __ and the normal name is an alias.  */\r
8150 #if defined __stub_setlocale || defined __stub___setlocale\r
8151 choke me\r
8152 #endif\r
8153 \r
8154 int\r
8155 main ()\r
8156 {\r
8157 return setlocale ();\r
8158   ;\r
8159   return 0;\r
8160 }\r
8161 _ACEOF\r
8162 rm -f conftest.$ac_objext conftest$ac_exeext\r
8163 if { (ac_try="$ac_link"\r
8164 case "(($ac_try" in\r
8165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
8166   *) ac_try_echo=$ac_try;;\r
8167 esac\r
8168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
8169   (eval "$ac_link") 2>conftest.er1\r
8170   ac_status=$?\r
8171   grep -v '^ *+' conftest.er1 >conftest.err\r
8172   rm -f conftest.er1\r
8173   cat conftest.err >&5\r
8174   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8175   (exit $ac_status); } && {\r
8176          test -z "$ac_c_werror_flag" ||\r
8177          test ! -s conftest.err\r
8178        } && test -s conftest$ac_exeext &&\r
8179        $as_test_x conftest$ac_exeext; then\r
8180   ac_cv_func_setlocale=yes\r
8181 else\r
8182   echo "$as_me: failed program was:" >&5\r
8183 sed 's/^/| /' conftest.$ac_ext >&5\r
8184 \r
8185         ac_cv_func_setlocale=no\r
8186 fi\r
8187 \r
8188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
8189       conftest$ac_exeext conftest.$ac_ext\r
8190 fi\r
8191 { echo "$as_me:$LINENO: result: $ac_cv_func_setlocale" >&5\r
8192 echo "${ECHO_T}$ac_cv_func_setlocale" >&6; }\r
8193 if test $ac_cv_func_setlocale = yes; then\r
8194   :\r
8195 else\r
8196 \r
8197 { echo "$as_me:$LINENO: checking for setlocale in -li" >&5\r
8198 echo $ECHO_N "checking for setlocale in -li... $ECHO_C" >&6; }\r
8199 if test "${ac_cv_lib_i_setlocale+set}" = set; then\r
8200   echo $ECHO_N "(cached) $ECHO_C" >&6\r
8201 else\r
8202   ac_check_lib_save_LIBS=$LIBS\r
8203 LIBS="-li  $LIBS"\r
8204 cat >conftest.$ac_ext <<_ACEOF\r
8205 /* confdefs.h.  */\r
8206 _ACEOF\r
8207 cat confdefs.h >>conftest.$ac_ext\r
8208 cat >>conftest.$ac_ext <<_ACEOF\r
8209 /* end confdefs.h.  */\r
8210 \r
8211 /* Override any GCC internal prototype to avoid an error.\r
8212    Use char because int might match the return type of a GCC\r
8213    builtin and then its argument prototype would still apply.  */\r
8214 #ifdef __cplusplus\r
8215 extern "C"\r
8216 #endif\r
8217 char setlocale ();\r
8218 int\r
8219 main ()\r
8220 {\r
8221 return setlocale ();\r
8222   ;\r
8223   return 0;\r
8224 }\r
8225 _ACEOF\r
8226 rm -f conftest.$ac_objext conftest$ac_exeext\r
8227 if { (ac_try="$ac_link"\r
8228 case "(($ac_try" in\r
8229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
8230   *) ac_try_echo=$ac_try;;\r
8231 esac\r
8232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
8233   (eval "$ac_link") 2>conftest.er1\r
8234   ac_status=$?\r
8235   grep -v '^ *+' conftest.er1 >conftest.err\r
8236   rm -f conftest.er1\r
8237   cat conftest.err >&5\r
8238   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8239   (exit $ac_status); } && {\r
8240          test -z "$ac_c_werror_flag" ||\r
8241          test ! -s conftest.err\r
8242        } && test -s conftest$ac_exeext &&\r
8243        $as_test_x conftest$ac_exeext; then\r
8244   ac_cv_lib_i_setlocale=yes\r
8245 else\r
8246   echo "$as_me: failed program was:" >&5\r
8247 sed 's/^/| /' conftest.$ac_ext >&5\r
8248 \r
8249         ac_cv_lib_i_setlocale=no\r
8250 fi\r
8251 \r
8252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
8253       conftest$ac_exeext conftest.$ac_ext\r
8254 LIBS=$ac_check_lib_save_LIBS\r
8255 fi\r
8256 { echo "$as_me:$LINENO: result: $ac_cv_lib_i_setlocale" >&5\r
8257 echo "${ECHO_T}$ac_cv_lib_i_setlocale" >&6; }\r
8258 if test $ac_cv_lib_i_setlocale = yes; then\r
8259   cat >>confdefs.h <<_ACEOF\r
8260 #define HAVE_LIBI 1\r
8261 _ACEOF\r
8262 \r
8263   LIBS="-li $LIBS"\r
8264 \r
8265 else\r
8266   cat >>confdefs.h <<\_ACEOF\r
8267 #define X_LOCALE 1\r
8268 _ACEOF\r
8269 \r
8270 fi\r
8271 \r
8272 fi\r
8273 \r
8274 \r
8275 \r
8276 { echo "$as_me:$LINENO: checking for getpseudotty in -lseq" >&5\r
8277 echo $ECHO_N "checking for getpseudotty in -lseq... $ECHO_C" >&6; }\r
8278 if test "${ac_cv_lib_seq_getpseudotty+set}" = set; then\r
8279   echo $ECHO_N "(cached) $ECHO_C" >&6\r
8280 else\r
8281   ac_check_lib_save_LIBS=$LIBS\r
8282 LIBS="-lseq  $LIBS"\r
8283 cat >conftest.$ac_ext <<_ACEOF\r
8284 /* confdefs.h.  */\r
8285 _ACEOF\r
8286 cat confdefs.h >>conftest.$ac_ext\r
8287 cat >>conftest.$ac_ext <<_ACEOF\r
8288 /* end confdefs.h.  */\r
8289 \r
8290 /* Override any GCC internal prototype to avoid an error.\r
8291    Use char because int might match the return type of a GCC\r
8292    builtin and then its argument prototype would still apply.  */\r
8293 #ifdef __cplusplus\r
8294 extern "C"\r
8295 #endif\r
8296 char getpseudotty ();\r
8297 int\r
8298 main ()\r
8299 {\r
8300 return getpseudotty ();\r
8301   ;\r
8302   return 0;\r
8303 }\r
8304 _ACEOF\r
8305 rm -f conftest.$ac_objext conftest$ac_exeext\r
8306 if { (ac_try="$ac_link"\r
8307 case "(($ac_try" in\r
8308   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
8309   *) ac_try_echo=$ac_try;;\r
8310 esac\r
8311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
8312   (eval "$ac_link") 2>conftest.er1\r
8313   ac_status=$?\r
8314   grep -v '^ *+' conftest.er1 >conftest.err\r
8315   rm -f conftest.er1\r
8316   cat conftest.err >&5\r
8317   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8318   (exit $ac_status); } && {\r
8319          test -z "$ac_c_werror_flag" ||\r
8320          test ! -s conftest.err\r
8321        } && test -s conftest$ac_exeext &&\r
8322        $as_test_x conftest$ac_exeext; then\r
8323   ac_cv_lib_seq_getpseudotty=yes\r
8324 else\r
8325   echo "$as_me: failed program was:" >&5\r
8326 sed 's/^/| /' conftest.$ac_ext >&5\r
8327 \r
8328         ac_cv_lib_seq_getpseudotty=no\r
8329 fi\r
8330 \r
8331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
8332       conftest$ac_exeext conftest.$ac_ext\r
8333 LIBS=$ac_check_lib_save_LIBS\r
8334 fi\r
8335 { echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getpseudotty" >&5\r
8336 echo "${ECHO_T}$ac_cv_lib_seq_getpseudotty" >&6; }\r
8337 if test $ac_cv_lib_seq_getpseudotty = yes; then\r
8338   cat >>confdefs.h <<_ACEOF\r
8339 #define HAVE_LIBSEQ 1\r
8340 _ACEOF\r
8341 \r
8342   LIBS="-lseq $LIBS"\r
8343 \r
8344 fi\r
8345 \r
8346 \r
8347 { echo "$as_me:$LINENO: checking for X" >&5\r
8348 echo $ECHO_N "checking for X... $ECHO_C" >&6; }\r
8349 \r
8350 \r
8351 # Check whether --with-x was given.\r
8352 if test "${with_x+set}" = set; then\r
8353   withval=$with_x;\r
8354 fi\r
8355 \r
8356 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.\r
8357 if test "x$with_x" = xno; then\r
8358   # The user explicitly disabled X.\r
8359   have_x=disabled\r
8360 else\r
8361   case $x_includes,$x_libraries in #(\r
8362     *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5\r
8363 echo "$as_me: error: Cannot use X directory names containing '" >&2;}\r
8364    { (exit 1); exit 1; }; };; #(\r
8365     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then\r
8366   echo $ECHO_N "(cached) $ECHO_C" >&6\r
8367 else\r
8368   # One or both of the vars are not set, and there is no cached value.\r
8369 ac_x_includes=no ac_x_libraries=no\r
8370 rm -f -r conftest.dir\r
8371 if mkdir conftest.dir; then\r
8372   cd conftest.dir\r
8373   cat >Imakefile <<'_ACEOF'\r
8374 incroot:\r
8375         @echo incroot='${INCROOT}'\r
8376 usrlibdir:\r
8377         @echo usrlibdir='${USRLIBDIR}'\r
8378 libdir:\r
8379         @echo libdir='${LIBDIR}'\r
8380 _ACEOF\r
8381   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then\r
8382     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.\r
8383     for ac_var in incroot usrlibdir libdir; do\r
8384       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"\r
8385     done\r
8386     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.\r
8387     for ac_extension in a so sl; do\r
8388       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&\r
8389          test -f "$ac_im_libdir/libX11.$ac_extension"; then\r
8390         ac_im_usrlibdir=$ac_im_libdir; break\r
8391       fi\r
8392     done\r
8393     # Screen out bogus values from the imake configuration.  They are\r
8394     # bogus both because they are the default anyway, and because\r
8395     # using them would break gcc on systems where it needs fixed includes.\r
8396     case $ac_im_incroot in\r
8397         /usr/include) ac_x_includes= ;;\r
8398         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;\r
8399     esac\r
8400     case $ac_im_usrlibdir in\r
8401         /usr/lib | /lib) ;;\r
8402         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;\r
8403     esac\r
8404   fi\r
8405   cd ..\r
8406   rm -f -r conftest.dir\r
8407 fi\r
8408 \r
8409 # Standard set of common directories for X headers.\r
8410 # Check X11 before X11Rn because it is often a symlink to the current release.\r
8411 ac_x_header_dirs='\r
8412 /usr/X11/include\r
8413 /usr/X11R6/include\r
8414 /usr/X11R5/include\r
8415 /usr/X11R4/include\r
8416 \r
8417 /usr/include/X11\r
8418 /usr/include/X11R6\r
8419 /usr/include/X11R5\r
8420 /usr/include/X11R4\r
8421 \r
8422 /usr/local/X11/include\r
8423 /usr/local/X11R6/include\r
8424 /usr/local/X11R5/include\r
8425 /usr/local/X11R4/include\r
8426 \r
8427 /usr/local/include/X11\r
8428 /usr/local/include/X11R6\r
8429 /usr/local/include/X11R5\r
8430 /usr/local/include/X11R4\r
8431 \r
8432 /usr/X386/include\r
8433 /usr/x386/include\r
8434 /usr/XFree86/include/X11\r
8435 \r
8436 /usr/include\r
8437 /usr/local/include\r
8438 /usr/unsupported/include\r
8439 /usr/athena/include\r
8440 /usr/local/x11r5/include\r
8441 /usr/lpp/Xamples/include\r
8442 \r
8443 /usr/openwin/include\r
8444 /usr/openwin/share/include'\r
8445 \r
8446 if test "$ac_x_includes" = no; then\r
8447   # Guess where to find include files, by looking for Xlib.h.\r
8448   # First, try using that file with no special directory specified.\r
8449   cat >conftest.$ac_ext <<_ACEOF\r
8450 /* confdefs.h.  */\r
8451 _ACEOF\r
8452 cat confdefs.h >>conftest.$ac_ext\r
8453 cat >>conftest.$ac_ext <<_ACEOF\r
8454 /* end confdefs.h.  */\r
8455 #include <X11/Xlib.h>\r
8456 _ACEOF\r
8457 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
8458 case "(($ac_try" in\r
8459   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
8460   *) ac_try_echo=$ac_try;;\r
8461 esac\r
8462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
8463   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
8464   ac_status=$?\r
8465   grep -v '^ *+' conftest.er1 >conftest.err\r
8466   rm -f conftest.er1\r
8467   cat conftest.err >&5\r
8468   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8469   (exit $ac_status); } >/dev/null && {\r
8470          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
8471          test ! -s conftest.err\r
8472        }; then\r
8473   # We can compile using X headers with no special include directory.\r
8474 ac_x_includes=\r
8475 else\r
8476   echo "$as_me: failed program was:" >&5\r
8477 sed 's/^/| /' conftest.$ac_ext >&5\r
8478 \r
8479   for ac_dir in $ac_x_header_dirs; do\r
8480   if test -r "$ac_dir/X11/Xlib.h"; then\r
8481     ac_x_includes=$ac_dir\r
8482     break\r
8483   fi\r
8484 done\r
8485 fi\r
8486 \r
8487 rm -f conftest.err conftest.$ac_ext\r
8488 fi # $ac_x_includes = no\r
8489 \r
8490 if test "$ac_x_libraries" = no; then\r
8491   # Check for the libraries.\r
8492   # See if we find them without any special options.\r
8493   # Don't add to $LIBS permanently.\r
8494   ac_save_LIBS=$LIBS\r
8495   LIBS="-lX11 $LIBS"\r
8496   cat >conftest.$ac_ext <<_ACEOF\r
8497 /* confdefs.h.  */\r
8498 _ACEOF\r
8499 cat confdefs.h >>conftest.$ac_ext\r
8500 cat >>conftest.$ac_ext <<_ACEOF\r
8501 /* end confdefs.h.  */\r
8502 #include <X11/Xlib.h>\r
8503 int\r
8504 main ()\r
8505 {\r
8506 XrmInitialize ()\r
8507   ;\r
8508   return 0;\r
8509 }\r
8510 _ACEOF\r
8511 rm -f conftest.$ac_objext conftest$ac_exeext\r
8512 if { (ac_try="$ac_link"\r
8513 case "(($ac_try" in\r
8514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
8515   *) ac_try_echo=$ac_try;;\r
8516 esac\r
8517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
8518   (eval "$ac_link") 2>conftest.er1\r
8519   ac_status=$?\r
8520   grep -v '^ *+' conftest.er1 >conftest.err\r
8521   rm -f conftest.er1\r
8522   cat conftest.err >&5\r
8523   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8524   (exit $ac_status); } && {\r
8525          test -z "$ac_c_werror_flag" ||\r
8526          test ! -s conftest.err\r
8527        } && test -s conftest$ac_exeext &&\r
8528        $as_test_x conftest$ac_exeext; then\r
8529   LIBS=$ac_save_LIBS\r
8530 # We can link X programs with no special library path.\r
8531 ac_x_libraries=\r
8532 else\r
8533   echo "$as_me: failed program was:" >&5\r
8534 sed 's/^/| /' conftest.$ac_ext >&5\r
8535 \r
8536         LIBS=$ac_save_LIBS\r
8537 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`\r
8538 do\r
8539   # Don't even attempt the hair of trying to link an X program!\r
8540   for ac_extension in a so sl; do\r
8541     if test -r "$ac_dir/libX11.$ac_extension"; then\r
8542       ac_x_libraries=$ac_dir\r
8543       break 2\r
8544     fi\r
8545   done\r
8546 done\r
8547 fi\r
8548 \r
8549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
8550       conftest$ac_exeext conftest.$ac_ext\r
8551 fi # $ac_x_libraries = no\r
8552 \r
8553 case $ac_x_includes,$ac_x_libraries in #(\r
8554   no,* | *,no | *\'*)\r
8555     # Didn't find X, or a directory has "'" in its name.\r
8556     ac_cv_have_x="have_x=no";; #(\r
8557   *)\r
8558     # Record where we found X for the cache.\r
8559     ac_cv_have_x="have_x=yes\\r
8560         ac_x_includes='$ac_x_includes'\\r
8561         ac_x_libraries='$ac_x_libraries'"\r
8562 esac\r
8563 fi\r
8564 ;; #(\r
8565     *) have_x=yes;;\r
8566   esac\r
8567   eval "$ac_cv_have_x"\r
8568 fi # $with_x != no\r
8569 \r
8570 if test "$have_x" != yes; then\r
8571   { echo "$as_me:$LINENO: result: $have_x" >&5\r
8572 echo "${ECHO_T}$have_x" >&6; }\r
8573   no_x=yes\r
8574 else\r
8575   # If each of the values was on the command line, it overrides each guess.\r
8576   test "x$x_includes" = xNONE && x_includes=$ac_x_includes\r
8577   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries\r
8578   # Update the cache value to reflect the command line values.\r
8579   ac_cv_have_x="have_x=yes\\r
8580         ac_x_includes='$x_includes'\\r
8581         ac_x_libraries='$x_libraries'"\r
8582   { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5\r
8583 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }\r
8584 fi\r
8585 \r
8586 if test "$no_x" = yes; then\r
8587   # Not all programs may use this symbol, but it does not hurt to define it.\r
8588 \r
8589 cat >>confdefs.h <<\_ACEOF\r
8590 #define X_DISPLAY_MISSING 1\r
8591 _ACEOF\r
8592 \r
8593   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=\r
8594 else\r
8595   if test -n "$x_includes"; then\r
8596     X_CFLAGS="$X_CFLAGS -I$x_includes"\r
8597   fi\r
8598 \r
8599   # It would also be nice to do this for all -L options, not just this one.\r
8600   if test -n "$x_libraries"; then\r
8601     X_LIBS="$X_LIBS -L$x_libraries"\r
8602     # For Solaris; some versions of Sun CC require a space after -R and\r
8603     # others require no space.  Words are not sufficient . . . .\r
8604     { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5\r
8605 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }\r
8606     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"\r
8607     ac_xsave_c_werror_flag=$ac_c_werror_flag\r
8608     ac_c_werror_flag=yes\r
8609     cat >conftest.$ac_ext <<_ACEOF\r
8610 /* confdefs.h.  */\r
8611 _ACEOF\r
8612 cat confdefs.h >>conftest.$ac_ext\r
8613 cat >>conftest.$ac_ext <<_ACEOF\r
8614 /* end confdefs.h.  */\r
8615 \r
8616 int\r
8617 main ()\r
8618 {\r
8619 \r
8620   ;\r
8621   return 0;\r
8622 }\r
8623 _ACEOF\r
8624 rm -f conftest.$ac_objext conftest$ac_exeext\r
8625 if { (ac_try="$ac_link"\r
8626 case "(($ac_try" in\r
8627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
8628   *) ac_try_echo=$ac_try;;\r
8629 esac\r
8630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
8631   (eval "$ac_link") 2>conftest.er1\r
8632   ac_status=$?\r
8633   grep -v '^ *+' conftest.er1 >conftest.err\r
8634   rm -f conftest.er1\r
8635   cat conftest.err >&5\r
8636   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8637   (exit $ac_status); } && {\r
8638          test -z "$ac_c_werror_flag" ||\r
8639          test ! -s conftest.err\r
8640        } && test -s conftest$ac_exeext &&\r
8641        $as_test_x conftest$ac_exeext; then\r
8642   { echo "$as_me:$LINENO: result: no" >&5\r
8643 echo "${ECHO_T}no" >&6; }\r
8644        X_LIBS="$X_LIBS -R$x_libraries"\r
8645 else\r
8646   echo "$as_me: failed program was:" >&5\r
8647 sed 's/^/| /' conftest.$ac_ext >&5\r
8648 \r
8649         LIBS="$ac_xsave_LIBS -R $x_libraries"\r
8650        cat >conftest.$ac_ext <<_ACEOF\r
8651 /* confdefs.h.  */\r
8652 _ACEOF\r
8653 cat confdefs.h >>conftest.$ac_ext\r
8654 cat >>conftest.$ac_ext <<_ACEOF\r
8655 /* end confdefs.h.  */\r
8656 \r
8657 int\r
8658 main ()\r
8659 {\r
8660 \r
8661   ;\r
8662   return 0;\r
8663 }\r
8664 _ACEOF\r
8665 rm -f conftest.$ac_objext conftest$ac_exeext\r
8666 if { (ac_try="$ac_link"\r
8667 case "(($ac_try" in\r
8668   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
8669   *) ac_try_echo=$ac_try;;\r
8670 esac\r
8671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
8672   (eval "$ac_link") 2>conftest.er1\r
8673   ac_status=$?\r
8674   grep -v '^ *+' conftest.er1 >conftest.err\r
8675   rm -f conftest.er1\r
8676   cat conftest.err >&5\r
8677   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8678   (exit $ac_status); } && {\r
8679          test -z "$ac_c_werror_flag" ||\r
8680          test ! -s conftest.err\r
8681        } && test -s conftest$ac_exeext &&\r
8682        $as_test_x conftest$ac_exeext; then\r
8683   { echo "$as_me:$LINENO: result: yes" >&5\r
8684 echo "${ECHO_T}yes" >&6; }\r
8685           X_LIBS="$X_LIBS -R $x_libraries"\r
8686 else\r
8687   echo "$as_me: failed program was:" >&5\r
8688 sed 's/^/| /' conftest.$ac_ext >&5\r
8689 \r
8690         { echo "$as_me:$LINENO: result: neither works" >&5\r
8691 echo "${ECHO_T}neither works" >&6; }\r
8692 fi\r
8693 \r
8694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
8695       conftest$ac_exeext conftest.$ac_ext\r
8696 fi\r
8697 \r
8698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
8699       conftest$ac_exeext conftest.$ac_ext\r
8700     ac_c_werror_flag=$ac_xsave_c_werror_flag\r
8701     LIBS=$ac_xsave_LIBS\r
8702   fi\r
8703 \r
8704   # Check for system-dependent libraries X programs must link with.\r
8705   # Do this before checking for the system-independent R6 libraries\r
8706   # (-lICE), since we may need -lsocket or whatever for X linking.\r
8707 \r
8708   if test "$ISC" = yes; then\r
8709     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"\r
8710   else\r
8711     # Martyn Johnson says this is needed for Ultrix, if the X\r
8712     # libraries were built with DECnet support.  And Karl Berry says\r
8713     # the Alpha needs dnet_stub (dnet does not exist).\r
8714     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"\r
8715     cat >conftest.$ac_ext <<_ACEOF\r
8716 /* confdefs.h.  */\r
8717 _ACEOF\r
8718 cat confdefs.h >>conftest.$ac_ext\r
8719 cat >>conftest.$ac_ext <<_ACEOF\r
8720 /* end confdefs.h.  */\r
8721 \r
8722 /* Override any GCC internal prototype to avoid an error.\r
8723    Use char because int might match the return type of a GCC\r
8724    builtin and then its argument prototype would still apply.  */\r
8725 #ifdef __cplusplus\r
8726 extern "C"\r
8727 #endif\r
8728 char XOpenDisplay ();\r
8729 int\r
8730 main ()\r
8731 {\r
8732 return XOpenDisplay ();\r
8733   ;\r
8734   return 0;\r
8735 }\r
8736 _ACEOF\r
8737 rm -f conftest.$ac_objext conftest$ac_exeext\r
8738 if { (ac_try="$ac_link"\r
8739 case "(($ac_try" in\r
8740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
8741   *) ac_try_echo=$ac_try;;\r
8742 esac\r
8743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
8744   (eval "$ac_link") 2>conftest.er1\r
8745   ac_status=$?\r
8746   grep -v '^ *+' conftest.er1 >conftest.err\r
8747   rm -f conftest.er1\r
8748   cat conftest.err >&5\r
8749   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8750   (exit $ac_status); } && {\r
8751          test -z "$ac_c_werror_flag" ||\r
8752          test ! -s conftest.err\r
8753        } && test -s conftest$ac_exeext &&\r
8754        $as_test_x conftest$ac_exeext; then\r
8755   :\r
8756 else\r
8757   echo "$as_me: failed program was:" >&5\r
8758 sed 's/^/| /' conftest.$ac_ext >&5\r
8759 \r
8760         { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5\r
8761 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }\r
8762 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then\r
8763   echo $ECHO_N "(cached) $ECHO_C" >&6\r
8764 else\r
8765   ac_check_lib_save_LIBS=$LIBS\r
8766 LIBS="-ldnet  $LIBS"\r
8767 cat >conftest.$ac_ext <<_ACEOF\r
8768 /* confdefs.h.  */\r
8769 _ACEOF\r
8770 cat confdefs.h >>conftest.$ac_ext\r
8771 cat >>conftest.$ac_ext <<_ACEOF\r
8772 /* end confdefs.h.  */\r
8773 \r
8774 /* Override any GCC internal prototype to avoid an error.\r
8775    Use char because int might match the return type of a GCC\r
8776    builtin and then its argument prototype would still apply.  */\r
8777 #ifdef __cplusplus\r
8778 extern "C"\r
8779 #endif\r
8780 char dnet_ntoa ();\r
8781 int\r
8782 main ()\r
8783 {\r
8784 return dnet_ntoa ();\r
8785   ;\r
8786   return 0;\r
8787 }\r
8788 _ACEOF\r
8789 rm -f conftest.$ac_objext conftest$ac_exeext\r
8790 if { (ac_try="$ac_link"\r
8791 case "(($ac_try" in\r
8792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
8793   *) ac_try_echo=$ac_try;;\r
8794 esac\r
8795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
8796   (eval "$ac_link") 2>conftest.er1\r
8797   ac_status=$?\r
8798   grep -v '^ *+' conftest.er1 >conftest.err\r
8799   rm -f conftest.er1\r
8800   cat conftest.err >&5\r
8801   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8802   (exit $ac_status); } && {\r
8803          test -z "$ac_c_werror_flag" ||\r
8804          test ! -s conftest.err\r
8805        } && test -s conftest$ac_exeext &&\r
8806        $as_test_x conftest$ac_exeext; then\r
8807   ac_cv_lib_dnet_dnet_ntoa=yes\r
8808 else\r
8809   echo "$as_me: failed program was:" >&5\r
8810 sed 's/^/| /' conftest.$ac_ext >&5\r
8811 \r
8812         ac_cv_lib_dnet_dnet_ntoa=no\r
8813 fi\r
8814 \r
8815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
8816       conftest$ac_exeext conftest.$ac_ext\r
8817 LIBS=$ac_check_lib_save_LIBS\r
8818 fi\r
8819 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5\r
8820 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }\r
8821 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then\r
8822   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"\r
8823 fi\r
8824 \r
8825     if test $ac_cv_lib_dnet_dnet_ntoa = no; then\r
8826       { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5\r
8827 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }\r
8828 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then\r
8829   echo $ECHO_N "(cached) $ECHO_C" >&6\r
8830 else\r
8831   ac_check_lib_save_LIBS=$LIBS\r
8832 LIBS="-ldnet_stub  $LIBS"\r
8833 cat >conftest.$ac_ext <<_ACEOF\r
8834 /* confdefs.h.  */\r
8835 _ACEOF\r
8836 cat confdefs.h >>conftest.$ac_ext\r
8837 cat >>conftest.$ac_ext <<_ACEOF\r
8838 /* end confdefs.h.  */\r
8839 \r
8840 /* Override any GCC internal prototype to avoid an error.\r
8841    Use char because int might match the return type of a GCC\r
8842    builtin and then its argument prototype would still apply.  */\r
8843 #ifdef __cplusplus\r
8844 extern "C"\r
8845 #endif\r
8846 char dnet_ntoa ();\r
8847 int\r
8848 main ()\r
8849 {\r
8850 return dnet_ntoa ();\r
8851   ;\r
8852   return 0;\r
8853 }\r
8854 _ACEOF\r
8855 rm -f conftest.$ac_objext conftest$ac_exeext\r
8856 if { (ac_try="$ac_link"\r
8857 case "(($ac_try" in\r
8858   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
8859   *) ac_try_echo=$ac_try;;\r
8860 esac\r
8861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
8862   (eval "$ac_link") 2>conftest.er1\r
8863   ac_status=$?\r
8864   grep -v '^ *+' conftest.er1 >conftest.err\r
8865   rm -f conftest.er1\r
8866   cat conftest.err >&5\r
8867   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8868   (exit $ac_status); } && {\r
8869          test -z "$ac_c_werror_flag" ||\r
8870          test ! -s conftest.err\r
8871        } && test -s conftest$ac_exeext &&\r
8872        $as_test_x conftest$ac_exeext; then\r
8873   ac_cv_lib_dnet_stub_dnet_ntoa=yes\r
8874 else\r
8875   echo "$as_me: failed program was:" >&5\r
8876 sed 's/^/| /' conftest.$ac_ext >&5\r
8877 \r
8878         ac_cv_lib_dnet_stub_dnet_ntoa=no\r
8879 fi\r
8880 \r
8881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
8882       conftest$ac_exeext conftest.$ac_ext\r
8883 LIBS=$ac_check_lib_save_LIBS\r
8884 fi\r
8885 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5\r
8886 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }\r
8887 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then\r
8888   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"\r
8889 fi\r
8890 \r
8891     fi\r
8892 fi\r
8893 \r
8894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
8895       conftest$ac_exeext conftest.$ac_ext\r
8896     LIBS="$ac_xsave_LIBS"\r
8897 \r
8898     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,\r
8899     # to get the SysV transport functions.\r
8900     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)\r
8901     # needs -lnsl.\r
8902     # The nsl library prevents programs from opening the X display\r
8903     # on Irix 5.2, according to T.E. Dickey.\r
8904     # The functions gethostbyname, getservbyname, and inet_addr are\r
8905     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.\r
8906     { echo "$as_me:$LINENO: checking for gethostbyname" >&5\r
8907 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }\r
8908 if test "${ac_cv_func_gethostbyname+set}" = set; then\r
8909   echo $ECHO_N "(cached) $ECHO_C" >&6\r
8910 else\r
8911   cat >conftest.$ac_ext <<_ACEOF\r
8912 /* confdefs.h.  */\r
8913 _ACEOF\r
8914 cat confdefs.h >>conftest.$ac_ext\r
8915 cat >>conftest.$ac_ext <<_ACEOF\r
8916 /* end confdefs.h.  */\r
8917 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.\r
8918    For example, HP-UX 11i <limits.h> declares gettimeofday.  */\r
8919 #define gethostbyname innocuous_gethostbyname\r
8920 \r
8921 /* System header to define __stub macros and hopefully few prototypes,\r
8922     which can conflict with char gethostbyname (); below.\r
8923     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
8924     <limits.h> exists even on freestanding compilers.  */\r
8925 \r
8926 #ifdef __STDC__\r
8927 # include <limits.h>\r
8928 #else\r
8929 # include <assert.h>\r
8930 #endif\r
8931 \r
8932 #undef gethostbyname\r
8933 \r
8934 /* Override any GCC internal prototype to avoid an error.\r
8935    Use char because int might match the return type of a GCC\r
8936    builtin and then its argument prototype would still apply.  */\r
8937 #ifdef __cplusplus\r
8938 extern "C"\r
8939 #endif\r
8940 char gethostbyname ();\r
8941 /* The GNU C library defines this for functions which it implements\r
8942     to always fail with ENOSYS.  Some functions are actually named\r
8943     something starting with __ and the normal name is an alias.  */\r
8944 #if defined __stub_gethostbyname || defined __stub___gethostbyname\r
8945 choke me\r
8946 #endif\r
8947 \r
8948 int\r
8949 main ()\r
8950 {\r
8951 return gethostbyname ();\r
8952   ;\r
8953   return 0;\r
8954 }\r
8955 _ACEOF\r
8956 rm -f conftest.$ac_objext conftest$ac_exeext\r
8957 if { (ac_try="$ac_link"\r
8958 case "(($ac_try" in\r
8959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
8960   *) ac_try_echo=$ac_try;;\r
8961 esac\r
8962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
8963   (eval "$ac_link") 2>conftest.er1\r
8964   ac_status=$?\r
8965   grep -v '^ *+' conftest.er1 >conftest.err\r
8966   rm -f conftest.er1\r
8967   cat conftest.err >&5\r
8968   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
8969   (exit $ac_status); } && {\r
8970          test -z "$ac_c_werror_flag" ||\r
8971          test ! -s conftest.err\r
8972        } && test -s conftest$ac_exeext &&\r
8973        $as_test_x conftest$ac_exeext; then\r
8974   ac_cv_func_gethostbyname=yes\r
8975 else\r
8976   echo "$as_me: failed program was:" >&5\r
8977 sed 's/^/| /' conftest.$ac_ext >&5\r
8978 \r
8979         ac_cv_func_gethostbyname=no\r
8980 fi\r
8981 \r
8982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
8983       conftest$ac_exeext conftest.$ac_ext\r
8984 fi\r
8985 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5\r
8986 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }\r
8987 \r
8988     if test $ac_cv_func_gethostbyname = no; then\r
8989       { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5\r
8990 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }\r
8991 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then\r
8992   echo $ECHO_N "(cached) $ECHO_C" >&6\r
8993 else\r
8994   ac_check_lib_save_LIBS=$LIBS\r
8995 LIBS="-lnsl  $LIBS"\r
8996 cat >conftest.$ac_ext <<_ACEOF\r
8997 /* confdefs.h.  */\r
8998 _ACEOF\r
8999 cat confdefs.h >>conftest.$ac_ext\r
9000 cat >>conftest.$ac_ext <<_ACEOF\r
9001 /* end confdefs.h.  */\r
9002 \r
9003 /* Override any GCC internal prototype to avoid an error.\r
9004    Use char because int might match the return type of a GCC\r
9005    builtin and then its argument prototype would still apply.  */\r
9006 #ifdef __cplusplus\r
9007 extern "C"\r
9008 #endif\r
9009 char gethostbyname ();\r
9010 int\r
9011 main ()\r
9012 {\r
9013 return gethostbyname ();\r
9014   ;\r
9015   return 0;\r
9016 }\r
9017 _ACEOF\r
9018 rm -f conftest.$ac_objext conftest$ac_exeext\r
9019 if { (ac_try="$ac_link"\r
9020 case "(($ac_try" in\r
9021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9022   *) ac_try_echo=$ac_try;;\r
9023 esac\r
9024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
9025   (eval "$ac_link") 2>conftest.er1\r
9026   ac_status=$?\r
9027   grep -v '^ *+' conftest.er1 >conftest.err\r
9028   rm -f conftest.er1\r
9029   cat conftest.err >&5\r
9030   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9031   (exit $ac_status); } && {\r
9032          test -z "$ac_c_werror_flag" ||\r
9033          test ! -s conftest.err\r
9034        } && test -s conftest$ac_exeext &&\r
9035        $as_test_x conftest$ac_exeext; then\r
9036   ac_cv_lib_nsl_gethostbyname=yes\r
9037 else\r
9038   echo "$as_me: failed program was:" >&5\r
9039 sed 's/^/| /' conftest.$ac_ext >&5\r
9040 \r
9041         ac_cv_lib_nsl_gethostbyname=no\r
9042 fi\r
9043 \r
9044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9045       conftest$ac_exeext conftest.$ac_ext\r
9046 LIBS=$ac_check_lib_save_LIBS\r
9047 fi\r
9048 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5\r
9049 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }\r
9050 if test $ac_cv_lib_nsl_gethostbyname = yes; then\r
9051   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"\r
9052 fi\r
9053 \r
9054       if test $ac_cv_lib_nsl_gethostbyname = no; then\r
9055         { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5\r
9056 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }\r
9057 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then\r
9058   echo $ECHO_N "(cached) $ECHO_C" >&6\r
9059 else\r
9060   ac_check_lib_save_LIBS=$LIBS\r
9061 LIBS="-lbsd  $LIBS"\r
9062 cat >conftest.$ac_ext <<_ACEOF\r
9063 /* confdefs.h.  */\r
9064 _ACEOF\r
9065 cat confdefs.h >>conftest.$ac_ext\r
9066 cat >>conftest.$ac_ext <<_ACEOF\r
9067 /* end confdefs.h.  */\r
9068 \r
9069 /* Override any GCC internal prototype to avoid an error.\r
9070    Use char because int might match the return type of a GCC\r
9071    builtin and then its argument prototype would still apply.  */\r
9072 #ifdef __cplusplus\r
9073 extern "C"\r
9074 #endif\r
9075 char gethostbyname ();\r
9076 int\r
9077 main ()\r
9078 {\r
9079 return gethostbyname ();\r
9080   ;\r
9081   return 0;\r
9082 }\r
9083 _ACEOF\r
9084 rm -f conftest.$ac_objext conftest$ac_exeext\r
9085 if { (ac_try="$ac_link"\r
9086 case "(($ac_try" in\r
9087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9088   *) ac_try_echo=$ac_try;;\r
9089 esac\r
9090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
9091   (eval "$ac_link") 2>conftest.er1\r
9092   ac_status=$?\r
9093   grep -v '^ *+' conftest.er1 >conftest.err\r
9094   rm -f conftest.er1\r
9095   cat conftest.err >&5\r
9096   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9097   (exit $ac_status); } && {\r
9098          test -z "$ac_c_werror_flag" ||\r
9099          test ! -s conftest.err\r
9100        } && test -s conftest$ac_exeext &&\r
9101        $as_test_x conftest$ac_exeext; then\r
9102   ac_cv_lib_bsd_gethostbyname=yes\r
9103 else\r
9104   echo "$as_me: failed program was:" >&5\r
9105 sed 's/^/| /' conftest.$ac_ext >&5\r
9106 \r
9107         ac_cv_lib_bsd_gethostbyname=no\r
9108 fi\r
9109 \r
9110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9111       conftest$ac_exeext conftest.$ac_ext\r
9112 LIBS=$ac_check_lib_save_LIBS\r
9113 fi\r
9114 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5\r
9115 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }\r
9116 if test $ac_cv_lib_bsd_gethostbyname = yes; then\r
9117   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"\r
9118 fi\r
9119 \r
9120       fi\r
9121     fi\r
9122 \r
9123     # lieder@skyler.mavd.honeywell.com says without -lsocket,\r
9124     # socket/setsockopt and other routines are undefined under SCO ODT\r
9125     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary\r
9126     # on later versions), says Simon Leinen: it contains gethostby*\r
9127     # variants that don't use the name server (or something).  -lsocket\r
9128     # must be given before -lnsl if both are needed.  We assume that\r
9129     # if connect needs -lnsl, so does gethostbyname.\r
9130     { echo "$as_me:$LINENO: checking for connect" >&5\r
9131 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }\r
9132 if test "${ac_cv_func_connect+set}" = set; then\r
9133   echo $ECHO_N "(cached) $ECHO_C" >&6\r
9134 else\r
9135   cat >conftest.$ac_ext <<_ACEOF\r
9136 /* confdefs.h.  */\r
9137 _ACEOF\r
9138 cat confdefs.h >>conftest.$ac_ext\r
9139 cat >>conftest.$ac_ext <<_ACEOF\r
9140 /* end confdefs.h.  */\r
9141 /* Define connect to an innocuous variant, in case <limits.h> declares connect.\r
9142    For example, HP-UX 11i <limits.h> declares gettimeofday.  */\r
9143 #define connect innocuous_connect\r
9144 \r
9145 /* System header to define __stub macros and hopefully few prototypes,\r
9146     which can conflict with char connect (); below.\r
9147     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
9148     <limits.h> exists even on freestanding compilers.  */\r
9149 \r
9150 #ifdef __STDC__\r
9151 # include <limits.h>\r
9152 #else\r
9153 # include <assert.h>\r
9154 #endif\r
9155 \r
9156 #undef connect\r
9157 \r
9158 /* Override any GCC internal prototype to avoid an error.\r
9159    Use char because int might match the return type of a GCC\r
9160    builtin and then its argument prototype would still apply.  */\r
9161 #ifdef __cplusplus\r
9162 extern "C"\r
9163 #endif\r
9164 char connect ();\r
9165 /* The GNU C library defines this for functions which it implements\r
9166     to always fail with ENOSYS.  Some functions are actually named\r
9167     something starting with __ and the normal name is an alias.  */\r
9168 #if defined __stub_connect || defined __stub___connect\r
9169 choke me\r
9170 #endif\r
9171 \r
9172 int\r
9173 main ()\r
9174 {\r
9175 return connect ();\r
9176   ;\r
9177   return 0;\r
9178 }\r
9179 _ACEOF\r
9180 rm -f conftest.$ac_objext conftest$ac_exeext\r
9181 if { (ac_try="$ac_link"\r
9182 case "(($ac_try" in\r
9183   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9184   *) ac_try_echo=$ac_try;;\r
9185 esac\r
9186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
9187   (eval "$ac_link") 2>conftest.er1\r
9188   ac_status=$?\r
9189   grep -v '^ *+' conftest.er1 >conftest.err\r
9190   rm -f conftest.er1\r
9191   cat conftest.err >&5\r
9192   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9193   (exit $ac_status); } && {\r
9194          test -z "$ac_c_werror_flag" ||\r
9195          test ! -s conftest.err\r
9196        } && test -s conftest$ac_exeext &&\r
9197        $as_test_x conftest$ac_exeext; then\r
9198   ac_cv_func_connect=yes\r
9199 else\r
9200   echo "$as_me: failed program was:" >&5\r
9201 sed 's/^/| /' conftest.$ac_ext >&5\r
9202 \r
9203         ac_cv_func_connect=no\r
9204 fi\r
9205 \r
9206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9207       conftest$ac_exeext conftest.$ac_ext\r
9208 fi\r
9209 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5\r
9210 echo "${ECHO_T}$ac_cv_func_connect" >&6; }\r
9211 \r
9212     if test $ac_cv_func_connect = no; then\r
9213       { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5\r
9214 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }\r
9215 if test "${ac_cv_lib_socket_connect+set}" = set; then\r
9216   echo $ECHO_N "(cached) $ECHO_C" >&6\r
9217 else\r
9218   ac_check_lib_save_LIBS=$LIBS\r
9219 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"\r
9220 cat >conftest.$ac_ext <<_ACEOF\r
9221 /* confdefs.h.  */\r
9222 _ACEOF\r
9223 cat confdefs.h >>conftest.$ac_ext\r
9224 cat >>conftest.$ac_ext <<_ACEOF\r
9225 /* end confdefs.h.  */\r
9226 \r
9227 /* Override any GCC internal prototype to avoid an error.\r
9228    Use char because int might match the return type of a GCC\r
9229    builtin and then its argument prototype would still apply.  */\r
9230 #ifdef __cplusplus\r
9231 extern "C"\r
9232 #endif\r
9233 char connect ();\r
9234 int\r
9235 main ()\r
9236 {\r
9237 return connect ();\r
9238   ;\r
9239   return 0;\r
9240 }\r
9241 _ACEOF\r
9242 rm -f conftest.$ac_objext conftest$ac_exeext\r
9243 if { (ac_try="$ac_link"\r
9244 case "(($ac_try" in\r
9245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9246   *) ac_try_echo=$ac_try;;\r
9247 esac\r
9248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
9249   (eval "$ac_link") 2>conftest.er1\r
9250   ac_status=$?\r
9251   grep -v '^ *+' conftest.er1 >conftest.err\r
9252   rm -f conftest.er1\r
9253   cat conftest.err >&5\r
9254   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9255   (exit $ac_status); } && {\r
9256          test -z "$ac_c_werror_flag" ||\r
9257          test ! -s conftest.err\r
9258        } && test -s conftest$ac_exeext &&\r
9259        $as_test_x conftest$ac_exeext; then\r
9260   ac_cv_lib_socket_connect=yes\r
9261 else\r
9262   echo "$as_me: failed program was:" >&5\r
9263 sed 's/^/| /' conftest.$ac_ext >&5\r
9264 \r
9265         ac_cv_lib_socket_connect=no\r
9266 fi\r
9267 \r
9268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9269       conftest$ac_exeext conftest.$ac_ext\r
9270 LIBS=$ac_check_lib_save_LIBS\r
9271 fi\r
9272 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5\r
9273 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }\r
9274 if test $ac_cv_lib_socket_connect = yes; then\r
9275   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"\r
9276 fi\r
9277 \r
9278     fi\r
9279 \r
9280     # Guillermo Gomez says -lposix is necessary on A/UX.\r
9281     { echo "$as_me:$LINENO: checking for remove" >&5\r
9282 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }\r
9283 if test "${ac_cv_func_remove+set}" = set; then\r
9284   echo $ECHO_N "(cached) $ECHO_C" >&6\r
9285 else\r
9286   cat >conftest.$ac_ext <<_ACEOF\r
9287 /* confdefs.h.  */\r
9288 _ACEOF\r
9289 cat confdefs.h >>conftest.$ac_ext\r
9290 cat >>conftest.$ac_ext <<_ACEOF\r
9291 /* end confdefs.h.  */\r
9292 /* Define remove to an innocuous variant, in case <limits.h> declares remove.\r
9293    For example, HP-UX 11i <limits.h> declares gettimeofday.  */\r
9294 #define remove innocuous_remove\r
9295 \r
9296 /* System header to define __stub macros and hopefully few prototypes,\r
9297     which can conflict with char remove (); below.\r
9298     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
9299     <limits.h> exists even on freestanding compilers.  */\r
9300 \r
9301 #ifdef __STDC__\r
9302 # include <limits.h>\r
9303 #else\r
9304 # include <assert.h>\r
9305 #endif\r
9306 \r
9307 #undef remove\r
9308 \r
9309 /* Override any GCC internal prototype to avoid an error.\r
9310    Use char because int might match the return type of a GCC\r
9311    builtin and then its argument prototype would still apply.  */\r
9312 #ifdef __cplusplus\r
9313 extern "C"\r
9314 #endif\r
9315 char remove ();\r
9316 /* The GNU C library defines this for functions which it implements\r
9317     to always fail with ENOSYS.  Some functions are actually named\r
9318     something starting with __ and the normal name is an alias.  */\r
9319 #if defined __stub_remove || defined __stub___remove\r
9320 choke me\r
9321 #endif\r
9322 \r
9323 int\r
9324 main ()\r
9325 {\r
9326 return remove ();\r
9327   ;\r
9328   return 0;\r
9329 }\r
9330 _ACEOF\r
9331 rm -f conftest.$ac_objext conftest$ac_exeext\r
9332 if { (ac_try="$ac_link"\r
9333 case "(($ac_try" in\r
9334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9335   *) ac_try_echo=$ac_try;;\r
9336 esac\r
9337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
9338   (eval "$ac_link") 2>conftest.er1\r
9339   ac_status=$?\r
9340   grep -v '^ *+' conftest.er1 >conftest.err\r
9341   rm -f conftest.er1\r
9342   cat conftest.err >&5\r
9343   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9344   (exit $ac_status); } && {\r
9345          test -z "$ac_c_werror_flag" ||\r
9346          test ! -s conftest.err\r
9347        } && test -s conftest$ac_exeext &&\r
9348        $as_test_x conftest$ac_exeext; then\r
9349   ac_cv_func_remove=yes\r
9350 else\r
9351   echo "$as_me: failed program was:" >&5\r
9352 sed 's/^/| /' conftest.$ac_ext >&5\r
9353 \r
9354         ac_cv_func_remove=no\r
9355 fi\r
9356 \r
9357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9358       conftest$ac_exeext conftest.$ac_ext\r
9359 fi\r
9360 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5\r
9361 echo "${ECHO_T}$ac_cv_func_remove" >&6; }\r
9362 \r
9363     if test $ac_cv_func_remove = no; then\r
9364       { echo "$as_me:$LINENO: checking for remove in -lposix" >&5\r
9365 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }\r
9366 if test "${ac_cv_lib_posix_remove+set}" = set; then\r
9367   echo $ECHO_N "(cached) $ECHO_C" >&6\r
9368 else\r
9369   ac_check_lib_save_LIBS=$LIBS\r
9370 LIBS="-lposix  $LIBS"\r
9371 cat >conftest.$ac_ext <<_ACEOF\r
9372 /* confdefs.h.  */\r
9373 _ACEOF\r
9374 cat confdefs.h >>conftest.$ac_ext\r
9375 cat >>conftest.$ac_ext <<_ACEOF\r
9376 /* end confdefs.h.  */\r
9377 \r
9378 /* Override any GCC internal prototype to avoid an error.\r
9379    Use char because int might match the return type of a GCC\r
9380    builtin and then its argument prototype would still apply.  */\r
9381 #ifdef __cplusplus\r
9382 extern "C"\r
9383 #endif\r
9384 char remove ();\r
9385 int\r
9386 main ()\r
9387 {\r
9388 return remove ();\r
9389   ;\r
9390   return 0;\r
9391 }\r
9392 _ACEOF\r
9393 rm -f conftest.$ac_objext conftest$ac_exeext\r
9394 if { (ac_try="$ac_link"\r
9395 case "(($ac_try" in\r
9396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9397   *) ac_try_echo=$ac_try;;\r
9398 esac\r
9399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
9400   (eval "$ac_link") 2>conftest.er1\r
9401   ac_status=$?\r
9402   grep -v '^ *+' conftest.er1 >conftest.err\r
9403   rm -f conftest.er1\r
9404   cat conftest.err >&5\r
9405   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9406   (exit $ac_status); } && {\r
9407          test -z "$ac_c_werror_flag" ||\r
9408          test ! -s conftest.err\r
9409        } && test -s conftest$ac_exeext &&\r
9410        $as_test_x conftest$ac_exeext; then\r
9411   ac_cv_lib_posix_remove=yes\r
9412 else\r
9413   echo "$as_me: failed program was:" >&5\r
9414 sed 's/^/| /' conftest.$ac_ext >&5\r
9415 \r
9416         ac_cv_lib_posix_remove=no\r
9417 fi\r
9418 \r
9419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9420       conftest$ac_exeext conftest.$ac_ext\r
9421 LIBS=$ac_check_lib_save_LIBS\r
9422 fi\r
9423 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5\r
9424 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }\r
9425 if test $ac_cv_lib_posix_remove = yes; then\r
9426   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"\r
9427 fi\r
9428 \r
9429     fi\r
9430 \r
9431     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.\r
9432     { echo "$as_me:$LINENO: checking for shmat" >&5\r
9433 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }\r
9434 if test "${ac_cv_func_shmat+set}" = set; then\r
9435   echo $ECHO_N "(cached) $ECHO_C" >&6\r
9436 else\r
9437   cat >conftest.$ac_ext <<_ACEOF\r
9438 /* confdefs.h.  */\r
9439 _ACEOF\r
9440 cat confdefs.h >>conftest.$ac_ext\r
9441 cat >>conftest.$ac_ext <<_ACEOF\r
9442 /* end confdefs.h.  */\r
9443 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.\r
9444    For example, HP-UX 11i <limits.h> declares gettimeofday.  */\r
9445 #define shmat innocuous_shmat\r
9446 \r
9447 /* System header to define __stub macros and hopefully few prototypes,\r
9448     which can conflict with char shmat (); below.\r
9449     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since\r
9450     <limits.h> exists even on freestanding compilers.  */\r
9451 \r
9452 #ifdef __STDC__\r
9453 # include <limits.h>\r
9454 #else\r
9455 # include <assert.h>\r
9456 #endif\r
9457 \r
9458 #undef shmat\r
9459 \r
9460 /* Override any GCC internal prototype to avoid an error.\r
9461    Use char because int might match the return type of a GCC\r
9462    builtin and then its argument prototype would still apply.  */\r
9463 #ifdef __cplusplus\r
9464 extern "C"\r
9465 #endif\r
9466 char shmat ();\r
9467 /* The GNU C library defines this for functions which it implements\r
9468     to always fail with ENOSYS.  Some functions are actually named\r
9469     something starting with __ and the normal name is an alias.  */\r
9470 #if defined __stub_shmat || defined __stub___shmat\r
9471 choke me\r
9472 #endif\r
9473 \r
9474 int\r
9475 main ()\r
9476 {\r
9477 return shmat ();\r
9478   ;\r
9479   return 0;\r
9480 }\r
9481 _ACEOF\r
9482 rm -f conftest.$ac_objext conftest$ac_exeext\r
9483 if { (ac_try="$ac_link"\r
9484 case "(($ac_try" in\r
9485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9486   *) ac_try_echo=$ac_try;;\r
9487 esac\r
9488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
9489   (eval "$ac_link") 2>conftest.er1\r
9490   ac_status=$?\r
9491   grep -v '^ *+' conftest.er1 >conftest.err\r
9492   rm -f conftest.er1\r
9493   cat conftest.err >&5\r
9494   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9495   (exit $ac_status); } && {\r
9496          test -z "$ac_c_werror_flag" ||\r
9497          test ! -s conftest.err\r
9498        } && test -s conftest$ac_exeext &&\r
9499        $as_test_x conftest$ac_exeext; then\r
9500   ac_cv_func_shmat=yes\r
9501 else\r
9502   echo "$as_me: failed program was:" >&5\r
9503 sed 's/^/| /' conftest.$ac_ext >&5\r
9504 \r
9505         ac_cv_func_shmat=no\r
9506 fi\r
9507 \r
9508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9509       conftest$ac_exeext conftest.$ac_ext\r
9510 fi\r
9511 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5\r
9512 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }\r
9513 \r
9514     if test $ac_cv_func_shmat = no; then\r
9515       { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5\r
9516 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }\r
9517 if test "${ac_cv_lib_ipc_shmat+set}" = set; then\r
9518   echo $ECHO_N "(cached) $ECHO_C" >&6\r
9519 else\r
9520   ac_check_lib_save_LIBS=$LIBS\r
9521 LIBS="-lipc  $LIBS"\r
9522 cat >conftest.$ac_ext <<_ACEOF\r
9523 /* confdefs.h.  */\r
9524 _ACEOF\r
9525 cat confdefs.h >>conftest.$ac_ext\r
9526 cat >>conftest.$ac_ext <<_ACEOF\r
9527 /* end confdefs.h.  */\r
9528 \r
9529 /* Override any GCC internal prototype to avoid an error.\r
9530    Use char because int might match the return type of a GCC\r
9531    builtin and then its argument prototype would still apply.  */\r
9532 #ifdef __cplusplus\r
9533 extern "C"\r
9534 #endif\r
9535 char shmat ();\r
9536 int\r
9537 main ()\r
9538 {\r
9539 return shmat ();\r
9540   ;\r
9541   return 0;\r
9542 }\r
9543 _ACEOF\r
9544 rm -f conftest.$ac_objext conftest$ac_exeext\r
9545 if { (ac_try="$ac_link"\r
9546 case "(($ac_try" in\r
9547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9548   *) ac_try_echo=$ac_try;;\r
9549 esac\r
9550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
9551   (eval "$ac_link") 2>conftest.er1\r
9552   ac_status=$?\r
9553   grep -v '^ *+' conftest.er1 >conftest.err\r
9554   rm -f conftest.er1\r
9555   cat conftest.err >&5\r
9556   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9557   (exit $ac_status); } && {\r
9558          test -z "$ac_c_werror_flag" ||\r
9559          test ! -s conftest.err\r
9560        } && test -s conftest$ac_exeext &&\r
9561        $as_test_x conftest$ac_exeext; then\r
9562   ac_cv_lib_ipc_shmat=yes\r
9563 else\r
9564   echo "$as_me: failed program was:" >&5\r
9565 sed 's/^/| /' conftest.$ac_ext >&5\r
9566 \r
9567         ac_cv_lib_ipc_shmat=no\r
9568 fi\r
9569 \r
9570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9571       conftest$ac_exeext conftest.$ac_ext\r
9572 LIBS=$ac_check_lib_save_LIBS\r
9573 fi\r
9574 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5\r
9575 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }\r
9576 if test $ac_cv_lib_ipc_shmat = yes; then\r
9577   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"\r
9578 fi\r
9579 \r
9580     fi\r
9581   fi\r
9582 \r
9583   # Check for libraries that X11R6 Xt/Xaw programs need.\r
9584   ac_save_LDFLAGS=$LDFLAGS\r
9585   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"\r
9586   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to\r
9587   # check for ICE first), but we must link in the order -lSM -lICE or\r
9588   # we get undefined symbols.  So assume we have SM if we have ICE.\r
9589   # These have to be linked with before -lX11, unlike the other\r
9590   # libraries we check for below, so use a different variable.\r
9591   # John Interrante, Karl Berry\r
9592   { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5\r
9593 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }\r
9594 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then\r
9595   echo $ECHO_N "(cached) $ECHO_C" >&6\r
9596 else\r
9597   ac_check_lib_save_LIBS=$LIBS\r
9598 LIBS="-lICE $X_EXTRA_LIBS $LIBS"\r
9599 cat >conftest.$ac_ext <<_ACEOF\r
9600 /* confdefs.h.  */\r
9601 _ACEOF\r
9602 cat confdefs.h >>conftest.$ac_ext\r
9603 cat >>conftest.$ac_ext <<_ACEOF\r
9604 /* end confdefs.h.  */\r
9605 \r
9606 /* Override any GCC internal prototype to avoid an error.\r
9607    Use char because int might match the return type of a GCC\r
9608    builtin and then its argument prototype would still apply.  */\r
9609 #ifdef __cplusplus\r
9610 extern "C"\r
9611 #endif\r
9612 char IceConnectionNumber ();\r
9613 int\r
9614 main ()\r
9615 {\r
9616 return IceConnectionNumber ();\r
9617   ;\r
9618   return 0;\r
9619 }\r
9620 _ACEOF\r
9621 rm -f conftest.$ac_objext conftest$ac_exeext\r
9622 if { (ac_try="$ac_link"\r
9623 case "(($ac_try" in\r
9624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9625   *) ac_try_echo=$ac_try;;\r
9626 esac\r
9627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
9628   (eval "$ac_link") 2>conftest.er1\r
9629   ac_status=$?\r
9630   grep -v '^ *+' conftest.er1 >conftest.err\r
9631   rm -f conftest.er1\r
9632   cat conftest.err >&5\r
9633   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9634   (exit $ac_status); } && {\r
9635          test -z "$ac_c_werror_flag" ||\r
9636          test ! -s conftest.err\r
9637        } && test -s conftest$ac_exeext &&\r
9638        $as_test_x conftest$ac_exeext; then\r
9639   ac_cv_lib_ICE_IceConnectionNumber=yes\r
9640 else\r
9641   echo "$as_me: failed program was:" >&5\r
9642 sed 's/^/| /' conftest.$ac_ext >&5\r
9643 \r
9644         ac_cv_lib_ICE_IceConnectionNumber=no\r
9645 fi\r
9646 \r
9647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9648       conftest$ac_exeext conftest.$ac_ext\r
9649 LIBS=$ac_check_lib_save_LIBS\r
9650 fi\r
9651 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5\r
9652 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }\r
9653 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then\r
9654   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"\r
9655 fi\r
9656 \r
9657   LDFLAGS=$ac_save_LDFLAGS\r
9658 \r
9659 fi\r
9660 \r
9661 if test -n "$no_x" ; then\r
9662   echo $PRODUCT requires the X Window System header files and libraries!\r
9663   echo They were not found on your system.  See FAQ topic C.2.\r
9664   echo configure failed\r
9665   exit 1\r
9666 fi\r
9667 \r
9668 if test "${ac_cv_header_X11_Intrinsic_h+set}" = set; then\r
9669   { echo "$as_me:$LINENO: checking for X11/Intrinsic.h" >&5\r
9670 echo $ECHO_N "checking for X11/Intrinsic.h... $ECHO_C" >&6; }\r
9671 if test "${ac_cv_header_X11_Intrinsic_h+set}" = set; then\r
9672   echo $ECHO_N "(cached) $ECHO_C" >&6\r
9673 fi\r
9674 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Intrinsic_h" >&5\r
9675 echo "${ECHO_T}$ac_cv_header_X11_Intrinsic_h" >&6; }\r
9676 else\r
9677   # Is the header compilable?\r
9678 { echo "$as_me:$LINENO: checking X11/Intrinsic.h usability" >&5\r
9679 echo $ECHO_N "checking X11/Intrinsic.h usability... $ECHO_C" >&6; }\r
9680 cat >conftest.$ac_ext <<_ACEOF\r
9681 /* confdefs.h.  */\r
9682 _ACEOF\r
9683 cat confdefs.h >>conftest.$ac_ext\r
9684 cat >>conftest.$ac_ext <<_ACEOF\r
9685 /* end confdefs.h.  */\r
9686 $ac_includes_default\r
9687 #include <X11/Intrinsic.h>\r
9688 _ACEOF\r
9689 rm -f conftest.$ac_objext\r
9690 if { (ac_try="$ac_compile"\r
9691 case "(($ac_try" in\r
9692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9693   *) ac_try_echo=$ac_try;;\r
9694 esac\r
9695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
9696   (eval "$ac_compile") 2>conftest.er1\r
9697   ac_status=$?\r
9698   grep -v '^ *+' conftest.er1 >conftest.err\r
9699   rm -f conftest.er1\r
9700   cat conftest.err >&5\r
9701   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9702   (exit $ac_status); } && {\r
9703          test -z "$ac_c_werror_flag" ||\r
9704          test ! -s conftest.err\r
9705        } && test -s conftest.$ac_objext; then\r
9706   ac_header_compiler=yes\r
9707 else\r
9708   echo "$as_me: failed program was:" >&5\r
9709 sed 's/^/| /' conftest.$ac_ext >&5\r
9710 \r
9711         ac_header_compiler=no\r
9712 fi\r
9713 \r
9714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
9715 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5\r
9716 echo "${ECHO_T}$ac_header_compiler" >&6; }\r
9717 \r
9718 # Is the header present?\r
9719 { echo "$as_me:$LINENO: checking X11/Intrinsic.h presence" >&5\r
9720 echo $ECHO_N "checking X11/Intrinsic.h presence... $ECHO_C" >&6; }\r
9721 cat >conftest.$ac_ext <<_ACEOF\r
9722 /* confdefs.h.  */\r
9723 _ACEOF\r
9724 cat confdefs.h >>conftest.$ac_ext\r
9725 cat >>conftest.$ac_ext <<_ACEOF\r
9726 /* end confdefs.h.  */\r
9727 #include <X11/Intrinsic.h>\r
9728 _ACEOF\r
9729 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
9730 case "(($ac_try" in\r
9731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9732   *) ac_try_echo=$ac_try;;\r
9733 esac\r
9734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
9735   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
9736   ac_status=$?\r
9737   grep -v '^ *+' conftest.er1 >conftest.err\r
9738   rm -f conftest.er1\r
9739   cat conftest.err >&5\r
9740   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9741   (exit $ac_status); } >/dev/null && {\r
9742          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
9743          test ! -s conftest.err\r
9744        }; then\r
9745   ac_header_preproc=yes\r
9746 else\r
9747   echo "$as_me: failed program was:" >&5\r
9748 sed 's/^/| /' conftest.$ac_ext >&5\r
9749 \r
9750   ac_header_preproc=no\r
9751 fi\r
9752 \r
9753 rm -f conftest.err conftest.$ac_ext\r
9754 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5\r
9755 echo "${ECHO_T}$ac_header_preproc" >&6; }\r
9756 \r
9757 # So?  What about this header?\r
9758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in\r
9759   yes:no: )\r
9760     { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: accepted by the compiler, rejected by the preprocessor!" >&5\r
9761 echo "$as_me: WARNING: X11/Intrinsic.h: accepted by the compiler, rejected by the preprocessor!" >&2;}\r
9762     { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: proceeding with the compiler's result" >&5\r
9763 echo "$as_me: WARNING: X11/Intrinsic.h: proceeding with the compiler's result" >&2;}\r
9764     ac_header_preproc=yes\r
9765     ;;\r
9766   no:yes:* )\r
9767     { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: present but cannot be compiled" >&5\r
9768 echo "$as_me: WARNING: X11/Intrinsic.h: present but cannot be compiled" >&2;}\r
9769     { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h:     check for missing prerequisite headers?" >&5\r
9770 echo "$as_me: WARNING: X11/Intrinsic.h:     check for missing prerequisite headers?" >&2;}\r
9771     { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: see the Autoconf documentation" >&5\r
9772 echo "$as_me: WARNING: X11/Intrinsic.h: see the Autoconf documentation" >&2;}\r
9773     { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h:     section \"Present But Cannot Be Compiled\"" >&5\r
9774 echo "$as_me: WARNING: X11/Intrinsic.h:     section \"Present But Cannot Be Compiled\"" >&2;}\r
9775     { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: proceeding with the preprocessor's result" >&5\r
9776 echo "$as_me: WARNING: X11/Intrinsic.h: proceeding with the preprocessor's result" >&2;}\r
9777     { echo "$as_me:$LINENO: WARNING: X11/Intrinsic.h: in the future, the compiler will take precedence" >&5\r
9778 echo "$as_me: WARNING: X11/Intrinsic.h: in the future, the compiler will take precedence" >&2;}\r
9779 \r
9780     ;;\r
9781 esac\r
9782 { echo "$as_me:$LINENO: checking for X11/Intrinsic.h" >&5\r
9783 echo $ECHO_N "checking for X11/Intrinsic.h... $ECHO_C" >&6; }\r
9784 if test "${ac_cv_header_X11_Intrinsic_h+set}" = set; then\r
9785   echo $ECHO_N "(cached) $ECHO_C" >&6\r
9786 else\r
9787   ac_cv_header_X11_Intrinsic_h=$ac_header_preproc\r
9788 fi\r
9789 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Intrinsic_h" >&5\r
9790 echo "${ECHO_T}$ac_cv_header_X11_Intrinsic_h" >&6; }\r
9791 \r
9792 fi\r
9793 if test $ac_cv_header_X11_Intrinsic_h = yes; then\r
9794   xt="yes"\r
9795 else\r
9796   xt="no"\r
9797 fi\r
9798 \r
9799 \r
9800 \r
9801 if test "$xt" == "no" ; then\r
9802    echo Xt headers not found\r
9803    exit 1\r
9804 fi\r
9805 \r
9806 \r
9807 # Check whether --with-Xaw3d was given.\r
9808 if test "${with_Xaw3d+set}" = set; then\r
9809   withval=$with_Xaw3d; with_xaw3d="yes"\r
9810 else\r
9811   with_xaw3d="no"\r
9812 fi\r
9813 \r
9814 \r
9815 \r
9816 xaw_headers="no"\r
9817 if test "$with_xaw3d" == "yes" ; then\r
9818    XAW_LIBS="-lXaw3d"\r
9819    { echo "$as_me:$LINENO: checking for XawTextReplace in -lXaw3d" >&5\r
9820 echo $ECHO_N "checking for XawTextReplace in -lXaw3d... $ECHO_C" >&6; }\r
9821 if test "${ac_cv_lib_Xaw3d_XawTextReplace+set}" = set; then\r
9822   echo $ECHO_N "(cached) $ECHO_C" >&6\r
9823 else\r
9824   ac_check_lib_save_LIBS=$LIBS\r
9825 LIBS="-lXaw3d  $LIBS"\r
9826 cat >conftest.$ac_ext <<_ACEOF\r
9827 /* confdefs.h.  */\r
9828 _ACEOF\r
9829 cat confdefs.h >>conftest.$ac_ext\r
9830 cat >>conftest.$ac_ext <<_ACEOF\r
9831 /* end confdefs.h.  */\r
9832 \r
9833 /* Override any GCC internal prototype to avoid an error.\r
9834    Use char because int might match the return type of a GCC\r
9835    builtin and then its argument prototype would still apply.  */\r
9836 #ifdef __cplusplus\r
9837 extern "C"\r
9838 #endif\r
9839 char XawTextReplace ();\r
9840 int\r
9841 main ()\r
9842 {\r
9843 return XawTextReplace ();\r
9844   ;\r
9845   return 0;\r
9846 }\r
9847 _ACEOF\r
9848 rm -f conftest.$ac_objext conftest$ac_exeext\r
9849 if { (ac_try="$ac_link"\r
9850 case "(($ac_try" in\r
9851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9852   *) ac_try_echo=$ac_try;;\r
9853 esac\r
9854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
9855   (eval "$ac_link") 2>conftest.er1\r
9856   ac_status=$?\r
9857   grep -v '^ *+' conftest.er1 >conftest.err\r
9858   rm -f conftest.er1\r
9859   cat conftest.err >&5\r
9860   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9861   (exit $ac_status); } && {\r
9862          test -z "$ac_c_werror_flag" ||\r
9863          test ! -s conftest.err\r
9864        } && test -s conftest$ac_exeext &&\r
9865        $as_test_x conftest$ac_exeext; then\r
9866   ac_cv_lib_Xaw3d_XawTextReplace=yes\r
9867 else\r
9868   echo "$as_me: failed program was:" >&5\r
9869 sed 's/^/| /' conftest.$ac_ext >&5\r
9870 \r
9871         ac_cv_lib_Xaw3d_XawTextReplace=no\r
9872 fi\r
9873 \r
9874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
9875       conftest$ac_exeext conftest.$ac_ext\r
9876 LIBS=$ac_check_lib_save_LIBS\r
9877 fi\r
9878 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawTextReplace" >&5\r
9879 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawTextReplace" >&6; }\r
9880 if test $ac_cv_lib_Xaw3d_XawTextReplace = yes; then\r
9881   xaw3d_lib="yes"\r
9882 else\r
9883   xaw3d_lib="no"\r
9884 fi\r
9885 \r
9886    if test "$xaw3d_lib" == "no" ; then\r
9887       echo Xaw3d libraries not found\r
9888       exit 1\r
9889    else\r
9890       if test "${ac_cv_header_X11_Xaw3d_Dialog_h+set}" = set; then\r
9891   { echo "$as_me:$LINENO: checking for X11/Xaw3d/Dialog.h" >&5\r
9892 echo $ECHO_N "checking for X11/Xaw3d/Dialog.h... $ECHO_C" >&6; }\r
9893 if test "${ac_cv_header_X11_Xaw3d_Dialog_h+set}" = set; then\r
9894   echo $ECHO_N "(cached) $ECHO_C" >&6\r
9895 fi\r
9896 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Dialog_h" >&5\r
9897 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Dialog_h" >&6; }\r
9898 else\r
9899   # Is the header compilable?\r
9900 { echo "$as_me:$LINENO: checking X11/Xaw3d/Dialog.h usability" >&5\r
9901 echo $ECHO_N "checking X11/Xaw3d/Dialog.h usability... $ECHO_C" >&6; }\r
9902 cat >conftest.$ac_ext <<_ACEOF\r
9903 /* confdefs.h.  */\r
9904 _ACEOF\r
9905 cat confdefs.h >>conftest.$ac_ext\r
9906 cat >>conftest.$ac_ext <<_ACEOF\r
9907 /* end confdefs.h.  */\r
9908 $ac_includes_default\r
9909 #include <X11/Xaw3d/Dialog.h>\r
9910 _ACEOF\r
9911 rm -f conftest.$ac_objext\r
9912 if { (ac_try="$ac_compile"\r
9913 case "(($ac_try" in\r
9914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9915   *) ac_try_echo=$ac_try;;\r
9916 esac\r
9917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
9918   (eval "$ac_compile") 2>conftest.er1\r
9919   ac_status=$?\r
9920   grep -v '^ *+' conftest.er1 >conftest.err\r
9921   rm -f conftest.er1\r
9922   cat conftest.err >&5\r
9923   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9924   (exit $ac_status); } && {\r
9925          test -z "$ac_c_werror_flag" ||\r
9926          test ! -s conftest.err\r
9927        } && test -s conftest.$ac_objext; then\r
9928   ac_header_compiler=yes\r
9929 else\r
9930   echo "$as_me: failed program was:" >&5\r
9931 sed 's/^/| /' conftest.$ac_ext >&5\r
9932 \r
9933         ac_header_compiler=no\r
9934 fi\r
9935 \r
9936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
9937 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5\r
9938 echo "${ECHO_T}$ac_header_compiler" >&6; }\r
9939 \r
9940 # Is the header present?\r
9941 { echo "$as_me:$LINENO: checking X11/Xaw3d/Dialog.h presence" >&5\r
9942 echo $ECHO_N "checking X11/Xaw3d/Dialog.h presence... $ECHO_C" >&6; }\r
9943 cat >conftest.$ac_ext <<_ACEOF\r
9944 /* confdefs.h.  */\r
9945 _ACEOF\r
9946 cat confdefs.h >>conftest.$ac_ext\r
9947 cat >>conftest.$ac_ext <<_ACEOF\r
9948 /* end confdefs.h.  */\r
9949 #include <X11/Xaw3d/Dialog.h>\r
9950 _ACEOF\r
9951 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
9952 case "(($ac_try" in\r
9953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
9954   *) ac_try_echo=$ac_try;;\r
9955 esac\r
9956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
9957   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
9958   ac_status=$?\r
9959   grep -v '^ *+' conftest.er1 >conftest.err\r
9960   rm -f conftest.er1\r
9961   cat conftest.err >&5\r
9962   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
9963   (exit $ac_status); } >/dev/null && {\r
9964          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
9965          test ! -s conftest.err\r
9966        }; then\r
9967   ac_header_preproc=yes\r
9968 else\r
9969   echo "$as_me: failed program was:" >&5\r
9970 sed 's/^/| /' conftest.$ac_ext >&5\r
9971 \r
9972   ac_header_preproc=no\r
9973 fi\r
9974 \r
9975 rm -f conftest.err conftest.$ac_ext\r
9976 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5\r
9977 echo "${ECHO_T}$ac_header_preproc" >&6; }\r
9978 \r
9979 # So?  What about this header?\r
9980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in\r
9981   yes:no: )\r
9982     { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&5\r
9983 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&2;}\r
9984     { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: proceeding with the compiler's result" >&5\r
9985 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: proceeding with the compiler's result" >&2;}\r
9986     ac_header_preproc=yes\r
9987     ;;\r
9988   no:yes:* )\r
9989     { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: present but cannot be compiled" >&5\r
9990 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: present but cannot be compiled" >&2;}\r
9991     { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h:     check for missing prerequisite headers?" >&5\r
9992 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h:     check for missing prerequisite headers?" >&2;}\r
9993     { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: see the Autoconf documentation" >&5\r
9994 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: see the Autoconf documentation" >&2;}\r
9995     { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h:     section \"Present But Cannot Be Compiled\"" >&5\r
9996 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h:     section \"Present But Cannot Be Compiled\"" >&2;}\r
9997     { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: proceeding with the preprocessor's result" >&5\r
9998 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: proceeding with the preprocessor's result" >&2;}\r
9999     { echo "$as_me:$LINENO: WARNING: X11/Xaw3d/Dialog.h: in the future, the compiler will take precedence" >&5\r
10000 echo "$as_me: WARNING: X11/Xaw3d/Dialog.h: in the future, the compiler will take precedence" >&2;}\r
10001 \r
10002     ;;\r
10003 esac\r
10004 { echo "$as_me:$LINENO: checking for X11/Xaw3d/Dialog.h" >&5\r
10005 echo $ECHO_N "checking for X11/Xaw3d/Dialog.h... $ECHO_C" >&6; }\r
10006 if test "${ac_cv_header_X11_Xaw3d_Dialog_h+set}" = set; then\r
10007   echo $ECHO_N "(cached) $ECHO_C" >&6\r
10008 else\r
10009   ac_cv_header_X11_Xaw3d_Dialog_h=$ac_header_preproc\r
10010 fi\r
10011 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Dialog_h" >&5\r
10012 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Dialog_h" >&6; }\r
10013 \r
10014 fi\r
10015 if test $ac_cv_header_X11_Xaw3d_Dialog_h = yes; then\r
10016   xaw3d_headers="yes"\r
10017 else\r
10018   xaw3d_headers="no"\r
10019 fi\r
10020 \r
10021 \r
10022       if test "$xaw3d_headers" == "yes" ; then\r
10023         cat >>confdefs.h <<\_ACEOF\r
10024 #define USE_XAW3D 1\r
10025 _ACEOF\r
10026 \r
10027         xaw_headers="yes"\r
10028       else\r
10029         if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then\r
10030   { echo "$as_me:$LINENO: checking for X11/Xaw/Dialog.h" >&5\r
10031 echo $ECHO_N "checking for X11/Xaw/Dialog.h... $ECHO_C" >&6; }\r
10032 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then\r
10033   echo $ECHO_N "(cached) $ECHO_C" >&6\r
10034 fi\r
10035 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Dialog_h" >&5\r
10036 echo "${ECHO_T}$ac_cv_header_X11_Xaw_Dialog_h" >&6; }\r
10037 else\r
10038   # Is the header compilable?\r
10039 { echo "$as_me:$LINENO: checking X11/Xaw/Dialog.h usability" >&5\r
10040 echo $ECHO_N "checking X11/Xaw/Dialog.h usability... $ECHO_C" >&6; }\r
10041 cat >conftest.$ac_ext <<_ACEOF\r
10042 /* confdefs.h.  */\r
10043 _ACEOF\r
10044 cat confdefs.h >>conftest.$ac_ext\r
10045 cat >>conftest.$ac_ext <<_ACEOF\r
10046 /* end confdefs.h.  */\r
10047 $ac_includes_default\r
10048 #include <X11/Xaw/Dialog.h>\r
10049 _ACEOF\r
10050 rm -f conftest.$ac_objext\r
10051 if { (ac_try="$ac_compile"\r
10052 case "(($ac_try" in\r
10053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
10054   *) ac_try_echo=$ac_try;;\r
10055 esac\r
10056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
10057   (eval "$ac_compile") 2>conftest.er1\r
10058   ac_status=$?\r
10059   grep -v '^ *+' conftest.er1 >conftest.err\r
10060   rm -f conftest.er1\r
10061   cat conftest.err >&5\r
10062   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
10063   (exit $ac_status); } && {\r
10064          test -z "$ac_c_werror_flag" ||\r
10065          test ! -s conftest.err\r
10066        } && test -s conftest.$ac_objext; then\r
10067   ac_header_compiler=yes\r
10068 else\r
10069   echo "$as_me: failed program was:" >&5\r
10070 sed 's/^/| /' conftest.$ac_ext >&5\r
10071 \r
10072         ac_header_compiler=no\r
10073 fi\r
10074 \r
10075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
10076 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5\r
10077 echo "${ECHO_T}$ac_header_compiler" >&6; }\r
10078 \r
10079 # Is the header present?\r
10080 { echo "$as_me:$LINENO: checking X11/Xaw/Dialog.h presence" >&5\r
10081 echo $ECHO_N "checking X11/Xaw/Dialog.h presence... $ECHO_C" >&6; }\r
10082 cat >conftest.$ac_ext <<_ACEOF\r
10083 /* confdefs.h.  */\r
10084 _ACEOF\r
10085 cat confdefs.h >>conftest.$ac_ext\r
10086 cat >>conftest.$ac_ext <<_ACEOF\r
10087 /* end confdefs.h.  */\r
10088 #include <X11/Xaw/Dialog.h>\r
10089 _ACEOF\r
10090 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
10091 case "(($ac_try" in\r
10092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
10093   *) ac_try_echo=$ac_try;;\r
10094 esac\r
10095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
10096   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
10097   ac_status=$?\r
10098   grep -v '^ *+' conftest.er1 >conftest.err\r
10099   rm -f conftest.er1\r
10100   cat conftest.err >&5\r
10101   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
10102   (exit $ac_status); } >/dev/null && {\r
10103          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
10104          test ! -s conftest.err\r
10105        }; then\r
10106   ac_header_preproc=yes\r
10107 else\r
10108   echo "$as_me: failed program was:" >&5\r
10109 sed 's/^/| /' conftest.$ac_ext >&5\r
10110 \r
10111   ac_header_preproc=no\r
10112 fi\r
10113 \r
10114 rm -f conftest.err conftest.$ac_ext\r
10115 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5\r
10116 echo "${ECHO_T}$ac_header_preproc" >&6; }\r
10117 \r
10118 # So?  What about this header?\r
10119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in\r
10120   yes:no: )\r
10121     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&5\r
10122 echo "$as_me: WARNING: X11/Xaw/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&2;}\r
10123     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: proceeding with the compiler's result" >&5\r
10124 echo "$as_me: WARNING: X11/Xaw/Dialog.h: proceeding with the compiler's result" >&2;}\r
10125     ac_header_preproc=yes\r
10126     ;;\r
10127   no:yes:* )\r
10128     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: present but cannot be compiled" >&5\r
10129 echo "$as_me: WARNING: X11/Xaw/Dialog.h: present but cannot be compiled" >&2;}\r
10130     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h:     check for missing prerequisite headers?" >&5\r
10131 echo "$as_me: WARNING: X11/Xaw/Dialog.h:     check for missing prerequisite headers?" >&2;}\r
10132     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: see the Autoconf documentation" >&5\r
10133 echo "$as_me: WARNING: X11/Xaw/Dialog.h: see the Autoconf documentation" >&2;}\r
10134     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h:     section \"Present But Cannot Be Compiled\"" >&5\r
10135 echo "$as_me: WARNING: X11/Xaw/Dialog.h:     section \"Present But Cannot Be Compiled\"" >&2;}\r
10136     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: proceeding with the preprocessor's result" >&5\r
10137 echo "$as_me: WARNING: X11/Xaw/Dialog.h: proceeding with the preprocessor's result" >&2;}\r
10138     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: in the future, the compiler will take precedence" >&5\r
10139 echo "$as_me: WARNING: X11/Xaw/Dialog.h: in the future, the compiler will take precedence" >&2;}\r
10140 \r
10141     ;;\r
10142 esac\r
10143 { echo "$as_me:$LINENO: checking for X11/Xaw/Dialog.h" >&5\r
10144 echo $ECHO_N "checking for X11/Xaw/Dialog.h... $ECHO_C" >&6; }\r
10145 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then\r
10146   echo $ECHO_N "(cached) $ECHO_C" >&6\r
10147 else\r
10148   ac_cv_header_X11_Xaw_Dialog_h=$ac_header_preproc\r
10149 fi\r
10150 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Dialog_h" >&5\r
10151 echo "${ECHO_T}$ac_cv_header_X11_Xaw_Dialog_h" >&6; }\r
10152 \r
10153 fi\r
10154 if test $ac_cv_header_X11_Xaw_Dialog_h = yes; then\r
10155   xaw_headers="yes"\r
10156 fi\r
10157 \r
10158 \r
10159       fi\r
10160    fi\r
10161 else\r
10162    XAW_LIBS="-lXaw"\r
10163    if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then\r
10164   { echo "$as_me:$LINENO: checking for X11/Xaw/Dialog.h" >&5\r
10165 echo $ECHO_N "checking for X11/Xaw/Dialog.h... $ECHO_C" >&6; }\r
10166 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then\r
10167   echo $ECHO_N "(cached) $ECHO_C" >&6\r
10168 fi\r
10169 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Dialog_h" >&5\r
10170 echo "${ECHO_T}$ac_cv_header_X11_Xaw_Dialog_h" >&6; }\r
10171 else\r
10172   # Is the header compilable?\r
10173 { echo "$as_me:$LINENO: checking X11/Xaw/Dialog.h usability" >&5\r
10174 echo $ECHO_N "checking X11/Xaw/Dialog.h usability... $ECHO_C" >&6; }\r
10175 cat >conftest.$ac_ext <<_ACEOF\r
10176 /* confdefs.h.  */\r
10177 _ACEOF\r
10178 cat confdefs.h >>conftest.$ac_ext\r
10179 cat >>conftest.$ac_ext <<_ACEOF\r
10180 /* end confdefs.h.  */\r
10181 $ac_includes_default\r
10182 #include <X11/Xaw/Dialog.h>\r
10183 _ACEOF\r
10184 rm -f conftest.$ac_objext\r
10185 if { (ac_try="$ac_compile"\r
10186 case "(($ac_try" in\r
10187   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
10188   *) ac_try_echo=$ac_try;;\r
10189 esac\r
10190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
10191   (eval "$ac_compile") 2>conftest.er1\r
10192   ac_status=$?\r
10193   grep -v '^ *+' conftest.er1 >conftest.err\r
10194   rm -f conftest.er1\r
10195   cat conftest.err >&5\r
10196   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
10197   (exit $ac_status); } && {\r
10198          test -z "$ac_c_werror_flag" ||\r
10199          test ! -s conftest.err\r
10200        } && test -s conftest.$ac_objext; then\r
10201   ac_header_compiler=yes\r
10202 else\r
10203   echo "$as_me: failed program was:" >&5\r
10204 sed 's/^/| /' conftest.$ac_ext >&5\r
10205 \r
10206         ac_header_compiler=no\r
10207 fi\r
10208 \r
10209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
10210 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5\r
10211 echo "${ECHO_T}$ac_header_compiler" >&6; }\r
10212 \r
10213 # Is the header present?\r
10214 { echo "$as_me:$LINENO: checking X11/Xaw/Dialog.h presence" >&5\r
10215 echo $ECHO_N "checking X11/Xaw/Dialog.h presence... $ECHO_C" >&6; }\r
10216 cat >conftest.$ac_ext <<_ACEOF\r
10217 /* confdefs.h.  */\r
10218 _ACEOF\r
10219 cat confdefs.h >>conftest.$ac_ext\r
10220 cat >>conftest.$ac_ext <<_ACEOF\r
10221 /* end confdefs.h.  */\r
10222 #include <X11/Xaw/Dialog.h>\r
10223 _ACEOF\r
10224 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
10225 case "(($ac_try" in\r
10226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
10227   *) ac_try_echo=$ac_try;;\r
10228 esac\r
10229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
10230   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
10231   ac_status=$?\r
10232   grep -v '^ *+' conftest.er1 >conftest.err\r
10233   rm -f conftest.er1\r
10234   cat conftest.err >&5\r
10235   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
10236   (exit $ac_status); } >/dev/null && {\r
10237          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
10238          test ! -s conftest.err\r
10239        }; then\r
10240   ac_header_preproc=yes\r
10241 else\r
10242   echo "$as_me: failed program was:" >&5\r
10243 sed 's/^/| /' conftest.$ac_ext >&5\r
10244 \r
10245   ac_header_preproc=no\r
10246 fi\r
10247 \r
10248 rm -f conftest.err conftest.$ac_ext\r
10249 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5\r
10250 echo "${ECHO_T}$ac_header_preproc" >&6; }\r
10251 \r
10252 # So?  What about this header?\r
10253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in\r
10254   yes:no: )\r
10255     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&5\r
10256 echo "$as_me: WARNING: X11/Xaw/Dialog.h: accepted by the compiler, rejected by the preprocessor!" >&2;}\r
10257     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: proceeding with the compiler's result" >&5\r
10258 echo "$as_me: WARNING: X11/Xaw/Dialog.h: proceeding with the compiler's result" >&2;}\r
10259     ac_header_preproc=yes\r
10260     ;;\r
10261   no:yes:* )\r
10262     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: present but cannot be compiled" >&5\r
10263 echo "$as_me: WARNING: X11/Xaw/Dialog.h: present but cannot be compiled" >&2;}\r
10264     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h:     check for missing prerequisite headers?" >&5\r
10265 echo "$as_me: WARNING: X11/Xaw/Dialog.h:     check for missing prerequisite headers?" >&2;}\r
10266     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: see the Autoconf documentation" >&5\r
10267 echo "$as_me: WARNING: X11/Xaw/Dialog.h: see the Autoconf documentation" >&2;}\r
10268     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h:     section \"Present But Cannot Be Compiled\"" >&5\r
10269 echo "$as_me: WARNING: X11/Xaw/Dialog.h:     section \"Present But Cannot Be Compiled\"" >&2;}\r
10270     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: proceeding with the preprocessor's result" >&5\r
10271 echo "$as_me: WARNING: X11/Xaw/Dialog.h: proceeding with the preprocessor's result" >&2;}\r
10272     { echo "$as_me:$LINENO: WARNING: X11/Xaw/Dialog.h: in the future, the compiler will take precedence" >&5\r
10273 echo "$as_me: WARNING: X11/Xaw/Dialog.h: in the future, the compiler will take precedence" >&2;}\r
10274 \r
10275     ;;\r
10276 esac\r
10277 { echo "$as_me:$LINENO: checking for X11/Xaw/Dialog.h" >&5\r
10278 echo $ECHO_N "checking for X11/Xaw/Dialog.h... $ECHO_C" >&6; }\r
10279 if test "${ac_cv_header_X11_Xaw_Dialog_h+set}" = set; then\r
10280   echo $ECHO_N "(cached) $ECHO_C" >&6\r
10281 else\r
10282   ac_cv_header_X11_Xaw_Dialog_h=$ac_header_preproc\r
10283 fi\r
10284 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw_Dialog_h" >&5\r
10285 echo "${ECHO_T}$ac_cv_header_X11_Xaw_Dialog_h" >&6; }\r
10286 \r
10287 fi\r
10288 if test $ac_cv_header_X11_Xaw_Dialog_h = yes; then\r
10289   xaw_headers="yes"\r
10290 fi\r
10291 \r
10292 \r
10293 fi\r
10294 \r
10295 \r
10296 \r
10297 \r
10298 \r
10299 if test "$xaw_headers" == "no" ; then\r
10300    echo Xaw headers not found\r
10301    exit 1\r
10302 \r
10303 fi\r
10304 \r
10305 \r
10306 \r
10307 \r
10308 # Make sure we can run config.sub.\r
10309 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||\r
10310   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5\r
10311 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}\r
10312    { (exit 1); exit 1; }; }\r
10313 \r
10314 { echo "$as_me:$LINENO: checking build system type" >&5\r
10315 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }\r
10316 if test "${ac_cv_build+set}" = set; then\r
10317   echo $ECHO_N "(cached) $ECHO_C" >&6\r
10318 else\r
10319   ac_build_alias=$build_alias\r
10320 test "x$ac_build_alias" = x &&\r
10321   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`\r
10322 test "x$ac_build_alias" = x &&\r
10323   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5\r
10324 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}\r
10325    { (exit 1); exit 1; }; }\r
10326 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||\r
10327   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5\r
10328 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}\r
10329    { (exit 1); exit 1; }; }\r
10330 \r
10331 fi\r
10332 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5\r
10333 echo "${ECHO_T}$ac_cv_build" >&6; }\r
10334 case $ac_cv_build in\r
10335 *-*-*) ;;\r
10336 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5\r
10337 echo "$as_me: error: invalid value of canonical build" >&2;}\r
10338    { (exit 1); exit 1; }; };;\r
10339 esac\r
10340 build=$ac_cv_build\r
10341 ac_save_IFS=$IFS; IFS='-'\r
10342 set x $ac_cv_build\r
10343 shift\r
10344 build_cpu=$1\r
10345 build_vendor=$2\r
10346 shift; shift\r
10347 # Remember, the first character of IFS is used to create $*,\r
10348 # except with old shells:\r
10349 build_os=$*\r
10350 IFS=$ac_save_IFS\r
10351 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac\r
10352 \r
10353 \r
10354 { echo "$as_me:$LINENO: checking host system type" >&5\r
10355 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }\r
10356 if test "${ac_cv_host+set}" = set; then\r
10357   echo $ECHO_N "(cached) $ECHO_C" >&6\r
10358 else\r
10359   if test "x$host_alias" = x; then\r
10360   ac_cv_host=$ac_cv_build\r
10361 else\r
10362   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||\r
10363     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5\r
10364 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}\r
10365    { (exit 1); exit 1; }; }\r
10366 fi\r
10367 \r
10368 fi\r
10369 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5\r
10370 echo "${ECHO_T}$ac_cv_host" >&6; }\r
10371 case $ac_cv_host in\r
10372 *-*-*) ;;\r
10373 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5\r
10374 echo "$as_me: error: invalid value of canonical host" >&2;}\r
10375    { (exit 1); exit 1; }; };;\r
10376 esac\r
10377 host=$ac_cv_host\r
10378 ac_save_IFS=$IFS; IFS='-'\r
10379 set x $ac_cv_host\r
10380 shift\r
10381 host_cpu=$1\r
10382 host_vendor=$2\r
10383 shift; shift\r
10384 # Remember, the first character of IFS is used to create $*,\r
10385 # except with old shells:\r
10386 host_os=$*\r
10387 IFS=$ac_save_IFS\r
10388 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac\r
10389 \r
10390 \r
10391 \r
10392 \r
10393 \r
10394 USE_PTYS=0\r
10395 case "$host" in\r
10396   *-*-hpux* )\r
10397     cat >>confdefs.h <<\_ACEOF\r
10398 #define PTY_TTY_NAME_SPRINTF sprintf (pty_name, "/dev/pty/tty%c%x", c, i);\r
10399 _ACEOF\r
10400 \r
10401     cat >>confdefs.h <<\_ACEOF\r
10402 #define PTY_NAME_SPRINTF sprintf (pty_name, "/dev/ptym/pty%c%x", c, i);\r
10403 _ACEOF\r
10404 \r
10405     if test "$GCC" = yes; then\r
10406       CONF_CFLAGS="-fwritable-strings"\r
10407     else\r
10408 \r
10409 \r
10410       CONF_CFLAGS="-Aa -D_HPUX_SOURCE"\r
10411     fi\r
10412 \r
10413 \r
10414     if test -d /opt/hppd/include/X11; then\r
10415       X_CFLAGS="$X_CFLAGS -I/opt/hppd/include"\r
10416       X_LIBS="$X_LIBS -L/opt/hppd/lib"\r
10417     elif test -d /usr/contrib/X11R5/include; then\r
10418       X_CFLAGS="$X_CFLAGS -I/usr/contrib/X11R5/include"\r
10419       X_LIBS="$X_LIBS -L/usr/contrib/X11R5/lib"\r
10420     elif test -d /usr/contrib/mitX11R5/include; then\r
10421       X_CFLAGS="$X_CFLAGS -I/usr/contrib/mitX11R5/include"\r
10422       X_LIBS="$X_LIBS -L/usr/contrib/mitX11R5/lib"\r
10423     elif test -d /MIT/X11R5/include; then\r
10424       X_CFLAGS="$X_CFLAGS -I/MIT/X11R5/include"\r
10425       X_LIBS="$X_LIBS -L/MIT/X11R5/lib"\r
10426     elif test -d /usr/local/include/X11R5; then\r
10427       X_CFLAGS="$X_CFLAGS -I/usr/local/include/X11R5"\r
10428       X_LIBS="$X_LIBS -L/usr/local/lib/X11R5"\r
10429     fi\r
10430     if test -d /usr/include/X11R5; then\r
10431       X_CFLAGS="$X_CFLAGS -I/usr/include/X11R5"\r
10432       X_LIBS="$X_LIBS -L/usr/lib/X11R5 -L/usr/lib/X11R4"\r
10433     elif test -d /usr/include/X11R4; then\r
10434       X_CFLAGS="$X_CFLAGS -I/usr/include/X11R4"\r
10435       X_LIBS="$X_LIBS -L/usr/lib/X11R4"\r
10436     fi\r
10437   ;;\r
10438 \r
10439   romp-ibm-aix* )\r
10440     cat >>confdefs.h <<\_ACEOF\r
10441 #define IBMRTAIX 1\r
10442 _ACEOF\r
10443 \r
10444   ;;\r
10445 \r
10446   i386-ibm-aix )\r
10447     if test "$GCC" = yes; then\r
10448       CONF_CFLAGS="-fwritable-strings"\r
10449     fi\r
10450   ;;\r
10451 \r
10452   *-*-aix3* | *-*-bosx* )\r
10453     cat >>confdefs.h <<\_ACEOF\r
10454 #define PTY_ITERATION for (c = 0; !c; c++)\r
10455 _ACEOF\r
10456 \r
10457     cat >>confdefs.h <<\_ACEOF\r
10458 #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc");\r
10459 _ACEOF\r
10460 \r
10461     cat >>confdefs.h <<\_ACEOF\r
10462 #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd));\r
10463 _ACEOF\r
10464 \r
10465   ;;\r
10466 \r
10467   *-*-cxux* )\r
10468     cat >>confdefs.h <<\_ACEOF\r
10469 #define FIRST_PTY_LETTER 'A'\r
10470 _ACEOF\r
10471 \r
10472     cat >>confdefs.h <<\_ACEOF\r
10473 #define LAST_PTY_LETTER 'P'\r
10474 _ACEOF\r
10475 \r
10476   ;;\r
10477 \r
10478   *-*-uniplus* )\r
10479     cat >>confdefs.h <<\_ACEOF\r
10480 #define UNIPLUS 1\r
10481 _ACEOF\r
10482 \r
10483   ;;\r
10484 \r
10485   *-*-rtu* )\r
10486     cat >>confdefs.h <<\_ACEOF\r
10487 #define FIRST_PTY_LETTER 'z'\r
10488 _ACEOF\r
10489 \r
10490     cat >>confdefs.h <<\_ACEOF\r
10491 #define PTY_TTY_NAME_SPRINTF sprintf (pty_name, "/dev/ttyp%x", i);\r
10492 _ACEOF\r
10493 \r
10494     cat >>confdefs.h <<\_ACEOF\r
10495 #define PTY_NAME_SPRINTF sprintf (pty_name, "/dev/pty%x", i);\r
10496 _ACEOF\r
10497 \r
10498     cat >>confdefs.h <<\_ACEOF\r
10499 #define RTU 1\r
10500 _ACEOF\r
10501 \r
10502   ;;\r
10503 \r
10504   *-*-iris* | *-*-irix3* )\r
10505     cat >>confdefs.h <<\_ACEOF\r
10506 #define PTY_ITERATION for (c = 0; !c; c++)\r
10507 _ACEOF\r
10508 \r
10509     cat >>confdefs.h <<\_ACEOF\r
10510 #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc");\r
10511 _ACEOF\r
10512 \r
10513     cat >>confdefs.h <<\_ACEOF\r
10514 #define PTY_TTY_NAME_SPRINTF sprintf (pty_name, "/dev/ttyq%d", minor(stb.st_rdev));\r
10515 _ACEOF\r
10516 \r
10517   ;;\r
10518 \r
10519   *-*-irix* )\r
10520   ;;\r
10521 \r
10522   *-*-sunos4* | *-*-solaris1* )\r
10523 \r
10524 \r
10525     if test "$GCC" = yes; then\r
10526       PRE_XMULIB="-static"\r
10527       POST_XMULIB="-dynamic"\r
10528     else\r
10529       PRE_XMULIB="-Bstatic"\r
10530       POST_XMULIB="-Bdynamic"\r
10531     fi\r
10532   ;;\r
10533 \r
10534   *-*-sunos5* | *-*-solaris2* )\r
10535 \r
10536 \r
10537     X_LIBS="$X_LIBS -lelf"\r
10538   ;;\r
10539 \r
10540   *-*-sco* )\r
10541     cat >>confdefs.h <<\_ACEOF\r
10542 #define PTY_ITERATION for (i = 0; ; i++)\r
10543 _ACEOF\r
10544 \r
10545     cat >>confdefs.h <<\_ACEOF\r
10546 #define PTY_NAME_SPRINTF sprintf (pty_name, "/dev/ptyp%d", i);\r
10547 _ACEOF\r
10548 \r
10549     cat >>confdefs.h <<\_ACEOF\r
10550 #define PTY_TTY_NAME_SPRINTF sprintf (pty_name, "/dev/ttyp%d", i);\r
10551 _ACEOF\r
10552 \r
10553   ;;\r
10554 \r
10555   *-*-dynix* | *-*-ptx* )\r
10556   ;;\r
10557 \r
10558   *-*-esix* )\r
10559   ;;\r
10560 \r
10561   *-*-usg5-4* | *-*-sysvr4* )\r
10562   ;;\r
10563 \r
10564   *-*-usg* | *-*-sysv* | *-*-aix* )\r
10565   ;;\r
10566 \r
10567   vax-*-ultrix )\r
10568     if test "$GCC" = yes; then\r
10569       CONF_CFLAGS="-fwritable-strings"\r
10570     fi\r
10571   ;;\r
10572 esac\r
10573 \r
10574 # Check whether --enable-xpm was given.\r
10575 if test "${enable_xpm+set}" = set; then\r
10576   enableval=$enable_xpm; enable_xpm="$enableval"\r
10577 else\r
10578   enable_xpm="yes"\r
10579 fi\r
10580 \r
10581 \r
10582 if test "$enable_xpm" = "yes"; then\r
10583   save_cflags="$CFLAGS"\r
10584   CFLAGS="$CFLAGS $X_CFLAGS"\r
10585   CPPFLAGS="$CPPFLAGS $X_CFLAGS"\r
10586 \r
10587 for ac_header in X11/xpm.h\r
10588 do\r
10589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`\r
10590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
10591   { echo "$as_me:$LINENO: checking for $ac_header" >&5\r
10592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }\r
10593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
10594   echo $ECHO_N "(cached) $ECHO_C" >&6\r
10595 fi\r
10596 ac_res=`eval echo '${'$as_ac_Header'}'`\r
10597                { echo "$as_me:$LINENO: result: $ac_res" >&5\r
10598 echo "${ECHO_T}$ac_res" >&6; }\r
10599 else\r
10600   # Is the header compilable?\r
10601 { echo "$as_me:$LINENO: checking $ac_header usability" >&5\r
10602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }\r
10603 cat >conftest.$ac_ext <<_ACEOF\r
10604 /* confdefs.h.  */\r
10605 _ACEOF\r
10606 cat confdefs.h >>conftest.$ac_ext\r
10607 cat >>conftest.$ac_ext <<_ACEOF\r
10608 /* end confdefs.h.  */\r
10609 $ac_includes_default\r
10610 #include <$ac_header>\r
10611 _ACEOF\r
10612 rm -f conftest.$ac_objext\r
10613 if { (ac_try="$ac_compile"\r
10614 case "(($ac_try" in\r
10615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
10616   *) ac_try_echo=$ac_try;;\r
10617 esac\r
10618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
10619   (eval "$ac_compile") 2>conftest.er1\r
10620   ac_status=$?\r
10621   grep -v '^ *+' conftest.er1 >conftest.err\r
10622   rm -f conftest.er1\r
10623   cat conftest.err >&5\r
10624   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
10625   (exit $ac_status); } && {\r
10626          test -z "$ac_c_werror_flag" ||\r
10627          test ! -s conftest.err\r
10628        } && test -s conftest.$ac_objext; then\r
10629   ac_header_compiler=yes\r
10630 else\r
10631   echo "$as_me: failed program was:" >&5\r
10632 sed 's/^/| /' conftest.$ac_ext >&5\r
10633 \r
10634         ac_header_compiler=no\r
10635 fi\r
10636 \r
10637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext\r
10638 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5\r
10639 echo "${ECHO_T}$ac_header_compiler" >&6; }\r
10640 \r
10641 # Is the header present?\r
10642 { echo "$as_me:$LINENO: checking $ac_header presence" >&5\r
10643 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }\r
10644 cat >conftest.$ac_ext <<_ACEOF\r
10645 /* confdefs.h.  */\r
10646 _ACEOF\r
10647 cat confdefs.h >>conftest.$ac_ext\r
10648 cat >>conftest.$ac_ext <<_ACEOF\r
10649 /* end confdefs.h.  */\r
10650 #include <$ac_header>\r
10651 _ACEOF\r
10652 if { (ac_try="$ac_cpp conftest.$ac_ext"\r
10653 case "(($ac_try" in\r
10654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
10655   *) ac_try_echo=$ac_try;;\r
10656 esac\r
10657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
10658   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1\r
10659   ac_status=$?\r
10660   grep -v '^ *+' conftest.er1 >conftest.err\r
10661   rm -f conftest.er1\r
10662   cat conftest.err >&5\r
10663   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
10664   (exit $ac_status); } >/dev/null && {\r
10665          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||\r
10666          test ! -s conftest.err\r
10667        }; then\r
10668   ac_header_preproc=yes\r
10669 else\r
10670   echo "$as_me: failed program was:" >&5\r
10671 sed 's/^/| /' conftest.$ac_ext >&5\r
10672 \r
10673   ac_header_preproc=no\r
10674 fi\r
10675 \r
10676 rm -f conftest.err conftest.$ac_ext\r
10677 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5\r
10678 echo "${ECHO_T}$ac_header_preproc" >&6; }\r
10679 \r
10680 # So?  What about this header?\r
10681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in\r
10682   yes:no: )\r
10683     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5\r
10684 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}\r
10685     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5\r
10686 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}\r
10687     ac_header_preproc=yes\r
10688     ;;\r
10689   no:yes:* )\r
10690     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5\r
10691 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}\r
10692     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5\r
10693 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}\r
10694     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5\r
10695 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}\r
10696     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5\r
10697 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}\r
10698     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5\r
10699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}\r
10700     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5\r
10701 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}\r
10702 \r
10703     ;;\r
10704 esac\r
10705 { echo "$as_me:$LINENO: checking for $ac_header" >&5\r
10706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }\r
10707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then\r
10708   echo $ECHO_N "(cached) $ECHO_C" >&6\r
10709 else\r
10710   eval "$as_ac_Header=\$ac_header_preproc"\r
10711 fi\r
10712 ac_res=`eval echo '${'$as_ac_Header'}'`\r
10713                { echo "$as_me:$LINENO: result: $ac_res" >&5\r
10714 echo "${ECHO_T}$ac_res" >&6; }\r
10715 \r
10716 fi\r
10717 if test `eval echo '${'$as_ac_Header'}'` = yes; then\r
10718   cat >>confdefs.h <<_ACEOF\r
10719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1\r
10720 _ACEOF\r
10721 \r
10722 fi\r
10723 \r
10724 done\r
10725 \r
10726   CFLAGS="$save_cflags"\r
10727   if test "$ac_cv_header_X11_xpm_h" = "yes"; then\r
10728     save_ldflags="$LDFLAGS"\r
10729     LDFLAGS="$LDFLAGS $X_LIBS"\r
10730     { echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5\r
10731 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6; }\r
10732 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then\r
10733   echo $ECHO_N "(cached) $ECHO_C" >&6\r
10734 else\r
10735   ac_check_lib_save_LIBS=$LIBS\r
10736 LIBS="-lXpm $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"\r
10737 cat >conftest.$ac_ext <<_ACEOF\r
10738 /* confdefs.h.  */\r
10739 _ACEOF\r
10740 cat confdefs.h >>conftest.$ac_ext\r
10741 cat >>conftest.$ac_ext <<_ACEOF\r
10742 /* end confdefs.h.  */\r
10743 \r
10744 /* Override any GCC internal prototype to avoid an error.\r
10745    Use char because int might match the return type of a GCC\r
10746    builtin and then its argument prototype would still apply.  */\r
10747 #ifdef __cplusplus\r
10748 extern "C"\r
10749 #endif\r
10750 char XpmReadFileToPixmap ();\r
10751 int\r
10752 main ()\r
10753 {\r
10754 return XpmReadFileToPixmap ();\r
10755   ;\r
10756   return 0;\r
10757 }\r
10758 _ACEOF\r
10759 rm -f conftest.$ac_objext conftest$ac_exeext\r
10760 if { (ac_try="$ac_link"\r
10761 case "(($ac_try" in\r
10762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;\r
10763   *) ac_try_echo=$ac_try;;\r
10764 esac\r
10765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5\r
10766   (eval "$ac_link") 2>conftest.er1\r
10767   ac_status=$?\r
10768   grep -v '^ *+' conftest.er1 >conftest.err\r
10769   rm -f conftest.er1\r
10770   cat conftest.err >&5\r
10771   echo "$as_me:$LINENO: \$? = $ac_status" >&5\r
10772   (exit $ac_status); } && {\r
10773          test -z "$ac_c_werror_flag" ||\r
10774          test ! -s conftest.err\r
10775        } && test -s conftest$ac_exeext &&\r
10776        $as_test_x conftest$ac_exeext; then\r
10777   ac_cv_lib_Xpm_XpmReadFileToPixmap=yes\r
10778 else\r
10779   echo "$as_me: failed program was:" >&5\r
10780 sed 's/^/| /' conftest.$ac_ext >&5\r
10781 \r
10782         ac_cv_lib_Xpm_XpmReadFileToPixmap=no\r
10783 fi\r
10784 \r
10785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \\r
10786       conftest$ac_exeext conftest.$ac_ext\r
10787 LIBS=$ac_check_lib_save_LIBS\r
10788 fi\r
10789 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5\r
10790 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; }\r
10791 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then\r
10792   X_PRE_LIBS="-lXpm $X_PRE_LIBS"; cat >>confdefs.h <<\_ACEOF\r
10793 #define HAVE_LIBXPM 1\r
10794 _ACEOF\r
10795 \r
10796 fi\r
10797 \r
10798     LDFLAGS="$save_ldflags"\r
10799   fi\r
10800 fi\r
10801 \r
10802 \r
10803 \r
10804 \r
10805 \r
10806 \r
10807 { echo "$as_me:$LINENO: checking whether ptys or pipes should be used" >&5\r
10808 echo $ECHO_N "checking whether ptys or pipes should be used... $ECHO_C" >&6; }\r
10809 # Check whether --enable-ptys was given.\r
10810 if test "${enable_ptys+set}" = set; then\r
10811   enableval=$enable_ptys; if test "$enableval" = yes; then\r
10812   USE_PTYS=1\r
10813   { echo "$as_me:$LINENO: result: ptys (user override)" >&5\r
10814 echo "${ECHO_T}ptys (user override)" >&6; }\r
10815 fi\r
10816 if test "$enableval" = no; then\r
10817   USE_PTYS=0\r
10818   { echo "$as_me:$LINENO: result: pipes (user override)" >&5\r
10819 echo "${ECHO_T}pipes (user override)" >&6; }\r
10820 fi\r
10821 else\r
10822   if test "$USE_PTYS" = 1; then\r
10823   { echo "$as_me:$LINENO: result: ptys" >&5\r
10824 echo "${ECHO_T}ptys" >&6; }\r
10825 else\r
10826   { echo "$as_me:$LINENO: result: pipes" >&5\r
10827 echo "${ECHO_T}pipes" >&6; }\r
10828 fi\r
10829 fi\r
10830 \r
10831 cat >>confdefs.h <<_ACEOF\r
10832 #define USE_PTYS $USE_PTYS\r
10833 _ACEOF\r
10834 \r
10835 \r
10836 # Check whether --enable-zippy was given.\r
10837 if test "${enable_zippy+set}" = set; then\r
10838   enableval=$enable_zippy; enable_zippy="$enableval"\r
10839 else\r
10840   enable_zippy="yes"\r
10841 fi\r
10842 \r
10843 if test "$enable_zippy" = yes; then\r
10844   cat >>confdefs.h <<\_ACEOF\r
10845 #define ZIPPY 1\r
10846 _ACEOF\r
10847 \r
10848   ZIPPY_O=zippy.o\r
10849   ZIPPY_H=zippy.h\r
10850 fi\r
10851 \r
10852 \r
10853 \r
10854 # Check whether --enable-sigint was given.\r
10855 if test "${enable_sigint+set}" = set; then\r
10856   enableval=$enable_sigint; if test "$enableval" = yes; then\r
10857   cat >>confdefs.h <<\_ACEOF\r
10858 #define ATTENTION 1\r
10859 _ACEOF\r
10860 \r
10861 fi\r
10862 else\r
10863   cat >>confdefs.h <<\_ACEOF\r
10864 #define ATTENTION 1\r
10865 _ACEOF\r
10866 \r
10867 fi\r
10868 \r
10869 \r
10870 cat >>confdefs.h <<_ACEOF\r
10871 #define PRODUCT "$PRODUCT"\r
10872 _ACEOF\r
10873 \r
10874 cat >>confdefs.h <<_ACEOF\r
10875 #define VERSION "$VERSION"\r
10876 _ACEOF\r
10877 \r
10878 cat >>confdefs.h <<_ACEOF\r
10879 #define PATCHLEVEL "$PATCHLEVEL"\r
10880 _ACEOF\r
10881 \r
10882 \r
10883 \r
10884 \r
10885 \r
10886 ac_config_files="$ac_config_files cmail xboard.texinfo"\r
10887 \r
10888 ac_config_commands="$ac_config_commands default"\r
10889 \r
10890 cat >confcache <<\_ACEOF\r
10891 # This file is a shell script that caches the results of configure\r
10892 # tests run on this system so they can be shared between configure\r
10893 # scripts and configure runs, see configure's option --config-cache.\r
10894 # It is not useful on other systems.  If it contains results you don't\r
10895 # want to keep, you may remove or edit it.\r
10896 #\r
10897 # config.status only pays attention to the cache file if you give it\r
10898 # the --recheck option to rerun configure.\r
10899 #\r
10900 # `ac_cv_env_foo' variables (set or unset) will be overridden when\r
10901 # loading this file, other *unset* `ac_cv_foo' will be assigned the\r
10902 # following values.\r
10903 \r
10904 _ACEOF\r
10905 \r
10906 # The following way of writing the cache mishandles newlines in values,\r
10907 # but we know of no workaround that is simple, portable, and efficient.\r
10908 # So, we kill variables containing newlines.\r
10909 # Ultrix sh set writes to stderr and can't be redirected directly,\r
10910 # and sets the high bit in the cache file unless we assign to the vars.\r
10911 (\r
10912   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do\r
10913     eval ac_val=\$$ac_var\r
10914     case $ac_val in #(\r
10915     *${as_nl}*)\r
10916       case $ac_var in #(\r
10917       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5\r
10918 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;\r
10919       esac\r
10920       case $ac_var in #(\r
10921       _ | IFS | as_nl) ;; #(\r
10922       *) $as_unset $ac_var ;;\r
10923       esac ;;\r
10924     esac\r
10925   done\r
10926 \r
10927   (set) 2>&1 |\r
10928     case $as_nl`(ac_space=' '; set) 2>&1` in #(\r
10929     *${as_nl}ac_space=\ *)\r
10930       # `set' does not quote correctly, so add quotes (double-quote\r
10931       # substitution turns \\\\ into \\, and sed turns \\ into \).\r
10932       sed -n \\r
10933         "s/'/'\\\\''/g;\r
10934           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"\r
10935       ;; #(\r
10936     *)\r
10937       # `set' quotes correctly as required by POSIX, so do not add quotes.\r
10938       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"\r
10939       ;;\r
10940     esac |\r
10941     sort\r
10942 ) |\r
10943   sed '\r
10944      /^ac_cv_env_/b end\r
10945      t clear\r
10946      :clear\r
10947      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/\r
10948      t end\r
10949      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/\r
10950      :end' >>confcache\r
10951 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else\r
10952   if test -w "$cache_file"; then\r
10953     test "x$cache_file" != "x/dev/null" &&\r
10954       { echo "$as_me:$LINENO: updating cache $cache_file" >&5\r
10955 echo "$as_me: updating cache $cache_file" >&6;}\r
10956     cat confcache >$cache_file\r
10957   else\r
10958     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5\r
10959 echo "$as_me: not updating unwritable cache $cache_file" >&6;}\r
10960   fi\r
10961 fi\r
10962 rm -f confcache\r
10963 \r
10964 test "x$prefix" = xNONE && prefix=$ac_default_prefix\r
10965 # Let make expand exec_prefix.\r
10966 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'\r
10967 \r
10968 DEFS=-DHAVE_CONFIG_H\r
10969 \r
10970 ac_libobjs=\r
10971 ac_ltlibobjs=\r
10972 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue\r
10973   # 1. Remove the extension, and $U if already installed.\r
10974   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'\r
10975   ac_i=`echo "$ac_i" | sed "$ac_script"`\r
10976   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR\r
10977   #    will be set to the directory where LIBOBJS objects are built.\r
10978   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"\r
10979   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'\r
10980 done\r
10981 LIBOBJS=$ac_libobjs\r
10982 \r
10983 LTLIBOBJS=$ac_ltlibobjs\r
10984 \r
10985 \r
10986 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then\r
10987   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.\r
10988 Usually this means the macro was only invoked conditionally." >&5\r
10989 echo "$as_me: error: conditional \"AMDEP\" was never defined.\r
10990 Usually this means the macro was only invoked conditionally." >&2;}\r
10991    { (exit 1); exit 1; }; }\r
10992 fi\r
10993 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then\r
10994   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.\r
10995 Usually this means the macro was only invoked conditionally." >&5\r
10996 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.\r
10997 Usually this means the macro was only invoked conditionally." >&2;}\r
10998    { (exit 1); exit 1; }; }\r
10999 fi\r
11000 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then\r
11001   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.\r
11002 Usually this means the macro was only invoked conditionally." >&5\r
11003 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.\r
11004 Usually this means the macro was only invoked conditionally." >&2;}\r
11005    { (exit 1); exit 1; }; }\r
11006 fi\r
11007 \r
11008 : ${CONFIG_STATUS=./config.status}\r
11009 ac_clean_files_save=$ac_clean_files\r
11010 ac_clean_files="$ac_clean_files $CONFIG_STATUS"\r
11011 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5\r
11012 echo "$as_me: creating $CONFIG_STATUS" >&6;}\r
11013 cat >$CONFIG_STATUS <<_ACEOF\r
11014 #! $SHELL\r
11015 # Generated by $as_me.\r
11016 # Run this file to recreate the current configuration.\r
11017 # Compiler output produced by configure, useful for debugging\r
11018 # configure, is in config.log if it exists.\r
11019 \r
11020 debug=false\r
11021 ac_cs_recheck=false\r
11022 ac_cs_silent=false\r
11023 SHELL=\${CONFIG_SHELL-$SHELL}\r
11024 _ACEOF\r
11025 \r
11026 cat >>$CONFIG_STATUS <<\_ACEOF\r
11027 ## --------------------- ##\r
11028 ## M4sh Initialization.  ##\r
11029 ## --------------------- ##\r
11030 \r
11031 # Be more Bourne compatible\r
11032 DUALCASE=1; export DUALCASE # for MKS sh\r
11033 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then\r
11034   emulate sh\r
11035   NULLCMD=:\r
11036   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which\r
11037   # is contrary to our usage.  Disable this feature.\r
11038   alias -g '${1+"$@"}'='"$@"'\r
11039   setopt NO_GLOB_SUBST\r
11040 else\r
11041   case `(set -o) 2>/dev/null` in\r
11042   *posix*) set -o posix ;;\r
11043 esac\r
11044 \r
11045 fi\r
11046 \r
11047 \r
11048 \r
11049 \r
11050 # PATH needs CR\r
11051 # Avoid depending upon Character Ranges.\r
11052 as_cr_letters='abcdefghijklmnopqrstuvwxyz'\r
11053 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'\r
11054 as_cr_Letters=$as_cr_letters$as_cr_LETTERS\r
11055 as_cr_digits='0123456789'\r
11056 as_cr_alnum=$as_cr_Letters$as_cr_digits\r
11057 \r
11058 # The user is always right.\r
11059 if test "${PATH_SEPARATOR+set}" != set; then\r
11060   echo "#! /bin/sh" >conf$$.sh\r
11061   echo  "exit 0"   >>conf$$.sh\r
11062   chmod +x conf$$.sh\r
11063   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then\r
11064     PATH_SEPARATOR=';'\r
11065   else\r
11066     PATH_SEPARATOR=:\r
11067   fi\r
11068   rm -f conf$$.sh\r
11069 fi\r
11070 \r
11071 # Support unset when possible.\r
11072 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then\r
11073   as_unset=unset\r
11074 else\r
11075   as_unset=false\r
11076 fi\r
11077 \r
11078 \r
11079 # IFS\r
11080 # We need space, tab and new line, in precisely that order.  Quoting is\r
11081 # there to prevent editors from complaining about space-tab.\r
11082 # (If _AS_PATH_WALK were called with IFS unset, it would disable word\r
11083 # splitting by setting IFS to empty value.)\r
11084 as_nl='\r
11085 '\r
11086 IFS=" ""        $as_nl"\r
11087 \r
11088 # Find who we are.  Look in the path if we contain no directory separator.\r
11089 case $0 in\r
11090   *[\\/]* ) as_myself=$0 ;;\r
11091   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR\r
11092 for as_dir in $PATH\r
11093 do\r
11094   IFS=$as_save_IFS\r
11095   test -z "$as_dir" && as_dir=.\r
11096   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break\r
11097 done\r
11098 IFS=$as_save_IFS\r
11099 \r
11100      ;;\r
11101 esac\r
11102 # We did not find ourselves, most probably we were run as `sh COMMAND'\r
11103 # in which case we are not to be found in the path.\r
11104 if test "x$as_myself" = x; then\r
11105   as_myself=$0\r
11106 fi\r
11107 if test ! -f "$as_myself"; then\r
11108   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2\r
11109   { (exit 1); exit 1; }\r
11110 fi\r
11111 \r
11112 # Work around bugs in pre-3.0 UWIN ksh.\r
11113 for as_var in ENV MAIL MAILPATH\r
11114 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var\r
11115 done\r
11116 PS1='$ '\r
11117 PS2='> '\r
11118 PS4='+ '\r
11119 \r
11120 # NLS nuisances.\r
11121 for as_var in \\r
11122   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \\r
11123   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \\r
11124   LC_TELEPHONE LC_TIME\r
11125 do\r
11126   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then\r
11127     eval $as_var=C; export $as_var\r
11128   else\r
11129     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var\r
11130   fi\r
11131 done\r
11132 \r
11133 # Required to use basename.\r
11134 if expr a : '\(a\)' >/dev/null 2>&1 &&\r
11135    test "X`expr 00001 : '.*\(...\)'`" = X001; then\r
11136   as_expr=expr\r
11137 else\r
11138   as_expr=false\r
11139 fi\r
11140 \r
11141 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then\r
11142   as_basename=basename\r
11143 else\r
11144   as_basename=false\r
11145 fi\r
11146 \r
11147 \r
11148 # Name of the executable.\r
11149 as_me=`$as_basename -- "$0" ||\r
11150 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \\r
11151          X"$0" : 'X\(//\)$' \| \\r
11152          X"$0" : 'X\(/\)' \| . 2>/dev/null ||\r
11153 echo X/"$0" |\r
11154     sed '/^.*\/\([^/][^/]*\)\/*$/{\r
11155             s//\1/\r
11156             q\r
11157           }\r
11158           /^X\/\(\/\/\)$/{\r
11159             s//\1/\r
11160             q\r
11161           }\r
11162           /^X\/\(\/\).*/{\r
11163             s//\1/\r
11164             q\r
11165           }\r
11166           s/.*/./; q'`\r
11167 \r
11168 # CDPATH.\r
11169 $as_unset CDPATH\r
11170 \r
11171 \r
11172 \r
11173   as_lineno_1=$LINENO\r
11174   as_lineno_2=$LINENO\r
11175   test "x$as_lineno_1" != "x$as_lineno_2" &&\r
11176   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {\r
11177 \r
11178   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO\r
11179   # uniformly replaced by the line number.  The first 'sed' inserts a\r
11180   # line-number line after each line using $LINENO; the second 'sed'\r
11181   # does the real work.  The second script uses 'N' to pair each\r
11182   # line-number line with the line containing $LINENO, and appends\r
11183   # trailing '-' during substitution so that $LINENO is not a special\r
11184   # case at line end.\r
11185   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the\r
11186   # scripts with optimization help from Paolo Bonzini.  Blame Lee\r
11187   # E. McMahon (1931-1989) for sed's syntax.  :-)\r
11188   sed -n '\r
11189     p\r
11190     /[$]LINENO/=\r
11191   ' <$as_myself |\r
11192     sed '\r
11193       s/[$]LINENO.*/&-/\r
11194       t lineno\r
11195       b\r
11196       :lineno\r
11197       N\r
11198       :loop\r
11199       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/\r
11200       t loop\r
11201       s/-\n.*//\r
11202     ' >$as_me.lineno &&\r
11203   chmod +x "$as_me.lineno" ||\r
11204     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2\r
11205    { (exit 1); exit 1; }; }\r
11206 \r
11207   # Don't try to exec as it changes $[0], causing all sort of problems\r
11208   # (the dirname of $[0] is not the place where we might find the\r
11209   # original and so on.  Autoconf is especially sensitive to this).\r
11210   . "./$as_me.lineno"\r
11211   # Exit status is that of the last command.\r
11212   exit\r
11213 }\r
11214 \r
11215 \r
11216 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then\r
11217   as_dirname=dirname\r
11218 else\r
11219   as_dirname=false\r
11220 fi\r
11221 \r
11222 ECHO_C= ECHO_N= ECHO_T=\r
11223 case `echo -n x` in\r
11224 -n*)\r
11225   case `echo 'x\c'` in\r
11226   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.\r
11227   *)   ECHO_C='\c';;\r
11228   esac;;\r
11229 *)\r
11230   ECHO_N='-n';;\r
11231 esac\r
11232 \r
11233 if expr a : '\(a\)' >/dev/null 2>&1 &&\r
11234    test "X`expr 00001 : '.*\(...\)'`" = X001; then\r
11235   as_expr=expr\r
11236 else\r
11237   as_expr=false\r
11238 fi\r
11239 \r
11240 rm -f conf$$ conf$$.exe conf$$.file\r
11241 if test -d conf$$.dir; then\r
11242   rm -f conf$$.dir/conf$$.file\r
11243 else\r
11244   rm -f conf$$.dir\r
11245   mkdir conf$$.dir\r
11246 fi\r
11247 echo >conf$$.file\r
11248 if ln -s conf$$.file conf$$ 2>/dev/null; then\r
11249   as_ln_s='ln -s'\r
11250   # ... but there are two gotchas:\r
11251   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.\r
11252   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.\r
11253   # In both cases, we have to default to `cp -p'.\r
11254   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||\r
11255     as_ln_s='cp -p'\r
11256 elif ln conf$$.file conf$$ 2>/dev/null; then\r
11257   as_ln_s=ln\r
11258 else\r
11259   as_ln_s='cp -p'\r
11260 fi\r
11261 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file\r
11262 rmdir conf$$.dir 2>/dev/null\r
11263 \r
11264 if mkdir -p . 2>/dev/null; then\r
11265   as_mkdir_p=:\r
11266 else\r
11267   test -d ./-p && rmdir ./-p\r
11268   as_mkdir_p=false\r
11269 fi\r
11270 \r
11271 if test -x / >/dev/null 2>&1; then\r
11272   as_test_x='test -x'\r
11273 else\r
11274   if ls -dL / >/dev/null 2>&1; then\r
11275     as_ls_L_option=L\r
11276   else\r
11277     as_ls_L_option=\r
11278   fi\r
11279   as_test_x='\r
11280     eval sh -c '\''\r
11281       if test -d "$1"; then\r
11282         test -d "$1/.";\r
11283       else\r
11284         case $1 in\r
11285         -*)set "./$1";;\r
11286         esac;\r
11287         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in\r
11288         ???[sx]*):;;*)false;;esac;fi\r
11289     '\'' sh\r
11290   '\r
11291 fi\r
11292 as_executable_p=$as_test_x\r
11293 \r
11294 # Sed expression to map a string onto a valid CPP name.\r
11295 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"\r
11296 \r
11297 # Sed expression to map a string onto a valid variable name.\r
11298 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"\r
11299 \r
11300 \r
11301 exec 6>&1\r
11302 \r
11303 # Save the log message, to keep $[0] and so on meaningful, and to\r
11304 # report actual input values of CONFIG_FILES etc. instead of their\r
11305 # values after options handling.\r
11306 ac_log="\r
11307 This file was extended by xboard $as_me 4.3, which was\r
11308 generated by GNU Autoconf 2.61.  Invocation command line was\r
11309 \r
11310   CONFIG_FILES    = $CONFIG_FILES\r
11311   CONFIG_HEADERS  = $CONFIG_HEADERS\r
11312   CONFIG_LINKS    = $CONFIG_LINKS\r
11313   CONFIG_COMMANDS = $CONFIG_COMMANDS\r
11314   $ $0 $@\r
11315 \r
11316 on `(hostname || uname -n) 2>/dev/null | sed 1q`\r
11317 "\r
11318 \r
11319 _ACEOF\r
11320 \r
11321 cat >>$CONFIG_STATUS <<_ACEOF\r
11322 # Files that config.status was made for.\r
11323 config_files="$ac_config_files"\r
11324 config_headers="$ac_config_headers"\r
11325 config_commands="$ac_config_commands"\r
11326 \r
11327 _ACEOF\r
11328 \r
11329 cat >>$CONFIG_STATUS <<\_ACEOF\r
11330 ac_cs_usage="\\r
11331 \`$as_me' instantiates files from templates according to the\r
11332 current configuration.\r
11333 \r
11334 Usage: $0 [OPTIONS] [FILE]...\r
11335 \r
11336   -h, --help       print this help, then exit\r
11337   -V, --version    print version number and configuration settings, then exit\r
11338   -q, --quiet      do not print progress messages\r
11339   -d, --debug      don't remove temporary files\r
11340       --recheck    update $as_me by reconfiguring in the same conditions\r
11341   --file=FILE[:TEMPLATE]\r
11342                    instantiate the configuration file FILE\r
11343   --header=FILE[:TEMPLATE]\r
11344                    instantiate the configuration header FILE\r
11345 \r
11346 Configuration files:\r
11347 $config_files\r
11348 \r
11349 Configuration headers:\r
11350 $config_headers\r
11351 \r
11352 Configuration commands:\r
11353 $config_commands\r
11354 \r
11355 Report bugs to <bug-autoconf@gnu.org>."\r
11356 \r
11357 _ACEOF\r
11358 cat >>$CONFIG_STATUS <<_ACEOF\r
11359 ac_cs_version="\\\r
11360 xboard config.status 4.3\r
11361 configured by $0, generated by GNU Autoconf 2.61,\r
11362   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"\r
11363 \r
11364 Copyright (C) 2006 Free Software Foundation, Inc.\r
11365 This config.status script is free software; the Free Software Foundation\r
11366 gives unlimited permission to copy, distribute and modify it."\r
11367 \r
11368 ac_pwd='$ac_pwd'\r
11369 srcdir='$srcdir'\r
11370 INSTALL='$INSTALL'\r
11371 MKDIR_P='$MKDIR_P'\r
11372 _ACEOF\r
11373 \r
11374 cat >>$CONFIG_STATUS <<\_ACEOF\r
11375 # If no file are specified by the user, then we need to provide default\r
11376 # value.  By we need to know if files were specified by the user.\r
11377 ac_need_defaults=:\r
11378 while test $# != 0\r
11379 do\r
11380   case $1 in\r
11381   --*=*)\r
11382     ac_option=`expr "X$1" : 'X\([^=]*\)='`\r
11383     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`\r
11384     ac_shift=:\r
11385     ;;\r
11386   *)\r
11387     ac_option=$1\r
11388     ac_optarg=$2\r
11389     ac_shift=shift\r
11390     ;;\r
11391   esac\r
11392 \r
11393   case $ac_option in\r
11394   # Handling of the options.\r
11395   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)\r
11396     ac_cs_recheck=: ;;\r
11397   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )\r
11398     echo "$ac_cs_version"; exit ;;\r
11399   --debug | --debu | --deb | --de | --d | -d )\r
11400     debug=: ;;\r
11401   --file | --fil | --fi | --f )\r
11402     $ac_shift\r
11403     CONFIG_FILES="$CONFIG_FILES $ac_optarg"\r
11404     ac_need_defaults=false;;\r
11405   --header | --heade | --head | --hea )\r
11406     $ac_shift\r
11407     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"\r
11408     ac_need_defaults=false;;\r
11409   --he | --h)\r
11410     # Conflict between --help and --header\r
11411     { echo "$as_me: error: ambiguous option: $1\r
11412 Try \`$0 --help' for more information." >&2\r
11413    { (exit 1); exit 1; }; };;\r
11414   --help | --hel | -h )\r
11415     echo "$ac_cs_usage"; exit ;;\r
11416   -q | -quiet | --quiet | --quie | --qui | --qu | --q \\r
11417   | -silent | --silent | --silen | --sile | --sil | --si | --s)\r
11418     ac_cs_silent=: ;;\r
11419 \r
11420   # This is an error.\r
11421   -*) { echo "$as_me: error: unrecognized option: $1\r
11422 Try \`$0 --help' for more information." >&2\r
11423    { (exit 1); exit 1; }; } ;;\r
11424 \r
11425   *) ac_config_targets="$ac_config_targets $1"\r
11426      ac_need_defaults=false ;;\r
11427 \r
11428   esac\r
11429   shift\r
11430 done\r
11431 \r
11432 ac_configure_extra_args=\r
11433 \r
11434 if $ac_cs_silent; then\r
11435   exec 6>/dev/null\r
11436   ac_configure_extra_args="$ac_configure_extra_args --silent"\r
11437 fi\r
11438 \r
11439 _ACEOF\r
11440 cat >>$CONFIG_STATUS <<_ACEOF\r
11441 if \$ac_cs_recheck; then\r
11442   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6\r
11443   CONFIG_SHELL=$SHELL\r
11444   export CONFIG_SHELL\r
11445   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion\r
11446 fi\r
11447 \r
11448 _ACEOF\r
11449 cat >>$CONFIG_STATUS <<\_ACEOF\r
11450 exec 5>>config.log\r
11451 {\r
11452   echo\r
11453   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX\r
11454 ## Running $as_me. ##\r
11455 _ASBOX\r
11456   echo "$ac_log"\r
11457 } >&5\r
11458 \r
11459 _ACEOF\r
11460 cat >>$CONFIG_STATUS <<_ACEOF\r
11461 #\r
11462 # INIT-COMMANDS\r
11463 #\r
11464 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"\r
11465 \r
11466 _ACEOF\r
11467 \r
11468 cat >>$CONFIG_STATUS <<\_ACEOF\r
11469 \r
11470 # Handling of arguments.\r
11471 for ac_config_target in $ac_config_targets\r
11472 do\r
11473   case $ac_config_target in\r
11474     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;\r
11475     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;\r
11476     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;\r
11477     "cmail") CONFIG_FILES="$CONFIG_FILES cmail" ;;\r
11478     "xboard.texinfo") CONFIG_FILES="$CONFIG_FILES xboard.texinfo" ;;\r
11479     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;\r
11480 \r
11481   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5\r
11482 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}\r
11483    { (exit 1); exit 1; }; };;\r
11484   esac\r
11485 done\r
11486 \r
11487 \r
11488 # If the user did not use the arguments to specify the items to instantiate,\r
11489 # then the envvar interface is used.  Set only those that are not.\r
11490 # We use the long form for the default assignment because of an extremely\r
11491 # bizarre bug on SunOS 4.1.3.\r
11492 if $ac_need_defaults; then\r
11493   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files\r
11494   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers\r
11495   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands\r
11496 fi\r
11497 \r
11498 # Have a temporary directory for convenience.  Make it in the build tree\r
11499 # simply because there is no reason against having it here, and in addition,\r
11500 # creating and moving files from /tmp can sometimes cause problems.\r
11501 # Hook for its removal unless debugging.\r
11502 # Note that there is a small window in which the directory will not be cleaned:\r
11503 # after its creation but before its name has been assigned to `$tmp'.\r
11504 $debug ||\r
11505 {\r
11506   tmp=\r
11507   trap 'exit_status=$?\r
11508   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status\r
11509 ' 0\r
11510   trap '{ (exit 1); exit 1; }' 1 2 13 15\r
11511 }\r
11512 # Create a (secure) tmp directory for tmp files.\r
11513 \r
11514 {\r
11515   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&\r
11516   test -n "$tmp" && test -d "$tmp"\r
11517 }  ||\r
11518 {\r
11519   tmp=./conf$$-$RANDOM\r
11520   (umask 077 && mkdir "$tmp")\r
11521 } ||\r
11522 {\r
11523    echo "$me: cannot create a temporary directory in ." >&2\r
11524    { (exit 1); exit 1; }\r
11525 }\r
11526 \r
11527 #\r
11528 # Set up the sed scripts for CONFIG_FILES section.\r
11529 #\r
11530 \r
11531 # No need to generate the scripts if there are no CONFIG_FILES.\r
11532 # This happens for instance when ./config.status config.h\r
11533 if test -n "$CONFIG_FILES"; then\r
11534 \r
11535 _ACEOF\r
11536 \r
11537 \r
11538 \r
11539 ac_delim='%!_!# '\r
11540 for ac_last_try in false false false false false :; do\r
11541   cat >conf$$subs.sed <<_ACEOF\r
11542 SHELL!$SHELL$ac_delim\r
11543 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim\r
11544 PACKAGE_NAME!$PACKAGE_NAME$ac_delim\r
11545 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim\r
11546 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim\r
11547 PACKAGE_STRING!$PACKAGE_STRING$ac_delim\r
11548 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim\r
11549 exec_prefix!$exec_prefix$ac_delim\r
11550 prefix!$prefix$ac_delim\r
11551 program_transform_name!$program_transform_name$ac_delim\r
11552 bindir!$bindir$ac_delim\r
11553 sbindir!$sbindir$ac_delim\r
11554 libexecdir!$libexecdir$ac_delim\r
11555 datarootdir!$datarootdir$ac_delim\r
11556 datadir!$datadir$ac_delim\r
11557 sysconfdir!$sysconfdir$ac_delim\r
11558 sharedstatedir!$sharedstatedir$ac_delim\r
11559 localstatedir!$localstatedir$ac_delim\r
11560 includedir!$includedir$ac_delim\r
11561 oldincludedir!$oldincludedir$ac_delim\r
11562 docdir!$docdir$ac_delim\r
11563 infodir!$infodir$ac_delim\r
11564 htmldir!$htmldir$ac_delim\r
11565 dvidir!$dvidir$ac_delim\r
11566 pdfdir!$pdfdir$ac_delim\r
11567 psdir!$psdir$ac_delim\r
11568 libdir!$libdir$ac_delim\r
11569 localedir!$localedir$ac_delim\r
11570 mandir!$mandir$ac_delim\r
11571 DEFS!$DEFS$ac_delim\r
11572 ECHO_C!$ECHO_C$ac_delim\r
11573 ECHO_N!$ECHO_N$ac_delim\r
11574 ECHO_T!$ECHO_T$ac_delim\r
11575 LIBS!$LIBS$ac_delim\r
11576 build_alias!$build_alias$ac_delim\r
11577 host_alias!$host_alias$ac_delim\r
11578 target_alias!$target_alias$ac_delim\r
11579 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim\r
11580 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim\r
11581 INSTALL_DATA!$INSTALL_DATA$ac_delim\r
11582 am__isrc!$am__isrc$ac_delim\r
11583 CYGPATH_W!$CYGPATH_W$ac_delim\r
11584 PACKAGE!$PACKAGE$ac_delim\r
11585 VERSION!$VERSION$ac_delim\r
11586 ACLOCAL!$ACLOCAL$ac_delim\r
11587 AUTOCONF!$AUTOCONF$ac_delim\r
11588 AUTOMAKE!$AUTOMAKE$ac_delim\r
11589 AUTOHEADER!$AUTOHEADER$ac_delim\r
11590 MAKEINFO!$MAKEINFO$ac_delim\r
11591 install_sh!$install_sh$ac_delim\r
11592 STRIP!$STRIP$ac_delim\r
11593 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim\r
11594 mkdir_p!$mkdir_p$ac_delim\r
11595 AWK!$AWK$ac_delim\r
11596 SET_MAKE!$SET_MAKE$ac_delim\r
11597 am__leading_dot!$am__leading_dot$ac_delim\r
11598 AMTAR!$AMTAR$ac_delim\r
11599 am__tar!$am__tar$ac_delim\r
11600 am__untar!$am__untar$ac_delim\r
11601 CC!$CC$ac_delim\r
11602 CFLAGS!$CFLAGS$ac_delim\r
11603 LDFLAGS!$LDFLAGS$ac_delim\r
11604 CPPFLAGS!$CPPFLAGS$ac_delim\r
11605 ac_ct_CC!$ac_ct_CC$ac_delim\r
11606 EXEEXT!$EXEEXT$ac_delim\r
11607 OBJEXT!$OBJEXT$ac_delim\r
11608 DEPDIR!$DEPDIR$ac_delim\r
11609 am__include!$am__include$ac_delim\r
11610 am__quote!$am__quote$ac_delim\r
11611 AMDEP_TRUE!$AMDEP_TRUE$ac_delim\r
11612 AMDEP_FALSE!$AMDEP_FALSE$ac_delim\r
11613 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim\r
11614 CCDEPMODE!$CCDEPMODE$ac_delim\r
11615 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim\r
11616 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim\r
11617 LIBOBJS!$LIBOBJS$ac_delim\r
11618 LTLIBOBJS!$LTLIBOBJS$ac_delim\r
11619 CPP!$CPP$ac_delim\r
11620 LEX!$LEX$ac_delim\r
11621 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim\r
11622 LEXLIB!$LEXLIB$ac_delim\r
11623 RSH!$RSH$ac_delim\r
11624 MINFO!$MINFO$ac_delim\r
11625 NROFF!$NROFF$ac_delim\r
11626 NROFFFLAGS!$NROFFFLAGS$ac_delim\r
11627 AWKPATH!$AWKPATH$ac_delim\r
11628 PERLPATH!$PERLPATH$ac_delim\r
11629 GREP!$GREP$ac_delim\r
11630 EGREP!$EGREP$ac_delim\r
11631 XMKMF!$XMKMF$ac_delim\r
11632 X_CFLAGS!$X_CFLAGS$ac_delim\r
11633 X_PRE_LIBS!$X_PRE_LIBS$ac_delim\r
11634 X_LIBS!$X_LIBS$ac_delim\r
11635 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim\r
11636 XAW_LIBS!$XAW_LIBS$ac_delim\r
11637 build!$build$ac_delim\r
11638 build_cpu!$build_cpu$ac_delim\r
11639 _ACEOF\r
11640 \r
11641   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then\r
11642     break\r
11643   elif $ac_last_try; then\r
11644     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5\r
11645 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}\r
11646    { (exit 1); exit 1; }; }\r
11647   else\r
11648     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "\r
11649   fi\r
11650 done\r
11651 \r
11652 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`\r
11653 if test -n "$ac_eof"; then\r
11654   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`\r
11655   ac_eof=`expr $ac_eof + 1`\r
11656 fi\r
11657 \r
11658 cat >>$CONFIG_STATUS <<_ACEOF\r
11659 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof\r
11660 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b\r
11661 _ACEOF\r
11662 sed '\r
11663 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g\r
11664 s/^/s,@/; s/!/@,|#_!!_#|/\r
11665 :n\r
11666 t n\r
11667 s/'"$ac_delim"'$/,g/; t\r
11668 s/$/\\/; p\r
11669 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n\r
11670 ' >>$CONFIG_STATUS <conf$$subs.sed\r
11671 rm -f conf$$subs.sed\r
11672 cat >>$CONFIG_STATUS <<_ACEOF\r
11673 CEOF$ac_eof\r
11674 _ACEOF\r
11675 \r
11676 \r
11677 ac_delim='%!_!# '\r
11678 for ac_last_try in false false false false false :; do\r
11679   cat >conf$$subs.sed <<_ACEOF\r
11680 build_vendor!$build_vendor$ac_delim\r
11681 build_os!$build_os$ac_delim\r
11682 host!$host$ac_delim\r
11683 host_cpu!$host_cpu$ac_delim\r
11684 host_vendor!$host_vendor$ac_delim\r
11685 host_os!$host_os$ac_delim\r
11686 PRE_XMULIB!$PRE_XMULIB$ac_delim\r
11687 POST_XMULIB!$POST_XMULIB$ac_delim\r
11688 CONF_CFLAGS!$CONF_CFLAGS$ac_delim\r
11689 CONF_LDFLAGS!$CONF_LDFLAGS$ac_delim\r
11690 ZIPPY_O!$ZIPPY_O$ac_delim\r
11691 ZIPPY_H!$ZIPPY_H$ac_delim\r
11692 PRODUCT!$PRODUCT$ac_delim\r
11693 PATCHLEVEL!$PATCHLEVEL$ac_delim\r
11694 _ACEOF\r
11695 \r
11696   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then\r
11697     break\r
11698   elif $ac_last_try; then\r
11699     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5\r
11700 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}\r
11701    { (exit 1); exit 1; }; }\r
11702   else\r
11703     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "\r
11704   fi\r
11705 done\r
11706 \r
11707 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`\r
11708 if test -n "$ac_eof"; then\r
11709   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`\r
11710   ac_eof=`expr $ac_eof + 1`\r
11711 fi\r
11712 \r
11713 cat >>$CONFIG_STATUS <<_ACEOF\r
11714 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof\r
11715 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end\r
11716 _ACEOF\r
11717 sed '\r
11718 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g\r
11719 s/^/s,@/; s/!/@,|#_!!_#|/\r
11720 :n\r
11721 t n\r
11722 s/'"$ac_delim"'$/,g/; t\r
11723 s/$/\\/; p\r
11724 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n\r
11725 ' >>$CONFIG_STATUS <conf$$subs.sed\r
11726 rm -f conf$$subs.sed\r
11727 cat >>$CONFIG_STATUS <<_ACEOF\r
11728 :end\r
11729 s/|#_!!_#|//g\r
11730 CEOF$ac_eof\r
11731 _ACEOF\r
11732 \r
11733 \r
11734 # VPATH may cause trouble with some makes, so we remove $(srcdir),\r
11735 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and\r
11736 # trailing colons and then remove the whole line if VPATH becomes empty\r
11737 # (actually we leave an empty line to preserve line numbers).\r
11738 if test "x$srcdir" = x.; then\r
11739   ac_vpsub='/^[  ]*VPATH[        ]*=/{\r
11740 s/:*\$(srcdir):*/:/\r
11741 s/:*\${srcdir}:*/:/\r
11742 s/:*@srcdir@:*/:/\r
11743 s/^\([^=]*=[     ]*\):*/\1/\r
11744 s/:*$//\r
11745 s/^[^=]*=[       ]*$//\r
11746 }'\r
11747 fi\r
11748 \r
11749 cat >>$CONFIG_STATUS <<\_ACEOF\r
11750 fi # test -n "$CONFIG_FILES"\r
11751 \r
11752 \r
11753 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS\r
11754 do\r
11755   case $ac_tag in\r
11756   :[FHLC]) ac_mode=$ac_tag; continue;;\r
11757   esac\r
11758   case $ac_mode$ac_tag in\r
11759   :[FHL]*:*);;\r
11760   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5\r
11761 echo "$as_me: error: Invalid tag $ac_tag." >&2;}\r
11762    { (exit 1); exit 1; }; };;\r
11763   :[FH]-) ac_tag=-:-;;\r
11764   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;\r
11765   esac\r
11766   ac_save_IFS=$IFS\r
11767   IFS=:\r
11768   set x $ac_tag\r
11769   IFS=$ac_save_IFS\r
11770   shift\r
11771   ac_file=$1\r
11772   shift\r
11773 \r
11774   case $ac_mode in\r
11775   :L) ac_source=$1;;\r
11776   :[FH])\r
11777     ac_file_inputs=\r
11778     for ac_f\r
11779     do\r
11780       case $ac_f in\r
11781       -) ac_f="$tmp/stdin";;\r
11782       *) # Look for the file first in the build tree, then in the source tree\r
11783          # (if the path is not absolute).  The absolute path cannot be DOS-style,\r
11784          # because $ac_f cannot contain `:'.\r
11785          test -f "$ac_f" ||\r
11786            case $ac_f in\r
11787            [\\/$]*) false;;\r
11788            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;\r
11789            esac ||\r
11790            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5\r
11791 echo "$as_me: error: cannot find input file: $ac_f" >&2;}\r
11792    { (exit 1); exit 1; }; };;\r
11793       esac\r
11794       ac_file_inputs="$ac_file_inputs $ac_f"\r
11795     done\r
11796 \r
11797     # Let's still pretend it is `configure' which instantiates (i.e., don't\r
11798     # use $as_me), people would be surprised to read:\r
11799     #    /* config.h.  Generated by config.status.  */\r
11800     configure_input="Generated from "`IFS=:\r
11801           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."\r
11802     if test x"$ac_file" != x-; then\r
11803       configure_input="$ac_file.  $configure_input"\r
11804       { echo "$as_me:$LINENO: creating $ac_file" >&5\r
11805 echo "$as_me: creating $ac_file" >&6;}\r
11806     fi\r
11807 \r
11808     case $ac_tag in\r
11809     *:-:* | *:-) cat >"$tmp/stdin";;\r
11810     esac\r
11811     ;;\r
11812   esac\r
11813 \r
11814   ac_dir=`$as_dirname -- "$ac_file" ||\r
11815 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
11816          X"$ac_file" : 'X\(//\)[^/]' \| \\r
11817          X"$ac_file" : 'X\(//\)$' \| \\r
11818          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||\r
11819 echo X"$ac_file" |\r
11820     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
11821             s//\1/\r
11822             q\r
11823           }\r
11824           /^X\(\/\/\)[^/].*/{\r
11825             s//\1/\r
11826             q\r
11827           }\r
11828           /^X\(\/\/\)$/{\r
11829             s//\1/\r
11830             q\r
11831           }\r
11832           /^X\(\/\).*/{\r
11833             s//\1/\r
11834             q\r
11835           }\r
11836           s/.*/./; q'`\r
11837   { as_dir="$ac_dir"\r
11838   case $as_dir in #(\r
11839   -*) as_dir=./$as_dir;;\r
11840   esac\r
11841   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {\r
11842     as_dirs=\r
11843     while :; do\r
11844       case $as_dir in #(\r
11845       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(\r
11846       *) as_qdir=$as_dir;;\r
11847       esac\r
11848       as_dirs="'$as_qdir' $as_dirs"\r
11849       as_dir=`$as_dirname -- "$as_dir" ||\r
11850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
11851          X"$as_dir" : 'X\(//\)[^/]' \| \\r
11852          X"$as_dir" : 'X\(//\)$' \| \\r
11853          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||\r
11854 echo X"$as_dir" |\r
11855     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
11856             s//\1/\r
11857             q\r
11858           }\r
11859           /^X\(\/\/\)[^/].*/{\r
11860             s//\1/\r
11861             q\r
11862           }\r
11863           /^X\(\/\/\)$/{\r
11864             s//\1/\r
11865             q\r
11866           }\r
11867           /^X\(\/\).*/{\r
11868             s//\1/\r
11869             q\r
11870           }\r
11871           s/.*/./; q'`\r
11872       test -d "$as_dir" && break\r
11873     done\r
11874     test -z "$as_dirs" || eval "mkdir $as_dirs"\r
11875   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5\r
11876 echo "$as_me: error: cannot create directory $as_dir" >&2;}\r
11877    { (exit 1); exit 1; }; }; }\r
11878   ac_builddir=.\r
11879 \r
11880 case "$ac_dir" in\r
11881 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;\r
11882 *)\r
11883   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`\r
11884   # A ".." for each directory in $ac_dir_suffix.\r
11885   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`\r
11886   case $ac_top_builddir_sub in\r
11887   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;\r
11888   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;\r
11889   esac ;;\r
11890 esac\r
11891 ac_abs_top_builddir=$ac_pwd\r
11892 ac_abs_builddir=$ac_pwd$ac_dir_suffix\r
11893 # for backward compatibility:\r
11894 ac_top_builddir=$ac_top_build_prefix\r
11895 \r
11896 case $srcdir in\r
11897   .)  # We are building in place.\r
11898     ac_srcdir=.\r
11899     ac_top_srcdir=$ac_top_builddir_sub\r
11900     ac_abs_top_srcdir=$ac_pwd ;;\r
11901   [\\/]* | ?:[\\/]* )  # Absolute name.\r
11902     ac_srcdir=$srcdir$ac_dir_suffix;\r
11903     ac_top_srcdir=$srcdir\r
11904     ac_abs_top_srcdir=$srcdir ;;\r
11905   *) # Relative name.\r
11906     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix\r
11907     ac_top_srcdir=$ac_top_build_prefix$srcdir\r
11908     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;\r
11909 esac\r
11910 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix\r
11911 \r
11912 \r
11913   case $ac_mode in\r
11914   :F)\r
11915   #\r
11916   # CONFIG_FILE\r
11917   #\r
11918 \r
11919   case $INSTALL in\r
11920   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;\r
11921   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;\r
11922   esac\r
11923   ac_MKDIR_P=$MKDIR_P\r
11924   case $MKDIR_P in\r
11925   [\\/$]* | ?:[\\/]* ) ;;\r
11926   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;\r
11927   esac\r
11928 _ACEOF\r
11929 \r
11930 cat >>$CONFIG_STATUS <<\_ACEOF\r
11931 # If the template does not know about datarootdir, expand it.\r
11932 # FIXME: This hack should be removed a few years after 2.60.\r
11933 ac_datarootdir_hack=; ac_datarootdir_seen=\r
11934 \r
11935 case `sed -n '/datarootdir/ {\r
11936   p\r
11937   q\r
11938 }\r
11939 /@datadir@/p\r
11940 /@docdir@/p\r
11941 /@infodir@/p\r
11942 /@localedir@/p\r
11943 /@mandir@/p\r
11944 ' $ac_file_inputs` in\r
11945 *datarootdir*) ac_datarootdir_seen=yes;;\r
11946 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)\r
11947   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5\r
11948 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}\r
11949 _ACEOF\r
11950 cat >>$CONFIG_STATUS <<_ACEOF\r
11951   ac_datarootdir_hack='\r
11952   s&@datadir@&$datadir&g\r
11953   s&@docdir@&$docdir&g\r
11954   s&@infodir@&$infodir&g\r
11955   s&@localedir@&$localedir&g\r
11956   s&@mandir@&$mandir&g\r
11957     s&\\\${datarootdir}&$datarootdir&g' ;;\r
11958 esac\r
11959 _ACEOF\r
11960 \r
11961 # Neutralize VPATH when `$srcdir' = `.'.\r
11962 # Shell code in configure.ac might set extrasub.\r
11963 # FIXME: do we really want to maintain this feature?\r
11964 cat >>$CONFIG_STATUS <<_ACEOF\r
11965   sed "$ac_vpsub\r
11966 $extrasub\r
11967 _ACEOF\r
11968 cat >>$CONFIG_STATUS <<\_ACEOF\r
11969 :t\r
11970 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b\r
11971 s&@configure_input@&$configure_input&;t t\r
11972 s&@top_builddir@&$ac_top_builddir_sub&;t t\r
11973 s&@srcdir@&$ac_srcdir&;t t\r
11974 s&@abs_srcdir@&$ac_abs_srcdir&;t t\r
11975 s&@top_srcdir@&$ac_top_srcdir&;t t\r
11976 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t\r
11977 s&@builddir@&$ac_builddir&;t t\r
11978 s&@abs_builddir@&$ac_abs_builddir&;t t\r
11979 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t\r
11980 s&@INSTALL@&$ac_INSTALL&;t t\r
11981 s&@MKDIR_P@&$ac_MKDIR_P&;t t\r
11982 $ac_datarootdir_hack\r
11983 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out\r
11984 \r
11985 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&\r
11986   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&\r
11987   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&\r
11988   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'\r
11989 which seems to be undefined.  Please make sure it is defined." >&5\r
11990 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'\r
11991 which seems to be undefined.  Please make sure it is defined." >&2;}\r
11992 \r
11993   rm -f "$tmp/stdin"\r
11994   case $ac_file in\r
11995   -) cat "$tmp/out"; rm -f "$tmp/out";;\r
11996   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;\r
11997   esac\r
11998  ;;\r
11999   :H)\r
12000   #\r
12001   # CONFIG_HEADER\r
12002   #\r
12003 _ACEOF\r
12004 \r
12005 # Transform confdefs.h into a sed script `conftest.defines', that\r
12006 # substitutes the proper values into config.h.in to produce config.h.\r
12007 rm -f conftest.defines conftest.tail\r
12008 # First, append a space to every undef/define line, to ease matching.\r
12009 echo 's/$/ /' >conftest.defines\r
12010 # Then, protect against being on the right side of a sed subst, or in\r
12011 # an unquoted here document, in config.status.  If some macros were\r
12012 # called several times there might be several #defines for the same\r
12013 # symbol, which is useless.  But do not sort them, since the last\r
12014 # AC_DEFINE must be honored.\r
12015 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*\r
12016 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where\r
12017 # NAME is the cpp macro being defined, VALUE is the value it is being given.\r
12018 # PARAMS is the parameter list in the macro definition--in most cases, it's\r
12019 # just an empty string.\r
12020 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'\r
12021 ac_dB='\\)[      (].*,\\1define\\2'\r
12022 ac_dC=' '\r
12023 ac_dD=' ,'\r
12024 \r
12025 uniq confdefs.h |\r
12026   sed -n '\r
12027         t rset\r
12028         :rset\r
12029         s/^[     ]*#[    ]*define[       ][      ]*//\r
12030         t ok\r
12031         d\r
12032         :ok\r
12033         s/[\\&,]/\\&/g\r
12034         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p\r
12035         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p\r
12036   ' >>conftest.defines\r
12037 \r
12038 # Remove the space that was appended to ease matching.\r
12039 # Then replace #undef with comments.  This is necessary, for\r
12040 # example, in the case of _POSIX_SOURCE, which is predefined and required\r
12041 # on some systems where configure will not decide to define it.\r
12042 # (The regexp can be short, since the line contains either #define or #undef.)\r
12043 echo 's/ $//\r
12044 s,^[     #]*u.*,/* & */,' >>conftest.defines\r
12045 \r
12046 # Break up conftest.defines:\r
12047 ac_max_sed_lines=50\r
12048 \r
12049 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"\r
12050 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"\r
12051 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"\r
12052 # et cetera.\r
12053 ac_in='$ac_file_inputs'\r
12054 ac_out='"$tmp/out1"'\r
12055 ac_nxt='"$tmp/out2"'\r
12056 \r
12057 while :\r
12058 do\r
12059   # Write a here document:\r
12060     cat >>$CONFIG_STATUS <<_ACEOF\r
12061     # First, check the format of the line:\r
12062     cat >"\$tmp/defines.sed" <<\\CEOF\r
12063 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def\r
12064 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def\r
12065 b\r
12066 :def\r
12067 _ACEOF\r
12068   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS\r
12069   echo 'CEOF\r
12070     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS\r
12071   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in\r
12072   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail\r
12073   grep . conftest.tail >/dev/null || break\r
12074   rm -f conftest.defines\r
12075   mv conftest.tail conftest.defines\r
12076 done\r
12077 rm -f conftest.defines conftest.tail\r
12078 \r
12079 echo "ac_result=$ac_in" >>$CONFIG_STATUS\r
12080 cat >>$CONFIG_STATUS <<\_ACEOF\r
12081   if test x"$ac_file" != x-; then\r
12082     echo "/* $configure_input  */" >"$tmp/config.h"\r
12083     cat "$ac_result" >>"$tmp/config.h"\r
12084     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then\r
12085       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5\r
12086 echo "$as_me: $ac_file is unchanged" >&6;}\r
12087     else\r
12088       rm -f $ac_file\r
12089       mv "$tmp/config.h" $ac_file\r
12090     fi\r
12091   else\r
12092     echo "/* $configure_input  */"\r
12093     cat "$ac_result"\r
12094   fi\r
12095   rm -f "$tmp/out12"\r
12096 # Compute $ac_file's index in $config_headers.\r
12097 _am_arg=$ac_file\r
12098 _am_stamp_count=1\r
12099 for _am_header in $config_headers :; do\r
12100   case $_am_header in\r
12101     $_am_arg | $_am_arg:* )\r
12102       break ;;\r
12103     * )\r
12104       _am_stamp_count=`expr $_am_stamp_count + 1` ;;\r
12105   esac\r
12106 done\r
12107 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||\r
12108 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
12109          X"$_am_arg" : 'X\(//\)[^/]' \| \\r
12110          X"$_am_arg" : 'X\(//\)$' \| \\r
12111          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||\r
12112 echo X"$_am_arg" |\r
12113     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
12114             s//\1/\r
12115             q\r
12116           }\r
12117           /^X\(\/\/\)[^/].*/{\r
12118             s//\1/\r
12119             q\r
12120           }\r
12121           /^X\(\/\/\)$/{\r
12122             s//\1/\r
12123             q\r
12124           }\r
12125           /^X\(\/\).*/{\r
12126             s//\1/\r
12127             q\r
12128           }\r
12129           s/.*/./; q'`/stamp-h$_am_stamp_count\r
12130  ;;\r
12131 \r
12132   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5\r
12133 echo "$as_me: executing $ac_file commands" >&6;}\r
12134  ;;\r
12135   esac\r
12136 \r
12137 \r
12138   case $ac_file$ac_mode in\r
12139     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do\r
12140   # Strip MF so we end up with the name of the file.\r
12141   mf=`echo "$mf" | sed -e 's/:.*$//'`\r
12142   # Check whether this is an Automake generated Makefile or not.\r
12143   # We used to match only the files named `Makefile.in', but\r
12144   # some people rename them; so instead we look at the file content.\r
12145   # Grep'ing the first line is not enough: some people post-process\r
12146   # each Makefile.in and add a new line on top of each file to say so.\r
12147   # Grep'ing the whole file is not good either: AIX grep has a line\r
12148   # limit of 2048, but all sed's we know have understand at least 4000.\r
12149   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then\r
12150     dirpart=`$as_dirname -- "$mf" ||\r
12151 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
12152          X"$mf" : 'X\(//\)[^/]' \| \\r
12153          X"$mf" : 'X\(//\)$' \| \\r
12154          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||\r
12155 echo X"$mf" |\r
12156     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
12157             s//\1/\r
12158             q\r
12159           }\r
12160           /^X\(\/\/\)[^/].*/{\r
12161             s//\1/\r
12162             q\r
12163           }\r
12164           /^X\(\/\/\)$/{\r
12165             s//\1/\r
12166             q\r
12167           }\r
12168           /^X\(\/\).*/{\r
12169             s//\1/\r
12170             q\r
12171           }\r
12172           s/.*/./; q'`\r
12173   else\r
12174     continue\r
12175   fi\r
12176   # Extract the definition of DEPDIR, am__include, and am__quote\r
12177   # from the Makefile without running `make'.\r
12178   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`\r
12179   test -z "$DEPDIR" && continue\r
12180   am__include=`sed -n 's/^am__include = //p' < "$mf"`\r
12181   test -z "am__include" && continue\r
12182   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`\r
12183   # When using ansi2knr, U may be empty or an underscore; expand it\r
12184   U=`sed -n 's/^U = //p' < "$mf"`\r
12185   # Find all dependency output files, they are included files with\r
12186   # $(DEPDIR) in their names.  We invoke sed twice because it is the\r
12187   # simplest approach to changing $(DEPDIR) to its actual value in the\r
12188   # expansion.\r
12189   for file in `sed -n "\r
12190     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \\r
12191        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do\r
12192     # Make sure the directory exists.\r
12193     test -f "$dirpart/$file" && continue\r
12194     fdir=`$as_dirname -- "$file" ||\r
12195 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
12196          X"$file" : 'X\(//\)[^/]' \| \\r
12197          X"$file" : 'X\(//\)$' \| \\r
12198          X"$file" : 'X\(/\)' \| . 2>/dev/null ||\r
12199 echo X"$file" |\r
12200     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
12201             s//\1/\r
12202             q\r
12203           }\r
12204           /^X\(\/\/\)[^/].*/{\r
12205             s//\1/\r
12206             q\r
12207           }\r
12208           /^X\(\/\/\)$/{\r
12209             s//\1/\r
12210             q\r
12211           }\r
12212           /^X\(\/\).*/{\r
12213             s//\1/\r
12214             q\r
12215           }\r
12216           s/.*/./; q'`\r
12217     { as_dir=$dirpart/$fdir\r
12218   case $as_dir in #(\r
12219   -*) as_dir=./$as_dir;;\r
12220   esac\r
12221   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {\r
12222     as_dirs=\r
12223     while :; do\r
12224       case $as_dir in #(\r
12225       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(\r
12226       *) as_qdir=$as_dir;;\r
12227       esac\r
12228       as_dirs="'$as_qdir' $as_dirs"\r
12229       as_dir=`$as_dirname -- "$as_dir" ||\r
12230 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \\r
12231          X"$as_dir" : 'X\(//\)[^/]' \| \\r
12232          X"$as_dir" : 'X\(//\)$' \| \\r
12233          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||\r
12234 echo X"$as_dir" |\r
12235     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{\r
12236             s//\1/\r
12237             q\r
12238           }\r
12239           /^X\(\/\/\)[^/].*/{\r
12240             s//\1/\r
12241             q\r
12242           }\r
12243           /^X\(\/\/\)$/{\r
12244             s//\1/\r
12245             q\r
12246           }\r
12247           /^X\(\/\).*/{\r
12248             s//\1/\r
12249             q\r
12250           }\r
12251           s/.*/./; q'`\r
12252       test -d "$as_dir" && break\r
12253     done\r
12254     test -z "$as_dirs" || eval "mkdir $as_dirs"\r
12255   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5\r
12256 echo "$as_me: error: cannot create directory $as_dir" >&2;}\r
12257    { (exit 1); exit 1; }; }; }\r
12258     # echo "creating $dirpart/$file"\r
12259     echo '# dummy' > "$dirpart/$file"\r
12260   done\r
12261 done\r
12262  ;;\r
12263     "default":C) test -z "$CONFIG_HEADERS" || date > stamp-h\r
12264 chmod 755 cmail\r
12265  ;;\r
12266 \r
12267   esac\r
12268 done # for ac_tag\r
12269 \r
12270 \r
12271 { (exit 0); exit 0; }\r
12272 _ACEOF\r
12273 chmod +x $CONFIG_STATUS\r
12274 ac_clean_files=$ac_clean_files_save\r
12275 \r
12276 \r
12277 # configure is writing to config.log, and then calls config.status.\r
12278 # config.status does its own redirection, appending to config.log.\r
12279 # Unfortunately, on DOS this fails, as config.log is still kept open\r
12280 # by configure, so config.status won't be able to write to it; its\r
12281 # output is simply discarded.  So we exec the FD to /dev/null,\r
12282 # effectively closing config.log, so it can be properly (re)opened and\r
12283 # appended to by config.status.  When coming back to configure, we\r
12284 # need to make the FD available again.\r
12285 if test "$no_create" != yes; then\r
12286   ac_cs_success=:\r
12287   ac_config_status_args=\r
12288   test "$silent" = yes &&\r
12289     ac_config_status_args="$ac_config_status_args --quiet"\r
12290   exec 5>/dev/null\r
12291   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false\r
12292   exec 5>>config.log\r
12293   # Use ||, not &&, to avoid exiting from the if with $? = 1, which\r
12294   # would make configure fail if this is the last instruction.\r
12295   $ac_cs_success || { (exit 1); exit 1; }\r
12296 fi\r
12297 \r