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