configure revision 1.1 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for xman 1.0.3.
4 #
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
51 fi
52 rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
60 fi
61
62
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
70 IFS=" "" $as_nl"
71
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
77 do
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
83
84 ;;
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
90 fi
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
103
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
109 do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114 fi
115 done
116
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
123 fi
124
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
129 fi
130
131
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\/\)$/{
143 s//\1/
144 q
145 }
146 /^X\/\(\/\).*/{
147 s//\1/
148 q
149 }
150 s/.*/./; q'`
151
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
161 fi
162
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
166 }
167 as_func_success () {
168 as_func_return 0
169 }
170 as_func_failure () {
171 as_func_return 1
172 }
173 as_func_ret_success () {
174 return 0
175 }
176 as_func_ret_failure () {
177 return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182 :
183 else
184 exitcode=1
185 echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194 :
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 :
207 else
208 exitcode=1
209 echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220 :
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
229 /*)
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
236
237
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280 (exit $1)
281 }
282 as_func_success () {
283 as_func_return 0
284 }
285 as_func_failure () {
286 as_func_return 1
287 }
288 as_func_ret_success () {
289 return 0
290 }
291 as_func_ret_failure () {
292 return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297 :
298 else
299 exitcode=1
300 echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309 :
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321 :
322 else
323 exitcode=1
324 echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335 _ASEOF
336 }; then
337 break
338 fi
339
340 fi
341
342 done
343
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369 (exit \$1)
370 }
371 as_func_success () {
372 as_func_return 0
373 }
374 as_func_failure () {
375 as_func_return 1
376 }
377 as_func_ret_success () {
378 return 0
379 }
380 as_func_ret_failure () {
381 return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386 :
387 else
388 exitcode=1
389 echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398 :
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410 :
411 else
412 exitcode=1
413 echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
421 }
422
423
424
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
441 p
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
447 b
448 :lineno
449 N
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
458
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
465 }
466
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
472 fi
473
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
481 *)
482 ECHO_N='-n';;
483 esac
484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
490 fi
491
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
512 fi
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
515
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
521 fi
522
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
530 fi
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
542 '
543 fi
544 as_executable_p=$as_test_x
545
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554 exec 7<&0 </dev/null 6>&1
555
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561 #
562 # Initializations.
563 #
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
573
574 # Identity of this package.
575 PACKAGE_NAME='xman'
576 PACKAGE_TARNAME='xman'
577 PACKAGE_VERSION='1.0.3'
578 PACKAGE_STRING='xman 1.0.3'
579 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
580
581 ac_subst_vars='SHELL
582 PATH_SEPARATOR
583 PACKAGE_NAME
584 PACKAGE_TARNAME
585 PACKAGE_VERSION
586 PACKAGE_STRING
587 PACKAGE_BUGREPORT
588 exec_prefix
589 prefix
590 program_transform_name
591 bindir
592 sbindir
593 libexecdir
594 datarootdir
595 datadir
596 sysconfdir
597 sharedstatedir
598 localstatedir
599 includedir
600 oldincludedir
601 docdir
602 infodir
603 htmldir
604 dvidir
605 pdfdir
606 psdir
607 libdir
608 localedir
609 mandir
610 DEFS
611 ECHO_C
612 ECHO_N
613 ECHO_T
614 LIBS
615 build_alias
616 host_alias
617 target_alias
618 INSTALL_PROGRAM
619 INSTALL_SCRIPT
620 INSTALL_DATA
621 am__isrc
622 CYGPATH_W
623 PACKAGE
624 VERSION
625 ACLOCAL
626 AUTOCONF
627 AUTOMAKE
628 AUTOHEADER
629 MAKEINFO
630 install_sh
631 STRIP
632 INSTALL_STRIP_PROGRAM
633 mkdir_p
634 AWK
635 SET_MAKE
636 am__leading_dot
637 AMTAR
638 am__tar
639 am__untar
640 MAINTAINER_MODE_TRUE
641 MAINTAINER_MODE_FALSE
642 MAINT
643 CC
644 CFLAGS
645 LDFLAGS
646 CPPFLAGS
647 ac_ct_CC
648 EXEEXT
649 OBJEXT
650 DEPDIR
651 am__include
652 am__quote
653 AMDEP_TRUE
654 AMDEP_FALSE
655 AMDEPBACKSLASH
656 CCDEPMODE
657 am__fastdepCC_TRUE
658 am__fastdepCC_FALSE
659 build
660 build_cpu
661 build_vendor
662 build_os
663 host
664 host_cpu
665 host_vendor
666 host_os
667 HELPDIR
668 PKG_CONFIG
669 TMP_XAW_CFLAGS
670 TMP_XAW_LIBS
671 XAW_USE_XPRINT_TRUE
672 XAW_USE_XPRINT_FALSE
673 XPRINT_UTIL_CFLAGS
674 XPRINT_UTIL_LIBS
675 XMAN_CFLAGS
676 XMAN_LIBS
677 APPDEFS_CFLAGS
678 APPDEFS_LIBS
679 appdefaultdir
680 APP_MAN_SUFFIX
681 LIB_MAN_SUFFIX
682 FILE_MAN_SUFFIX
683 MISC_MAN_SUFFIX
684 DRIVER_MAN_SUFFIX
685 ADMIN_MAN_SUFFIX
686 APP_MAN_DIR
687 LIB_MAN_DIR
688 FILE_MAN_DIR
689 MISC_MAN_DIR
690 DRIVER_MAN_DIR
691 ADMIN_MAN_DIR
692 LIBOBJS
693 LTLIBOBJS'
694 ac_subst_files=''
695 ac_precious_vars='build_alias
696 host_alias
697 target_alias
698 CC
699 CFLAGS
700 LDFLAGS
701 LIBS
702 CPPFLAGS
703 PKG_CONFIG
704 TMP_XAW_CFLAGS
705 TMP_XAW_LIBS
706 XPRINT_UTIL_CFLAGS
707 XPRINT_UTIL_LIBS
708 APPDEFS_CFLAGS
709 APPDEFS_LIBS'
710
711
712 # Initialize some variables set by options.
713 ac_init_help=
714 ac_init_version=false
715 # The variables have the same names as the options, with
716 # dashes changed to underlines.
717 cache_file=/dev/null
718 exec_prefix=NONE
719 no_create=
720 no_recursion=
721 prefix=NONE
722 program_prefix=NONE
723 program_suffix=NONE
724 program_transform_name=s,x,x,
725 silent=
726 site=
727 srcdir=
728 verbose=
729 x_includes=NONE
730 x_libraries=NONE
731
732 # Installation directory options.
733 # These are left unexpanded so users can "make install exec_prefix=/foo"
734 # and all the variables that are supposed to be based on exec_prefix
735 # by default will actually change.
736 # Use braces instead of parens because sh, perl, etc. also accept them.
737 # (The list follows the same order as the GNU Coding Standards.)
738 bindir='${exec_prefix}/bin'
739 sbindir='${exec_prefix}/sbin'
740 libexecdir='${exec_prefix}/libexec'
741 datarootdir='${prefix}/share'
742 datadir='${datarootdir}'
743 sysconfdir='${prefix}/etc'
744 sharedstatedir='${prefix}/com'
745 localstatedir='${prefix}/var'
746 includedir='${prefix}/include'
747 oldincludedir='/usr/include'
748 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
749 infodir='${datarootdir}/info'
750 htmldir='${docdir}'
751 dvidir='${docdir}'
752 pdfdir='${docdir}'
753 psdir='${docdir}'
754 libdir='${exec_prefix}/lib'
755 localedir='${datarootdir}/locale'
756 mandir='${datarootdir}/man'
757
758 ac_prev=
759 ac_dashdash=
760 for ac_option
761 do
762 # If the previous option needs an argument, assign it.
763 if test -n "$ac_prev"; then
764 eval $ac_prev=\$ac_option
765 ac_prev=
766 continue
767 fi
768
769 case $ac_option in
770 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
771 *) ac_optarg=yes ;;
772 esac
773
774 # Accept the important Cygnus configure options, so we can diagnose typos.
775
776 case $ac_dashdash$ac_option in
777 --)
778 ac_dashdash=yes ;;
779
780 -bindir | --bindir | --bindi | --bind | --bin | --bi)
781 ac_prev=bindir ;;
782 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
783 bindir=$ac_optarg ;;
784
785 -build | --build | --buil | --bui | --bu)
786 ac_prev=build_alias ;;
787 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
788 build_alias=$ac_optarg ;;
789
790 -cache-file | --cache-file | --cache-fil | --cache-fi \
791 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
792 ac_prev=cache_file ;;
793 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
794 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
795 cache_file=$ac_optarg ;;
796
797 --config-cache | -C)
798 cache_file=config.cache ;;
799
800 -datadir | --datadir | --datadi | --datad)
801 ac_prev=datadir ;;
802 -datadir=* | --datadir=* | --datadi=* | --datad=*)
803 datadir=$ac_optarg ;;
804
805 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
806 | --dataroo | --dataro | --datar)
807 ac_prev=datarootdir ;;
808 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
809 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
810 datarootdir=$ac_optarg ;;
811
812 -disable-* | --disable-*)
813 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
814 # Reject names that are not valid shell variable names.
815 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
816 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
817 { (exit 1); exit 1; }; }
818 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
819 eval enable_$ac_feature=no ;;
820
821 -docdir | --docdir | --docdi | --doc | --do)
822 ac_prev=docdir ;;
823 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
824 docdir=$ac_optarg ;;
825
826 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
827 ac_prev=dvidir ;;
828 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
829 dvidir=$ac_optarg ;;
830
831 -enable-* | --enable-*)
832 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
833 # Reject names that are not valid shell variable names.
834 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
835 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
836 { (exit 1); exit 1; }; }
837 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
838 eval enable_$ac_feature=\$ac_optarg ;;
839
840 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
841 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
842 | --exec | --exe | --ex)
843 ac_prev=exec_prefix ;;
844 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
845 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
846 | --exec=* | --exe=* | --ex=*)
847 exec_prefix=$ac_optarg ;;
848
849 -gas | --gas | --ga | --g)
850 # Obsolete; use --with-gas.
851 with_gas=yes ;;
852
853 -help | --help | --hel | --he | -h)
854 ac_init_help=long ;;
855 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
856 ac_init_help=recursive ;;
857 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
858 ac_init_help=short ;;
859
860 -host | --host | --hos | --ho)
861 ac_prev=host_alias ;;
862 -host=* | --host=* | --hos=* | --ho=*)
863 host_alias=$ac_optarg ;;
864
865 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
866 ac_prev=htmldir ;;
867 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
868 | --ht=*)
869 htmldir=$ac_optarg ;;
870
871 -includedir | --includedir | --includedi | --included | --include \
872 | --includ | --inclu | --incl | --inc)
873 ac_prev=includedir ;;
874 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
875 | --includ=* | --inclu=* | --incl=* | --inc=*)
876 includedir=$ac_optarg ;;
877
878 -infodir | --infodir | --infodi | --infod | --info | --inf)
879 ac_prev=infodir ;;
880 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
881 infodir=$ac_optarg ;;
882
883 -libdir | --libdir | --libdi | --libd)
884 ac_prev=libdir ;;
885 -libdir=* | --libdir=* | --libdi=* | --libd=*)
886 libdir=$ac_optarg ;;
887
888 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
889 | --libexe | --libex | --libe)
890 ac_prev=libexecdir ;;
891 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
892 | --libexe=* | --libex=* | --libe=*)
893 libexecdir=$ac_optarg ;;
894
895 -localedir | --localedir | --localedi | --localed | --locale)
896 ac_prev=localedir ;;
897 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
898 localedir=$ac_optarg ;;
899
900 -localstatedir | --localstatedir | --localstatedi | --localstated \
901 | --localstate | --localstat | --localsta | --localst | --locals)
902 ac_prev=localstatedir ;;
903 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
904 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
905 localstatedir=$ac_optarg ;;
906
907 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
908 ac_prev=mandir ;;
909 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
910 mandir=$ac_optarg ;;
911
912 -nfp | --nfp | --nf)
913 # Obsolete; use --without-fp.
914 with_fp=no ;;
915
916 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
917 | --no-cr | --no-c | -n)
918 no_create=yes ;;
919
920 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
921 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
922 no_recursion=yes ;;
923
924 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
925 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
926 | --oldin | --oldi | --old | --ol | --o)
927 ac_prev=oldincludedir ;;
928 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
929 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
930 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
931 oldincludedir=$ac_optarg ;;
932
933 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
934 ac_prev=prefix ;;
935 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
936 prefix=$ac_optarg ;;
937
938 -program-prefix | --program-prefix | --program-prefi | --program-pref \
939 | --program-pre | --program-pr | --program-p)
940 ac_prev=program_prefix ;;
941 -program-prefix=* | --program-prefix=* | --program-prefi=* \
942 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
943 program_prefix=$ac_optarg ;;
944
945 -program-suffix | --program-suffix | --program-suffi | --program-suff \
946 | --program-suf | --program-su | --program-s)
947 ac_prev=program_suffix ;;
948 -program-suffix=* | --program-suffix=* | --program-suffi=* \
949 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
950 program_suffix=$ac_optarg ;;
951
952 -program-transform-name | --program-transform-name \
953 | --program-transform-nam | --program-transform-na \
954 | --program-transform-n | --program-transform- \
955 | --program-transform | --program-transfor \
956 | --program-transfo | --program-transf \
957 | --program-trans | --program-tran \
958 | --progr-tra | --program-tr | --program-t)
959 ac_prev=program_transform_name ;;
960 -program-transform-name=* | --program-transform-name=* \
961 | --program-transform-nam=* | --program-transform-na=* \
962 | --program-transform-n=* | --program-transform-=* \
963 | --program-transform=* | --program-transfor=* \
964 | --program-transfo=* | --program-transf=* \
965 | --program-trans=* | --program-tran=* \
966 | --progr-tra=* | --program-tr=* | --program-t=*)
967 program_transform_name=$ac_optarg ;;
968
969 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
970 ac_prev=pdfdir ;;
971 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
972 pdfdir=$ac_optarg ;;
973
974 -psdir | --psdir | --psdi | --psd | --ps)
975 ac_prev=psdir ;;
976 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
977 psdir=$ac_optarg ;;
978
979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
980 | -silent | --silent | --silen | --sile | --sil)
981 silent=yes ;;
982
983 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
984 ac_prev=sbindir ;;
985 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
986 | --sbi=* | --sb=*)
987 sbindir=$ac_optarg ;;
988
989 -sharedstatedir | --sharedstatedir | --sharedstatedi \
990 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
991 | --sharedst | --shareds | --shared | --share | --shar \
992 | --sha | --sh)
993 ac_prev=sharedstatedir ;;
994 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
995 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
996 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
997 | --sha=* | --sh=*)
998 sharedstatedir=$ac_optarg ;;
999
1000 -site | --site | --sit)
1001 ac_prev=site ;;
1002 -site=* | --site=* | --sit=*)
1003 site=$ac_optarg ;;
1004
1005 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1006 ac_prev=srcdir ;;
1007 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1008 srcdir=$ac_optarg ;;
1009
1010 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1011 | --syscon | --sysco | --sysc | --sys | --sy)
1012 ac_prev=sysconfdir ;;
1013 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1014 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1015 sysconfdir=$ac_optarg ;;
1016
1017 -target | --target | --targe | --targ | --tar | --ta | --t)
1018 ac_prev=target_alias ;;
1019 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1020 target_alias=$ac_optarg ;;
1021
1022 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1023 verbose=yes ;;
1024
1025 -version | --version | --versio | --versi | --vers | -V)
1026 ac_init_version=: ;;
1027
1028 -with-* | --with-*)
1029 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1032 { echo "$as_me: error: invalid package name: $ac_package" >&2
1033 { (exit 1); exit 1; }; }
1034 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1035 eval with_$ac_package=\$ac_optarg ;;
1036
1037 -without-* | --without-*)
1038 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041 { echo "$as_me: error: invalid package name: $ac_package" >&2
1042 { (exit 1); exit 1; }; }
1043 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1044 eval with_$ac_package=no ;;
1045
1046 --x)
1047 # Obsolete; use --with-x.
1048 with_x=yes ;;
1049
1050 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1051 | --x-incl | --x-inc | --x-in | --x-i)
1052 ac_prev=x_includes ;;
1053 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1054 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1055 x_includes=$ac_optarg ;;
1056
1057 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1058 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1059 ac_prev=x_libraries ;;
1060 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1061 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1062 x_libraries=$ac_optarg ;;
1063
1064 -*) { echo "$as_me: error: unrecognized option: $ac_option
1065 Try \`$0 --help' for more information." >&2
1066 { (exit 1); exit 1; }; }
1067 ;;
1068
1069 *=*)
1070 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1071 # Reject names that are not valid shell variable names.
1072 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1073 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1074 { (exit 1); exit 1; }; }
1075 eval $ac_envvar=\$ac_optarg
1076 export $ac_envvar ;;
1077
1078 *)
1079 # FIXME: should be removed in autoconf 3.0.
1080 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1081 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1082 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1083 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1084 ;;
1085
1086 esac
1087 done
1088
1089 if test -n "$ac_prev"; then
1090 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1091 { echo "$as_me: error: missing argument to $ac_option" >&2
1092 { (exit 1); exit 1; }; }
1093 fi
1094
1095 # Be sure to have absolute directory names.
1096 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1097 datadir sysconfdir sharedstatedir localstatedir includedir \
1098 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1099 libdir localedir mandir
1100 do
1101 eval ac_val=\$$ac_var
1102 case $ac_val in
1103 [\\/$]* | ?:[\\/]* ) continue;;
1104 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1105 esac
1106 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1107 { (exit 1); exit 1; }; }
1108 done
1109
1110 # There might be people who depend on the old broken behavior: `$host'
1111 # used to hold the argument of --host etc.
1112 # FIXME: To remove some day.
1113 build=$build_alias
1114 host=$host_alias
1115 target=$target_alias
1116
1117 # FIXME: To remove some day.
1118 if test "x$host_alias" != x; then
1119 if test "x$build_alias" = x; then
1120 cross_compiling=maybe
1121 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1122 If a cross compiler is detected then cross compile mode will be used." >&2
1123 elif test "x$build_alias" != "x$host_alias"; then
1124 cross_compiling=yes
1125 fi
1126 fi
1127
1128 ac_tool_prefix=
1129 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1130
1131 test "$silent" = yes && exec 6>/dev/null
1132
1133
1134 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1135 ac_ls_di=`ls -di .` &&
1136 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1137 { echo "$as_me: error: Working directory cannot be determined" >&2
1138 { (exit 1); exit 1; }; }
1139 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1140 { echo "$as_me: error: pwd does not report name of working directory" >&2
1141 { (exit 1); exit 1; }; }
1142
1143
1144 # Find the source files, if location was not specified.
1145 if test -z "$srcdir"; then
1146 ac_srcdir_defaulted=yes
1147 # Try the directory containing this script, then the parent directory.
1148 ac_confdir=`$as_dirname -- "$0" ||
1149 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1150 X"$0" : 'X\(//\)[^/]' \| \
1151 X"$0" : 'X\(//\)$' \| \
1152 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1153 echo X"$0" |
1154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1155 s//\1/
1156 q
1157 }
1158 /^X\(\/\/\)[^/].*/{
1159 s//\1/
1160 q
1161 }
1162 /^X\(\/\/\)$/{
1163 s//\1/
1164 q
1165 }
1166 /^X\(\/\).*/{
1167 s//\1/
1168 q
1169 }
1170 s/.*/./; q'`
1171 srcdir=$ac_confdir
1172 if test ! -r "$srcdir/$ac_unique_file"; then
1173 srcdir=..
1174 fi
1175 else
1176 ac_srcdir_defaulted=no
1177 fi
1178 if test ! -r "$srcdir/$ac_unique_file"; then
1179 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1180 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1181 { (exit 1); exit 1; }; }
1182 fi
1183 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1184 ac_abs_confdir=`(
1185 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1186 { (exit 1); exit 1; }; }
1187 pwd)`
1188 # When building in place, set srcdir=.
1189 if test "$ac_abs_confdir" = "$ac_pwd"; then
1190 srcdir=.
1191 fi
1192 # Remove unnecessary trailing slashes from srcdir.
1193 # Double slashes in file names in object file debugging info
1194 # mess up M-x gdb in Emacs.
1195 case $srcdir in
1196 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1197 esac
1198 for ac_var in $ac_precious_vars; do
1199 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1200 eval ac_env_${ac_var}_value=\$${ac_var}
1201 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1202 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1203 done
1204
1205 #
1206 # Report the --help message.
1207 #
1208 if test "$ac_init_help" = "long"; then
1209 # Omit some internal or obsolete options to make the list less imposing.
1210 # This message is too long to be a string in the A/UX 3.1 sh.
1211 cat <<_ACEOF
1212 \`configure' configures xman 1.0.3 to adapt to many kinds of systems.
1213
1214 Usage: $0 [OPTION]... [VAR=VALUE]...
1215
1216 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1217 VAR=VALUE. See below for descriptions of some of the useful variables.
1218
1219 Defaults for the options are specified in brackets.
1220
1221 Configuration:
1222 -h, --help display this help and exit
1223 --help=short display options specific to this package
1224 --help=recursive display the short help of all the included packages
1225 -V, --version display version information and exit
1226 -q, --quiet, --silent do not print \`checking...' messages
1227 --cache-file=FILE cache test results in FILE [disabled]
1228 -C, --config-cache alias for \`--cache-file=config.cache'
1229 -n, --no-create do not create output files
1230 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1231
1232 Installation directories:
1233 --prefix=PREFIX install architecture-independent files in PREFIX
1234 [$ac_default_prefix]
1235 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1236 [PREFIX]
1237
1238 By default, \`make install' will install all the files in
1239 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1240 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1241 for instance \`--prefix=\$HOME'.
1242
1243 For better control, use the options below.
1244
1245 Fine tuning of the installation directories:
1246 --bindir=DIR user executables [EPREFIX/bin]
1247 --sbindir=DIR system admin executables [EPREFIX/sbin]
1248 --libexecdir=DIR program executables [EPREFIX/libexec]
1249 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1250 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1251 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1252 --libdir=DIR object code libraries [EPREFIX/lib]
1253 --includedir=DIR C header files [PREFIX/include]
1254 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1255 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1256 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1257 --infodir=DIR info documentation [DATAROOTDIR/info]
1258 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1259 --mandir=DIR man documentation [DATAROOTDIR/man]
1260 --docdir=DIR documentation root [DATAROOTDIR/doc/xman]
1261 --htmldir=DIR html documentation [DOCDIR]
1262 --dvidir=DIR dvi documentation [DOCDIR]
1263 --pdfdir=DIR pdf documentation [DOCDIR]
1264 --psdir=DIR ps documentation [DOCDIR]
1265 _ACEOF
1266
1267 cat <<\_ACEOF
1268
1269 Program names:
1270 --program-prefix=PREFIX prepend PREFIX to installed program names
1271 --program-suffix=SUFFIX append SUFFIX to installed program names
1272 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1273
1274 System types:
1275 --build=BUILD configure for building on BUILD [guessed]
1276 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1277 _ACEOF
1278 fi
1279
1280 if test -n "$ac_init_help"; then
1281 case $ac_init_help in
1282 short | recursive ) echo "Configuration of xman 1.0.3:";;
1283 esac
1284 cat <<\_ACEOF
1285
1286 Optional Features:
1287 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1288 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1289 --enable-maintainer-mode enable make rules and dependencies not useful
1290 (and sometimes confusing) to the casual installer
1291 --disable-dependency-tracking speeds up one-time build
1292 --enable-dependency-tracking do not reject slow dependency extractors
1293 --enable-xprint Enable XPrint support
1294
1295 Optional Packages:
1296 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1297 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1298 --with-helpdir=<path> Set default directory for xman.help (default:
1299 ${datadir}/X11)
1300 --with-sysmanpath=<path>
1301 Set default system man page search path
1302 --with-localmanpath=<path>
1303 Set default local man page search path
1304 --with-release-version=STRING
1305 Use release version string in package name
1306
1307 Some influential environment variables:
1308 CC C compiler command
1309 CFLAGS C compiler flags
1310 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1311 nonstandard directory <lib dir>
1312 LIBS libraries to pass to the linker, e.g. -l<library>
1313 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1314 you have headers in a nonstandard directory <include dir>
1315 PKG_CONFIG path to pkg-config utility
1316 TMP_XAW_CFLAGS
1317 C compiler flags for TMP_XAW, overriding pkg-config
1318 TMP_XAW_LIBS
1319 linker flags for TMP_XAW, overriding pkg-config
1320 XPRINT_UTIL_CFLAGS
1321 C compiler flags for XPRINT_UTIL, overriding pkg-config
1322 XPRINT_UTIL_LIBS
1323 linker flags for XPRINT_UTIL, overriding pkg-config
1324 APPDEFS_CFLAGS
1325 C compiler flags for APPDEFS, overriding pkg-config
1326 APPDEFS_LIBS
1327 linker flags for APPDEFS, overriding pkg-config
1328
1329 Use these variables to override the choices made by `configure' or to help
1330 it to find libraries and programs with nonstandard names/locations.
1331
1332 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1333 _ACEOF
1334 ac_status=$?
1335 fi
1336
1337 if test "$ac_init_help" = "recursive"; then
1338 # If there are subdirs, report their specific --help.
1339 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1340 test -d "$ac_dir" || continue
1341 ac_builddir=.
1342
1343 case "$ac_dir" in
1344 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1345 *)
1346 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1347 # A ".." for each directory in $ac_dir_suffix.
1348 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1349 case $ac_top_builddir_sub in
1350 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1351 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1352 esac ;;
1353 esac
1354 ac_abs_top_builddir=$ac_pwd
1355 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1356 # for backward compatibility:
1357 ac_top_builddir=$ac_top_build_prefix
1358
1359 case $srcdir in
1360 .) # We are building in place.
1361 ac_srcdir=.
1362 ac_top_srcdir=$ac_top_builddir_sub
1363 ac_abs_top_srcdir=$ac_pwd ;;
1364 [\\/]* | ?:[\\/]* ) # Absolute name.
1365 ac_srcdir=$srcdir$ac_dir_suffix;
1366 ac_top_srcdir=$srcdir
1367 ac_abs_top_srcdir=$srcdir ;;
1368 *) # Relative name.
1369 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1370 ac_top_srcdir=$ac_top_build_prefix$srcdir
1371 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1372 esac
1373 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1374
1375 cd "$ac_dir" || { ac_status=$?; continue; }
1376 # Check for guested configure.
1377 if test -f "$ac_srcdir/configure.gnu"; then
1378 echo &&
1379 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1380 elif test -f "$ac_srcdir/configure"; then
1381 echo &&
1382 $SHELL "$ac_srcdir/configure" --help=recursive
1383 else
1384 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1385 fi || ac_status=$?
1386 cd "$ac_pwd" || { ac_status=$?; break; }
1387 done
1388 fi
1389
1390 test -n "$ac_init_help" && exit $ac_status
1391 if $ac_init_version; then
1392 cat <<\_ACEOF
1393 xman configure 1.0.3
1394 generated by GNU Autoconf 2.61
1395
1396 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1397 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1398 This configure script is free software; the Free Software Foundation
1399 gives unlimited permission to copy, distribute and modify it.
1400 _ACEOF
1401 exit
1402 fi
1403 cat >config.log <<_ACEOF
1404 This file contains any messages produced by compilers while
1405 running configure, to aid debugging if configure makes a mistake.
1406
1407 It was created by xman $as_me 1.0.3, which was
1408 generated by GNU Autoconf 2.61. Invocation command line was
1409
1410 $ $0 $@
1411
1412 _ACEOF
1413 exec 5>>config.log
1414 {
1415 cat <<_ASUNAME
1416 ## --------- ##
1417 ## Platform. ##
1418 ## --------- ##
1419
1420 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1421 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1422 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1423 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1424 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1425
1426 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1427 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1428
1429 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1430 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1431 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1432 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1433 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1434 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1435 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1436
1437 _ASUNAME
1438
1439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1440 for as_dir in $PATH
1441 do
1442 IFS=$as_save_IFS
1443 test -z "$as_dir" && as_dir=.
1444 echo "PATH: $as_dir"
1445 done
1446 IFS=$as_save_IFS
1447
1448 } >&5
1449
1450 cat >&5 <<_ACEOF
1451
1452
1453 ## ----------- ##
1454 ## Core tests. ##
1455 ## ----------- ##
1456
1457 _ACEOF
1458
1459
1460 # Keep a trace of the command line.
1461 # Strip out --no-create and --no-recursion so they do not pile up.
1462 # Strip out --silent because we don't want to record it for future runs.
1463 # Also quote any args containing shell meta-characters.
1464 # Make two passes to allow for proper duplicate-argument suppression.
1465 ac_configure_args=
1466 ac_configure_args0=
1467 ac_configure_args1=
1468 ac_must_keep_next=false
1469 for ac_pass in 1 2
1470 do
1471 for ac_arg
1472 do
1473 case $ac_arg in
1474 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1475 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1476 | -silent | --silent | --silen | --sile | --sil)
1477 continue ;;
1478 *\'*)
1479 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1480 esac
1481 case $ac_pass in
1482 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1483 2)
1484 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1485 if test $ac_must_keep_next = true; then
1486 ac_must_keep_next=false # Got value, back to normal.
1487 else
1488 case $ac_arg in
1489 *=* | --config-cache | -C | -disable-* | --disable-* \
1490 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1491 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1492 | -with-* | --with-* | -without-* | --without-* | --x)
1493 case "$ac_configure_args0 " in
1494 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1495 esac
1496 ;;
1497 -* ) ac_must_keep_next=true ;;
1498 esac
1499 fi
1500 ac_configure_args="$ac_configure_args '$ac_arg'"
1501 ;;
1502 esac
1503 done
1504 done
1505 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1506 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1507
1508 # When interrupted or exit'd, cleanup temporary files, and complete
1509 # config.log. We remove comments because anyway the quotes in there
1510 # would cause problems or look ugly.
1511 # WARNING: Use '\'' to represent an apostrophe within the trap.
1512 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1513 trap 'exit_status=$?
1514 # Save into config.log some information that might help in debugging.
1515 {
1516 echo
1517
1518 cat <<\_ASBOX
1519 ## ---------------- ##
1520 ## Cache variables. ##
1521 ## ---------------- ##
1522 _ASBOX
1523 echo
1524 # The following way of writing the cache mishandles newlines in values,
1525 (
1526 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1527 eval ac_val=\$$ac_var
1528 case $ac_val in #(
1529 *${as_nl}*)
1530 case $ac_var in #(
1531 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1532 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1533 esac
1534 case $ac_var in #(
1535 _ | IFS | as_nl) ;; #(
1536 *) $as_unset $ac_var ;;
1537 esac ;;
1538 esac
1539 done
1540 (set) 2>&1 |
1541 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1542 *${as_nl}ac_space=\ *)
1543 sed -n \
1544 "s/'\''/'\''\\\\'\'''\''/g;
1545 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1546 ;; #(
1547 *)
1548 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1549 ;;
1550 esac |
1551 sort
1552 )
1553 echo
1554
1555 cat <<\_ASBOX
1556 ## ----------------- ##
1557 ## Output variables. ##
1558 ## ----------------- ##
1559 _ASBOX
1560 echo
1561 for ac_var in $ac_subst_vars
1562 do
1563 eval ac_val=\$$ac_var
1564 case $ac_val in
1565 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1566 esac
1567 echo "$ac_var='\''$ac_val'\''"
1568 done | sort
1569 echo
1570
1571 if test -n "$ac_subst_files"; then
1572 cat <<\_ASBOX
1573 ## ------------------- ##
1574 ## File substitutions. ##
1575 ## ------------------- ##
1576 _ASBOX
1577 echo
1578 for ac_var in $ac_subst_files
1579 do
1580 eval ac_val=\$$ac_var
1581 case $ac_val in
1582 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1583 esac
1584 echo "$ac_var='\''$ac_val'\''"
1585 done | sort
1586 echo
1587 fi
1588
1589 if test -s confdefs.h; then
1590 cat <<\_ASBOX
1591 ## ----------- ##
1592 ## confdefs.h. ##
1593 ## ----------- ##
1594 _ASBOX
1595 echo
1596 cat confdefs.h
1597 echo
1598 fi
1599 test "$ac_signal" != 0 &&
1600 echo "$as_me: caught signal $ac_signal"
1601 echo "$as_me: exit $exit_status"
1602 } >&5
1603 rm -f core *.core core.conftest.* &&
1604 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1605 exit $exit_status
1606 ' 0
1607 for ac_signal in 1 2 13 15; do
1608 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1609 done
1610 ac_signal=0
1611
1612 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1613 rm -f -r conftest* confdefs.h
1614
1615 # Predefined preprocessor variables.
1616
1617 cat >>confdefs.h <<_ACEOF
1618 #define PACKAGE_NAME "$PACKAGE_NAME"
1619 _ACEOF
1620
1621
1622 cat >>confdefs.h <<_ACEOF
1623 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1624 _ACEOF
1625
1626
1627 cat >>confdefs.h <<_ACEOF
1628 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1629 _ACEOF
1630
1631
1632 cat >>confdefs.h <<_ACEOF
1633 #define PACKAGE_STRING "$PACKAGE_STRING"
1634 _ACEOF
1635
1636
1637 cat >>confdefs.h <<_ACEOF
1638 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1639 _ACEOF
1640
1641
1642 # Let the site file select an alternate cache file if it wants to.
1643 # Prefer explicitly selected file to automatically selected ones.
1644 if test -n "$CONFIG_SITE"; then
1645 set x "$CONFIG_SITE"
1646 elif test "x$prefix" != xNONE; then
1647 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1648 else
1649 set x "$ac_default_prefix/share/config.site" \
1650 "$ac_default_prefix/etc/config.site"
1651 fi
1652 shift
1653 for ac_site_file
1654 do
1655 if test -r "$ac_site_file"; then
1656 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1657 echo "$as_me: loading site script $ac_site_file" >&6;}
1658 sed 's/^/| /' "$ac_site_file" >&5
1659 . "$ac_site_file"
1660 fi
1661 done
1662
1663 if test -r "$cache_file"; then
1664 # Some versions of bash will fail to source /dev/null (special
1665 # files actually), so we avoid doing that.
1666 if test -f "$cache_file"; then
1667 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1668 echo "$as_me: loading cache $cache_file" >&6;}
1669 case $cache_file in
1670 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1671 *) . "./$cache_file";;
1672 esac
1673 fi
1674 else
1675 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1676 echo "$as_me: creating cache $cache_file" >&6;}
1677 >$cache_file
1678 fi
1679
1680 # Check that the precious variables saved in the cache have kept the same
1681 # value.
1682 ac_cache_corrupted=false
1683 for ac_var in $ac_precious_vars; do
1684 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1685 eval ac_new_set=\$ac_env_${ac_var}_set
1686 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1687 eval ac_new_val=\$ac_env_${ac_var}_value
1688 case $ac_old_set,$ac_new_set in
1689 set,)
1690 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1691 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1692 ac_cache_corrupted=: ;;
1693 ,set)
1694 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1695 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1696 ac_cache_corrupted=: ;;
1697 ,);;
1698 *)
1699 if test "x$ac_old_val" != "x$ac_new_val"; then
1700 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1701 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1702 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1703 echo "$as_me: former value: $ac_old_val" >&2;}
1704 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1705 echo "$as_me: current value: $ac_new_val" >&2;}
1706 ac_cache_corrupted=:
1707 fi;;
1708 esac
1709 # Pass precious variables to config.status.
1710 if test "$ac_new_set" = set; then
1711 case $ac_new_val in
1712 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1713 *) ac_arg=$ac_var=$ac_new_val ;;
1714 esac
1715 case " $ac_configure_args " in
1716 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1717 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1718 esac
1719 fi
1720 done
1721 if $ac_cache_corrupted; then
1722 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1723 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1724 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1725 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1726 { (exit 1); exit 1; }; }
1727 fi
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753 ac_ext=c
1754 ac_cpp='$CPP $CPPFLAGS'
1755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1758
1759
1760 am__api_version='1.10'
1761
1762 ac_aux_dir=
1763 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1764 if test -f "$ac_dir/install-sh"; then
1765 ac_aux_dir=$ac_dir
1766 ac_install_sh="$ac_aux_dir/install-sh -c"
1767 break
1768 elif test -f "$ac_dir/install.sh"; then
1769 ac_aux_dir=$ac_dir
1770 ac_install_sh="$ac_aux_dir/install.sh -c"
1771 break
1772 elif test -f "$ac_dir/shtool"; then
1773 ac_aux_dir=$ac_dir
1774 ac_install_sh="$ac_aux_dir/shtool install -c"
1775 break
1776 fi
1777 done
1778 if test -z "$ac_aux_dir"; then
1779 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1780 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1781 { (exit 1); exit 1; }; }
1782 fi
1783
1784 # These three variables are undocumented and unsupported,
1785 # and are intended to be withdrawn in a future Autoconf release.
1786 # They can cause serious problems if a builder's source tree is in a directory
1787 # whose full name contains unusual characters.
1788 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1789 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1790 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1791
1792
1793 # Find a good install program. We prefer a C program (faster),
1794 # so one script is as good as another. But avoid the broken or
1795 # incompatible versions:
1796 # SysV /etc/install, /usr/sbin/install
1797 # SunOS /usr/etc/install
1798 # IRIX /sbin/install
1799 # AIX /bin/install
1800 # AmigaOS /C/install, which installs bootblocks on floppy discs
1801 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1802 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1803 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1804 # OS/2's system install, which has a completely different semantic
1805 # ./install, which can be erroneously created by make from ./install.sh.
1806 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1807 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1808 if test -z "$INSTALL"; then
1809 if test "${ac_cv_path_install+set}" = set; then
1810 echo $ECHO_N "(cached) $ECHO_C" >&6
1811 else
1812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1813 for as_dir in $PATH
1814 do
1815 IFS=$as_save_IFS
1816 test -z "$as_dir" && as_dir=.
1817 # Account for people who put trailing slashes in PATH elements.
1818 case $as_dir/ in
1819 ./ | .// | /cC/* | \
1820 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1821 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1822 /usr/ucb/* ) ;;
1823 *)
1824 # OSF1 and SCO ODT 3.0 have their own names for install.
1825 # Don't use installbsd from OSF since it installs stuff as root
1826 # by default.
1827 for ac_prog in ginstall scoinst install; do
1828 for ac_exec_ext in '' $ac_executable_extensions; do
1829 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1830 if test $ac_prog = install &&
1831 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1832 # AIX install. It has an incompatible calling convention.
1833 :
1834 elif test $ac_prog = install &&
1835 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1836 # program-specific install script used by HP pwplus--don't use.
1837 :
1838 else
1839 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1840 break 3
1841 fi
1842 fi
1843 done
1844 done
1845 ;;
1846 esac
1847 done
1848 IFS=$as_save_IFS
1849
1850
1851 fi
1852 if test "${ac_cv_path_install+set}" = set; then
1853 INSTALL=$ac_cv_path_install
1854 else
1855 # As a last resort, use the slow shell script. Don't cache a
1856 # value for INSTALL within a source directory, because that will
1857 # break other packages using the cache if that directory is
1858 # removed, or if the value is a relative name.
1859 INSTALL=$ac_install_sh
1860 fi
1861 fi
1862 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1863 echo "${ECHO_T}$INSTALL" >&6; }
1864
1865 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1866 # It thinks the first close brace ends the variable substitution.
1867 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1868
1869 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1870
1871 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1872
1873 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1874 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1875 # Just in case
1876 sleep 1
1877 echo timestamp > conftest.file
1878 # Do `set' in a subshell so we don't clobber the current shell's
1879 # arguments. Must try -L first in case configure is actually a
1880 # symlink; some systems play weird games with the mod time of symlinks
1881 # (eg FreeBSD returns the mod time of the symlink's containing
1882 # directory).
1883 if (
1884 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1885 if test "$*" = "X"; then
1886 # -L didn't work.
1887 set X `ls -t $srcdir/configure conftest.file`
1888 fi
1889 rm -f conftest.file
1890 if test "$*" != "X $srcdir/configure conftest.file" \
1891 && test "$*" != "X conftest.file $srcdir/configure"; then
1892
1893 # If neither matched, then we have a broken ls. This can happen
1894 # if, for instance, CONFIG_SHELL is bash and it inherits a
1895 # broken ls alias from the environment. This has actually
1896 # happened. Such a system could not be considered "sane".
1897 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1898 alias in your environment" >&5
1899 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1900 alias in your environment" >&2;}
1901 { (exit 1); exit 1; }; }
1902 fi
1903
1904 test "$2" = conftest.file
1905 )
1906 then
1907 # Ok.
1908 :
1909 else
1910 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1911 Check your system clock" >&5
1912 echo "$as_me: error: newly created file is older than distributed files!
1913 Check your system clock" >&2;}
1914 { (exit 1); exit 1; }; }
1915 fi
1916 { echo "$as_me:$LINENO: result: yes" >&5
1917 echo "${ECHO_T}yes" >&6; }
1918 test "$program_prefix" != NONE &&
1919 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1920 # Use a double $ so make ignores it.
1921 test "$program_suffix" != NONE &&
1922 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1923 # Double any \ or $. echo might interpret backslashes.
1924 # By default was `s,x,x', remove it if useless.
1925 cat <<\_ACEOF >conftest.sed
1926 s/[\\$]/&&/g;s/;s,x,x,$//
1927 _ACEOF
1928 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1929 rm -f conftest.sed
1930
1931 # expand $ac_aux_dir to an absolute path
1932 am_aux_dir=`cd $ac_aux_dir && pwd`
1933
1934 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1935 # Use eval to expand $SHELL
1936 if eval "$MISSING --run true"; then
1937 am_missing_run="$MISSING --run "
1938 else
1939 am_missing_run=
1940 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1941 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1942 fi
1943
1944 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1945 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1946 if test -z "$MKDIR_P"; then
1947 if test "${ac_cv_path_mkdir+set}" = set; then
1948 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 else
1950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1951 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1952 do
1953 IFS=$as_save_IFS
1954 test -z "$as_dir" && as_dir=.
1955 for ac_prog in mkdir gmkdir; do
1956 for ac_exec_ext in '' $ac_executable_extensions; do
1957 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1958 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1959 'mkdir (GNU coreutils) '* | \
1960 'mkdir (coreutils) '* | \
1961 'mkdir (fileutils) '4.1*)
1962 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1963 break 3;;
1964 esac
1965 done
1966 done
1967 done
1968 IFS=$as_save_IFS
1969
1970 fi
1971
1972 if test "${ac_cv_path_mkdir+set}" = set; then
1973 MKDIR_P="$ac_cv_path_mkdir -p"
1974 else
1975 # As a last resort, use the slow shell script. Don't cache a
1976 # value for MKDIR_P within a source directory, because that will
1977 # break other packages using the cache if that directory is
1978 # removed, or if the value is a relative name.
1979 test -d ./--version && rmdir ./--version
1980 MKDIR_P="$ac_install_sh -d"
1981 fi
1982 fi
1983 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1984 echo "${ECHO_T}$MKDIR_P" >&6; }
1985
1986 mkdir_p="$MKDIR_P"
1987 case $mkdir_p in
1988 [\\/$]* | ?:[\\/]*) ;;
1989 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1990 esac
1991
1992 for ac_prog in gawk mawk nawk awk
1993 do
1994 # Extract the first word of "$ac_prog", so it can be a program name with args.
1995 set dummy $ac_prog; ac_word=$2
1996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1998 if test "${ac_cv_prog_AWK+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 else
2001 if test -n "$AWK"; then
2002 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2003 else
2004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2005 for as_dir in $PATH
2006 do
2007 IFS=$as_save_IFS
2008 test -z "$as_dir" && as_dir=.
2009 for ac_exec_ext in '' $ac_executable_extensions; do
2010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2011 ac_cv_prog_AWK="$ac_prog"
2012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2013 break 2
2014 fi
2015 done
2016 done
2017 IFS=$as_save_IFS
2018
2019 fi
2020 fi
2021 AWK=$ac_cv_prog_AWK
2022 if test -n "$AWK"; then
2023 { echo "$as_me:$LINENO: result: $AWK" >&5
2024 echo "${ECHO_T}$AWK" >&6; }
2025 else
2026 { echo "$as_me:$LINENO: result: no" >&5
2027 echo "${ECHO_T}no" >&6; }
2028 fi
2029
2030
2031 test -n "$AWK" && break
2032 done
2033
2034 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2035 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2036 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2037 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2038 echo $ECHO_N "(cached) $ECHO_C" >&6
2039 else
2040 cat >conftest.make <<\_ACEOF
2041 SHELL = /bin/sh
2042 all:
2043 @echo '@@@%%%=$(MAKE)=@@@%%%'
2044 _ACEOF
2045 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2046 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2047 *@@@%%%=?*=@@@%%%*)
2048 eval ac_cv_prog_make_${ac_make}_set=yes;;
2049 *)
2050 eval ac_cv_prog_make_${ac_make}_set=no;;
2051 esac
2052 rm -f conftest.make
2053 fi
2054 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2055 { echo "$as_me:$LINENO: result: yes" >&5
2056 echo "${ECHO_T}yes" >&6; }
2057 SET_MAKE=
2058 else
2059 { echo "$as_me:$LINENO: result: no" >&5
2060 echo "${ECHO_T}no" >&6; }
2061 SET_MAKE="MAKE=${MAKE-make}"
2062 fi
2063
2064 rm -rf .tst 2>/dev/null
2065 mkdir .tst 2>/dev/null
2066 if test -d .tst; then
2067 am__leading_dot=.
2068 else
2069 am__leading_dot=_
2070 fi
2071 rmdir .tst 2>/dev/null
2072
2073 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2074 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2075 # is not polluted with repeated "-I."
2076 am__isrc=' -I$(srcdir)'
2077 # test to see if srcdir already configured
2078 if test -f $srcdir/config.status; then
2079 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2080 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2081 { (exit 1); exit 1; }; }
2082 fi
2083 fi
2084
2085 # test whether we have cygpath
2086 if test -z "$CYGPATH_W"; then
2087 if (cygpath --version) >/dev/null 2>/dev/null; then
2088 CYGPATH_W='cygpath -w'
2089 else
2090 CYGPATH_W=echo
2091 fi
2092 fi
2093
2094
2095 # Define the identity of the package.
2096 PACKAGE='xman'
2097 VERSION='1.0.3'
2098
2099
2100 cat >>confdefs.h <<_ACEOF
2101 #define PACKAGE "$PACKAGE"
2102 _ACEOF
2103
2104
2105 cat >>confdefs.h <<_ACEOF
2106 #define VERSION "$VERSION"
2107 _ACEOF
2108
2109 # Some tools Automake needs.
2110
2111 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2112
2113
2114 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2115
2116
2117 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2118
2119
2120 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2121
2122
2123 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2124
2125 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2126
2127 # Installed binaries are usually stripped using `strip' when the user
2128 # run `make install-strip'. However `strip' might not be the right
2129 # tool to use in cross-compilation environments, therefore Automake
2130 # will honor the `STRIP' environment variable to overrule this program.
2131 if test "$cross_compiling" != no; then
2132 if test -n "$ac_tool_prefix"; then
2133 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2134 set dummy ${ac_tool_prefix}strip; ac_word=$2
2135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2137 if test "${ac_cv_prog_STRIP+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2139 else
2140 if test -n "$STRIP"; then
2141 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2142 else
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 for as_dir in $PATH
2145 do
2146 IFS=$as_save_IFS
2147 test -z "$as_dir" && as_dir=.
2148 for ac_exec_ext in '' $ac_executable_extensions; do
2149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2150 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2152 break 2
2153 fi
2154 done
2155 done
2156 IFS=$as_save_IFS
2157
2158 fi
2159 fi
2160 STRIP=$ac_cv_prog_STRIP
2161 if test -n "$STRIP"; then
2162 { echo "$as_me:$LINENO: result: $STRIP" >&5
2163 echo "${ECHO_T}$STRIP" >&6; }
2164 else
2165 { echo "$as_me:$LINENO: result: no" >&5
2166 echo "${ECHO_T}no" >&6; }
2167 fi
2168
2169
2170 fi
2171 if test -z "$ac_cv_prog_STRIP"; then
2172 ac_ct_STRIP=$STRIP
2173 # Extract the first word of "strip", so it can be a program name with args.
2174 set dummy strip; ac_word=$2
2175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2177 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 else
2180 if test -n "$ac_ct_STRIP"; then
2181 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2182 else
2183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2184 for as_dir in $PATH
2185 do
2186 IFS=$as_save_IFS
2187 test -z "$as_dir" && as_dir=.
2188 for ac_exec_ext in '' $ac_executable_extensions; do
2189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2190 ac_cv_prog_ac_ct_STRIP="strip"
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 break 2
2193 fi
2194 done
2195 done
2196 IFS=$as_save_IFS
2197
2198 fi
2199 fi
2200 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2201 if test -n "$ac_ct_STRIP"; then
2202 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2203 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2204 else
2205 { echo "$as_me:$LINENO: result: no" >&5
2206 echo "${ECHO_T}no" >&6; }
2207 fi
2208
2209 if test "x$ac_ct_STRIP" = x; then
2210 STRIP=":"
2211 else
2212 case $cross_compiling:$ac_tool_warned in
2213 yes:)
2214 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2215 whose name does not start with the host triplet. If you think this
2216 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
2217 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2218 whose name does not start with the host triplet. If you think this
2219 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
2220 ac_tool_warned=yes ;;
2221 esac
2222 STRIP=$ac_ct_STRIP
2223 fi
2224 else
2225 STRIP="$ac_cv_prog_STRIP"
2226 fi
2227
2228 fi
2229 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2230
2231 # We need awk for the "check" target. The system "awk" is bad on
2232 # some platforms.
2233 # Always define AMTAR for backward compatibility.
2234
2235 AMTAR=${AMTAR-"${am_missing_run}tar"}
2236
2237 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2238
2239
2240
2241
2242
2243 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2244 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2245 # Check whether --enable-maintainer-mode was given.
2246 if test "${enable_maintainer_mode+set}" = set; then
2247 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2248 else
2249 USE_MAINTAINER_MODE=no
2250 fi
2251
2252 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2253 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2254 if test $USE_MAINTAINER_MODE = yes; then
2255 MAINTAINER_MODE_TRUE=
2256 MAINTAINER_MODE_FALSE='#'
2257 else
2258 MAINTAINER_MODE_TRUE='#'
2259 MAINTAINER_MODE_FALSE=
2260 fi
2261
2262 MAINT=$MAINTAINER_MODE_TRUE
2263
2264
2265
2266 ac_config_headers="$ac_config_headers config.h"
2267
2268
2269 ac_ext=c
2270 ac_cpp='$CPP $CPPFLAGS'
2271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2274 if test -n "$ac_tool_prefix"; then
2275 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2276 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2279 if test "${ac_cv_prog_CC+set}" = set; then
2280 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 else
2282 if test -n "$CC"; then
2283 ac_cv_prog_CC="$CC" # Let the user override the test.
2284 else
2285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286 for as_dir in $PATH
2287 do
2288 IFS=$as_save_IFS
2289 test -z "$as_dir" && as_dir=.
2290 for ac_exec_ext in '' $ac_executable_extensions; do
2291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2292 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 break 2
2295 fi
2296 done
2297 done
2298 IFS=$as_save_IFS
2299
2300 fi
2301 fi
2302 CC=$ac_cv_prog_CC
2303 if test -n "$CC"; then
2304 { echo "$as_me:$LINENO: result: $CC" >&5
2305 echo "${ECHO_T}$CC" >&6; }
2306 else
2307 { echo "$as_me:$LINENO: result: no" >&5
2308 echo "${ECHO_T}no" >&6; }
2309 fi
2310
2311
2312 fi
2313 if test -z "$ac_cv_prog_CC"; then
2314 ac_ct_CC=$CC
2315 # Extract the first word of "gcc", so it can be a program name with args.
2316 set dummy gcc; ac_word=$2
2317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2319 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2321 else
2322 if test -n "$ac_ct_CC"; then
2323 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2324 else
2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2326 for as_dir in $PATH
2327 do
2328 IFS=$as_save_IFS
2329 test -z "$as_dir" && as_dir=.
2330 for ac_exec_ext in '' $ac_executable_extensions; do
2331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2332 ac_cv_prog_ac_ct_CC="gcc"
2333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334 break 2
2335 fi
2336 done
2337 done
2338 IFS=$as_save_IFS
2339
2340 fi
2341 fi
2342 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2343 if test -n "$ac_ct_CC"; then
2344 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2345 echo "${ECHO_T}$ac_ct_CC" >&6; }
2346 else
2347 { echo "$as_me:$LINENO: result: no" >&5
2348 echo "${ECHO_T}no" >&6; }
2349 fi
2350
2351 if test "x$ac_ct_CC" = x; then
2352 CC=""
2353 else
2354 case $cross_compiling:$ac_tool_warned in
2355 yes:)
2356 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2357 whose name does not start with the host triplet. If you think this
2358 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
2359 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2360 whose name does not start with the host triplet. If you think this
2361 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
2362 ac_tool_warned=yes ;;
2363 esac
2364 CC=$ac_ct_CC
2365 fi
2366 else
2367 CC="$ac_cv_prog_CC"
2368 fi
2369
2370 if test -z "$CC"; then
2371 if test -n "$ac_tool_prefix"; then
2372 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2373 set dummy ${ac_tool_prefix}cc; ac_word=$2
2374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2376 if test "${ac_cv_prog_CC+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2378 else
2379 if test -n "$CC"; then
2380 ac_cv_prog_CC="$CC" # Let the user override the test.
2381 else
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 for as_dir in $PATH
2384 do
2385 IFS=$as_save_IFS
2386 test -z "$as_dir" && as_dir=.
2387 for ac_exec_ext in '' $ac_executable_extensions; do
2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389 ac_cv_prog_CC="${ac_tool_prefix}cc"
2390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2391 break 2
2392 fi
2393 done
2394 done
2395 IFS=$as_save_IFS
2396
2397 fi
2398 fi
2399 CC=$ac_cv_prog_CC
2400 if test -n "$CC"; then
2401 { echo "$as_me:$LINENO: result: $CC" >&5
2402 echo "${ECHO_T}$CC" >&6; }
2403 else
2404 { echo "$as_me:$LINENO: result: no" >&5
2405 echo "${ECHO_T}no" >&6; }
2406 fi
2407
2408
2409 fi
2410 fi
2411 if test -z "$CC"; then
2412 # Extract the first word of "cc", so it can be a program name with args.
2413 set dummy cc; ac_word=$2
2414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2416 if test "${ac_cv_prog_CC+set}" = set; then
2417 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 else
2419 if test -n "$CC"; then
2420 ac_cv_prog_CC="$CC" # Let the user override the test.
2421 else
2422 ac_prog_rejected=no
2423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2424 for as_dir in $PATH
2425 do
2426 IFS=$as_save_IFS
2427 test -z "$as_dir" && as_dir=.
2428 for ac_exec_ext in '' $ac_executable_extensions; do
2429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2430 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2431 ac_prog_rejected=yes
2432 continue
2433 fi
2434 ac_cv_prog_CC="cc"
2435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2436 break 2
2437 fi
2438 done
2439 done
2440 IFS=$as_save_IFS
2441
2442 if test $ac_prog_rejected = yes; then
2443 # We found a bogon in the path, so make sure we never use it.
2444 set dummy $ac_cv_prog_CC
2445 shift
2446 if test $# != 0; then
2447 # We chose a different compiler from the bogus one.
2448 # However, it has the same basename, so the bogon will be chosen
2449 # first if we set CC to just the basename; use the full file name.
2450 shift
2451 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2452 fi
2453 fi
2454 fi
2455 fi
2456 CC=$ac_cv_prog_CC
2457 if test -n "$CC"; then
2458 { echo "$as_me:$LINENO: result: $CC" >&5
2459 echo "${ECHO_T}$CC" >&6; }
2460 else
2461 { echo "$as_me:$LINENO: result: no" >&5
2462 echo "${ECHO_T}no" >&6; }
2463 fi
2464
2465
2466 fi
2467 if test -z "$CC"; then
2468 if test -n "$ac_tool_prefix"; then
2469 for ac_prog in cl.exe
2470 do
2471 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2472 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2475 if test "${ac_cv_prog_CC+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 else
2478 if test -n "$CC"; then
2479 ac_cv_prog_CC="$CC" # Let the user override the test.
2480 else
2481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2482 for as_dir in $PATH
2483 do
2484 IFS=$as_save_IFS
2485 test -z "$as_dir" && as_dir=.
2486 for ac_exec_ext in '' $ac_executable_extensions; do
2487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2488 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 break 2
2491 fi
2492 done
2493 done
2494 IFS=$as_save_IFS
2495
2496 fi
2497 fi
2498 CC=$ac_cv_prog_CC
2499 if test -n "$CC"; then
2500 { echo "$as_me:$LINENO: result: $CC" >&5
2501 echo "${ECHO_T}$CC" >&6; }
2502 else
2503 { echo "$as_me:$LINENO: result: no" >&5
2504 echo "${ECHO_T}no" >&6; }
2505 fi
2506
2507
2508 test -n "$CC" && break
2509 done
2510 fi
2511 if test -z "$CC"; then
2512 ac_ct_CC=$CC
2513 for ac_prog in cl.exe
2514 do
2515 # Extract the first word of "$ac_prog", so it can be a program name with args.
2516 set dummy $ac_prog; ac_word=$2
2517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2519 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2520 echo $ECHO_N "(cached) $ECHO_C" >&6
2521 else
2522 if test -n "$ac_ct_CC"; then
2523 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2524 else
2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526 for as_dir in $PATH
2527 do
2528 IFS=$as_save_IFS
2529 test -z "$as_dir" && as_dir=.
2530 for ac_exec_ext in '' $ac_executable_extensions; do
2531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532 ac_cv_prog_ac_ct_CC="$ac_prog"
2533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 break 2
2535 fi
2536 done
2537 done
2538 IFS=$as_save_IFS
2539
2540 fi
2541 fi
2542 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2543 if test -n "$ac_ct_CC"; then
2544 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2545 echo "${ECHO_T}$ac_ct_CC" >&6; }
2546 else
2547 { echo "$as_me:$LINENO: result: no" >&5
2548 echo "${ECHO_T}no" >&6; }
2549 fi
2550
2551
2552 test -n "$ac_ct_CC" && break
2553 done
2554
2555 if test "x$ac_ct_CC" = x; then
2556 CC=""
2557 else
2558 case $cross_compiling:$ac_tool_warned in
2559 yes:)
2560 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2561 whose name does not start with the host triplet. If you think this
2562 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
2563 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2564 whose name does not start with the host triplet. If you think this
2565 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
2566 ac_tool_warned=yes ;;
2567 esac
2568 CC=$ac_ct_CC
2569 fi
2570 fi
2571
2572 fi
2573
2574
2575 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2576 See \`config.log' for more details." >&5
2577 echo "$as_me: error: no acceptable C compiler found in \$PATH
2578 See \`config.log' for more details." >&2;}
2579 { (exit 1); exit 1; }; }
2580
2581 # Provide some information about the compiler.
2582 echo "$as_me:$LINENO: checking for C compiler version" >&5
2583 ac_compiler=`set X $ac_compile; echo $2`
2584 { (ac_try="$ac_compiler --version >&5"
2585 case "(($ac_try" in
2586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2587 *) ac_try_echo=$ac_try;;
2588 esac
2589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2590 (eval "$ac_compiler --version >&5") 2>&5
2591 ac_status=$?
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }
2594 { (ac_try="$ac_compiler -v >&5"
2595 case "(($ac_try" in
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2598 esac
2599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2600 (eval "$ac_compiler -v >&5") 2>&5
2601 ac_status=$?
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }
2604 { (ac_try="$ac_compiler -V >&5"
2605 case "(($ac_try" in
2606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2607 *) ac_try_echo=$ac_try;;
2608 esac
2609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2610 (eval "$ac_compiler -V >&5") 2>&5
2611 ac_status=$?
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }
2614
2615 cat >conftest.$ac_ext <<_ACEOF
2616 /* confdefs.h. */
2617 _ACEOF
2618 cat confdefs.h >>conftest.$ac_ext
2619 cat >>conftest.$ac_ext <<_ACEOF
2620 /* end confdefs.h. */
2621
2622 int
2623 main ()
2624 {
2625
2626 ;
2627 return 0;
2628 }
2629 _ACEOF
2630 ac_clean_files_save=$ac_clean_files
2631 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2632 # Try to create an executable without -o first, disregard a.out.
2633 # It will help us diagnose broken compilers, and finding out an intuition
2634 # of exeext.
2635 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2636 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2637 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2638 #
2639 # List of possible output files, starting from the most likely.
2640 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2641 # only as a last resort. b.out is created by i960 compilers.
2642 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2643 #
2644 # The IRIX 6 linker writes into existing files which may not be
2645 # executable, retaining their permissions. Remove them first so a
2646 # subsequent execution test works.
2647 ac_rmfiles=
2648 for ac_file in $ac_files
2649 do
2650 case $ac_file in
2651 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2652 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2653 esac
2654 done
2655 rm -f $ac_rmfiles
2656
2657 if { (ac_try="$ac_link_default"
2658 case "(($ac_try" in
2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660 *) ac_try_echo=$ac_try;;
2661 esac
2662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2663 (eval "$ac_link_default") 2>&5
2664 ac_status=$?
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); }; then
2667 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2668 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2669 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2670 # so that the user can short-circuit this test for compilers unknown to
2671 # Autoconf.
2672 for ac_file in $ac_files ''
2673 do
2674 test -f "$ac_file" || continue
2675 case $ac_file in
2676 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2677 ;;
2678 [ab].out )
2679 # We found the default executable, but exeext='' is most
2680 # certainly right.
2681 break;;
2682 *.* )
2683 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2684 then :; else
2685 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2686 fi
2687 # We set ac_cv_exeext here because the later test for it is not
2688 # safe: cross compilers may not add the suffix if given an `-o'
2689 # argument, so we may need to know it at that point already.
2690 # Even if this section looks crufty: it has the advantage of
2691 # actually working.
2692 break;;
2693 * )
2694 break;;
2695 esac
2696 done
2697 test "$ac_cv_exeext" = no && ac_cv_exeext=
2698
2699 else
2700 ac_file=''
2701 fi
2702
2703 { echo "$as_me:$LINENO: result: $ac_file" >&5
2704 echo "${ECHO_T}$ac_file" >&6; }
2705 if test -z "$ac_file"; then
2706 echo "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.$ac_ext >&5
2708
2709 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2710 See \`config.log' for more details." >&5
2711 echo "$as_me: error: C compiler cannot create executables
2712 See \`config.log' for more details." >&2;}
2713 { (exit 77); exit 77; }; }
2714 fi
2715
2716 ac_exeext=$ac_cv_exeext
2717
2718 # Check that the compiler produces executables we can run. If not, either
2719 # the compiler is broken, or we cross compile.
2720 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2721 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2722 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2723 # If not cross compiling, check that we can run a simple program.
2724 if test "$cross_compiling" != yes; then
2725 if { ac_try='./$ac_file'
2726 { (case "(($ac_try" in
2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2729 esac
2730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2731 (eval "$ac_try") 2>&5
2732 ac_status=$?
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); }; }; then
2735 cross_compiling=no
2736 else
2737 if test "$cross_compiling" = maybe; then
2738 cross_compiling=yes
2739 else
2740 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2741 If you meant to cross compile, use \`--host'.
2742 See \`config.log' for more details." >&5
2743 echo "$as_me: error: cannot run C compiled programs.
2744 If you meant to cross compile, use \`--host'.
2745 See \`config.log' for more details." >&2;}
2746 { (exit 1); exit 1; }; }
2747 fi
2748 fi
2749 fi
2750 { echo "$as_me:$LINENO: result: yes" >&5
2751 echo "${ECHO_T}yes" >&6; }
2752
2753 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2754 ac_clean_files=$ac_clean_files_save
2755 # Check that the compiler produces executables we can run. If not, either
2756 # the compiler is broken, or we cross compile.
2757 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2758 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2759 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2760 echo "${ECHO_T}$cross_compiling" >&6; }
2761
2762 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2763 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2764 if { (ac_try="$ac_link"
2765 case "(($ac_try" in
2766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767 *) ac_try_echo=$ac_try;;
2768 esac
2769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2770 (eval "$ac_link") 2>&5
2771 ac_status=$?
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); }; then
2774 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2775 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2776 # work properly (i.e., refer to `conftest.exe'), while it won't with
2777 # `rm'.
2778 for ac_file in conftest.exe conftest conftest.*; do
2779 test -f "$ac_file" || continue
2780 case $ac_file in
2781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2782 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2783 break;;
2784 * ) break;;
2785 esac
2786 done
2787 else
2788 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2789 See \`config.log' for more details." >&5
2790 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2791 See \`config.log' for more details." >&2;}
2792 { (exit 1); exit 1; }; }
2793 fi
2794
2795 rm -f conftest$ac_cv_exeext
2796 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2797 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2798
2799 rm -f conftest.$ac_ext
2800 EXEEXT=$ac_cv_exeext
2801 ac_exeext=$EXEEXT
2802 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2803 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2804 if test "${ac_cv_objext+set}" = set; then
2805 echo $ECHO_N "(cached) $ECHO_C" >&6
2806 else
2807 cat >conftest.$ac_ext <<_ACEOF
2808 /* confdefs.h. */
2809 _ACEOF
2810 cat confdefs.h >>conftest.$ac_ext
2811 cat >>conftest.$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2813
2814 int
2815 main ()
2816 {
2817
2818 ;
2819 return 0;
2820 }
2821 _ACEOF
2822 rm -f conftest.o conftest.obj
2823 if { (ac_try="$ac_compile"
2824 case "(($ac_try" in
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2827 esac
2828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2829 (eval "$ac_compile") 2>&5
2830 ac_status=$?
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }; then
2833 for ac_file in conftest.o conftest.obj conftest.*; do
2834 test -f "$ac_file" || continue;
2835 case $ac_file in
2836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2837 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2838 break;;
2839 esac
2840 done
2841 else
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.$ac_ext >&5
2844
2845 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2846 See \`config.log' for more details." >&5
2847 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2848 See \`config.log' for more details." >&2;}
2849 { (exit 1); exit 1; }; }
2850 fi
2851
2852 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2853 fi
2854 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2855 echo "${ECHO_T}$ac_cv_objext" >&6; }
2856 OBJEXT=$ac_cv_objext
2857 ac_objext=$OBJEXT
2858 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2859 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2860 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2861 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 else
2863 cat >conftest.$ac_ext <<_ACEOF
2864 /* confdefs.h. */
2865 _ACEOF
2866 cat confdefs.h >>conftest.$ac_ext
2867 cat >>conftest.$ac_ext <<_ACEOF
2868 /* end confdefs.h. */
2869
2870 int
2871 main ()
2872 {
2873 #ifndef __GNUC__
2874 choke me
2875 #endif
2876
2877 ;
2878 return 0;
2879 }
2880 _ACEOF
2881 rm -f conftest.$ac_objext
2882 if { (ac_try="$ac_compile"
2883 case "(($ac_try" in
2884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2886 esac
2887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2888 (eval "$ac_compile") 2>conftest.er1
2889 ac_status=$?
2890 grep -v '^ *+' conftest.er1 >conftest.err
2891 rm -f conftest.er1
2892 cat conftest.err >&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); } && {
2895 test -z "$ac_c_werror_flag" ||
2896 test ! -s conftest.err
2897 } && test -s conftest.$ac_objext; then
2898 ac_compiler_gnu=yes
2899 else
2900 echo "$as_me: failed program was:" >&5
2901 sed 's/^/| /' conftest.$ac_ext >&5
2902
2903 ac_compiler_gnu=no
2904 fi
2905
2906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2907 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2908
2909 fi
2910 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2911 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2912 GCC=`test $ac_compiler_gnu = yes && echo yes`
2913 ac_test_CFLAGS=${CFLAGS+set}
2914 ac_save_CFLAGS=$CFLAGS
2915 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2916 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2917 if test "${ac_cv_prog_cc_g+set}" = set; then
2918 echo $ECHO_N "(cached) $ECHO_C" >&6
2919 else
2920 ac_save_c_werror_flag=$ac_c_werror_flag
2921 ac_c_werror_flag=yes
2922 ac_cv_prog_cc_g=no
2923 CFLAGS="-g"
2924 cat >conftest.$ac_ext <<_ACEOF
2925 /* confdefs.h. */
2926 _ACEOF
2927 cat confdefs.h >>conftest.$ac_ext
2928 cat >>conftest.$ac_ext <<_ACEOF
2929 /* end confdefs.h. */
2930
2931 int
2932 main ()
2933 {
2934
2935 ;
2936 return 0;
2937 }
2938 _ACEOF
2939 rm -f conftest.$ac_objext
2940 if { (ac_try="$ac_compile"
2941 case "(($ac_try" in
2942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943 *) ac_try_echo=$ac_try;;
2944 esac
2945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2946 (eval "$ac_compile") 2>conftest.er1
2947 ac_status=$?
2948 grep -v '^ *+' conftest.er1 >conftest.err
2949 rm -f conftest.er1
2950 cat conftest.err >&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); } && {
2953 test -z "$ac_c_werror_flag" ||
2954 test ! -s conftest.err
2955 } && test -s conftest.$ac_objext; then
2956 ac_cv_prog_cc_g=yes
2957 else
2958 echo "$as_me: failed program was:" >&5
2959 sed 's/^/| /' conftest.$ac_ext >&5
2960
2961 CFLAGS=""
2962 cat >conftest.$ac_ext <<_ACEOF
2963 /* confdefs.h. */
2964 _ACEOF
2965 cat confdefs.h >>conftest.$ac_ext
2966 cat >>conftest.$ac_ext <<_ACEOF
2967 /* end confdefs.h. */
2968
2969 int
2970 main ()
2971 {
2972
2973 ;
2974 return 0;
2975 }
2976 _ACEOF
2977 rm -f conftest.$ac_objext
2978 if { (ac_try="$ac_compile"
2979 case "(($ac_try" in
2980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2981 *) ac_try_echo=$ac_try;;
2982 esac
2983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2984 (eval "$ac_compile") 2>conftest.er1
2985 ac_status=$?
2986 grep -v '^ *+' conftest.er1 >conftest.err
2987 rm -f conftest.er1
2988 cat conftest.err >&5
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); } && {
2991 test -z "$ac_c_werror_flag" ||
2992 test ! -s conftest.err
2993 } && test -s conftest.$ac_objext; then
2994 :
2995 else
2996 echo "$as_me: failed program was:" >&5
2997 sed 's/^/| /' conftest.$ac_ext >&5
2998
2999 ac_c_werror_flag=$ac_save_c_werror_flag
3000 CFLAGS="-g"
3001 cat >conftest.$ac_ext <<_ACEOF
3002 /* confdefs.h. */
3003 _ACEOF
3004 cat confdefs.h >>conftest.$ac_ext
3005 cat >>conftest.$ac_ext <<_ACEOF
3006 /* end confdefs.h. */
3007
3008 int
3009 main ()
3010 {
3011
3012 ;
3013 return 0;
3014 }
3015 _ACEOF
3016 rm -f conftest.$ac_objext
3017 if { (ac_try="$ac_compile"
3018 case "(($ac_try" in
3019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020 *) ac_try_echo=$ac_try;;
3021 esac
3022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3023 (eval "$ac_compile") 2>conftest.er1
3024 ac_status=$?
3025 grep -v '^ *+' conftest.er1 >conftest.err
3026 rm -f conftest.er1
3027 cat conftest.err >&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); } && {
3030 test -z "$ac_c_werror_flag" ||
3031 test ! -s conftest.err
3032 } && test -s conftest.$ac_objext; then
3033 ac_cv_prog_cc_g=yes
3034 else
3035 echo "$as_me: failed program was:" >&5
3036 sed 's/^/| /' conftest.$ac_ext >&5
3037
3038
3039 fi
3040
3041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042 fi
3043
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3045 fi
3046
3047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3048 ac_c_werror_flag=$ac_save_c_werror_flag
3049 fi
3050 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3051 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3052 if test "$ac_test_CFLAGS" = set; then
3053 CFLAGS=$ac_save_CFLAGS
3054 elif test $ac_cv_prog_cc_g = yes; then
3055 if test "$GCC" = yes; then
3056 CFLAGS="-g -O2"
3057 else
3058 CFLAGS="-g"
3059 fi
3060 else
3061 if test "$GCC" = yes; then
3062 CFLAGS="-O2"
3063 else
3064 CFLAGS=
3065 fi
3066 fi
3067 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3068 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3069 if test "${ac_cv_prog_cc_c89+set}" = set; then
3070 echo $ECHO_N "(cached) $ECHO_C" >&6
3071 else
3072 ac_cv_prog_cc_c89=no
3073 ac_save_CC=$CC
3074 cat >conftest.$ac_ext <<_ACEOF
3075 /* confdefs.h. */
3076 _ACEOF
3077 cat confdefs.h >>conftest.$ac_ext
3078 cat >>conftest.$ac_ext <<_ACEOF
3079 /* end confdefs.h. */
3080 #include <stdarg.h>
3081 #include <stdio.h>
3082 #include <sys/types.h>
3083 #include <sys/stat.h>
3084 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3085 struct buf { int x; };
3086 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3087 static char *e (p, i)
3088 char **p;
3089 int i;
3090 {
3091 return p[i];
3092 }
3093 static char *f (char * (*g) (char **, int), char **p, ...)
3094 {
3095 char *s;
3096 va_list v;
3097 va_start (v,p);
3098 s = g (p, va_arg (v,int));
3099 va_end (v);
3100 return s;
3101 }
3102
3103 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3104 function prototypes and stuff, but not '\xHH' hex character constants.
3105 These don't provoke an error unfortunately, instead are silently treated
3106 as 'x'. The following induces an error, until -std is added to get
3107 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3108 array size at least. It's necessary to write '\x00'==0 to get something
3109 that's true only with -std. */
3110 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3111
3112 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3113 inside strings and character constants. */
3114 #define FOO(x) 'x'
3115 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3116
3117 int test (int i, double x);
3118 struct s1 {int (*f) (int a);};
3119 struct s2 {int (*f) (double a);};
3120 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3121 int argc;
3122 char **argv;
3123 int
3124 main ()
3125 {
3126 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3127 ;
3128 return 0;
3129 }
3130 _ACEOF
3131 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3132 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3133 do
3134 CC="$ac_save_CC $ac_arg"
3135 rm -f conftest.$ac_objext
3136 if { (ac_try="$ac_compile"
3137 case "(($ac_try" in
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3140 esac
3141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3142 (eval "$ac_compile") 2>conftest.er1
3143 ac_status=$?
3144 grep -v '^ *+' conftest.er1 >conftest.err
3145 rm -f conftest.er1
3146 cat conftest.err >&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } && {
3149 test -z "$ac_c_werror_flag" ||
3150 test ! -s conftest.err
3151 } && test -s conftest.$ac_objext; then
3152 ac_cv_prog_cc_c89=$ac_arg
3153 else
3154 echo "$as_me: failed program was:" >&5
3155 sed 's/^/| /' conftest.$ac_ext >&5
3156
3157
3158 fi
3159
3160 rm -f core conftest.err conftest.$ac_objext
3161 test "x$ac_cv_prog_cc_c89" != "xno" && break
3162 done
3163 rm -f conftest.$ac_ext
3164 CC=$ac_save_CC
3165
3166 fi
3167 # AC_CACHE_VAL
3168 case "x$ac_cv_prog_cc_c89" in
3169 x)
3170 { echo "$as_me:$LINENO: result: none needed" >&5
3171 echo "${ECHO_T}none needed" >&6; } ;;
3172 xno)
3173 { echo "$as_me:$LINENO: result: unsupported" >&5
3174 echo "${ECHO_T}unsupported" >&6; } ;;
3175 *)
3176 CC="$CC $ac_cv_prog_cc_c89"
3177 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3178 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3179 esac
3180
3181
3182 ac_ext=c
3183 ac_cpp='$CPP $CPPFLAGS'
3184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3187 DEPDIR="${am__leading_dot}deps"
3188
3189 ac_config_commands="$ac_config_commands depfiles"
3190
3191
3192 am_make=${MAKE-make}
3193 cat > confinc << 'END'
3194 am__doit:
3195 @echo done
3196 .PHONY: am__doit
3197 END
3198 # If we don't find an include directive, just comment out the code.
3199 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3200 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3201 am__include="#"
3202 am__quote=
3203 _am_result=none
3204 # First try GNU make style include.
3205 echo "include confinc" > confmf
3206 # We grep out `Entering directory' and `Leaving directory'
3207 # messages which can occur if `w' ends up in MAKEFLAGS.
3208 # In particular we don't look at `^make:' because GNU make might
3209 # be invoked under some other name (usually "gmake"), in which
3210 # case it prints its new name instead of `make'.
3211 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3212 am__include=include
3213 am__quote=
3214 _am_result=GNU
3215 fi
3216 # Now try BSD make style include.
3217 if test "$am__include" = "#"; then
3218 echo '.include "confinc"' > confmf
3219 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3220 am__include=.include
3221 am__quote="\""
3222 _am_result=BSD
3223 fi
3224 fi
3225
3226
3227 { echo "$as_me:$LINENO: result: $_am_result" >&5
3228 echo "${ECHO_T}$_am_result" >&6; }
3229 rm -f confinc confmf
3230
3231 # Check whether --enable-dependency-tracking was given.
3232 if test "${enable_dependency_tracking+set}" = set; then
3233 enableval=$enable_dependency_tracking;
3234 fi
3235
3236 if test "x$enable_dependency_tracking" != xno; then
3237 am_depcomp="$ac_aux_dir/depcomp"
3238 AMDEPBACKSLASH='\'
3239 fi
3240 if test "x$enable_dependency_tracking" != xno; then
3241 AMDEP_TRUE=
3242 AMDEP_FALSE='#'
3243 else
3244 AMDEP_TRUE='#'
3245 AMDEP_FALSE=
3246 fi
3247
3248
3249
3250 depcc="$CC" am_compiler_list=
3251
3252 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3253 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3254 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3255 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 else
3257 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3258 # We make a subdir and do the tests there. Otherwise we can end up
3259 # making bogus files that we don't know about and never remove. For
3260 # instance it was reported that on HP-UX the gcc test will end up
3261 # making a dummy file named `D' -- because `-MD' means `put the output
3262 # in D'.
3263 mkdir conftest.dir
3264 # Copy depcomp to subdir because otherwise we won't find it if we're
3265 # using a relative directory.
3266 cp "$am_depcomp" conftest.dir
3267 cd conftest.dir
3268 # We will build objects and dependencies in a subdirectory because
3269 # it helps to detect inapplicable dependency modes. For instance
3270 # both Tru64's cc and ICC support -MD to output dependencies as a
3271 # side effect of compilation, but ICC will put the dependencies in
3272 # the current directory while Tru64 will put them in the object
3273 # directory.
3274 mkdir sub
3275
3276 am_cv_CC_dependencies_compiler_type=none
3277 if test "$am_compiler_list" = ""; then
3278 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3279 fi
3280 for depmode in $am_compiler_list; do
3281 # Setup a source with many dependencies, because some compilers
3282 # like to wrap large dependency lists on column 80 (with \), and
3283 # we should not choose a depcomp mode which is confused by this.
3284 #
3285 # We need to recreate these files for each test, as the compiler may
3286 # overwrite some of them when testing with obscure command lines.
3287 # This happens at least with the AIX C compiler.
3288 : > sub/conftest.c
3289 for i in 1 2 3 4 5 6; do
3290 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3291 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3292 # Solaris 8's {/usr,}/bin/sh.
3293 touch sub/conftst$i.h
3294 done
3295 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3296
3297 case $depmode in
3298 nosideeffect)
3299 # after this tag, mechanisms are not by side-effect, so they'll
3300 # only be used when explicitly requested
3301 if test "x$enable_dependency_tracking" = xyes; then
3302 continue
3303 else
3304 break
3305 fi
3306 ;;
3307 none) break ;;
3308 esac
3309 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3310 # mode. It turns out that the SunPro C++ compiler does not properly
3311 # handle `-M -o', and we need to detect this.
3312 if depmode=$depmode \
3313 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3314 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3315 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3316 >/dev/null 2>conftest.err &&
3317 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3318 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3319 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3320 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3321 # icc doesn't choke on unknown options, it will just issue warnings
3322 # or remarks (even with -Werror). So we grep stderr for any message
3323 # that says an option was ignored or not supported.
3324 # When given -MP, icc 7.0 and 7.1 complain thusly:
3325 # icc: Command line warning: ignoring option '-M'; no argument required
3326 # The diagnosis changed in icc 8.0:
3327 # icc: Command line remark: option '-MP' not supported
3328 if (grep 'ignoring option' conftest.err ||
3329 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3330 am_cv_CC_dependencies_compiler_type=$depmode
3331 break
3332 fi
3333 fi
3334 done
3335
3336 cd ..
3337 rm -rf conftest.dir
3338 else
3339 am_cv_CC_dependencies_compiler_type=none
3340 fi
3341
3342 fi
3343 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3344 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3345 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3346
3347 if
3348 test "x$enable_dependency_tracking" != xno \
3349 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3350 am__fastdepCC_TRUE=
3351 am__fastdepCC_FALSE='#'
3352 else
3353 am__fastdepCC_TRUE='#'
3354 am__fastdepCC_FALSE=
3355 fi
3356
3357
3358 # Find a good install program. We prefer a C program (faster),
3359 # so one script is as good as another. But avoid the broken or
3360 # incompatible versions:
3361 # SysV /etc/install, /usr/sbin/install
3362 # SunOS /usr/etc/install
3363 # IRIX /sbin/install
3364 # AIX /bin/install
3365 # AmigaOS /C/install, which installs bootblocks on floppy discs
3366 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3367 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3368 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3369 # OS/2's system install, which has a completely different semantic
3370 # ./install, which can be erroneously created by make from ./install.sh.
3371 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3372 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3373 if test -z "$INSTALL"; then
3374 if test "${ac_cv_path_install+set}" = set; then
3375 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 else
3377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3378 for as_dir in $PATH
3379 do
3380 IFS=$as_save_IFS
3381 test -z "$as_dir" && as_dir=.
3382 # Account for people who put trailing slashes in PATH elements.
3383 case $as_dir/ in
3384 ./ | .// | /cC/* | \
3385 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3386 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3387 /usr/ucb/* ) ;;
3388 *)
3389 # OSF1 and SCO ODT 3.0 have their own names for install.
3390 # Don't use installbsd from OSF since it installs stuff as root
3391 # by default.
3392 for ac_prog in ginstall scoinst install; do
3393 for ac_exec_ext in '' $ac_executable_extensions; do
3394 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3395 if test $ac_prog = install &&
3396 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3397 # AIX install. It has an incompatible calling convention.
3398 :
3399 elif test $ac_prog = install &&
3400 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3401 # program-specific install script used by HP pwplus--don't use.
3402 :
3403 else
3404 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3405 break 3
3406 fi
3407 fi
3408 done
3409 done
3410 ;;
3411 esac
3412 done
3413 IFS=$as_save_IFS
3414
3415
3416 fi
3417 if test "${ac_cv_path_install+set}" = set; then
3418 INSTALL=$ac_cv_path_install
3419 else
3420 # As a last resort, use the slow shell script. Don't cache a
3421 # value for INSTALL within a source directory, because that will
3422 # break other packages using the cache if that directory is
3423 # removed, or if the value is a relative name.
3424 INSTALL=$ac_install_sh
3425 fi
3426 fi
3427 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3428 echo "${ECHO_T}$INSTALL" >&6; }
3429
3430 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3431 # It thinks the first close brace ends the variable substitution.
3432 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3433
3434 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3435
3436 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3437
3438 # Make sure we can run config.sub.
3439 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3440 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3441 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3442 { (exit 1); exit 1; }; }
3443
3444 { echo "$as_me:$LINENO: checking build system type" >&5
3445 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3446 if test "${ac_cv_build+set}" = set; then
3447 echo $ECHO_N "(cached) $ECHO_C" >&6
3448 else
3449 ac_build_alias=$build_alias
3450 test "x$ac_build_alias" = x &&
3451 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3452 test "x$ac_build_alias" = x &&
3453 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3454 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3455 { (exit 1); exit 1; }; }
3456 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3457 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3458 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3459 { (exit 1); exit 1; }; }
3460
3461 fi
3462 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3463 echo "${ECHO_T}$ac_cv_build" >&6; }
3464 case $ac_cv_build in
3465 *-*-*) ;;
3466 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3467 echo "$as_me: error: invalid value of canonical build" >&2;}
3468 { (exit 1); exit 1; }; };;
3469 esac
3470 build=$ac_cv_build
3471 ac_save_IFS=$IFS; IFS='-'
3472 set x $ac_cv_build
3473 shift
3474 build_cpu=$1
3475 build_vendor=$2
3476 shift; shift
3477 # Remember, the first character of IFS is used to create $*,
3478 # except with old shells:
3479 build_os=$*
3480 IFS=$ac_save_IFS
3481 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3482
3483
3484 { echo "$as_me:$LINENO: checking host system type" >&5
3485 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3486 if test "${ac_cv_host+set}" = set; then
3487 echo $ECHO_N "(cached) $ECHO_C" >&6
3488 else
3489 if test "x$host_alias" = x; then
3490 ac_cv_host=$ac_cv_build
3491 else
3492 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3493 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3494 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3495 { (exit 1); exit 1; }; }
3496 fi
3497
3498 fi
3499 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3500 echo "${ECHO_T}$ac_cv_host" >&6; }
3501 case $ac_cv_host in
3502 *-*-*) ;;
3503 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3504 echo "$as_me: error: invalid value of canonical host" >&2;}
3505 { (exit 1); exit 1; }; };;
3506 esac
3507 host=$ac_cv_host
3508 ac_save_IFS=$IFS; IFS='-'
3509 set x $ac_cv_host
3510 shift
3511 host_cpu=$1
3512 host_vendor=$2
3513 shift; shift
3514 # Remember, the first character of IFS is used to create $*,
3515 # except with old shells:
3516 host_os=$*
3517 IFS=$ac_save_IFS
3518 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3519
3520
3521
3522
3523 { echo "$as_me:$LINENO: checking for mkstemp" >&5
3524 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6; }
3525 if test "${ac_cv_func_mkstemp+set}" = set; then
3526 echo $ECHO_N "(cached) $ECHO_C" >&6
3527 else
3528 cat >conftest.$ac_ext <<_ACEOF
3529 /* confdefs.h. */
3530 _ACEOF
3531 cat confdefs.h >>conftest.$ac_ext
3532 cat >>conftest.$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3534 /* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
3535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3536 #define mkstemp innocuous_mkstemp
3537
3538 /* System header to define __stub macros and hopefully few prototypes,
3539 which can conflict with char mkstemp (); below.
3540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3541 <limits.h> exists even on freestanding compilers. */
3542
3543 #ifdef __STDC__
3544 # include <limits.h>
3545 #else
3546 # include <assert.h>
3547 #endif
3548
3549 #undef mkstemp
3550
3551 /* Override any GCC internal prototype to avoid an error.
3552 Use char because int might match the return type of a GCC
3553 builtin and then its argument prototype would still apply. */
3554 #ifdef __cplusplus
3555 extern "C"
3556 #endif
3557 char mkstemp ();
3558 /* The GNU C library defines this for functions which it implements
3559 to always fail with ENOSYS. Some functions are actually named
3560 something starting with __ and the normal name is an alias. */
3561 #if defined __stub_mkstemp || defined __stub___mkstemp
3562 choke me
3563 #endif
3564
3565 int
3566 main ()
3567 {
3568 return mkstemp ();
3569 ;
3570 return 0;
3571 }
3572 _ACEOF
3573 rm -f conftest.$ac_objext conftest$ac_exeext
3574 if { (ac_try="$ac_link"
3575 case "(($ac_try" in
3576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3577 *) ac_try_echo=$ac_try;;
3578 esac
3579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3580 (eval "$ac_link") 2>conftest.er1
3581 ac_status=$?
3582 grep -v '^ *+' conftest.er1 >conftest.err
3583 rm -f conftest.er1
3584 cat conftest.err >&5
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); } && {
3587 test -z "$ac_c_werror_flag" ||
3588 test ! -s conftest.err
3589 } && test -s conftest$ac_exeext &&
3590 $as_test_x conftest$ac_exeext; then
3591 ac_cv_func_mkstemp=yes
3592 else
3593 echo "$as_me: failed program was:" >&5
3594 sed 's/^/| /' conftest.$ac_ext >&5
3595
3596 ac_cv_func_mkstemp=no
3597 fi
3598
3599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3600 conftest$ac_exeext conftest.$ac_ext
3601 fi
3602 { echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
3603 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6; }
3604 if test $ac_cv_func_mkstemp = yes; then
3605
3606 cat >>confdefs.h <<\_ACEOF
3607 #define HAS_MKSTEMP 1
3608 _ACEOF
3609
3610 fi
3611
3612
3613
3614 # Check whether --with-helpdir was given.
3615 if test "${with_helpdir+set}" = set; then
3616 withval=$with_helpdir; HELPDIR="$withval"
3617 else
3618 HELPDIR=${datadir}/X11
3619 fi
3620
3621
3622
3623
3624 # Check whether --with-sysmanpath was given.
3625 if test "${with_sysmanpath+set}" = set; then
3626 withval=$with_sysmanpath; SYSMANPATH="$withval"
3627 fi
3628
3629 if test x$SYSMANPATH != x; then
3630
3631 cat >>confdefs.h <<_ACEOF
3632 #define SYSMANPATH "$SYSMANPATH"
3633 _ACEOF
3634
3635 fi
3636
3637
3638 # Check whether --with-localmanpath was given.
3639 if test "${with_localmanpath+set}" = set; then
3640 withval=$with_localmanpath; LOCALMANPATH="$withval"
3641 fi
3642
3643 if test x$LOCALMANPATH != x; then
3644
3645 cat >>confdefs.h <<_ACEOF
3646 #define LOCALMANPATH "$LOCALMANPATH"
3647 _ACEOF
3648
3649 fi
3650
3651 # Checks for pkg-config packages
3652
3653
3654 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3655 if test -n "$ac_tool_prefix"; then
3656 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3657 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3660 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3662 else
3663 case $PKG_CONFIG in
3664 [\\/]* | ?:[\\/]*)
3665 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3666 ;;
3667 *)
3668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3669 for as_dir in $PATH
3670 do
3671 IFS=$as_save_IFS
3672 test -z "$as_dir" && as_dir=.
3673 for ac_exec_ext in '' $ac_executable_extensions; do
3674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3675 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3677 break 2
3678 fi
3679 done
3680 done
3681 IFS=$as_save_IFS
3682
3683 ;;
3684 esac
3685 fi
3686 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3687 if test -n "$PKG_CONFIG"; then
3688 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3689 echo "${ECHO_T}$PKG_CONFIG" >&6; }
3690 else
3691 { echo "$as_me:$LINENO: result: no" >&5
3692 echo "${ECHO_T}no" >&6; }
3693 fi
3694
3695
3696 fi
3697 if test -z "$ac_cv_path_PKG_CONFIG"; then
3698 ac_pt_PKG_CONFIG=$PKG_CONFIG
3699 # Extract the first word of "pkg-config", so it can be a program name with args.
3700 set dummy pkg-config; ac_word=$2
3701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3703 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3705 else
3706 case $ac_pt_PKG_CONFIG in
3707 [\\/]* | ?:[\\/]*)
3708 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3709 ;;
3710 *)
3711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712 for as_dir in $PATH
3713 do
3714 IFS=$as_save_IFS
3715 test -z "$as_dir" && as_dir=.
3716 for ac_exec_ext in '' $ac_executable_extensions; do
3717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3718 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3720 break 2
3721 fi
3722 done
3723 done
3724 IFS=$as_save_IFS
3725
3726 ;;
3727 esac
3728 fi
3729 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3730 if test -n "$ac_pt_PKG_CONFIG"; then
3731 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3732 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3733 else
3734 { echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6; }
3736 fi
3737
3738 if test "x$ac_pt_PKG_CONFIG" = x; then
3739 PKG_CONFIG=""
3740 else
3741 case $cross_compiling:$ac_tool_warned in
3742 yes:)
3743 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3744 whose name does not start with the host triplet. If you think this
3745 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
3746 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3747 whose name does not start with the host triplet. If you think this
3748 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
3749 ac_tool_warned=yes ;;
3750 esac
3751 PKG_CONFIG=$ac_pt_PKG_CONFIG
3752 fi
3753 else
3754 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3755 fi
3756
3757 fi
3758 if test -n "$PKG_CONFIG"; then
3759 _pkg_min_version=0.9.0
3760 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3761 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3762 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3763 { echo "$as_me:$LINENO: result: yes" >&5
3764 echo "${ECHO_T}yes" >&6; }
3765 else
3766 { echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6; }
3768 PKG_CONFIG=""
3769 fi
3770
3771 fi
3772
3773 # Check whether --enable-xprint was given.
3774 if test "${enable_xprint+set}" = set; then
3775 enableval=$enable_xprint; use_xprint=$enableval
3776 else
3777 use_xprint=auto
3778 fi
3779
3780 if test "x$use_xprint" = "xyes"; then
3781 TMP_CHECK1=xaw8
3782 TMP_CHECK2=
3783 xaw_use_xprint=yes
3784 elif test "x$use_xprint" = "xno"; then
3785 TMP_CHECK1=xaw7
3786 TMP_CHECK2=
3787 xaw_use_xprint=no
3788 else
3789 TMP_CHECK1=xaw8
3790 TMP_CHECK2=xaw7
3791 xaw_use_xprint=yes
3792 fi
3793
3794
3795 pkg_failed=no
3796 { echo "$as_me:$LINENO: checking for TMP_XAW" >&5
3797 echo $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6; }
3798
3799 if test -n "$PKG_CONFIG"; then
3800 if test -n "$TMP_XAW_CFLAGS"; then
3801 pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS"
3802 else
3803 if test -n "$PKG_CONFIG" && \
3804 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
3805 ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
3806 ac_status=$?
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); }; then
3809 pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK1" 2>/dev/null`
3810 else
3811 pkg_failed=yes
3812 fi
3813 fi
3814 else
3815 pkg_failed=untried
3816 fi
3817 if test -n "$PKG_CONFIG"; then
3818 if test -n "$TMP_XAW_LIBS"; then
3819 pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS"
3820 else
3821 if test -n "$PKG_CONFIG" && \
3822 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
3823 ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
3824 ac_status=$?
3825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826 (exit $ac_status); }; then
3827 pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK1" 2>/dev/null`
3828 else
3829 pkg_failed=yes
3830 fi
3831 fi
3832 else
3833 pkg_failed=untried
3834 fi
3835
3836
3837
3838 if test $pkg_failed = yes; then
3839
3840 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3841 _pkg_short_errors_supported=yes
3842 else
3843 _pkg_short_errors_supported=no
3844 fi
3845 if test $_pkg_short_errors_supported = yes; then
3846 TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK1"`
3847 else
3848 TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK1"`
3849 fi
3850 # Put the nasty error message in config.log where it belongs
3851 echo "$TMP_XAW_PKG_ERRORS" >&5
3852
3853 { echo "$as_me:$LINENO: result: no" >&5
3854 echo "${ECHO_T}no" >&6; }
3855 success=no
3856 elif test $pkg_failed = untried; then
3857 success=no
3858 else
3859 TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
3860 TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
3861 { echo "$as_me:$LINENO: result: yes" >&5
3862 echo "${ECHO_T}yes" >&6; }
3863 success=yes
3864 fi
3865 if [ ! -z $TMP_CHECK2 ] ; then
3866 if test $success = no ; then
3867
3868 pkg_failed=no
3869 { echo "$as_me:$LINENO: checking for TMP_XAW" >&5
3870 echo $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6; }
3871
3872 if test -n "$PKG_CONFIG"; then
3873 if test -n "$TMP_XAW_CFLAGS"; then
3874 pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS"
3875 else
3876 if test -n "$PKG_CONFIG" && \
3877 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
3878 ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
3879 ac_status=$?
3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); }; then
3882 pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK2" 2>/dev/null`
3883 else
3884 pkg_failed=yes
3885 fi
3886 fi
3887 else
3888 pkg_failed=untried
3889 fi
3890 if test -n "$PKG_CONFIG"; then
3891 if test -n "$TMP_XAW_LIBS"; then
3892 pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS"
3893 else
3894 if test -n "$PKG_CONFIG" && \
3895 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
3896 ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
3897 ac_status=$?
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); }; then
3900 pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK2" 2>/dev/null`
3901 else
3902 pkg_failed=yes
3903 fi
3904 fi
3905 else
3906 pkg_failed=untried
3907 fi
3908
3909
3910
3911 if test $pkg_failed = yes; then
3912
3913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3914 _pkg_short_errors_supported=yes
3915 else
3916 _pkg_short_errors_supported=no
3917 fi
3918 if test $_pkg_short_errors_supported = yes; then
3919 TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK2"`
3920 else
3921 TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK2"`
3922 fi
3923 # Put the nasty error message in config.log where it belongs
3924 echo "$TMP_XAW_PKG_ERRORS" >&5
3925
3926 { echo "$as_me:$LINENO: result: no" >&5
3927 echo "${ECHO_T}no" >&6; }
3928 success=no
3929 elif test $pkg_failed = untried; then
3930 success=no
3931 else
3932 TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
3933 TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
3934 { echo "$as_me:$LINENO: result: yes" >&5
3935 echo "${ECHO_T}yes" >&6; }
3936 success=yes
3937 fi
3938 xaw_use_xprint=no
3939 fi
3940 fi
3941
3942 if test "x$success" = "xyes"; then
3943 XMAN_CFLAGS=$TMP_XAW_CFLAGS
3944 XMAN_LIBS=$TMP_XAW_LIBS
3945
3946 if test "x$xaw_use_xprint" = "xyes"; then
3947 XAW_USE_XPRINT_TRUE=
3948 XAW_USE_XPRINT_FALSE='#'
3949 else
3950 XAW_USE_XPRINT_TRUE='#'
3951 XAW_USE_XPRINT_FALSE=
3952 fi
3953
3954 else
3955 { { echo "$as_me:$LINENO: error: No suitable version of Xaw found" >&5
3956 echo "$as_me: error: No suitable version of Xaw found" >&2;}
3957 { (exit 1); exit 1; }; }
3958 fi
3959
3960
3961 # Check for man page config files
3962 { echo "$as_me:$LINENO: checking for /etc/man.conf" >&5
3963 echo $ECHO_N "checking for /etc/man.conf... $ECHO_C" >&6; }
3964 if test "${ac_cv_file__etc_man_conf+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 else
3967 test "$cross_compiling" = yes &&
3968 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3969 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3970 { (exit 1); exit 1; }; }
3971 if test -r "/etc/man.conf"; then
3972 ac_cv_file__etc_man_conf=yes
3973 else
3974 ac_cv_file__etc_man_conf=no
3975 fi
3976 fi
3977 { echo "$as_me:$LINENO: result: $ac_cv_file__etc_man_conf" >&5
3978 echo "${ECHO_T}$ac_cv_file__etc_man_conf" >&6; }
3979 if test $ac_cv_file__etc_man_conf = yes; then
3980 MANCONF="/etc/man.conf"
3981 else
3982 { echo "$as_me:$LINENO: checking for /etc/man.config" >&5
3983 echo $ECHO_N "checking for /etc/man.config... $ECHO_C" >&6; }
3984 if test "${ac_cv_file__etc_man_config+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 else
3987 test "$cross_compiling" = yes &&
3988 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
3989 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
3990 { (exit 1); exit 1; }; }
3991 if test -r "/etc/man.config"; then
3992 ac_cv_file__etc_man_config=yes
3993 else
3994 ac_cv_file__etc_man_config=no
3995 fi
3996 fi
3997 { echo "$as_me:$LINENO: result: $ac_cv_file__etc_man_config" >&5
3998 echo "${ECHO_T}$ac_cv_file__etc_man_config" >&6; }
3999 if test $ac_cv_file__etc_man_config = yes; then
4000 MANCONF="/etc/man.config"
4001 else
4002 { echo "$as_me:$LINENO: checking for /etc/manpath.config" >&5
4003 echo $ECHO_N "checking for /etc/manpath.config... $ECHO_C" >&6; }
4004 if test "${ac_cv_file__etc_manpath_config+set}" = set; then
4005 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 else
4007 test "$cross_compiling" = yes &&
4008 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
4009 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
4010 { (exit 1); exit 1; }; }
4011 if test -r "/etc/manpath.config"; then
4012 ac_cv_file__etc_manpath_config=yes
4013 else
4014 ac_cv_file__etc_manpath_config=no
4015 fi
4016 fi
4017 { echo "$as_me:$LINENO: result: $ac_cv_file__etc_manpath_config" >&5
4018 echo "${ECHO_T}$ac_cv_file__etc_manpath_config" >&6; }
4019 if test $ac_cv_file__etc_manpath_config = yes; then
4020 MANCONF="/etc/manpath.config"
4021 fi
4022
4023 fi
4024
4025 fi
4026
4027
4028 if test x$MANCONF != x ; then
4029
4030 cat >>confdefs.h <<_ACEOF
4031 #define MANCONF "$MANCONF"
4032 _ACEOF
4033
4034
4035 # Try to determine format of config file
4036 # would be better to somehow determine from the files themselves, but
4037 # we'll guess based on pathname and OS for now (mirrors old Imake tests)
4038 { echo "$as_me:$LINENO: checking man config file format" >&5
4039 echo $ECHO_N "checking man config file format... $ECHO_C" >&6; }
4040 if test x$MANCONF = x/etc/manpath.config ; then
4041 MAN_CONFIG_STYLE="FreeBSD"
4042 else
4043 case $host_os in
4044 *darwin* | *openbsd* | *netbsd* )
4045 MAN_CONFIG_STYLE="OpenBSD"
4046 ;;
4047 *linux* )
4048 MAN_CONFIG_STYLE="Linux"
4049 ;;
4050 *bsd* )
4051 MAN_CONFIG_STYLE="BSD"
4052 ;;
4053 *)
4054 ;;
4055 esac
4056 fi
4057 { echo "$as_me:$LINENO: result: $MAN_CONFIG_STYLE" >&5
4058 echo "${ECHO_T}$MAN_CONFIG_STYLE" >&6; }
4059
4060 case $MAN_CONFIG_STYLE in
4061 FreeBSD)
4062
4063 cat >>confdefs.h <<\_ACEOF
4064 #define MANCONFIGSTYLE_FreeBSD 1
4065 _ACEOF
4066
4067 ;;
4068 OpenBSD)
4069
4070 cat >>confdefs.h <<\_ACEOF
4071 #define MANCONFIGSTYLE_OpenBSD 1
4072 _ACEOF
4073
4074 ;;
4075 BSD)
4076
4077 cat >>confdefs.h <<\_ACEOF
4078 #define MANCONFIGSTYLE_BSD 1
4079 _ACEOF
4080
4081 ;;
4082 Linux)
4083
4084 cat >>confdefs.h <<\_ACEOF
4085 #define MANCONFIGSTYLE_Linux 1
4086 _ACEOF
4087
4088 ;;
4089 *)
4090 { { echo "$as_me:$LINENO: error: Could not determine man page file config format." >&5
4091 echo "$as_me: error: Could not determine man page file config format." >&2;}
4092 { (exit 1); exit 1; }; }
4093 esac
4094 fi
4095
4096 if test "x$xaw_use_xprint" = "xyes" ; then
4097
4098 pkg_failed=no
4099 { echo "$as_me:$LINENO: checking for XPRINT_UTIL" >&5
4100 echo $ECHO_N "checking for XPRINT_UTIL... $ECHO_C" >&6; }
4101
4102 if test -n "$PKG_CONFIG"; then
4103 if test -n "$XPRINT_UTIL_CFLAGS"; then
4104 pkg_cv_XPRINT_UTIL_CFLAGS="$XPRINT_UTIL_CFLAGS"
4105 else
4106 if test -n "$PKG_CONFIG" && \
4107 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xprintutil xp\"") >&5
4108 ($PKG_CONFIG --exists --print-errors "xprintutil xp") 2>&5
4109 ac_status=$?
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); }; then
4112 pkg_cv_XPRINT_UTIL_CFLAGS=`$PKG_CONFIG --cflags "xprintutil xp" 2>/dev/null`
4113 else
4114 pkg_failed=yes
4115 fi
4116 fi
4117 else
4118 pkg_failed=untried
4119 fi
4120 if test -n "$PKG_CONFIG"; then
4121 if test -n "$XPRINT_UTIL_LIBS"; then
4122 pkg_cv_XPRINT_UTIL_LIBS="$XPRINT_UTIL_LIBS"
4123 else
4124 if test -n "$PKG_CONFIG" && \
4125 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xprintutil xp\"") >&5
4126 ($PKG_CONFIG --exists --print-errors "xprintutil xp") 2>&5
4127 ac_status=$?
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); }; then
4130 pkg_cv_XPRINT_UTIL_LIBS=`$PKG_CONFIG --libs "xprintutil xp" 2>/dev/null`
4131 else
4132 pkg_failed=yes
4133 fi
4134 fi
4135 else
4136 pkg_failed=untried
4137 fi
4138
4139
4140
4141 if test $pkg_failed = yes; then
4142
4143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4144 _pkg_short_errors_supported=yes
4145 else
4146 _pkg_short_errors_supported=no
4147 fi
4148 if test $_pkg_short_errors_supported = yes; then
4149 XPRINT_UTIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xprintutil xp"`
4150 else
4151 XPRINT_UTIL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xprintutil xp"`
4152 fi
4153 # Put the nasty error message in config.log where it belongs
4154 echo "$XPRINT_UTIL_PKG_ERRORS" >&5
4155
4156 { { echo "$as_me:$LINENO: error: Package requirements (xprintutil xp) were not met:
4157
4158 $XPRINT_UTIL_PKG_ERRORS
4159
4160 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4161 installed software in a non-standard prefix.
4162
4163 Alternatively, you may set the environment variables XPRINT_UTIL_CFLAGS
4164 and XPRINT_UTIL_LIBS to avoid the need to call pkg-config.
4165 See the pkg-config man page for more details.
4166 " >&5
4167 echo "$as_me: error: Package requirements (xprintutil xp) were not met:
4168
4169 $XPRINT_UTIL_PKG_ERRORS
4170
4171 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4172 installed software in a non-standard prefix.
4173
4174 Alternatively, you may set the environment variables XPRINT_UTIL_CFLAGS
4175 and XPRINT_UTIL_LIBS to avoid the need to call pkg-config.
4176 See the pkg-config man page for more details.
4177 " >&2;}
4178 { (exit 1); exit 1; }; }
4179 elif test $pkg_failed = untried; then
4180 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4181 is in your PATH or set the PKG_CONFIG environment variable to the full
4182 path to pkg-config.
4183
4184 Alternatively, you may set the environment variables XPRINT_UTIL_CFLAGS
4185 and XPRINT_UTIL_LIBS to avoid the need to call pkg-config.
4186 See the pkg-config man page for more details.
4187
4188 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
4189 See \`config.log' for more details." >&5
4190 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4191 is in your PATH or set the PKG_CONFIG environment variable to the full
4192 path to pkg-config.
4193
4194 Alternatively, you may set the environment variables XPRINT_UTIL_CFLAGS
4195 and XPRINT_UTIL_LIBS to avoid the need to call pkg-config.
4196 See the pkg-config man page for more details.
4197
4198 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
4199 See \`config.log' for more details." >&2;}
4200 { (exit 1); exit 1; }; }
4201 else
4202 XPRINT_UTIL_CFLAGS=$pkg_cv_XPRINT_UTIL_CFLAGS
4203 XPRINT_UTIL_LIBS=$pkg_cv_XPRINT_UTIL_LIBS
4204 { echo "$as_me:$LINENO: result: yes" >&5
4205 echo "${ECHO_T}yes" >&6; }
4206 :
4207 fi
4208
4209 XMAN_CFLAGS="$XMAN_CFLAGS $XPRINT_UTIL_CFLAGS"
4210 XMAN_LIBS="$XMAN_LIBS $XPRINT_UTIL_LIBS"
4211 fi
4212
4213
4214
4215
4216
4217 pkg_failed=no
4218 { echo "$as_me:$LINENO: checking for APPDEFS" >&5
4219 echo $ECHO_N "checking for APPDEFS... $ECHO_C" >&6; }
4220
4221 if test -n "$PKG_CONFIG"; then
4222 if test -n "$APPDEFS_CFLAGS"; then
4223 pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
4224 else
4225 if test -n "$PKG_CONFIG" && \
4226 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
4227 ($PKG_CONFIG --exists --print-errors "xt") 2>&5
4228 ac_status=$?
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); }; then
4231 pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
4232 else
4233 pkg_failed=yes
4234 fi
4235 fi
4236 else
4237 pkg_failed=untried
4238 fi
4239 if test -n "$PKG_CONFIG"; then
4240 if test -n "$APPDEFS_LIBS"; then
4241 pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
4242 else
4243 if test -n "$PKG_CONFIG" && \
4244 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
4245 ($PKG_CONFIG --exists --print-errors "xt") 2>&5
4246 ac_status=$?
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); }; then
4249 pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
4250 else
4251 pkg_failed=yes
4252 fi
4253 fi
4254 else
4255 pkg_failed=untried
4256 fi
4257
4258
4259
4260 if test $pkg_failed = yes; then
4261
4262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4263 _pkg_short_errors_supported=yes
4264 else
4265 _pkg_short_errors_supported=no
4266 fi
4267 if test $_pkg_short_errors_supported = yes; then
4268 APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xt"`
4269 else
4270 APPDEFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt"`
4271 fi
4272 # Put the nasty error message in config.log where it belongs
4273 echo "$APPDEFS_PKG_ERRORS" >&5
4274
4275 { { echo "$as_me:$LINENO: error: Package requirements (xt) were not met:
4276
4277 $APPDEFS_PKG_ERRORS
4278
4279 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4280 installed software in a non-standard prefix.
4281
4282 Alternatively, you may set the environment variables APPDEFS_CFLAGS
4283 and APPDEFS_LIBS to avoid the need to call pkg-config.
4284 See the pkg-config man page for more details.
4285 " >&5
4286 echo "$as_me: error: Package requirements (xt) were not met:
4287
4288 $APPDEFS_PKG_ERRORS
4289
4290 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4291 installed software in a non-standard prefix.
4292
4293 Alternatively, you may set the environment variables APPDEFS_CFLAGS
4294 and APPDEFS_LIBS to avoid the need to call pkg-config.
4295 See the pkg-config man page for more details.
4296 " >&2;}
4297 { (exit 1); exit 1; }; }
4298 elif test $pkg_failed = untried; then
4299 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4300 is in your PATH or set the PKG_CONFIG environment variable to the full
4301 path to pkg-config.
4302
4303 Alternatively, you may set the environment variables APPDEFS_CFLAGS
4304 and APPDEFS_LIBS to avoid the need to call pkg-config.
4305 See the pkg-config man page for more details.
4306
4307 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
4308 See \`config.log' for more details." >&5
4309 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4310 is in your PATH or set the PKG_CONFIG environment variable to the full
4311 path to pkg-config.
4312
4313 Alternatively, you may set the environment variables APPDEFS_CFLAGS
4314 and APPDEFS_LIBS to avoid the need to call pkg-config.
4315 See the pkg-config man page for more details.
4316
4317 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
4318 See \`config.log' for more details." >&2;}
4319 { (exit 1); exit 1; }; }
4320 else
4321 APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
4322 APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
4323 { echo "$as_me:$LINENO: result: yes" >&5
4324 echo "${ECHO_T}yes" >&6; }
4325 :
4326 fi
4327 appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
4328
4329
4330
4331
4332
4333 if test x$APP_MAN_SUFFIX = x ; then
4334 APP_MAN_SUFFIX=1
4335 fi
4336 if test x$APP_MAN_DIR = x ; then
4337 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4338 fi
4339
4340 if test x$LIB_MAN_SUFFIX = x ; then
4341 LIB_MAN_SUFFIX=3
4342 fi
4343 if test x$LIB_MAN_DIR = x ; then
4344 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4345 fi
4346
4347 if test x$FILE_MAN_SUFFIX = x ; then
4348 case $host_os in
4349 solaris*) FILE_MAN_SUFFIX=4 ;;
4350 *) FILE_MAN_SUFFIX=5 ;;
4351 esac
4352 fi
4353 if test x$FILE_MAN_DIR = x ; then
4354 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4355 fi
4356
4357 if test x$MISC_MAN_SUFFIX = x ; then
4358 case $host_os in
4359 solaris*) MISC_MAN_SUFFIX=5 ;;
4360 *) MISC_MAN_SUFFIX=7 ;;
4361 esac
4362 fi
4363 if test x$MISC_MAN_DIR = x ; then
4364 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4365 fi
4366
4367 if test x$DRIVER_MAN_SUFFIX = x ; then
4368 case $host_os in
4369 solaris*) DRIVER_MAN_SUFFIX=7 ;;
4370 *) DRIVER_MAN_SUFFIX=4 ;;
4371 esac
4372 fi
4373 if test x$DRIVER_MAN_DIR = x ; then
4374 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4375 fi
4376
4377 if test x$ADMIN_MAN_SUFFIX = x ; then
4378 case $host_os in
4379 solaris*) ADMIN_MAN_SUFFIX=1m ;;
4380 *) ADMIN_MAN_SUFFIX=8 ;;
4381 esac
4382 fi
4383 if test x$ADMIN_MAN_DIR = x ; then
4384 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4385 fi
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403 # Check whether --with-release-version was given.
4404 if test "${with_release_version+set}" = set; then
4405 withval=$with_release_version; RELEASE_VERSION="$withval"
4406 else
4407 RELEASE_VERSION=""
4408 fi
4409
4410 if test "x$RELEASE_VERSION" != "x"; then
4411 PACKAGE="$PACKAGE-$RELEASE_VERSION"
4412 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4413 { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
4414 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4415 fi
4416
4417 cat >>confdefs.h <<_ACEOF
4418 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4419 _ACEOF
4420
4421 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2`
4422 if test "x$PVM" = "x"; then
4423 PVM="0"
4424 fi
4425
4426 cat >>confdefs.h <<_ACEOF
4427 #define PACKAGE_VERSION_MINOR $PVM
4428 _ACEOF
4429
4430 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3`
4431 if test "x$PVP" = "x"; then
4432 PVP="0"
4433 fi
4434
4435 cat >>confdefs.h <<_ACEOF
4436 #define PACKAGE_VERSION_PATCHLEVEL $PVP
4437 _ACEOF
4438
4439
4440
4441 ac_config_files="$ac_config_files Makefile"
4442
4443 cat >confcache <<\_ACEOF
4444 # This file is a shell script that caches the results of configure
4445 # tests run on this system so they can be shared between configure
4446 # scripts and configure runs, see configure's option --config-cache.
4447 # It is not useful on other systems. If it contains results you don't
4448 # want to keep, you may remove or edit it.
4449 #
4450 # config.status only pays attention to the cache file if you give it
4451 # the --recheck option to rerun configure.
4452 #
4453 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4454 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4455 # following values.
4456
4457 _ACEOF
4458
4459 # The following way of writing the cache mishandles newlines in values,
4460 # but we know of no workaround that is simple, portable, and efficient.
4461 # So, we kill variables containing newlines.
4462 # Ultrix sh set writes to stderr and can't be redirected directly,
4463 # and sets the high bit in the cache file unless we assign to the vars.
4464 (
4465 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4466 eval ac_val=\$$ac_var
4467 case $ac_val in #(
4468 *${as_nl}*)
4469 case $ac_var in #(
4470 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4471 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4472 esac
4473 case $ac_var in #(
4474 _ | IFS | as_nl) ;; #(
4475 *) $as_unset $ac_var ;;
4476 esac ;;
4477 esac
4478 done
4479
4480 (set) 2>&1 |
4481 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4482 *${as_nl}ac_space=\ *)
4483 # `set' does not quote correctly, so add quotes (double-quote
4484 # substitution turns \\\\ into \\, and sed turns \\ into \).
4485 sed -n \
4486 "s/'/'\\\\''/g;
4487 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4488 ;; #(
4489 *)
4490 # `set' quotes correctly as required by POSIX, so do not add quotes.
4491 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4492 ;;
4493 esac |
4494 sort
4495 ) |
4496 sed '
4497 /^ac_cv_env_/b end
4498 t clear
4499 :clear
4500 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4501 t end
4502 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4503 :end' >>confcache
4504 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4505 if test -w "$cache_file"; then
4506 test "x$cache_file" != "x/dev/null" &&
4507 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4508 echo "$as_me: updating cache $cache_file" >&6;}
4509 cat confcache >$cache_file
4510 else
4511 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4512 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4513 fi
4514 fi
4515 rm -f confcache
4516
4517 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4518 # Let make expand exec_prefix.
4519 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4520
4521 DEFS=-DHAVE_CONFIG_H
4522
4523 ac_libobjs=
4524 ac_ltlibobjs=
4525 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4526 # 1. Remove the extension, and $U if already installed.
4527 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4528 ac_i=`echo "$ac_i" | sed "$ac_script"`
4529 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4530 # will be set to the directory where LIBOBJS objects are built.
4531 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4532 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4533 done
4534 LIBOBJS=$ac_libobjs
4535
4536 LTLIBOBJS=$ac_ltlibobjs
4537
4538
4539 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4540 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4541 Usually this means the macro was only invoked conditionally." >&5
4542 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4543 Usually this means the macro was only invoked conditionally." >&2;}
4544 { (exit 1); exit 1; }; }
4545 fi
4546 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4547 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4548 Usually this means the macro was only invoked conditionally." >&5
4549 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4550 Usually this means the macro was only invoked conditionally." >&2;}
4551 { (exit 1); exit 1; }; }
4552 fi
4553 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4554 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4555 Usually this means the macro was only invoked conditionally." >&5
4556 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4557 Usually this means the macro was only invoked conditionally." >&2;}
4558 { (exit 1); exit 1; }; }
4559 fi
4560 if test -z "${XAW_USE_XPRINT_TRUE}" && test -z "${XAW_USE_XPRINT_FALSE}"; then
4561 { { echo "$as_me:$LINENO: error: conditional \"XAW_USE_XPRINT\" was never defined.
4562 Usually this means the macro was only invoked conditionally." >&5
4563 echo "$as_me: error: conditional \"XAW_USE_XPRINT\" was never defined.
4564 Usually this means the macro was only invoked conditionally." >&2;}
4565 { (exit 1); exit 1; }; }
4566 fi
4567
4568 : ${CONFIG_STATUS=./config.status}
4569 ac_clean_files_save=$ac_clean_files
4570 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4571 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4572 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4573 cat >$CONFIG_STATUS <<_ACEOF
4574 #! $SHELL
4575 # Generated by $as_me.
4576 # Run this file to recreate the current configuration.
4577 # Compiler output produced by configure, useful for debugging
4578 # configure, is in config.log if it exists.
4579
4580 debug=false
4581 ac_cs_recheck=false
4582 ac_cs_silent=false
4583 SHELL=\${CONFIG_SHELL-$SHELL}
4584 _ACEOF
4585
4586 cat >>$CONFIG_STATUS <<\_ACEOF
4587 ## --------------------- ##
4588 ## M4sh Initialization. ##
4589 ## --------------------- ##
4590
4591 # Be more Bourne compatible
4592 DUALCASE=1; export DUALCASE # for MKS sh
4593 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4594 emulate sh
4595 NULLCMD=:
4596 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4597 # is contrary to our usage. Disable this feature.
4598 alias -g '${1+"$@"}'='"$@"'
4599 setopt NO_GLOB_SUBST
4600 else
4601 case `(set -o) 2>/dev/null` in
4602 *posix*) set -o posix ;;
4603 esac
4604
4605 fi
4606
4607
4608
4609
4610 # PATH needs CR
4611 # Avoid depending upon Character Ranges.
4612 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4613 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4614 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4615 as_cr_digits='0123456789'
4616 as_cr_alnum=$as_cr_Letters$as_cr_digits
4617
4618 # The user is always right.
4619 if test "${PATH_SEPARATOR+set}" != set; then
4620 echo "#! /bin/sh" >conf$$.sh
4621 echo "exit 0" >>conf$$.sh
4622 chmod +x conf$$.sh
4623 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4624 PATH_SEPARATOR=';'
4625 else
4626 PATH_SEPARATOR=:
4627 fi
4628 rm -f conf$$.sh
4629 fi
4630
4631 # Support unset when possible.
4632 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4633 as_unset=unset
4634 else
4635 as_unset=false
4636 fi
4637
4638
4639 # IFS
4640 # We need space, tab and new line, in precisely that order. Quoting is
4641 # there to prevent editors from complaining about space-tab.
4642 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4643 # splitting by setting IFS to empty value.)
4644 as_nl='
4645 '
4646 IFS=" "" $as_nl"
4647
4648 # Find who we are. Look in the path if we contain no directory separator.
4649 case $0 in
4650 *[\\/]* ) as_myself=$0 ;;
4651 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652 for as_dir in $PATH
4653 do
4654 IFS=$as_save_IFS
4655 test -z "$as_dir" && as_dir=.
4656 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4657 done
4658 IFS=$as_save_IFS
4659
4660 ;;
4661 esac
4662 # We did not find ourselves, most probably we were run as `sh COMMAND'
4663 # in which case we are not to be found in the path.
4664 if test "x$as_myself" = x; then
4665 as_myself=$0
4666 fi
4667 if test ! -f "$as_myself"; then
4668 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4669 { (exit 1); exit 1; }
4670 fi
4671
4672 # Work around bugs in pre-3.0 UWIN ksh.
4673 for as_var in ENV MAIL MAILPATH
4674 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4675 done
4676 PS1='$ '
4677 PS2='> '
4678 PS4='+ '
4679
4680 # NLS nuisances.
4681 for as_var in \
4682 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4683 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4684 LC_TELEPHONE LC_TIME
4685 do
4686 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4687 eval $as_var=C; export $as_var
4688 else
4689 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4690 fi
4691 done
4692
4693 # Required to use basename.
4694 if expr a : '\(a\)' >/dev/null 2>&1 &&
4695 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4696 as_expr=expr
4697 else
4698 as_expr=false
4699 fi
4700
4701 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4702 as_basename=basename
4703 else
4704 as_basename=false
4705 fi
4706
4707
4708 # Name of the executable.
4709 as_me=`$as_basename -- "$0" ||
4710 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4711 X"$0" : 'X\(//\)$' \| \
4712 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4713 echo X/"$0" |
4714 sed '/^.*\/\([^/][^/]*\)\/*$/{
4715 s//\1/
4716 q
4717 }
4718 /^X\/\(\/\/\)$/{
4719 s//\1/
4720 q
4721 }
4722 /^X\/\(\/\).*/{
4723 s//\1/
4724 q
4725 }
4726 s/.*/./; q'`
4727
4728 # CDPATH.
4729 $as_unset CDPATH
4730
4731
4732
4733 as_lineno_1=$LINENO
4734 as_lineno_2=$LINENO
4735 test "x$as_lineno_1" != "x$as_lineno_2" &&
4736 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4737
4738 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4739 # uniformly replaced by the line number. The first 'sed' inserts a
4740 # line-number line after each line using $LINENO; the second 'sed'
4741 # does the real work. The second script uses 'N' to pair each
4742 # line-number line with the line containing $LINENO, and appends
4743 # trailing '-' during substitution so that $LINENO is not a special
4744 # case at line end.
4745 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4746 # scripts with optimization help from Paolo Bonzini. Blame Lee
4747 # E. McMahon (1931-1989) for sed's syntax. :-)
4748 sed -n '
4749 p
4750 /[$]LINENO/=
4751 ' <$as_myself |
4752 sed '
4753 s/[$]LINENO.*/&-/
4754 t lineno
4755 b
4756 :lineno
4757 N
4758 :loop
4759 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4760 t loop
4761 s/-\n.*//
4762 ' >$as_me.lineno &&
4763 chmod +x "$as_me.lineno" ||
4764 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4765 { (exit 1); exit 1; }; }
4766
4767 # Don't try to exec as it changes $[0], causing all sort of problems
4768 # (the dirname of $[0] is not the place where we might find the
4769 # original and so on. Autoconf is especially sensitive to this).
4770 . "./$as_me.lineno"
4771 # Exit status is that of the last command.
4772 exit
4773 }
4774
4775
4776 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4777 as_dirname=dirname
4778 else
4779 as_dirname=false
4780 fi
4781
4782 ECHO_C= ECHO_N= ECHO_T=
4783 case `echo -n x` in
4784 -n*)
4785 case `echo 'x\c'` in
4786 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4787 *) ECHO_C='\c';;
4788 esac;;
4789 *)
4790 ECHO_N='-n';;
4791 esac
4792
4793 if expr a : '\(a\)' >/dev/null 2>&1 &&
4794 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4795 as_expr=expr
4796 else
4797 as_expr=false
4798 fi
4799
4800 rm -f conf$$ conf$$.exe conf$$.file
4801 if test -d conf$$.dir; then
4802 rm -f conf$$.dir/conf$$.file
4803 else
4804 rm -f conf$$.dir
4805 mkdir conf$$.dir
4806 fi
4807 echo >conf$$.file
4808 if ln -s conf$$.file conf$$ 2>/dev/null; then
4809 as_ln_s='ln -s'
4810 # ... but there are two gotchas:
4811 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4812 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4813 # In both cases, we have to default to `cp -p'.
4814 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4815 as_ln_s='cp -p'
4816 elif ln conf$$.file conf$$ 2>/dev/null; then
4817 as_ln_s=ln
4818 else
4819 as_ln_s='cp -p'
4820 fi
4821 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4822 rmdir conf$$.dir 2>/dev/null
4823
4824 if mkdir -p . 2>/dev/null; then
4825 as_mkdir_p=:
4826 else
4827 test -d ./-p && rmdir ./-p
4828 as_mkdir_p=false
4829 fi
4830
4831 if test -x / >/dev/null 2>&1; then
4832 as_test_x='test -x'
4833 else
4834 if ls -dL / >/dev/null 2>&1; then
4835 as_ls_L_option=L
4836 else
4837 as_ls_L_option=
4838 fi
4839 as_test_x='
4840 eval sh -c '\''
4841 if test -d "$1"; then
4842 test -d "$1/.";
4843 else
4844 case $1 in
4845 -*)set "./$1";;
4846 esac;
4847 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4848 ???[sx]*):;;*)false;;esac;fi
4849 '\'' sh
4850 '
4851 fi
4852 as_executable_p=$as_test_x
4853
4854 # Sed expression to map a string onto a valid CPP name.
4855 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4856
4857 # Sed expression to map a string onto a valid variable name.
4858 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4859
4860
4861 exec 6>&1
4862
4863 # Save the log message, to keep $[0] and so on meaningful, and to
4864 # report actual input values of CONFIG_FILES etc. instead of their
4865 # values after options handling.
4866 ac_log="
4867 This file was extended by xman $as_me 1.0.3, which was
4868 generated by GNU Autoconf 2.61. Invocation command line was
4869
4870 CONFIG_FILES = $CONFIG_FILES
4871 CONFIG_HEADERS = $CONFIG_HEADERS
4872 CONFIG_LINKS = $CONFIG_LINKS
4873 CONFIG_COMMANDS = $CONFIG_COMMANDS
4874 $ $0 $@
4875
4876 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4877 "
4878
4879 _ACEOF
4880
4881 cat >>$CONFIG_STATUS <<_ACEOF
4882 # Files that config.status was made for.
4883 config_files="$ac_config_files"
4884 config_headers="$ac_config_headers"
4885 config_commands="$ac_config_commands"
4886
4887 _ACEOF
4888
4889 cat >>$CONFIG_STATUS <<\_ACEOF
4890 ac_cs_usage="\
4891 \`$as_me' instantiates files from templates according to the
4892 current configuration.
4893
4894 Usage: $0 [OPTIONS] [FILE]...
4895
4896 -h, --help print this help, then exit
4897 -V, --version print version number and configuration settings, then exit
4898 -q, --quiet do not print progress messages
4899 -d, --debug don't remove temporary files
4900 --recheck update $as_me by reconfiguring in the same conditions
4901 --file=FILE[:TEMPLATE]
4902 instantiate the configuration file FILE
4903 --header=FILE[:TEMPLATE]
4904 instantiate the configuration header FILE
4905
4906 Configuration files:
4907 $config_files
4908
4909 Configuration headers:
4910 $config_headers
4911
4912 Configuration commands:
4913 $config_commands
4914
4915 Report bugs to <bug-autoconf (at] gnu.org>."
4916
4917 _ACEOF
4918 cat >>$CONFIG_STATUS <<_ACEOF
4919 ac_cs_version="\\
4920 xman config.status 1.0.3
4921 configured by $0, generated by GNU Autoconf 2.61,
4922 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4923
4924 Copyright (C) 2006 Free Software Foundation, Inc.
4925 This config.status script is free software; the Free Software Foundation
4926 gives unlimited permission to copy, distribute and modify it."
4927
4928 ac_pwd='$ac_pwd'
4929 srcdir='$srcdir'
4930 INSTALL='$INSTALL'
4931 MKDIR_P='$MKDIR_P'
4932 _ACEOF
4933
4934 cat >>$CONFIG_STATUS <<\_ACEOF
4935 # If no file are specified by the user, then we need to provide default
4936 # value. By we need to know if files were specified by the user.
4937 ac_need_defaults=:
4938 while test $# != 0
4939 do
4940 case $1 in
4941 --*=*)
4942 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4943 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4944 ac_shift=:
4945 ;;
4946 *)
4947 ac_option=$1
4948 ac_optarg=$2
4949 ac_shift=shift
4950 ;;
4951 esac
4952
4953 case $ac_option in
4954 # Handling of the options.
4955 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4956 ac_cs_recheck=: ;;
4957 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4958 echo "$ac_cs_version"; exit ;;
4959 --debug | --debu | --deb | --de | --d | -d )
4960 debug=: ;;
4961 --file | --fil | --fi | --f )
4962 $ac_shift
4963 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4964 ac_need_defaults=false;;
4965 --header | --heade | --head | --hea )
4966 $ac_shift
4967 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4968 ac_need_defaults=false;;
4969 --he | --h)
4970 # Conflict between --help and --header
4971 { echo "$as_me: error: ambiguous option: $1
4972 Try \`$0 --help' for more information." >&2
4973 { (exit 1); exit 1; }; };;
4974 --help | --hel | -h )
4975 echo "$ac_cs_usage"; exit ;;
4976 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4977 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4978 ac_cs_silent=: ;;
4979
4980 # This is an error.
4981 -*) { echo "$as_me: error: unrecognized option: $1
4982 Try \`$0 --help' for more information." >&2
4983 { (exit 1); exit 1; }; } ;;
4984
4985 *) ac_config_targets="$ac_config_targets $1"
4986 ac_need_defaults=false ;;
4987
4988 esac
4989 shift
4990 done
4991
4992 ac_configure_extra_args=
4993
4994 if $ac_cs_silent; then
4995 exec 6>/dev/null
4996 ac_configure_extra_args="$ac_configure_extra_args --silent"
4997 fi
4998
4999 _ACEOF
5000 cat >>$CONFIG_STATUS <<_ACEOF
5001 if \$ac_cs_recheck; then
5002 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5003 CONFIG_SHELL=$SHELL
5004 export CONFIG_SHELL
5005 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5006 fi
5007
5008 _ACEOF
5009 cat >>$CONFIG_STATUS <<\_ACEOF
5010 exec 5>>config.log
5011 {
5012 echo
5013 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5014 ## Running $as_me. ##
5015 _ASBOX
5016 echo "$ac_log"
5017 } >&5
5018
5019 _ACEOF
5020 cat >>$CONFIG_STATUS <<_ACEOF
5021 #
5022 # INIT-COMMANDS
5023 #
5024 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5025
5026 _ACEOF
5027
5028 cat >>$CONFIG_STATUS <<\_ACEOF
5029
5030 # Handling of arguments.
5031 for ac_config_target in $ac_config_targets
5032 do
5033 case $ac_config_target in
5034 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5035 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5036 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5037
5038 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5039 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5040 { (exit 1); exit 1; }; };;
5041 esac
5042 done
5043
5044
5045 # If the user did not use the arguments to specify the items to instantiate,
5046 # then the envvar interface is used. Set only those that are not.
5047 # We use the long form for the default assignment because of an extremely
5048 # bizarre bug on SunOS 4.1.3.
5049 if $ac_need_defaults; then
5050 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5051 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5052 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5053 fi
5054
5055 # Have a temporary directory for convenience. Make it in the build tree
5056 # simply because there is no reason against having it here, and in addition,
5057 # creating and moving files from /tmp can sometimes cause problems.
5058 # Hook for its removal unless debugging.
5059 # Note that there is a small window in which the directory will not be cleaned:
5060 # after its creation but before its name has been assigned to `$tmp'.
5061 $debug ||
5062 {
5063 tmp=
5064 trap 'exit_status=$?
5065 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5066 ' 0
5067 trap '{ (exit 1); exit 1; }' 1 2 13 15
5068 }
5069 # Create a (secure) tmp directory for tmp files.
5070
5071 {
5072 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5073 test -n "$tmp" && test -d "$tmp"
5074 } ||
5075 {
5076 tmp=./conf$$-$RANDOM
5077 (umask 077 && mkdir "$tmp")
5078 } ||
5079 {
5080 echo "$me: cannot create a temporary directory in ." >&2
5081 { (exit 1); exit 1; }
5082 }
5083
5084 #
5085 # Set up the sed scripts for CONFIG_FILES section.
5086 #
5087
5088 # No need to generate the scripts if there are no CONFIG_FILES.
5089 # This happens for instance when ./config.status config.h
5090 if test -n "$CONFIG_FILES"; then
5091
5092 _ACEOF
5093
5094
5095
5096 ac_delim='%!_!# '
5097 for ac_last_try in false false false false false :; do
5098 cat >conf$$subs.sed <<_ACEOF
5099 SHELL!$SHELL$ac_delim
5100 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5101 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5102 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5103 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5104 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5105 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5106 exec_prefix!$exec_prefix$ac_delim
5107 prefix!$prefix$ac_delim
5108 program_transform_name!$program_transform_name$ac_delim
5109 bindir!$bindir$ac_delim
5110 sbindir!$sbindir$ac_delim
5111 libexecdir!$libexecdir$ac_delim
5112 datarootdir!$datarootdir$ac_delim
5113 datadir!$datadir$ac_delim
5114 sysconfdir!$sysconfdir$ac_delim
5115 sharedstatedir!$sharedstatedir$ac_delim
5116 localstatedir!$localstatedir$ac_delim
5117 includedir!$includedir$ac_delim
5118 oldincludedir!$oldincludedir$ac_delim
5119 docdir!$docdir$ac_delim
5120 infodir!$infodir$ac_delim
5121 htmldir!$htmldir$ac_delim
5122 dvidir!$dvidir$ac_delim
5123 pdfdir!$pdfdir$ac_delim
5124 psdir!$psdir$ac_delim
5125 libdir!$libdir$ac_delim
5126 localedir!$localedir$ac_delim
5127 mandir!$mandir$ac_delim
5128 DEFS!$DEFS$ac_delim
5129 ECHO_C!$ECHO_C$ac_delim
5130 ECHO_N!$ECHO_N$ac_delim
5131 ECHO_T!$ECHO_T$ac_delim
5132 LIBS!$LIBS$ac_delim
5133 build_alias!$build_alias$ac_delim
5134 host_alias!$host_alias$ac_delim
5135 target_alias!$target_alias$ac_delim
5136 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5137 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5138 INSTALL_DATA!$INSTALL_DATA$ac_delim
5139 am__isrc!$am__isrc$ac_delim
5140 CYGPATH_W!$CYGPATH_W$ac_delim
5141 PACKAGE!$PACKAGE$ac_delim
5142 VERSION!$VERSION$ac_delim
5143 ACLOCAL!$ACLOCAL$ac_delim
5144 AUTOCONF!$AUTOCONF$ac_delim
5145 AUTOMAKE!$AUTOMAKE$ac_delim
5146 AUTOHEADER!$AUTOHEADER$ac_delim
5147 MAKEINFO!$MAKEINFO$ac_delim
5148 install_sh!$install_sh$ac_delim
5149 STRIP!$STRIP$ac_delim
5150 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5151 mkdir_p!$mkdir_p$ac_delim
5152 AWK!$AWK$ac_delim
5153 SET_MAKE!$SET_MAKE$ac_delim
5154 am__leading_dot!$am__leading_dot$ac_delim
5155 AMTAR!$AMTAR$ac_delim
5156 am__tar!$am__tar$ac_delim
5157 am__untar!$am__untar$ac_delim
5158 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
5159 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
5160 MAINT!$MAINT$ac_delim
5161 CC!$CC$ac_delim
5162 CFLAGS!$CFLAGS$ac_delim
5163 LDFLAGS!$LDFLAGS$ac_delim
5164 CPPFLAGS!$CPPFLAGS$ac_delim
5165 ac_ct_CC!$ac_ct_CC$ac_delim
5166 EXEEXT!$EXEEXT$ac_delim
5167 OBJEXT!$OBJEXT$ac_delim
5168 DEPDIR!$DEPDIR$ac_delim
5169 am__include!$am__include$ac_delim
5170 am__quote!$am__quote$ac_delim
5171 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5172 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5173 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5174 CCDEPMODE!$CCDEPMODE$ac_delim
5175 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5176 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5177 build!$build$ac_delim
5178 build_cpu!$build_cpu$ac_delim
5179 build_vendor!$build_vendor$ac_delim
5180 build_os!$build_os$ac_delim
5181 host!$host$ac_delim
5182 host_cpu!$host_cpu$ac_delim
5183 host_vendor!$host_vendor$ac_delim
5184 host_os!$host_os$ac_delim
5185 HELPDIR!$HELPDIR$ac_delim
5186 PKG_CONFIG!$PKG_CONFIG$ac_delim
5187 TMP_XAW_CFLAGS!$TMP_XAW_CFLAGS$ac_delim
5188 TMP_XAW_LIBS!$TMP_XAW_LIBS$ac_delim
5189 XAW_USE_XPRINT_TRUE!$XAW_USE_XPRINT_TRUE$ac_delim
5190 XAW_USE_XPRINT_FALSE!$XAW_USE_XPRINT_FALSE$ac_delim
5191 XPRINT_UTIL_CFLAGS!$XPRINT_UTIL_CFLAGS$ac_delim
5192 XPRINT_UTIL_LIBS!$XPRINT_UTIL_LIBS$ac_delim
5193 XMAN_CFLAGS!$XMAN_CFLAGS$ac_delim
5194 XMAN_LIBS!$XMAN_LIBS$ac_delim
5195 APPDEFS_CFLAGS!$APPDEFS_CFLAGS$ac_delim
5196 _ACEOF
5197
5198 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
5199 break
5200 elif $ac_last_try; then
5201 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5202 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5203 { (exit 1); exit 1; }; }
5204 else
5205 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5206 fi
5207 done
5208
5209 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5210 if test -n "$ac_eof"; then
5211 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5212 ac_eof=`expr $ac_eof + 1`
5213 fi
5214
5215 cat >>$CONFIG_STATUS <<_ACEOF
5216 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5217 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5218 _ACEOF
5219 sed '
5220 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5221 s/^/s,@/; s/!/@,|#_!!_#|/
5222 :n
5223 t n
5224 s/'"$ac_delim"'$/,g/; t
5225 s/$/\\/; p
5226 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5227 ' >>$CONFIG_STATUS <conf$$subs.sed
5228 rm -f conf$$subs.sed
5229 cat >>$CONFIG_STATUS <<_ACEOF
5230 CEOF$ac_eof
5231 _ACEOF
5232
5233
5234 ac_delim='%!_!# '
5235 for ac_last_try in false false false false false :; do
5236 cat >conf$$subs.sed <<_ACEOF
5237 APPDEFS_LIBS!$APPDEFS_LIBS$ac_delim
5238 appdefaultdir!$appdefaultdir$ac_delim
5239 APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
5240 LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
5241 FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
5242 MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
5243 DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
5244 ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
5245 APP_MAN_DIR!$APP_MAN_DIR$ac_delim
5246 LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
5247 FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
5248 MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
5249 DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
5250 ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
5251 LIBOBJS!$LIBOBJS$ac_delim
5252 LTLIBOBJS!$LTLIBOBJS$ac_delim
5253 _ACEOF
5254
5255 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 16; then
5256 break
5257 elif $ac_last_try; then
5258 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5259 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5260 { (exit 1); exit 1; }; }
5261 else
5262 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5263 fi
5264 done
5265
5266 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5267 if test -n "$ac_eof"; then
5268 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5269 ac_eof=`expr $ac_eof + 1`
5270 fi
5271
5272 cat >>$CONFIG_STATUS <<_ACEOF
5273 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
5274 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5275 _ACEOF
5276 sed '
5277 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5278 s/^/s,@/; s/!/@,|#_!!_#|/
5279 :n
5280 t n
5281 s/'"$ac_delim"'$/,g/; t
5282 s/$/\\/; p
5283 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5284 ' >>$CONFIG_STATUS <conf$$subs.sed
5285 rm -f conf$$subs.sed
5286 cat >>$CONFIG_STATUS <<_ACEOF
5287 :end
5288 s/|#_!!_#|//g
5289 CEOF$ac_eof
5290 _ACEOF
5291
5292
5293 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5294 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5295 # trailing colons and then remove the whole line if VPATH becomes empty
5296 # (actually we leave an empty line to preserve line numbers).
5297 if test "x$srcdir" = x.; then
5298 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5299 s/:*\$(srcdir):*/:/
5300 s/:*\${srcdir}:*/:/
5301 s/:*@srcdir@:*/:/
5302 s/^\([^=]*=[ ]*\):*/\1/
5303 s/:*$//
5304 s/^[^=]*=[ ]*$//
5305 }'
5306 fi
5307
5308 cat >>$CONFIG_STATUS <<\_ACEOF
5309 fi # test -n "$CONFIG_FILES"
5310
5311
5312 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
5313 do
5314 case $ac_tag in
5315 :[FHLC]) ac_mode=$ac_tag; continue;;
5316 esac
5317 case $ac_mode$ac_tag in
5318 :[FHL]*:*);;
5319 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5320 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5321 { (exit 1); exit 1; }; };;
5322 :[FH]-) ac_tag=-:-;;
5323 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5324 esac
5325 ac_save_IFS=$IFS
5326 IFS=:
5327 set x $ac_tag
5328 IFS=$ac_save_IFS
5329 shift
5330 ac_file=$1
5331 shift
5332
5333 case $ac_mode in
5334 :L) ac_source=$1;;
5335 :[FH])
5336 ac_file_inputs=
5337 for ac_f
5338 do
5339 case $ac_f in
5340 -) ac_f="$tmp/stdin";;
5341 *) # Look for the file first in the build tree, then in the source tree
5342 # (if the path is not absolute). The absolute path cannot be DOS-style,
5343 # because $ac_f cannot contain `:'.
5344 test -f "$ac_f" ||
5345 case $ac_f in
5346 [\\/$]*) false;;
5347 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5348 esac ||
5349 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5350 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5351 { (exit 1); exit 1; }; };;
5352 esac
5353 ac_file_inputs="$ac_file_inputs $ac_f"
5354 done
5355
5356 # Let's still pretend it is `configure' which instantiates (i.e., don't
5357 # use $as_me), people would be surprised to read:
5358 # /* config.h. Generated by config.status. */
5359 configure_input="Generated from "`IFS=:
5360 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5361 if test x"$ac_file" != x-; then
5362 configure_input="$ac_file. $configure_input"
5363 { echo "$as_me:$LINENO: creating $ac_file" >&5
5364 echo "$as_me: creating $ac_file" >&6;}
5365 fi
5366
5367 case $ac_tag in
5368 *:-:* | *:-) cat >"$tmp/stdin";;
5369 esac
5370 ;;
5371 esac
5372
5373 ac_dir=`$as_dirname -- "$ac_file" ||
5374 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5375 X"$ac_file" : 'X\(//\)[^/]' \| \
5376 X"$ac_file" : 'X\(//\)$' \| \
5377 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5378 echo X"$ac_file" |
5379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5380 s//\1/
5381 q
5382 }
5383 /^X\(\/\/\)[^/].*/{
5384 s//\1/
5385 q
5386 }
5387 /^X\(\/\/\)$/{
5388 s//\1/
5389 q
5390 }
5391 /^X\(\/\).*/{
5392 s//\1/
5393 q
5394 }
5395 s/.*/./; q'`
5396 { as_dir="$ac_dir"
5397 case $as_dir in #(
5398 -*) as_dir=./$as_dir;;
5399 esac
5400 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5401 as_dirs=
5402 while :; do
5403 case $as_dir in #(
5404 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5405 *) as_qdir=$as_dir;;
5406 esac
5407 as_dirs="'$as_qdir' $as_dirs"
5408 as_dir=`$as_dirname -- "$as_dir" ||
5409 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5410 X"$as_dir" : 'X\(//\)[^/]' \| \
5411 X"$as_dir" : 'X\(//\)$' \| \
5412 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5413 echo X"$as_dir" |
5414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5415 s//\1/
5416 q
5417 }
5418 /^X\(\/\/\)[^/].*/{
5419 s//\1/
5420 q
5421 }
5422 /^X\(\/\/\)$/{
5423 s//\1/
5424 q
5425 }
5426 /^X\(\/\).*/{
5427 s//\1/
5428 q
5429 }
5430 s/.*/./; q'`
5431 test -d "$as_dir" && break
5432 done
5433 test -z "$as_dirs" || eval "mkdir $as_dirs"
5434 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5435 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5436 { (exit 1); exit 1; }; }; }
5437 ac_builddir=.
5438
5439 case "$ac_dir" in
5440 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5441 *)
5442 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5443 # A ".." for each directory in $ac_dir_suffix.
5444 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5445 case $ac_top_builddir_sub in
5446 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5447 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5448 esac ;;
5449 esac
5450 ac_abs_top_builddir=$ac_pwd
5451 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5452 # for backward compatibility:
5453 ac_top_builddir=$ac_top_build_prefix
5454
5455 case $srcdir in
5456 .) # We are building in place.
5457 ac_srcdir=.
5458 ac_top_srcdir=$ac_top_builddir_sub
5459 ac_abs_top_srcdir=$ac_pwd ;;
5460 [\\/]* | ?:[\\/]* ) # Absolute name.
5461 ac_srcdir=$srcdir$ac_dir_suffix;
5462 ac_top_srcdir=$srcdir
5463 ac_abs_top_srcdir=$srcdir ;;
5464 *) # Relative name.
5465 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5466 ac_top_srcdir=$ac_top_build_prefix$srcdir
5467 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5468 esac
5469 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5470
5471
5472 case $ac_mode in
5473 :F)
5474 #
5475 # CONFIG_FILE
5476 #
5477
5478 case $INSTALL in
5479 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5480 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5481 esac
5482 ac_MKDIR_P=$MKDIR_P
5483 case $MKDIR_P in
5484 [\\/$]* | ?:[\\/]* ) ;;
5485 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5486 esac
5487 _ACEOF
5488
5489 cat >>$CONFIG_STATUS <<\_ACEOF
5490 # If the template does not know about datarootdir, expand it.
5491 # FIXME: This hack should be removed a few years after 2.60.
5492 ac_datarootdir_hack=; ac_datarootdir_seen=
5493
5494 case `sed -n '/datarootdir/ {
5495 p
5496 q
5497 }
5498 /@datadir@/p
5499 /@docdir@/p
5500 /@infodir@/p
5501 /@localedir@/p
5502 /@mandir@/p
5503 ' $ac_file_inputs` in
5504 *datarootdir*) ac_datarootdir_seen=yes;;
5505 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5506 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5507 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5508 _ACEOF
5509 cat >>$CONFIG_STATUS <<_ACEOF
5510 ac_datarootdir_hack='
5511 s&@datadir@&$datadir&g
5512 s&@docdir@&$docdir&g
5513 s&@infodir@&$infodir&g
5514 s&@localedir@&$localedir&g
5515 s&@mandir@&$mandir&g
5516 s&\\\${datarootdir}&$datarootdir&g' ;;
5517 esac
5518 _ACEOF
5519
5520 # Neutralize VPATH when `$srcdir' = `.'.
5521 # Shell code in configure.ac might set extrasub.
5522 # FIXME: do we really want to maintain this feature?
5523 cat >>$CONFIG_STATUS <<_ACEOF
5524 sed "$ac_vpsub
5525 $extrasub
5526 _ACEOF
5527 cat >>$CONFIG_STATUS <<\_ACEOF
5528 :t
5529 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5530 s&@configure_input@&$configure_input&;t t
5531 s&@top_builddir@&$ac_top_builddir_sub&;t t
5532 s&@srcdir@&$ac_srcdir&;t t
5533 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5534 s&@top_srcdir@&$ac_top_srcdir&;t t
5535 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5536 s&@builddir@&$ac_builddir&;t t
5537 s&@abs_builddir@&$ac_abs_builddir&;t t
5538 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5539 s&@INSTALL@&$ac_INSTALL&;t t
5540 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5541 $ac_datarootdir_hack
5542 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
5543
5544 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5545 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5546 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5547 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5548 which seems to be undefined. Please make sure it is defined." >&5
5549 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5550 which seems to be undefined. Please make sure it is defined." >&2;}
5551
5552 rm -f "$tmp/stdin"
5553 case $ac_file in
5554 -) cat "$tmp/out"; rm -f "$tmp/out";;
5555 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5556 esac
5557 ;;
5558 :H)
5559 #
5560 # CONFIG_HEADER
5561 #
5562 _ACEOF
5563
5564 # Transform confdefs.h into a sed script `conftest.defines', that
5565 # substitutes the proper values into config.h.in to produce config.h.
5566 rm -f conftest.defines conftest.tail
5567 # First, append a space to every undef/define line, to ease matching.
5568 echo 's/$/ /' >conftest.defines
5569 # Then, protect against being on the right side of a sed subst, or in
5570 # an unquoted here document, in config.status. If some macros were
5571 # called several times there might be several #defines for the same
5572 # symbol, which is useless. But do not sort them, since the last
5573 # AC_DEFINE must be honored.
5574 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5575 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5576 # NAME is the cpp macro being defined, VALUE is the value it is being given.
5577 # PARAMS is the parameter list in the macro definition--in most cases, it's
5578 # just an empty string.
5579 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
5580 ac_dB='\\)[ (].*,\\1define\\2'
5581 ac_dC=' '
5582 ac_dD=' ,'
5583
5584 uniq confdefs.h |
5585 sed -n '
5586 t rset
5587 :rset
5588 s/^[ ]*#[ ]*define[ ][ ]*//
5589 t ok
5590 d
5591 :ok
5592 s/[\\&,]/\\&/g
5593 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5594 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5595 ' >>conftest.defines
5596
5597 # Remove the space that was appended to ease matching.
5598 # Then replace #undef with comments. This is necessary, for
5599 # example, in the case of _POSIX_SOURCE, which is predefined and required
5600 # on some systems where configure will not decide to define it.
5601 # (The regexp can be short, since the line contains either #define or #undef.)
5602 echo 's/ $//
5603 s,^[ #]*u.*,/* & */,' >>conftest.defines
5604
5605 # Break up conftest.defines:
5606 ac_max_sed_lines=50
5607
5608 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5609 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5610 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5611 # et cetera.
5612 ac_in='$ac_file_inputs'
5613 ac_out='"$tmp/out1"'
5614 ac_nxt='"$tmp/out2"'
5615
5616 while :
5617 do
5618 # Write a here document:
5619 cat >>$CONFIG_STATUS <<_ACEOF
5620 # First, check the format of the line:
5621 cat >"\$tmp/defines.sed" <<\\CEOF
5622 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
5623 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
5624 b
5625 :def
5626 _ACEOF
5627 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5628 echo 'CEOF
5629 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5630 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5631 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5632 grep . conftest.tail >/dev/null || break
5633 rm -f conftest.defines
5634 mv conftest.tail conftest.defines
5635 done
5636 rm -f conftest.defines conftest.tail
5637
5638 echo "ac_result=$ac_in" >>$CONFIG_STATUS
5639 cat >>$CONFIG_STATUS <<\_ACEOF
5640 if test x"$ac_file" != x-; then
5641 echo "/* $configure_input */" >"$tmp/config.h"
5642 cat "$ac_result" >>"$tmp/config.h"
5643 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5644 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5645 echo "$as_me: $ac_file is unchanged" >&6;}
5646 else
5647 rm -f $ac_file
5648 mv "$tmp/config.h" $ac_file
5649 fi
5650 else
5651 echo "/* $configure_input */"
5652 cat "$ac_result"
5653 fi
5654 rm -f "$tmp/out12"
5655 # Compute $ac_file's index in $config_headers.
5656 _am_stamp_count=1
5657 for _am_header in $config_headers :; do
5658 case $_am_header in
5659 $ac_file | $ac_file:* )
5660 break ;;
5661 * )
5662 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5663 esac
5664 done
5665 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5666 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5667 X$ac_file : 'X\(//\)[^/]' \| \
5668 X$ac_file : 'X\(//\)$' \| \
5669 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5670 echo X$ac_file |
5671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5672 s//\1/
5673 q
5674 }
5675 /^X\(\/\/\)[^/].*/{
5676 s//\1/
5677 q
5678 }
5679 /^X\(\/\/\)$/{
5680 s//\1/
5681 q
5682 }
5683 /^X\(\/\).*/{
5684 s//\1/
5685 q
5686 }
5687 s/.*/./; q'`/stamp-h$_am_stamp_count
5688 ;;
5689
5690 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5691 echo "$as_me: executing $ac_file commands" >&6;}
5692 ;;
5693 esac
5694
5695
5696 case $ac_file$ac_mode in
5697 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5698 # Strip MF so we end up with the name of the file.
5699 mf=`echo "$mf" | sed -e 's/:.*$//'`
5700 # Check whether this is an Automake generated Makefile or not.
5701 # We used to match only the files named `Makefile.in', but
5702 # some people rename them; so instead we look at the file content.
5703 # Grep'ing the first line is not enough: some people post-process
5704 # each Makefile.in and add a new line on top of each file to say so.
5705 # Grep'ing the whole file is not good either: AIX grep has a line
5706 # limit of 2048, but all sed's we know have understand at least 4000.
5707 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
5708 dirpart=`$as_dirname -- "$mf" ||
5709 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5710 X"$mf" : 'X\(//\)[^/]' \| \
5711 X"$mf" : 'X\(//\)$' \| \
5712 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5713 echo X"$mf" |
5714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5715 s//\1/
5716 q
5717 }
5718 /^X\(\/\/\)[^/].*/{
5719 s//\1/
5720 q
5721 }
5722 /^X\(\/\/\)$/{
5723 s//\1/
5724 q
5725 }
5726 /^X\(\/\).*/{
5727 s//\1/
5728 q
5729 }
5730 s/.*/./; q'`
5731 else
5732 continue
5733 fi
5734 # Extract the definition of DEPDIR, am__include, and am__quote
5735 # from the Makefile without running `make'.
5736 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5737 test -z "$DEPDIR" && continue
5738 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5739 test -z "am__include" && continue
5740 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5741 # When using ansi2knr, U may be empty or an underscore; expand it
5742 U=`sed -n 's/^U = //p' < "$mf"`
5743 # Find all dependency output files, they are included files with
5744 # $(DEPDIR) in their names. We invoke sed twice because it is the
5745 # simplest approach to changing $(DEPDIR) to its actual value in the
5746 # expansion.
5747 for file in `sed -n "
5748 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5749 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5750 # Make sure the directory exists.
5751 test -f "$dirpart/$file" && continue
5752 fdir=`$as_dirname -- "$file" ||
5753 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5754 X"$file" : 'X\(//\)[^/]' \| \
5755 X"$file" : 'X\(//\)$' \| \
5756 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5757 echo X"$file" |
5758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5759 s//\1/
5760 q
5761 }
5762 /^X\(\/\/\)[^/].*/{
5763 s//\1/
5764 q
5765 }
5766 /^X\(\/\/\)$/{
5767 s//\1/
5768 q
5769 }
5770 /^X\(\/\).*/{
5771 s//\1/
5772 q
5773 }
5774 s/.*/./; q'`
5775 { as_dir=$dirpart/$fdir
5776 case $as_dir in #(
5777 -*) as_dir=./$as_dir;;
5778 esac
5779 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5780 as_dirs=
5781 while :; do
5782 case $as_dir in #(
5783 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5784 *) as_qdir=$as_dir;;
5785 esac
5786 as_dirs="'$as_qdir' $as_dirs"
5787 as_dir=`$as_dirname -- "$as_dir" ||
5788 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5789 X"$as_dir" : 'X\(//\)[^/]' \| \
5790 X"$as_dir" : 'X\(//\)$' \| \
5791 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5792 echo X"$as_dir" |
5793 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5794 s//\1/
5795 q
5796 }
5797 /^X\(\/\/\)[^/].*/{
5798 s//\1/
5799 q
5800 }
5801 /^X\(\/\/\)$/{
5802 s//\1/
5803 q
5804 }
5805 /^X\(\/\).*/{
5806 s//\1/
5807 q
5808 }
5809 s/.*/./; q'`
5810 test -d "$as_dir" && break
5811 done
5812 test -z "$as_dirs" || eval "mkdir $as_dirs"
5813 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5814 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5815 { (exit 1); exit 1; }; }; }
5816 # echo "creating $dirpart/$file"
5817 echo '# dummy' > "$dirpart/$file"
5818 done
5819 done
5820 ;;
5821
5822 esac
5823 done # for ac_tag
5824
5825
5826 { (exit 0); exit 0; }
5827 _ACEOF
5828 chmod +x $CONFIG_STATUS
5829 ac_clean_files=$ac_clean_files_save
5830
5831
5832 # configure is writing to config.log, and then calls config.status.
5833 # config.status does its own redirection, appending to config.log.
5834 # Unfortunately, on DOS this fails, as config.log is still kept open
5835 # by configure, so config.status won't be able to write to it; its
5836 # output is simply discarded. So we exec the FD to /dev/null,
5837 # effectively closing config.log, so it can be properly (re)opened and
5838 # appended to by config.status. When coming back to configure, we
5839 # need to make the FD available again.
5840 if test "$no_create" != yes; then
5841 ac_cs_success=:
5842 ac_config_status_args=
5843 test "$silent" = yes &&
5844 ac_config_status_args="$ac_config_status_args --quiet"
5845 exec 5>/dev/null
5846 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5847 exec 5>>config.log
5848 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5849 # would make configure fail if this is the last instruction.
5850 $ac_cs_success || { (exit 1); exit 1; }
5851 fi
5852
5853