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