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