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