Package list unrtf / fdac76e
Remove junk left from import Willi Mann 8 years ago
8 changed file(s) with 0 addition(s) and 21197 deletion(s). Raw diff Collapse all Expand all
+0
-6321
autom4te.cache/output.0 less more
0 @%:@! /bin/sh
1 @%:@ Guess values for system-dependent variables and create Makefiles.
2 @%:@ Generated by GNU Autoconf 2.63 for unrtf 0.21.2.
3 @%:@
4 @%:@ Report bugs to <bug-unrtf@gnu.org>.
5 @%:@
6 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8 @%:@ This configure script is free software; the Free Software Foundation
9 @%:@ gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
13
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in
25 *posix*) set -o posix ;;
26 esac
27
28 fi
29
30
31
32
33 # PATH needs CR
34 # Avoid depending upon Character Ranges.
35 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38 as_cr_digits='0123456789'
39 as_cr_alnum=$as_cr_Letters$as_cr_digits
40
41 as_nl='
42 '
43 export as_nl
44 # Printing a long string crashes Solaris 7 /usr/bin/printf.
45 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
72
73 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
75 PATH_SEPARATOR=:
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78 PATH_SEPARATOR=';'
79 }
80 fi
81
82 # Support unset when possible.
83 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
84 as_unset=unset
85 else
86 as_unset=false
87 fi
88
89
90 # IFS
91 # We need space, tab and new line, in precisely that order. Quoting is
92 # there to prevent editors from complaining about space-tab.
93 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
94 # splitting by setting IFS to empty value.)
95 IFS=" "" $as_nl"
96
97 # Find who we are. Look in the path if we contain no directory separator.
98 case $0 in
99 *[\\/]* ) as_myself=$0 ;;
100 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 for as_dir in $PATH
102 do
103 IFS=$as_save_IFS
104 test -z "$as_dir" && as_dir=.
105 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 done
107 IFS=$as_save_IFS
108
109 ;;
110 esac
111 # We did not find ourselves, most probably we were run as `sh COMMAND'
112 # in which case we are not to be found in the path.
113 if test "x$as_myself" = x; then
114 as_myself=$0
115 fi
116 if test ! -f "$as_myself"; then
117 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 { (exit 1); exit 1; }
119 fi
120
121 # Work around bugs in pre-3.0 UWIN ksh.
122 for as_var in ENV MAIL MAILPATH
123 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # Required to use basename.
136 if expr a : '\(a\)' >/dev/null 2>&1 &&
137 test "X`expr 00001 : '.*\(...\)'`" = X001; then
138 as_expr=expr
139 else
140 as_expr=false
141 fi
142
143 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
144 as_basename=basename
145 else
146 as_basename=false
147 fi
148
149
150 # Name of the executable.
151 as_me=`$as_basename -- "$0" ||
152 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
153 X"$0" : 'X\(//\)$' \| \
154 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 $as_echo X/"$0" |
156 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 s//\1/
158 q
159 }
160 /^X\/\(\/\/\)$/{
161 s//\1/
162 q
163 }
164 /^X\/\(\/\).*/{
165 s//\1/
166 q
167 }
168 s/.*/./; q'`
169
170 # CDPATH.
171 $as_unset CDPATH
172
173
174 if test "x$CONFIG_SHELL" = x; then
175 if (eval ":") 2>/dev/null; then
176 as_have_required=yes
177 else
178 as_have_required=no
179 fi
180
181 if test $as_have_required = yes && (eval ":
182 (as_func_return () {
183 (exit \$1)
184 }
185 as_func_success () {
186 as_func_return 0
187 }
188 as_func_failure () {
189 as_func_return 1
190 }
191 as_func_ret_success () {
192 return 0
193 }
194 as_func_ret_failure () {
195 return 1
196 }
197
198 exitcode=0
199 if as_func_success; then
200 :
201 else
202 exitcode=1
203 echo as_func_success failed.
204 fi
205
206 if as_func_failure; then
207 exitcode=1
208 echo as_func_failure succeeded.
209 fi
210
211 if as_func_ret_success; then
212 :
213 else
214 exitcode=1
215 echo as_func_ret_success failed.
216 fi
217
218 if as_func_ret_failure; then
219 exitcode=1
220 echo as_func_ret_failure succeeded.
221 fi
222
223 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
224 :
225 else
226 exitcode=1
227 echo positional parameters were not saved.
228 fi
229
230 test \$exitcode = 0) || { (exit 1); exit 1; }
231
232 (
233 as_lineno_1=\$LINENO
234 as_lineno_2=\$LINENO
235 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
236 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
237 ") 2> /dev/null; then
238 :
239 else
240 as_candidate_shells=
241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
242 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
243 do
244 IFS=$as_save_IFS
245 test -z "$as_dir" && as_dir=.
246 case $as_dir in
247 /*)
248 for as_base in sh bash ksh sh5; do
249 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
250 done;;
251 esac
252 done
253 IFS=$as_save_IFS
254
255
256 for as_shell in $as_candidate_shells $SHELL; do
257 # Try only shells that exist, to save several forks.
258 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
259 { ("$as_shell") 2> /dev/null <<\_ASEOF
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in
269 *posix*) set -o posix ;;
270 esac
271
272 fi
273
274
275 :
276 _ASEOF
277 }; then
278 CONFIG_SHELL=$as_shell
279 as_have_required=yes
280 if { "$as_shell" 2> /dev/null <<\_ASEOF
281 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
282 emulate sh
283 NULLCMD=:
284 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
285 # is contrary to our usage. Disable this feature.
286 alias -g '${1+"$@"}'='"$@"'
287 setopt NO_GLOB_SUBST
288 else
289 case `(set -o) 2>/dev/null` in
290 *posix*) set -o posix ;;
291 esac
292
293 fi
294
295
296 :
297 (as_func_return () {
298 (exit $1)
299 }
300 as_func_success () {
301 as_func_return 0
302 }
303 as_func_failure () {
304 as_func_return 1
305 }
306 as_func_ret_success () {
307 return 0
308 }
309 as_func_ret_failure () {
310 return 1
311 }
312
313 exitcode=0
314 if as_func_success; then
315 :
316 else
317 exitcode=1
318 echo as_func_success failed.
319 fi
320
321 if as_func_failure; then
322 exitcode=1
323 echo as_func_failure succeeded.
324 fi
325
326 if as_func_ret_success; then
327 :
328 else
329 exitcode=1
330 echo as_func_ret_success failed.
331 fi
332
333 if as_func_ret_failure; then
334 exitcode=1
335 echo as_func_ret_failure succeeded.
336 fi
337
338 if ( set x; as_func_ret_success y && test x = "$1" ); then
339 :
340 else
341 exitcode=1
342 echo positional parameters were not saved.
343 fi
344
345 test $exitcode = 0) || { (exit 1); exit 1; }
346
347 (
348 as_lineno_1=$LINENO
349 as_lineno_2=$LINENO
350 test "x$as_lineno_1" != "x$as_lineno_2" &&
351 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
352
353 _ASEOF
354 }; then
355 break
356 fi
357
358 fi
359
360 done
361
362 if test "x$CONFIG_SHELL" != x; then
363 for as_var in BASH_ENV ENV
364 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
365 done
366 export CONFIG_SHELL
367 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
368 fi
369
370
371 if test $as_have_required = no; then
372 echo This script requires a shell more modern than all the
373 echo shells that I found on your system. Please install a
374 echo modern shell, or manually run the script under such a
375 echo shell if you do have one.
376 { (exit 1); exit 1; }
377 fi
378
379
380 fi
381
382 fi
383
384
385
386 (eval "as_func_return () {
387 (exit \$1)
388 }
389 as_func_success () {
390 as_func_return 0
391 }
392 as_func_failure () {
393 as_func_return 1
394 }
395 as_func_ret_success () {
396 return 0
397 }
398 as_func_ret_failure () {
399 return 1
400 }
401
402 exitcode=0
403 if as_func_success; then
404 :
405 else
406 exitcode=1
407 echo as_func_success failed.
408 fi
409
410 if as_func_failure; then
411 exitcode=1
412 echo as_func_failure succeeded.
413 fi
414
415 if as_func_ret_success; then
416 :
417 else
418 exitcode=1
419 echo as_func_ret_success failed.
420 fi
421
422 if as_func_ret_failure; then
423 exitcode=1
424 echo as_func_ret_failure succeeded.
425 fi
426
427 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
428 :
429 else
430 exitcode=1
431 echo positional parameters were not saved.
432 fi
433
434 test \$exitcode = 0") || {
435 echo No shell found that supports shell functions.
436 echo Please tell bug-autoconf@gnu.org about your system,
437 echo including any error possibly output before this message.
438 echo This can help us improve future autoconf versions.
439 echo Configuration will now proceed without shell functions.
440 }
441
442
443
444 as_lineno_1=$LINENO
445 as_lineno_2=$LINENO
446 test "x$as_lineno_1" != "x$as_lineno_2" &&
447 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
449 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
450 # uniformly replaced by the line number. The first 'sed' inserts a
451 # line-number line after each line using $LINENO; the second 'sed'
452 # does the real work. The second script uses 'N' to pair each
453 # line-number line with the line containing $LINENO, and appends
454 # trailing '-' during substitution so that $LINENO is not a special
455 # case at line end.
456 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
457 # scripts with optimization help from Paolo Bonzini. Blame Lee
458 # E. McMahon (1931-1989) for sed's syntax. :-)
459 sed -n '
460 p
461 /[$]LINENO/=
462 ' <$as_myself |
463 sed '
464 s/[$]LINENO.*/&-/
465 t lineno
466 b
467 :lineno
468 N
469 :loop
470 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
471 t loop
472 s/-\n.*//
473 ' >$as_me.lineno &&
474 chmod +x "$as_me.lineno" ||
475 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
476 { (exit 1); exit 1; }; }
477
478 # Don't try to exec as it changes $[0], causing all sort of problems
479 # (the dirname of $[0] is not the place where we might find the
480 # original and so on. Autoconf is especially sensitive to this).
481 . "./$as_me.lineno"
482 # Exit status is that of the last command.
483 exit
484 }
485
486
487 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
488 as_dirname=dirname
489 else
490 as_dirname=false
491 fi
492
493 ECHO_C= ECHO_N= ECHO_T=
494 case `echo -n x` in
495 -n*)
496 case `echo 'x\c'` in
497 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
498 *) ECHO_C='\c';;
499 esac;;
500 *)
501 ECHO_N='-n';;
502 esac
503 if expr a : '\(a\)' >/dev/null 2>&1 &&
504 test "X`expr 00001 : '.*\(...\)'`" = X001; then
505 as_expr=expr
506 else
507 as_expr=false
508 fi
509
510 rm -f conf$$ conf$$.exe conf$$.file
511 if test -d conf$$.dir; then
512 rm -f conf$$.dir/conf$$.file
513 else
514 rm -f conf$$.dir
515 mkdir conf$$.dir 2>/dev/null
516 fi
517 if (echo >conf$$.file) 2>/dev/null; then
518 if ln -s conf$$.file conf$$ 2>/dev/null; then
519 as_ln_s='ln -s'
520 # ... but there are two gotchas:
521 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
522 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
523 # In both cases, we have to default to `cp -p'.
524 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525 as_ln_s='cp -p'
526 elif ln conf$$.file conf$$ 2>/dev/null; then
527 as_ln_s=ln
528 else
529 as_ln_s='cp -p'
530 fi
531 else
532 as_ln_s='cp -p'
533 fi
534 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
535 rmdir conf$$.dir 2>/dev/null
536
537 if mkdir -p . 2>/dev/null; then
538 as_mkdir_p=:
539 else
540 test -d ./-p && rmdir ./-p
541 as_mkdir_p=false
542 fi
543
544 if test -x / >/dev/null 2>&1; then
545 as_test_x='test -x'
546 else
547 if ls -dL / >/dev/null 2>&1; then
548 as_ls_L_option=L
549 else
550 as_ls_L_option=
551 fi
552 as_test_x='
553 eval sh -c '\''
554 if test -d "$1"; then
555 test -d "$1/.";
556 else
557 case $1 in
558 -*)set "./$1";;
559 esac;
560 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
561 ???[sx]*):;;*)false;;esac;fi
562 '\'' sh
563 '
564 fi
565 as_executable_p=$as_test_x
566
567 # Sed expression to map a string onto a valid CPP name.
568 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569
570 # Sed expression to map a string onto a valid variable name.
571 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
572
573
574
575 exec 7<&0 </dev/null 6>&1
576
577 # Name of the host.
578 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
579 # so uname gets run too.
580 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581
582 #
583 # Initializations.
584 #
585 ac_default_prefix=/usr/local
586 ac_clean_files=
587 ac_config_libobj_dir=.
588 LIB@&t@OBJS=
589 cross_compiling=no
590 subdirs=
591 MFLAGS=
592 MAKEFLAGS=
593 SHELL=${CONFIG_SHELL-/bin/sh}
594
595 # Identity of this package.
596 PACKAGE_NAME='unrtf'
597 PACKAGE_TARNAME='unrtf'
598 PACKAGE_VERSION='0.21.2'
599 PACKAGE_STRING='unrtf 0.21.2'
600 PACKAGE_BUGREPORT='bug-unrtf@gnu.org'
601
602 ac_unique_file="src/attr.c"
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 host_os
643 host_vendor
644 host_cpu
645 host
646 build_os
647 build_vendor
648 build_cpu
649 build
650 LIB@&t@OBJS
651 EGREP
652 GREP
653 CPP
654 am__fastdepCC_FALSE
655 am__fastdepCC_TRUE
656 CCDEPMODE
657 AMDEPBACKSLASH
658 AMDEP_FALSE
659 AMDEP_TRUE
660 am__quote
661 am__include
662 DEPDIR
663 OBJEXT
664 EXEEXT
665 ac_ct_CC
666 CPPFLAGS
667 LDFLAGS
668 CFLAGS
669 CC
670 MAINT
671 MAINTAINER_MODE_FALSE
672 MAINTAINER_MODE_TRUE
673 am__untar
674 am__tar
675 AMTAR
676 am__leading_dot
677 SET_MAKE
678 AWK
679 mkdir_p
680 MKDIR_P
681 INSTALL_STRIP_PROGRAM
682 STRIP
683 install_sh
684 MAKEINFO
685 AUTOHEADER
686 AUTOMAKE
687 AUTOCONF
688 ACLOCAL
689 VERSION
690 PACKAGE
691 CYGPATH_W
692 am__isrc
693 INSTALL_DATA
694 INSTALL_SCRIPT
695 INSTALL_PROGRAM
696 target_alias
697 host_alias
698 build_alias
699 LIBS
700 ECHO_T
701 ECHO_N
702 ECHO_C
703 DEFS
704 mandir
705 localedir
706 libdir
707 psdir
708 pdfdir
709 dvidir
710 htmldir
711 infodir
712 docdir
713 oldincludedir
714 includedir
715 localstatedir
716 sharedstatedir
717 sysconfdir
718 datadir
719 datarootdir
720 libexecdir
721 sbindir
722 bindir
723 program_transform_name
724 prefix
725 exec_prefix
726 PACKAGE_BUGREPORT
727 PACKAGE_STRING
728 PACKAGE_VERSION
729 PACKAGE_TARNAME
730 PACKAGE_NAME
731 PATH_SEPARATOR
732 SHELL'
733 ac_subst_files=''
734 ac_user_opts='
735 enable_option_checking
736 enable_maintainer_mode
737 enable_dependency_tracking
738 '
739 ac_precious_vars='build_alias
740 host_alias
741 target_alias
742 CC
743 CFLAGS
744 LDFLAGS
745 LIBS
746 CPPFLAGS
747 CPP'
748
749
750 # Initialize some variables set by options.
751 ac_init_help=
752 ac_init_version=false
753 ac_unrecognized_opts=
754 ac_unrecognized_sep=
755 # The variables have the same names as the options, with
756 # dashes changed to underlines.
757 cache_file=/dev/null
758 exec_prefix=NONE
759 no_create=
760 no_recursion=
761 prefix=NONE
762 program_prefix=NONE
763 program_suffix=NONE
764 program_transform_name=s,x,x,
765 silent=
766 site=
767 srcdir=
768 verbose=
769 x_includes=NONE
770 x_libraries=NONE
771
772 # Installation directory options.
773 # These are left unexpanded so users can "make install exec_prefix=/foo"
774 # and all the variables that are supposed to be based on exec_prefix
775 # by default will actually change.
776 # Use braces instead of parens because sh, perl, etc. also accept them.
777 # (The list follows the same order as the GNU Coding Standards.)
778 bindir='${exec_prefix}/bin'
779 sbindir='${exec_prefix}/sbin'
780 libexecdir='${exec_prefix}/libexec'
781 datarootdir='${prefix}/share'
782 datadir='${datarootdir}'
783 sysconfdir='${prefix}/etc'
784 sharedstatedir='${prefix}/com'
785 localstatedir='${prefix}/var'
786 includedir='${prefix}/include'
787 oldincludedir='/usr/include'
788 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
789 infodir='${datarootdir}/info'
790 htmldir='${docdir}'
791 dvidir='${docdir}'
792 pdfdir='${docdir}'
793 psdir='${docdir}'
794 libdir='${exec_prefix}/lib'
795 localedir='${datarootdir}/locale'
796 mandir='${datarootdir}/man'
797
798 ac_prev=
799 ac_dashdash=
800 for ac_option
801 do
802 # If the previous option needs an argument, assign it.
803 if test -n "$ac_prev"; then
804 eval $ac_prev=\$ac_option
805 ac_prev=
806 continue
807 fi
808
809 case $ac_option in
810 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
811 *) ac_optarg=yes ;;
812 esac
813
814 # Accept the important Cygnus configure options, so we can diagnose typos.
815
816 case $ac_dashdash$ac_option in
817 --)
818 ac_dashdash=yes ;;
819
820 -bindir | --bindir | --bindi | --bind | --bin | --bi)
821 ac_prev=bindir ;;
822 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
823 bindir=$ac_optarg ;;
824
825 -build | --build | --buil | --bui | --bu)
826 ac_prev=build_alias ;;
827 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
828 build_alias=$ac_optarg ;;
829
830 -cache-file | --cache-file | --cache-fil | --cache-fi \
831 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
832 ac_prev=cache_file ;;
833 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
834 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
835 cache_file=$ac_optarg ;;
836
837 --config-cache | -C)
838 cache_file=config.cache ;;
839
840 -datadir | --datadir | --datadi | --datad)
841 ac_prev=datadir ;;
842 -datadir=* | --datadir=* | --datadi=* | --datad=*)
843 datadir=$ac_optarg ;;
844
845 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
846 | --dataroo | --dataro | --datar)
847 ac_prev=datarootdir ;;
848 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
849 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
850 datarootdir=$ac_optarg ;;
851
852 -disable-* | --disable-*)
853 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
854 # Reject names that are not valid shell variable names.
855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
856 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
857 { (exit 1); exit 1; }; }
858 ac_useropt_orig=$ac_useropt
859 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
860 case $ac_user_opts in
861 *"
862 "enable_$ac_useropt"
863 "*) ;;
864 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
865 ac_unrecognized_sep=', ';;
866 esac
867 eval enable_$ac_useropt=no ;;
868
869 -docdir | --docdir | --docdi | --doc | --do)
870 ac_prev=docdir ;;
871 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
872 docdir=$ac_optarg ;;
873
874 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
875 ac_prev=dvidir ;;
876 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
877 dvidir=$ac_optarg ;;
878
879 -enable-* | --enable-*)
880 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
881 # Reject names that are not valid shell variable names.
882 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
883 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
884 { (exit 1); exit 1; }; }
885 ac_useropt_orig=$ac_useropt
886 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887 case $ac_user_opts in
888 *"
889 "enable_$ac_useropt"
890 "*) ;;
891 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
892 ac_unrecognized_sep=', ';;
893 esac
894 eval enable_$ac_useropt=\$ac_optarg ;;
895
896 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
897 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
898 | --exec | --exe | --ex)
899 ac_prev=exec_prefix ;;
900 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
901 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
902 | --exec=* | --exe=* | --ex=*)
903 exec_prefix=$ac_optarg ;;
904
905 -gas | --gas | --ga | --g)
906 # Obsolete; use --with-gas.
907 with_gas=yes ;;
908
909 -help | --help | --hel | --he | -h)
910 ac_init_help=long ;;
911 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
912 ac_init_help=recursive ;;
913 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
914 ac_init_help=short ;;
915
916 -host | --host | --hos | --ho)
917 ac_prev=host_alias ;;
918 -host=* | --host=* | --hos=* | --ho=*)
919 host_alias=$ac_optarg ;;
920
921 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
922 ac_prev=htmldir ;;
923 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
924 | --ht=*)
925 htmldir=$ac_optarg ;;
926
927 -includedir | --includedir | --includedi | --included | --include \
928 | --includ | --inclu | --incl | --inc)
929 ac_prev=includedir ;;
930 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
931 | --includ=* | --inclu=* | --incl=* | --inc=*)
932 includedir=$ac_optarg ;;
933
934 -infodir | --infodir | --infodi | --infod | --info | --inf)
935 ac_prev=infodir ;;
936 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
937 infodir=$ac_optarg ;;
938
939 -libdir | --libdir | --libdi | --libd)
940 ac_prev=libdir ;;
941 -libdir=* | --libdir=* | --libdi=* | --libd=*)
942 libdir=$ac_optarg ;;
943
944 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
945 | --libexe | --libex | --libe)
946 ac_prev=libexecdir ;;
947 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
948 | --libexe=* | --libex=* | --libe=*)
949 libexecdir=$ac_optarg ;;
950
951 -localedir | --localedir | --localedi | --localed | --locale)
952 ac_prev=localedir ;;
953 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
954 localedir=$ac_optarg ;;
955
956 -localstatedir | --localstatedir | --localstatedi | --localstated \
957 | --localstate | --localstat | --localsta | --localst | --locals)
958 ac_prev=localstatedir ;;
959 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
960 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
961 localstatedir=$ac_optarg ;;
962
963 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
964 ac_prev=mandir ;;
965 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
966 mandir=$ac_optarg ;;
967
968 -nfp | --nfp | --nf)
969 # Obsolete; use --without-fp.
970 with_fp=no ;;
971
972 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
973 | --no-cr | --no-c | -n)
974 no_create=yes ;;
975
976 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
977 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
978 no_recursion=yes ;;
979
980 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
981 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
982 | --oldin | --oldi | --old | --ol | --o)
983 ac_prev=oldincludedir ;;
984 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
985 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
986 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
987 oldincludedir=$ac_optarg ;;
988
989 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
990 ac_prev=prefix ;;
991 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
992 prefix=$ac_optarg ;;
993
994 -program-prefix | --program-prefix | --program-prefi | --program-pref \
995 | --program-pre | --program-pr | --program-p)
996 ac_prev=program_prefix ;;
997 -program-prefix=* | --program-prefix=* | --program-prefi=* \
998 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
999 program_prefix=$ac_optarg ;;
1000
1001 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1002 | --program-suf | --program-su | --program-s)
1003 ac_prev=program_suffix ;;
1004 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1005 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1006 program_suffix=$ac_optarg ;;
1007
1008 -program-transform-name | --program-transform-name \
1009 | --program-transform-nam | --program-transform-na \
1010 | --program-transform-n | --program-transform- \
1011 | --program-transform | --program-transfor \
1012 | --program-transfo | --program-transf \
1013 | --program-trans | --program-tran \
1014 | --progr-tra | --program-tr | --program-t)
1015 ac_prev=program_transform_name ;;
1016 -program-transform-name=* | --program-transform-name=* \
1017 | --program-transform-nam=* | --program-transform-na=* \
1018 | --program-transform-n=* | --program-transform-=* \
1019 | --program-transform=* | --program-transfor=* \
1020 | --program-transfo=* | --program-transf=* \
1021 | --program-trans=* | --program-tran=* \
1022 | --progr-tra=* | --program-tr=* | --program-t=*)
1023 program_transform_name=$ac_optarg ;;
1024
1025 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1026 ac_prev=pdfdir ;;
1027 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1028 pdfdir=$ac_optarg ;;
1029
1030 -psdir | --psdir | --psdi | --psd | --ps)
1031 ac_prev=psdir ;;
1032 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1033 psdir=$ac_optarg ;;
1034
1035 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1036 | -silent | --silent | --silen | --sile | --sil)
1037 silent=yes ;;
1038
1039 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1040 ac_prev=sbindir ;;
1041 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1042 | --sbi=* | --sb=*)
1043 sbindir=$ac_optarg ;;
1044
1045 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1046 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1047 | --sharedst | --shareds | --shared | --share | --shar \
1048 | --sha | --sh)
1049 ac_prev=sharedstatedir ;;
1050 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1051 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1052 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1053 | --sha=* | --sh=*)
1054 sharedstatedir=$ac_optarg ;;
1055
1056 -site | --site | --sit)
1057 ac_prev=site ;;
1058 -site=* | --site=* | --sit=*)
1059 site=$ac_optarg ;;
1060
1061 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1062 ac_prev=srcdir ;;
1063 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1064 srcdir=$ac_optarg ;;
1065
1066 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1067 | --syscon | --sysco | --sysc | --sys | --sy)
1068 ac_prev=sysconfdir ;;
1069 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1070 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1071 sysconfdir=$ac_optarg ;;
1072
1073 -target | --target | --targe | --targ | --tar | --ta | --t)
1074 ac_prev=target_alias ;;
1075 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1076 target_alias=$ac_optarg ;;
1077
1078 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1079 verbose=yes ;;
1080
1081 -version | --version | --versio | --versi | --vers | -V)
1082 ac_init_version=: ;;
1083
1084 -with-* | --with-*)
1085 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1088 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1089 { (exit 1); exit 1; }; }
1090 ac_useropt_orig=$ac_useropt
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1093 *"
1094 "with_$ac_useropt"
1095 "*) ;;
1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1097 ac_unrecognized_sep=', ';;
1098 esac
1099 eval with_$ac_useropt=\$ac_optarg ;;
1100
1101 -without-* | --without-*)
1102 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1105 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1106 { (exit 1); exit 1; }; }
1107 ac_useropt_orig=$ac_useropt
1108 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109 case $ac_user_opts in
1110 *"
1111 "with_$ac_useropt"
1112 "*) ;;
1113 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1114 ac_unrecognized_sep=', ';;
1115 esac
1116 eval with_$ac_useropt=no ;;
1117
1118 --x)
1119 # Obsolete; use --with-x.
1120 with_x=yes ;;
1121
1122 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1123 | --x-incl | --x-inc | --x-in | --x-i)
1124 ac_prev=x_includes ;;
1125 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1126 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1127 x_includes=$ac_optarg ;;
1128
1129 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1130 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1131 ac_prev=x_libraries ;;
1132 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1133 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1134 x_libraries=$ac_optarg ;;
1135
1136 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1137 Try \`$0 --help' for more information." >&2
1138 { (exit 1); exit 1; }; }
1139 ;;
1140
1141 *=*)
1142 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1145 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1146 { (exit 1); exit 1; }; }
1147 eval $ac_envvar=\$ac_optarg
1148 export $ac_envvar ;;
1149
1150 *)
1151 # FIXME: should be removed in autoconf 3.0.
1152 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1153 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1154 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1155 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1156 ;;
1157
1158 esac
1159 done
1160
1161 if test -n "$ac_prev"; then
1162 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1163 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1164 { (exit 1); exit 1; }; }
1165 fi
1166
1167 if test -n "$ac_unrecognized_opts"; then
1168 case $enable_option_checking in
1169 no) ;;
1170 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1171 { (exit 1); exit 1; }; } ;;
1172 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1173 esac
1174 fi
1175
1176 # Check all directory arguments for consistency.
1177 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1181 do
1182 eval ac_val=\$$ac_var
1183 # Remove trailing slashes.
1184 case $ac_val in
1185 */ )
1186 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1187 eval $ac_var=\$ac_val;;
1188 esac
1189 # Be sure to have absolute directory names.
1190 case $ac_val in
1191 [\\/$]* | ?:[\\/]* ) continue;;
1192 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1193 esac
1194 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1195 { (exit 1); exit 1; }; }
1196 done
1197
1198 # There might be people who depend on the old broken behavior: `$host'
1199 # used to hold the argument of --host etc.
1200 # FIXME: To remove some day.
1201 build=$build_alias
1202 host=$host_alias
1203 target=$target_alias
1204
1205 # FIXME: To remove some day.
1206 if test "x$host_alias" != x; then
1207 if test "x$build_alias" = x; then
1208 cross_compiling=maybe
1209 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1210 If a cross compiler is detected then cross compile mode will be used." >&2
1211 elif test "x$build_alias" != "x$host_alias"; then
1212 cross_compiling=yes
1213 fi
1214 fi
1215
1216 ac_tool_prefix=
1217 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1218
1219 test "$silent" = yes && exec 6>/dev/null
1220
1221
1222 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1223 ac_ls_di=`ls -di .` &&
1224 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1225 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1226 { (exit 1); exit 1; }; }
1227 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1228 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1229 { (exit 1); exit 1; }; }
1230
1231
1232 # Find the source files, if location was not specified.
1233 if test -z "$srcdir"; then
1234 ac_srcdir_defaulted=yes
1235 # Try the directory containing this script, then the parent directory.
1236 ac_confdir=`$as_dirname -- "$as_myself" ||
1237 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1238 X"$as_myself" : 'X\(//\)[^/]' \| \
1239 X"$as_myself" : 'X\(//\)$' \| \
1240 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1241 $as_echo X"$as_myself" |
1242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1243 s//\1/
1244 q
1245 }
1246 /^X\(\/\/\)[^/].*/{
1247 s//\1/
1248 q
1249 }
1250 /^X\(\/\/\)$/{
1251 s//\1/
1252 q
1253 }
1254 /^X\(\/\).*/{
1255 s//\1/
1256 q
1257 }
1258 s/.*/./; q'`
1259 srcdir=$ac_confdir
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 srcdir=..
1262 fi
1263 else
1264 ac_srcdir_defaulted=no
1265 fi
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1267 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1268 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1269 { (exit 1); exit 1; }; }
1270 fi
1271 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1272 ac_abs_confdir=`(
1273 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1274 { (exit 1); exit 1; }; }
1275 pwd)`
1276 # When building in place, set srcdir=.
1277 if test "$ac_abs_confdir" = "$ac_pwd"; then
1278 srcdir=.
1279 fi
1280 # Remove unnecessary trailing slashes from srcdir.
1281 # Double slashes in file names in object file debugging info
1282 # mess up M-x gdb in Emacs.
1283 case $srcdir in
1284 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1285 esac
1286 for ac_var in $ac_precious_vars; do
1287 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_env_${ac_var}_value=\$${ac_var}
1289 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1290 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1291 done
1292
1293 #
1294 # Report the --help message.
1295 #
1296 if test "$ac_init_help" = "long"; then
1297 # Omit some internal or obsolete options to make the list less imposing.
1298 # This message is too long to be a string in the A/UX 3.1 sh.
1299 cat <<_ACEOF
1300 \`configure' configures unrtf 0.21.2 to adapt to many kinds of systems.
1301
1302 Usage: $0 [OPTION]... [VAR=VALUE]...
1303
1304 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1305 VAR=VALUE. See below for descriptions of some of the useful variables.
1306
1307 Defaults for the options are specified in brackets.
1308
1309 Configuration:
1310 -h, --help display this help and exit
1311 --help=short display options specific to this package
1312 --help=recursive display the short help of all the included packages
1313 -V, --version display version information and exit
1314 -q, --quiet, --silent do not print \`checking...' messages
1315 --cache-file=FILE cache test results in FILE [disabled]
1316 -C, --config-cache alias for \`--cache-file=config.cache'
1317 -n, --no-create do not create output files
1318 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1319
1320 Installation directories:
1321 --prefix=PREFIX install architecture-independent files in PREFIX
1322 [$ac_default_prefix]
1323 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1324 [PREFIX]
1325
1326 By default, \`make install' will install all the files in
1327 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1328 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1329 for instance \`--prefix=\$HOME'.
1330
1331 For better control, use the options below.
1332
1333 Fine tuning of the installation directories:
1334 --bindir=DIR user executables [EPREFIX/bin]
1335 --sbindir=DIR system admin executables [EPREFIX/sbin]
1336 --libexecdir=DIR program executables [EPREFIX/libexec]
1337 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1338 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1339 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1340 --libdir=DIR object code libraries [EPREFIX/lib]
1341 --includedir=DIR C header files [PREFIX/include]
1342 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1343 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1344 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1345 --infodir=DIR info documentation [DATAROOTDIR/info]
1346 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1347 --mandir=DIR man documentation [DATAROOTDIR/man]
1348 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/unrtf@:>@
1349 --htmldir=DIR html documentation [DOCDIR]
1350 --dvidir=DIR dvi documentation [DOCDIR]
1351 --pdfdir=DIR pdf documentation [DOCDIR]
1352 --psdir=DIR ps documentation [DOCDIR]
1353 _ACEOF
1354
1355 cat <<\_ACEOF
1356
1357 Program names:
1358 --program-prefix=PREFIX prepend PREFIX to installed program names
1359 --program-suffix=SUFFIX append SUFFIX to installed program names
1360 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1361
1362 System types:
1363 --build=BUILD configure for building on BUILD [guessed]
1364 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1365 _ACEOF
1366 fi
1367
1368 if test -n "$ac_init_help"; then
1369 case $ac_init_help in
1370 short | recursive ) echo "Configuration of unrtf 0.21.2:";;
1371 esac
1372 cat <<\_ACEOF
1373
1374 Optional Features:
1375 --disable-option-checking ignore unrecognized --enable/--with options
1376 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1377 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1378 --enable-maintainer-mode enable make rules and dependencies not useful
1379 (and sometimes confusing) to the casual installer
1380 --disable-dependency-tracking speeds up one-time build
1381 --enable-dependency-tracking do not reject slow dependency extractors
1382
1383 Some influential environment variables:
1384 CC C compiler command
1385 CFLAGS C compiler flags
1386 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1387 nonstandard directory <lib dir>
1388 LIBS libraries to pass to the linker, e.g. -l<library>
1389 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1390 you have headers in a nonstandard directory <include dir>
1391 CPP C preprocessor
1392
1393 Use these variables to override the choices made by `configure' or to help
1394 it to find libraries and programs with nonstandard names/locations.
1395
1396 Report bugs to <bug-unrtf@gnu.org>.
1397 _ACEOF
1398 ac_status=$?
1399 fi
1400
1401 if test "$ac_init_help" = "recursive"; then
1402 # If there are subdirs, report their specific --help.
1403 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1404 test -d "$ac_dir" ||
1405 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1406 continue
1407 ac_builddir=.
1408
1409 case "$ac_dir" in
1410 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 *)
1412 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1413 # A ".." for each directory in $ac_dir_suffix.
1414 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1415 case $ac_top_builddir_sub in
1416 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1417 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1418 esac ;;
1419 esac
1420 ac_abs_top_builddir=$ac_pwd
1421 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1422 # for backward compatibility:
1423 ac_top_builddir=$ac_top_build_prefix
1424
1425 case $srcdir in
1426 .) # We are building in place.
1427 ac_srcdir=.
1428 ac_top_srcdir=$ac_top_builddir_sub
1429 ac_abs_top_srcdir=$ac_pwd ;;
1430 [\\/]* | ?:[\\/]* ) # Absolute name.
1431 ac_srcdir=$srcdir$ac_dir_suffix;
1432 ac_top_srcdir=$srcdir
1433 ac_abs_top_srcdir=$srcdir ;;
1434 *) # Relative name.
1435 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1436 ac_top_srcdir=$ac_top_build_prefix$srcdir
1437 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1438 esac
1439 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440
1441 cd "$ac_dir" || { ac_status=$?; continue; }
1442 # Check for guested configure.
1443 if test -f "$ac_srcdir/configure.gnu"; then
1444 echo &&
1445 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1446 elif test -f "$ac_srcdir/configure"; then
1447 echo &&
1448 $SHELL "$ac_srcdir/configure" --help=recursive
1449 else
1450 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 fi || ac_status=$?
1452 cd "$ac_pwd" || { ac_status=$?; break; }
1453 done
1454 fi
1455
1456 test -n "$ac_init_help" && exit $ac_status
1457 if $ac_init_version; then
1458 cat <<\_ACEOF
1459 unrtf configure 0.21.2
1460 generated by GNU Autoconf 2.63
1461
1462 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1463 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1464 This configure script is free software; the Free Software Foundation
1465 gives unlimited permission to copy, distribute and modify it.
1466 _ACEOF
1467 exit
1468 fi
1469 cat >config.log <<_ACEOF
1470 This file contains any messages produced by compilers while
1471 running configure, to aid debugging if configure makes a mistake.
1472
1473 It was created by unrtf $as_me 0.21.2, which was
1474 generated by GNU Autoconf 2.63. Invocation command line was
1475
1476 $ $0 $@
1477
1478 _ACEOF
1479 exec 5>>config.log
1480 {
1481 cat <<_ASUNAME
1482 @%:@@%:@ --------- @%:@@%:@
1483 @%:@@%:@ Platform. @%:@@%:@
1484 @%:@@%:@ --------- @%:@@%:@
1485
1486 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1487 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1488 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1489 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1490 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491
1492 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1493 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494
1495 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1496 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1497 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1498 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1499 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1500 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1501 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502
1503 _ASUNAME
1504
1505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1506 for as_dir in $PATH
1507 do
1508 IFS=$as_save_IFS
1509 test -z "$as_dir" && as_dir=.
1510 $as_echo "PATH: $as_dir"
1511 done
1512 IFS=$as_save_IFS
1513
1514 } >&5
1515
1516 cat >&5 <<_ACEOF
1517
1518
1519 @%:@@%:@ ----------- @%:@@%:@
1520 @%:@@%:@ Core tests. @%:@@%:@
1521 @%:@@%:@ ----------- @%:@@%:@
1522
1523 _ACEOF
1524
1525
1526 # Keep a trace of the command line.
1527 # Strip out --no-create and --no-recursion so they do not pile up.
1528 # Strip out --silent because we don't want to record it for future runs.
1529 # Also quote any args containing shell meta-characters.
1530 # Make two passes to allow for proper duplicate-argument suppression.
1531 ac_configure_args=
1532 ac_configure_args0=
1533 ac_configure_args1=
1534 ac_must_keep_next=false
1535 for ac_pass in 1 2
1536 do
1537 for ac_arg
1538 do
1539 case $ac_arg in
1540 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1542 | -silent | --silent | --silen | --sile | --sil)
1543 continue ;;
1544 *\'*)
1545 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1546 esac
1547 case $ac_pass in
1548 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1549 2)
1550 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1551 if test $ac_must_keep_next = true; then
1552 ac_must_keep_next=false # Got value, back to normal.
1553 else
1554 case $ac_arg in
1555 *=* | --config-cache | -C | -disable-* | --disable-* \
1556 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1557 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1558 | -with-* | --with-* | -without-* | --without-* | --x)
1559 case "$ac_configure_args0 " in
1560 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1561 esac
1562 ;;
1563 -* ) ac_must_keep_next=true ;;
1564 esac
1565 fi
1566 ac_configure_args="$ac_configure_args '$ac_arg'"
1567 ;;
1568 esac
1569 done
1570 done
1571 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1572 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1573
1574 # When interrupted or exit'd, cleanup temporary files, and complete
1575 # config.log. We remove comments because anyway the quotes in there
1576 # would cause problems or look ugly.
1577 # WARNING: Use '\'' to represent an apostrophe within the trap.
1578 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1579 trap 'exit_status=$?
1580 # Save into config.log some information that might help in debugging.
1581 {
1582 echo
1583
1584 cat <<\_ASBOX
1585 @%:@@%:@ ---------------- @%:@@%:@
1586 @%:@@%:@ Cache variables. @%:@@%:@
1587 @%:@@%:@ ---------------- @%:@@%:@
1588 _ASBOX
1589 echo
1590 # The following way of writing the cache mishandles newlines in values,
1591 (
1592 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1593 eval ac_val=\$$ac_var
1594 case $ac_val in #(
1595 *${as_nl}*)
1596 case $ac_var in #(
1597 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1598 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1599 esac
1600 case $ac_var in #(
1601 _ | IFS | as_nl) ;; #(
1602 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1603 *) $as_unset $ac_var ;;
1604 esac ;;
1605 esac
1606 done
1607 (set) 2>&1 |
1608 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1609 *${as_nl}ac_space=\ *)
1610 sed -n \
1611 "s/'\''/'\''\\\\'\'''\''/g;
1612 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1613 ;; #(
1614 *)
1615 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1616 ;;
1617 esac |
1618 sort
1619 )
1620 echo
1621
1622 cat <<\_ASBOX
1623 @%:@@%:@ ----------------- @%:@@%:@
1624 @%:@@%:@ Output variables. @%:@@%:@
1625 @%:@@%:@ ----------------- @%:@@%:@
1626 _ASBOX
1627 echo
1628 for ac_var in $ac_subst_vars
1629 do
1630 eval ac_val=\$$ac_var
1631 case $ac_val in
1632 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1633 esac
1634 $as_echo "$ac_var='\''$ac_val'\''"
1635 done | sort
1636 echo
1637
1638 if test -n "$ac_subst_files"; then
1639 cat <<\_ASBOX
1640 @%:@@%:@ ------------------- @%:@@%:@
1641 @%:@@%:@ File substitutions. @%:@@%:@
1642 @%:@@%:@ ------------------- @%:@@%:@
1643 _ASBOX
1644 echo
1645 for ac_var in $ac_subst_files
1646 do
1647 eval ac_val=\$$ac_var
1648 case $ac_val in
1649 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1650 esac
1651 $as_echo "$ac_var='\''$ac_val'\''"
1652 done | sort
1653 echo
1654 fi
1655
1656 if test -s confdefs.h; then
1657 cat <<\_ASBOX
1658 @%:@@%:@ ----------- @%:@@%:@
1659 @%:@@%:@ confdefs.h. @%:@@%:@
1660 @%:@@%:@ ----------- @%:@@%:@
1661 _ASBOX
1662 echo
1663 cat confdefs.h
1664 echo
1665 fi
1666 test "$ac_signal" != 0 &&
1667 $as_echo "$as_me: caught signal $ac_signal"
1668 $as_echo "$as_me: exit $exit_status"
1669 } >&5
1670 rm -f core *.core core.conftest.* &&
1671 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1672 exit $exit_status
1673 ' 0
1674 for ac_signal in 1 2 13 15; do
1675 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1676 done
1677 ac_signal=0
1678
1679 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1680 rm -f -r conftest* confdefs.h
1681
1682 # Predefined preprocessor variables.
1683
1684 cat >>confdefs.h <<_ACEOF
1685 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1686 _ACEOF
1687
1688
1689 cat >>confdefs.h <<_ACEOF
1690 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1691 _ACEOF
1692
1693
1694 cat >>confdefs.h <<_ACEOF
1695 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1696 _ACEOF
1697
1698
1699 cat >>confdefs.h <<_ACEOF
1700 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1701 _ACEOF
1702
1703
1704 cat >>confdefs.h <<_ACEOF
1705 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1706 _ACEOF
1707
1708
1709 # Let the site file select an alternate cache file if it wants to.
1710 # Prefer an explicitly selected file to automatically selected ones.
1711 ac_site_file1=NONE
1712 ac_site_file2=NONE
1713 if test -n "$CONFIG_SITE"; then
1714 ac_site_file1=$CONFIG_SITE
1715 elif test "x$prefix" != xNONE; then
1716 ac_site_file1=$prefix/share/config.site
1717 ac_site_file2=$prefix/etc/config.site
1718 else
1719 ac_site_file1=$ac_default_prefix/share/config.site
1720 ac_site_file2=$ac_default_prefix/etc/config.site
1721 fi
1722 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1723 do
1724 test "x$ac_site_file" = xNONE && continue
1725 if test -r "$ac_site_file"; then
1726 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1727 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1728 sed 's/^/| /' "$ac_site_file" >&5
1729 . "$ac_site_file"
1730 fi
1731 done
1732
1733 if test -r "$cache_file"; then
1734 # Some versions of bash will fail to source /dev/null (special
1735 # files actually), so we avoid doing that.
1736 if test -f "$cache_file"; then
1737 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1738 $as_echo "$as_me: loading cache $cache_file" >&6;}
1739 case $cache_file in
1740 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1741 *) . "./$cache_file";;
1742 esac
1743 fi
1744 else
1745 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1746 $as_echo "$as_me: creating cache $cache_file" >&6;}
1747 >$cache_file
1748 fi
1749
1750 # Check that the precious variables saved in the cache have kept the same
1751 # value.
1752 ac_cache_corrupted=false
1753 for ac_var in $ac_precious_vars; do
1754 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1755 eval ac_new_set=\$ac_env_${ac_var}_set
1756 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1757 eval ac_new_val=\$ac_env_${ac_var}_value
1758 case $ac_old_set,$ac_new_set in
1759 set,)
1760 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1761 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1762 ac_cache_corrupted=: ;;
1763 ,set)
1764 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1765 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1766 ac_cache_corrupted=: ;;
1767 ,);;
1768 *)
1769 if test "x$ac_old_val" != "x$ac_new_val"; then
1770 # differences in whitespace do not lead to failure.
1771 ac_old_val_w=`echo x $ac_old_val`
1772 ac_new_val_w=`echo x $ac_new_val`
1773 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1774 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1775 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1776 ac_cache_corrupted=:
1777 else
1778 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1779 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1780 eval $ac_var=\$ac_old_val
1781 fi
1782 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1783 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1784 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1785 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1786 fi;;
1787 esac
1788 # Pass precious variables to config.status.
1789 if test "$ac_new_set" = set; then
1790 case $ac_new_val in
1791 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1792 *) ac_arg=$ac_var=$ac_new_val ;;
1793 esac
1794 case " $ac_configure_args " in
1795 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1796 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1797 esac
1798 fi
1799 done
1800 if $ac_cache_corrupted; then
1801 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1803 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1804 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1805 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1806 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1807 { (exit 1); exit 1; }; }
1808 fi
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834 ac_ext=c
1835 ac_cpp='$CPP $CPPFLAGS'
1836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1839
1840
1841
1842 ac_aux_dir=
1843 for ac_dir in config "$srcdir"/config; do
1844 if test -f "$ac_dir/install-sh"; then
1845 ac_aux_dir=$ac_dir
1846 ac_install_sh="$ac_aux_dir/install-sh -c"
1847 break
1848 elif test -f "$ac_dir/install.sh"; then
1849 ac_aux_dir=$ac_dir
1850 ac_install_sh="$ac_aux_dir/install.sh -c"
1851 break
1852 elif test -f "$ac_dir/shtool"; then
1853 ac_aux_dir=$ac_dir
1854 ac_install_sh="$ac_aux_dir/shtool install -c"
1855 break
1856 fi
1857 done
1858 if test -z "$ac_aux_dir"; then
1859 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1860 $as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1861 { (exit 1); exit 1; }; }
1862 fi
1863
1864 # These three variables are undocumented and unsupported,
1865 # and are intended to be withdrawn in a future Autoconf release.
1866 # They can cause serious problems if a builder's source tree is in a directory
1867 # whose full name contains unusual characters.
1868 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1869 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1870 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1871
1872
1873 ac_config_headers="$ac_config_headers config.h"
1874
1875
1876 # Initialize automake
1877
1878 am__api_version='1.11'
1879
1880 # Find a good install program. We prefer a C program (faster),
1881 # so one script is as good as another. But avoid the broken or
1882 # incompatible versions:
1883 # SysV /etc/install, /usr/sbin/install
1884 # SunOS /usr/etc/install
1885 # IRIX /sbin/install
1886 # AIX /bin/install
1887 # AmigaOS /C/install, which installs bootblocks on floppy discs
1888 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1889 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1890 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1891 # OS/2's system install, which has a completely different semantic
1892 # ./install, which can be erroneously created by make from ./install.sh.
1893 # Reject install programs that cannot install multiple files.
1894 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1895 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1896 if test -z "$INSTALL"; then
1897 if test "${ac_cv_path_install+set}" = set; then
1898 $as_echo_n "(cached) " >&6
1899 else
1900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1901 for as_dir in $PATH
1902 do
1903 IFS=$as_save_IFS
1904 test -z "$as_dir" && as_dir=.
1905 # Account for people who put trailing slashes in PATH elements.
1906 case $as_dir/ in
1907 ./ | .// | /cC/* | \
1908 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1909 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1910 /usr/ucb/* ) ;;
1911 *)
1912 # OSF1 and SCO ODT 3.0 have their own names for install.
1913 # Don't use installbsd from OSF since it installs stuff as root
1914 # by default.
1915 for ac_prog in ginstall scoinst install; do
1916 for ac_exec_ext in '' $ac_executable_extensions; do
1917 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1918 if test $ac_prog = install &&
1919 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1920 # AIX install. It has an incompatible calling convention.
1921 :
1922 elif test $ac_prog = install &&
1923 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1924 # program-specific install script used by HP pwplus--don't use.
1925 :
1926 else
1927 rm -rf conftest.one conftest.two conftest.dir
1928 echo one > conftest.one
1929 echo two > conftest.two
1930 mkdir conftest.dir
1931 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1932 test -s conftest.one && test -s conftest.two &&
1933 test -s conftest.dir/conftest.one &&
1934 test -s conftest.dir/conftest.two
1935 then
1936 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1937 break 3
1938 fi
1939 fi
1940 fi
1941 done
1942 done
1943 ;;
1944 esac
1945
1946 done
1947 IFS=$as_save_IFS
1948
1949 rm -rf conftest.one conftest.two conftest.dir
1950
1951 fi
1952 if test "${ac_cv_path_install+set}" = set; then
1953 INSTALL=$ac_cv_path_install
1954 else
1955 # As a last resort, use the slow shell script. Don't cache a
1956 # value for INSTALL within a source directory, because that will
1957 # break other packages using the cache if that directory is
1958 # removed, or if the value is a relative name.
1959 INSTALL=$ac_install_sh
1960 fi
1961 fi
1962 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1963 $as_echo "$INSTALL" >&6; }
1964
1965 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1966 # It thinks the first close brace ends the variable substitution.
1967 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1968
1969 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1970
1971 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1972
1973 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1974 $as_echo_n "checking whether build environment is sane... " >&6; }
1975 # Just in case
1976 sleep 1
1977 echo timestamp > conftest.file
1978 # Reject unsafe characters in $srcdir or the absolute working directory
1979 # name. Accept space and tab only in the latter.
1980 am_lf='
1981 '
1982 case `pwd` in
1983 *[\\\"\#\$\&\'\`$am_lf]*)
1984 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
1985 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
1986 { (exit 1); exit 1; }; };;
1987 esac
1988 case $srcdir in
1989 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1990 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
1991 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
1992 { (exit 1); exit 1; }; };;
1993 esac
1994
1995 # Do `set' in a subshell so we don't clobber the current shell's
1996 # arguments. Must try -L first in case configure is actually a
1997 # symlink; some systems play weird games with the mod time of symlinks
1998 # (eg FreeBSD returns the mod time of the symlink's containing
1999 # directory).
2000 if (
2001 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2002 if test "$*" = "X"; then
2003 # -L didn't work.
2004 set X `ls -t "$srcdir/configure" conftest.file`
2005 fi
2006 rm -f conftest.file
2007 if test "$*" != "X $srcdir/configure conftest.file" \
2008 && test "$*" != "X conftest.file $srcdir/configure"; then
2009
2010 # If neither matched, then we have a broken ls. This can happen
2011 # if, for instance, CONFIG_SHELL is bash and it inherits a
2012 # broken ls alias from the environment. This has actually
2013 # happened. Such a system could not be considered "sane".
2014 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2015 alias in your environment" >&5
2016 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2017 alias in your environment" >&2;}
2018 { (exit 1); exit 1; }; }
2019 fi
2020
2021 test "$2" = conftest.file
2022 )
2023 then
2024 # Ok.
2025 :
2026 else
2027 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2028 Check your system clock" >&5
2029 $as_echo "$as_me: error: newly created file is older than distributed files!
2030 Check your system clock" >&2;}
2031 { (exit 1); exit 1; }; }
2032 fi
2033 { $as_echo "$as_me:$LINENO: result: yes" >&5
2034 $as_echo "yes" >&6; }
2035 test "$program_prefix" != NONE &&
2036 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2037 # Use a double $ so make ignores it.
2038 test "$program_suffix" != NONE &&
2039 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2040 # Double any \ or $.
2041 # By default was `s,x,x', remove it if useless.
2042 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2043 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2044
2045 # expand $ac_aux_dir to an absolute path
2046 am_aux_dir=`cd $ac_aux_dir && pwd`
2047
2048 if test x"${MISSING+set}" != xset; then
2049 case $am_aux_dir in
2050 *\ * | *\ *)
2051 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2052 *)
2053 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2054 esac
2055 fi
2056 # Use eval to expand $SHELL
2057 if eval "$MISSING --run true"; then
2058 am_missing_run="$MISSING --run "
2059 else
2060 am_missing_run=
2061 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2062 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2063 fi
2064
2065 if test x"${install_sh}" != xset; then
2066 case $am_aux_dir in
2067 *\ * | *\ *)
2068 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2069 *)
2070 install_sh="\${SHELL} $am_aux_dir/install-sh"
2071 esac
2072 fi
2073
2074 # Installed binaries are usually stripped using `strip' when the user
2075 # run `make install-strip'. However `strip' might not be the right
2076 # tool to use in cross-compilation environments, therefore Automake
2077 # will honor the `STRIP' environment variable to overrule this program.
2078 if test "$cross_compiling" != no; then
2079 if test -n "$ac_tool_prefix"; then
2080 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2081 set dummy ${ac_tool_prefix}strip; ac_word=$2
2082 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2083 $as_echo_n "checking for $ac_word... " >&6; }
2084 if test "${ac_cv_prog_STRIP+set}" = set; then
2085 $as_echo_n "(cached) " >&6
2086 else
2087 if test -n "$STRIP"; then
2088 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2089 else
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091 for as_dir in $PATH
2092 do
2093 IFS=$as_save_IFS
2094 test -z "$as_dir" && as_dir=.
2095 for ac_exec_ext in '' $ac_executable_extensions; do
2096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2097 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2098 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 break 2
2100 fi
2101 done
2102 done
2103 IFS=$as_save_IFS
2104
2105 fi
2106 fi
2107 STRIP=$ac_cv_prog_STRIP
2108 if test -n "$STRIP"; then
2109 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2110 $as_echo "$STRIP" >&6; }
2111 else
2112 { $as_echo "$as_me:$LINENO: result: no" >&5
2113 $as_echo "no" >&6; }
2114 fi
2115
2116
2117 fi
2118 if test -z "$ac_cv_prog_STRIP"; then
2119 ac_ct_STRIP=$STRIP
2120 # Extract the first word of "strip", so it can be a program name with args.
2121 set dummy strip; ac_word=$2
2122 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2123 $as_echo_n "checking for $ac_word... " >&6; }
2124 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2125 $as_echo_n "(cached) " >&6
2126 else
2127 if test -n "$ac_ct_STRIP"; then
2128 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2129 else
2130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131 for as_dir in $PATH
2132 do
2133 IFS=$as_save_IFS
2134 test -z "$as_dir" && as_dir=.
2135 for ac_exec_ext in '' $ac_executable_extensions; do
2136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2137 ac_cv_prog_ac_ct_STRIP="strip"
2138 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2139 break 2
2140 fi
2141 done
2142 done
2143 IFS=$as_save_IFS
2144
2145 fi
2146 fi
2147 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2148 if test -n "$ac_ct_STRIP"; then
2149 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2150 $as_echo "$ac_ct_STRIP" >&6; }
2151 else
2152 { $as_echo "$as_me:$LINENO: result: no" >&5
2153 $as_echo "no" >&6; }
2154 fi
2155
2156 if test "x$ac_ct_STRIP" = x; then
2157 STRIP=":"
2158 else
2159 case $cross_compiling:$ac_tool_warned in
2160 yes:)
2161 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2163 ac_tool_warned=yes ;;
2164 esac
2165 STRIP=$ac_ct_STRIP
2166 fi
2167 else
2168 STRIP="$ac_cv_prog_STRIP"
2169 fi
2170
2171 fi
2172 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2173
2174 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2175 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2176 if test -z "$MKDIR_P"; then
2177 if test "${ac_cv_path_mkdir+set}" = set; then
2178 $as_echo_n "(cached) " >&6
2179 else
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2182 do
2183 IFS=$as_save_IFS
2184 test -z "$as_dir" && as_dir=.
2185 for ac_prog in mkdir gmkdir; do
2186 for ac_exec_ext in '' $ac_executable_extensions; do
2187 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2188 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2189 'mkdir (GNU coreutils) '* | \
2190 'mkdir (coreutils) '* | \
2191 'mkdir (fileutils) '4.1*)
2192 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2193 break 3;;
2194 esac
2195 done
2196 done
2197 done
2198 IFS=$as_save_IFS
2199
2200 fi
2201
2202 if test "${ac_cv_path_mkdir+set}" = set; then
2203 MKDIR_P="$ac_cv_path_mkdir -p"
2204 else
2205 # As a last resort, use the slow shell script. Don't cache a
2206 # value for MKDIR_P within a source directory, because that will
2207 # break other packages using the cache if that directory is
2208 # removed, or if the value is a relative name.
2209 test -d ./--version && rmdir ./--version
2210 MKDIR_P="$ac_install_sh -d"
2211 fi
2212 fi
2213 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2214 $as_echo "$MKDIR_P" >&6; }
2215
2216 mkdir_p="$MKDIR_P"
2217 case $mkdir_p in
2218 [\\/$]* | ?:[\\/]*) ;;
2219 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2220 esac
2221
2222 for ac_prog in gawk mawk nawk awk
2223 do
2224 # Extract the first word of "$ac_prog", so it can be a program name with args.
2225 set dummy $ac_prog; ac_word=$2
2226 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 $as_echo_n "checking for $ac_word... " >&6; }
2228 if test "${ac_cv_prog_AWK+set}" = set; then
2229 $as_echo_n "(cached) " >&6
2230 else
2231 if test -n "$AWK"; then
2232 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2233 else
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 for as_dir in $PATH
2236 do
2237 IFS=$as_save_IFS
2238 test -z "$as_dir" && as_dir=.
2239 for ac_exec_ext in '' $ac_executable_extensions; do
2240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2241 ac_cv_prog_AWK="$ac_prog"
2242 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 break 2
2244 fi
2245 done
2246 done
2247 IFS=$as_save_IFS
2248
2249 fi
2250 fi
2251 AWK=$ac_cv_prog_AWK
2252 if test -n "$AWK"; then
2253 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2254 $as_echo "$AWK" >&6; }
2255 else
2256 { $as_echo "$as_me:$LINENO: result: no" >&5
2257 $as_echo "no" >&6; }
2258 fi
2259
2260
2261 test -n "$AWK" && break
2262 done
2263
2264 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2265 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2266 set x ${MAKE-make}
2267 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2268 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2269 $as_echo_n "(cached) " >&6
2270 else
2271 cat >conftest.make <<\_ACEOF
2272 SHELL = /bin/sh
2273 all:
2274 @echo '@@@%%%=$(MAKE)=@@@%%%'
2275 _ACEOF
2276 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2277 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2278 *@@@%%%=?*=@@@%%%*)
2279 eval ac_cv_prog_make_${ac_make}_set=yes;;
2280 *)
2281 eval ac_cv_prog_make_${ac_make}_set=no;;
2282 esac
2283 rm -f conftest.make
2284 fi
2285 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2286 { $as_echo "$as_me:$LINENO: result: yes" >&5
2287 $as_echo "yes" >&6; }
2288 SET_MAKE=
2289 else
2290 { $as_echo "$as_me:$LINENO: result: no" >&5
2291 $as_echo "no" >&6; }
2292 SET_MAKE="MAKE=${MAKE-make}"
2293 fi
2294
2295 rm -rf .tst 2>/dev/null
2296 mkdir .tst 2>/dev/null
2297 if test -d .tst; then
2298 am__leading_dot=.
2299 else
2300 am__leading_dot=_
2301 fi
2302 rmdir .tst 2>/dev/null
2303
2304 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2305 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2306 # is not polluted with repeated "-I."
2307 am__isrc=' -I$(srcdir)'
2308 # test to see if srcdir already configured
2309 if test -f $srcdir/config.status; then
2310 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2311 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2312 { (exit 1); exit 1; }; }
2313 fi
2314 fi
2315
2316 # test whether we have cygpath
2317 if test -z "$CYGPATH_W"; then
2318 if (cygpath --version) >/dev/null 2>/dev/null; then
2319 CYGPATH_W='cygpath -w'
2320 else
2321 CYGPATH_W=echo
2322 fi
2323 fi
2324
2325
2326 # Define the identity of the package.
2327 PACKAGE='unrtf'
2328 VERSION='0.21.2'
2329
2330
2331 cat >>confdefs.h <<_ACEOF
2332 @%:@define PACKAGE "$PACKAGE"
2333 _ACEOF
2334
2335
2336 cat >>confdefs.h <<_ACEOF
2337 @%:@define VERSION "$VERSION"
2338 _ACEOF
2339
2340 # Some tools Automake needs.
2341
2342 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2343
2344
2345 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2346
2347
2348 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2349
2350
2351 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2352
2353
2354 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2355
2356 # We need awk for the "check" target. The system "awk" is bad on
2357 # some platforms.
2358 # Always define AMTAR for backward compatibility.
2359
2360 AMTAR=${AMTAR-"${am_missing_run}tar"}
2361
2362 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2363
2364
2365
2366
2367
2368
2369 # AM_MAINTAINER_MODE is a controversial macro.
2370 # I suggest you read this to understand what is going on:
2371 #
2372 # http://www.gnu.org/software/automake/manual/html_mono/automake.html#maintainer-mode
2373 #
2374 # when acting as a maintainer (writing code, preparing distributions, ...),
2375 # turn the maintainer mode on by using ./configure --enable-maintainer-mode
2376 #
2377 # your users will not see maintainer rules, and so their (potentially
2378 # incompatible) autotools do not have any chance to trigger and mess up things.
2379
2380
2381 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2382 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2383 @%:@ Check whether --enable-maintainer-mode was given.
2384 if test "${enable_maintainer_mode+set}" = set; then
2385 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2386 else
2387 USE_MAINTAINER_MODE=no
2388 fi
2389
2390 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2391 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2392 if test $USE_MAINTAINER_MODE = yes; then
2393 MAINTAINER_MODE_TRUE=
2394 MAINTAINER_MODE_FALSE='#'
2395 else
2396 MAINTAINER_MODE_TRUE='#'
2397 MAINTAINER_MODE_FALSE=
2398 fi
2399
2400 MAINT=$MAINTAINER_MODE_TRUE
2401
2402
2403
2404 # Checks for programs (compiler and installation program)
2405 ac_ext=c
2406 ac_cpp='$CPP $CPPFLAGS'
2407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2410 if test -n "$ac_tool_prefix"; then
2411 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2412 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2413 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2414 $as_echo_n "checking for $ac_word... " >&6; }
2415 if test "${ac_cv_prog_CC+set}" = set; then
2416 $as_echo_n "(cached) " >&6
2417 else
2418 if test -n "$CC"; then
2419 ac_cv_prog_CC="$CC" # Let the user override the test.
2420 else
2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2422 for as_dir in $PATH
2423 do
2424 IFS=$as_save_IFS
2425 test -z "$as_dir" && as_dir=.
2426 for ac_exec_ext in '' $ac_executable_extensions; do
2427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2428 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2429 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2430 break 2
2431 fi
2432 done
2433 done
2434 IFS=$as_save_IFS
2435
2436 fi
2437 fi
2438 CC=$ac_cv_prog_CC
2439 if test -n "$CC"; then
2440 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2441 $as_echo "$CC" >&6; }
2442 else
2443 { $as_echo "$as_me:$LINENO: result: no" >&5
2444 $as_echo "no" >&6; }
2445 fi
2446
2447
2448 fi
2449 if test -z "$ac_cv_prog_CC"; then
2450 ac_ct_CC=$CC
2451 # Extract the first word of "gcc", so it can be a program name with args.
2452 set dummy gcc; ac_word=$2
2453 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2454 $as_echo_n "checking for $ac_word... " >&6; }
2455 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2456 $as_echo_n "(cached) " >&6
2457 else
2458 if test -n "$ac_ct_CC"; then
2459 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2460 else
2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2462 for as_dir in $PATH
2463 do
2464 IFS=$as_save_IFS
2465 test -z "$as_dir" && as_dir=.
2466 for ac_exec_ext in '' $ac_executable_extensions; do
2467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2468 ac_cv_prog_ac_ct_CC="gcc"
2469 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2470 break 2
2471 fi
2472 done
2473 done
2474 IFS=$as_save_IFS
2475
2476 fi
2477 fi
2478 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2479 if test -n "$ac_ct_CC"; then
2480 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2481 $as_echo "$ac_ct_CC" >&6; }
2482 else
2483 { $as_echo "$as_me:$LINENO: result: no" >&5
2484 $as_echo "no" >&6; }
2485 fi
2486
2487 if test "x$ac_ct_CC" = x; then
2488 CC=""
2489 else
2490 case $cross_compiling:$ac_tool_warned in
2491 yes:)
2492 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2494 ac_tool_warned=yes ;;
2495 esac
2496 CC=$ac_ct_CC
2497 fi
2498 else
2499 CC="$ac_cv_prog_CC"
2500 fi
2501
2502 if test -z "$CC"; then
2503 if test -n "$ac_tool_prefix"; then
2504 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2505 set dummy ${ac_tool_prefix}cc; ac_word=$2
2506 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2507 $as_echo_n "checking for $ac_word... " >&6; }
2508 if test "${ac_cv_prog_CC+set}" = set; then
2509 $as_echo_n "(cached) " >&6
2510 else
2511 if test -n "$CC"; then
2512 ac_cv_prog_CC="$CC" # Let the user override the test.
2513 else
2514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2515 for as_dir in $PATH
2516 do
2517 IFS=$as_save_IFS
2518 test -z "$as_dir" && as_dir=.
2519 for ac_exec_ext in '' $ac_executable_extensions; do
2520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2521 ac_cv_prog_CC="${ac_tool_prefix}cc"
2522 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2523 break 2
2524 fi
2525 done
2526 done
2527 IFS=$as_save_IFS
2528
2529 fi
2530 fi
2531 CC=$ac_cv_prog_CC
2532 if test -n "$CC"; then
2533 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2534 $as_echo "$CC" >&6; }
2535 else
2536 { $as_echo "$as_me:$LINENO: result: no" >&5
2537 $as_echo "no" >&6; }
2538 fi
2539
2540
2541 fi
2542 fi
2543 if test -z "$CC"; then
2544 # Extract the first word of "cc", so it can be a program name with args.
2545 set dummy cc; ac_word=$2
2546 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2547 $as_echo_n "checking for $ac_word... " >&6; }
2548 if test "${ac_cv_prog_CC+set}" = set; then
2549 $as_echo_n "(cached) " >&6
2550 else
2551 if test -n "$CC"; then
2552 ac_cv_prog_CC="$CC" # Let the user override the test.
2553 else
2554 ac_prog_rejected=no
2555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2556 for as_dir in $PATH
2557 do
2558 IFS=$as_save_IFS
2559 test -z "$as_dir" && as_dir=.
2560 for ac_exec_ext in '' $ac_executable_extensions; do
2561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2562 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2563 ac_prog_rejected=yes
2564 continue
2565 fi
2566 ac_cv_prog_CC="cc"
2567 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2568 break 2
2569 fi
2570 done
2571 done
2572 IFS=$as_save_IFS
2573
2574 if test $ac_prog_rejected = yes; then
2575 # We found a bogon in the path, so make sure we never use it.
2576 set dummy $ac_cv_prog_CC
2577 shift
2578 if test $@%:@ != 0; then
2579 # We chose a different compiler from the bogus one.
2580 # However, it has the same basename, so the bogon will be chosen
2581 # first if we set CC to just the basename; use the full file name.
2582 shift
2583 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2584 fi
2585 fi
2586 fi
2587 fi
2588 CC=$ac_cv_prog_CC
2589 if test -n "$CC"; then
2590 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2591 $as_echo "$CC" >&6; }
2592 else
2593 { $as_echo "$as_me:$LINENO: result: no" >&5
2594 $as_echo "no" >&6; }
2595 fi
2596
2597
2598 fi
2599 if test -z "$CC"; then
2600 if test -n "$ac_tool_prefix"; then
2601 for ac_prog in cl.exe
2602 do
2603 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2604 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2605 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2606 $as_echo_n "checking for $ac_word... " >&6; }
2607 if test "${ac_cv_prog_CC+set}" = set; then
2608 $as_echo_n "(cached) " >&6
2609 else
2610 if test -n "$CC"; then
2611 ac_cv_prog_CC="$CC" # Let the user override the test.
2612 else
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 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2621 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2622 break 2
2623 fi
2624 done
2625 done
2626 IFS=$as_save_IFS
2627
2628 fi
2629 fi
2630 CC=$ac_cv_prog_CC
2631 if test -n "$CC"; then
2632 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2633 $as_echo "$CC" >&6; }
2634 else
2635 { $as_echo "$as_me:$LINENO: result: no" >&5
2636 $as_echo "no" >&6; }
2637 fi
2638
2639
2640 test -n "$CC" && break
2641 done
2642 fi
2643 if test -z "$CC"; then
2644 ac_ct_CC=$CC
2645 for ac_prog in cl.exe
2646 do
2647 # Extract the first word of "$ac_prog", so it can be a program name with args.
2648 set dummy $ac_prog; ac_word=$2
2649 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2650 $as_echo_n "checking for $ac_word... " >&6; }
2651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2652 $as_echo_n "(cached) " >&6
2653 else
2654 if test -n "$ac_ct_CC"; then
2655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2656 else
2657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658 for as_dir in $PATH
2659 do
2660 IFS=$as_save_IFS
2661 test -z "$as_dir" && as_dir=.
2662 for ac_exec_ext in '' $ac_executable_extensions; do
2663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2664 ac_cv_prog_ac_ct_CC="$ac_prog"
2665 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2666 break 2
2667 fi
2668 done
2669 done
2670 IFS=$as_save_IFS
2671
2672 fi
2673 fi
2674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2675 if test -n "$ac_ct_CC"; then
2676 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2677 $as_echo "$ac_ct_CC" >&6; }
2678 else
2679 { $as_echo "$as_me:$LINENO: result: no" >&5
2680 $as_echo "no" >&6; }
2681 fi
2682
2683
2684 test -n "$ac_ct_CC" && break
2685 done
2686
2687 if test "x$ac_ct_CC" = x; then
2688 CC=""
2689 else
2690 case $cross_compiling:$ac_tool_warned in
2691 yes:)
2692 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2694 ac_tool_warned=yes ;;
2695 esac
2696 CC=$ac_ct_CC
2697 fi
2698 fi
2699
2700 fi
2701
2702
2703 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2705 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2706 See \`config.log' for more details." >&5
2707 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2708 See \`config.log' for more details." >&2;}
2709 { (exit 1); exit 1; }; }; }
2710
2711 # Provide some information about the compiler.
2712 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2713 set X $ac_compile
2714 ac_compiler=$2
2715 { (ac_try="$ac_compiler --version >&5"
2716 case "(($ac_try" in
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2719 esac
2720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2721 $as_echo "$ac_try_echo") >&5
2722 (eval "$ac_compiler --version >&5") 2>&5
2723 ac_status=$?
2724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); }
2726 { (ac_try="$ac_compiler -v >&5"
2727 case "(($ac_try" in
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2730 esac
2731 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2732 $as_echo "$ac_try_echo") >&5
2733 (eval "$ac_compiler -v >&5") 2>&5
2734 ac_status=$?
2735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }
2737 { (ac_try="$ac_compiler -V >&5"
2738 case "(($ac_try" in
2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2740 *) ac_try_echo=$ac_try;;
2741 esac
2742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2743 $as_echo "$ac_try_echo") >&5
2744 (eval "$ac_compiler -V >&5") 2>&5
2745 ac_status=$?
2746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); }
2748
2749 cat >conftest.$ac_ext <<_ACEOF
2750 /* confdefs.h. */
2751 _ACEOF
2752 cat confdefs.h >>conftest.$ac_ext
2753 cat >>conftest.$ac_ext <<_ACEOF
2754 /* end confdefs.h. */
2755
2756 int
2757 main ()
2758 {
2759
2760 ;
2761 return 0;
2762 }
2763 _ACEOF
2764 ac_clean_files_save=$ac_clean_files
2765 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2766 # Try to create an executable without -o first, disregard a.out.
2767 # It will help us diagnose broken compilers, and finding out an intuition
2768 # of exeext.
2769 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2770 $as_echo_n "checking for C compiler default output file name... " >&6; }
2771 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2772
2773 # The possible output files:
2774 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2775
2776 ac_rmfiles=
2777 for ac_file in $ac_files
2778 do
2779 case $ac_file in
2780 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2781 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2782 esac
2783 done
2784 rm -f $ac_rmfiles
2785
2786 if { (ac_try="$ac_link_default"
2787 case "(($ac_try" in
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2790 esac
2791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2792 $as_echo "$ac_try_echo") >&5
2793 (eval "$ac_link_default") 2>&5
2794 ac_status=$?
2795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }; then
2797 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2798 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2799 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2800 # so that the user can short-circuit this test for compilers unknown to
2801 # Autoconf.
2802 for ac_file in $ac_files ''
2803 do
2804 test -f "$ac_file" || continue
2805 case $ac_file in
2806 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2807 ;;
2808 [ab].out )
2809 # We found the default executable, but exeext='' is most
2810 # certainly right.
2811 break;;
2812 *.* )
2813 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2814 then :; else
2815 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2816 fi
2817 # We set ac_cv_exeext here because the later test for it is not
2818 # safe: cross compilers may not add the suffix if given an `-o'
2819 # argument, so we may need to know it at that point already.
2820 # Even if this section looks crufty: it has the advantage of
2821 # actually working.
2822 break;;
2823 * )
2824 break;;
2825 esac
2826 done
2827 test "$ac_cv_exeext" = no && ac_cv_exeext=
2828
2829 else
2830 ac_file=''
2831 fi
2832
2833 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2834 $as_echo "$ac_file" >&6; }
2835 if test -z "$ac_file"; then
2836 $as_echo "$as_me: failed program was:" >&5
2837 sed 's/^/| /' conftest.$ac_ext >&5
2838
2839 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2841 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2842 See \`config.log' for more details." >&5
2843 $as_echo "$as_me: error: C compiler cannot create executables
2844 See \`config.log' for more details." >&2;}
2845 { (exit 77); exit 77; }; }; }
2846 fi
2847
2848 ac_exeext=$ac_cv_exeext
2849
2850 # Check that the compiler produces executables we can run. If not, either
2851 # the compiler is broken, or we cross compile.
2852 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2853 $as_echo_n "checking whether the C compiler works... " >&6; }
2854 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2855 # If not cross compiling, check that we can run a simple program.
2856 if test "$cross_compiling" != yes; then
2857 if { ac_try='./$ac_file'
2858 { (case "(($ac_try" in
2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860 *) ac_try_echo=$ac_try;;
2861 esac
2862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2863 $as_echo "$ac_try_echo") >&5
2864 (eval "$ac_try") 2>&5
2865 ac_status=$?
2866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }; }; then
2868 cross_compiling=no
2869 else
2870 if test "$cross_compiling" = maybe; then
2871 cross_compiling=yes
2872 else
2873 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2875 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2876 If you meant to cross compile, use \`--host'.
2877 See \`config.log' for more details." >&5
2878 $as_echo "$as_me: error: cannot run C compiled programs.
2879 If you meant to cross compile, use \`--host'.
2880 See \`config.log' for more details." >&2;}
2881 { (exit 1); exit 1; }; }; }
2882 fi
2883 fi
2884 fi
2885 { $as_echo "$as_me:$LINENO: result: yes" >&5
2886 $as_echo "yes" >&6; }
2887
2888 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2889 ac_clean_files=$ac_clean_files_save
2890 # Check that the compiler produces executables we can run. If not, either
2891 # the compiler is broken, or we cross compile.
2892 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2893 $as_echo_n "checking whether we are cross compiling... " >&6; }
2894 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2895 $as_echo "$cross_compiling" >&6; }
2896
2897 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2898 $as_echo_n "checking for suffix of executables... " >&6; }
2899 if { (ac_try="$ac_link"
2900 case "(($ac_try" in
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2903 esac
2904 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2905 $as_echo "$ac_try_echo") >&5
2906 (eval "$ac_link") 2>&5
2907 ac_status=$?
2908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); }; then
2910 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2911 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2912 # work properly (i.e., refer to `conftest.exe'), while it won't with
2913 # `rm'.
2914 for ac_file in conftest.exe conftest conftest.*; do
2915 test -f "$ac_file" || continue
2916 case $ac_file in
2917 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2918 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2919 break;;
2920 * ) break;;
2921 esac
2922 done
2923 else
2924 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2926 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2927 See \`config.log' for more details." >&5
2928 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2929 See \`config.log' for more details." >&2;}
2930 { (exit 1); exit 1; }; }; }
2931 fi
2932
2933 rm -f conftest$ac_cv_exeext
2934 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2935 $as_echo "$ac_cv_exeext" >&6; }
2936
2937 rm -f conftest.$ac_ext
2938 EXEEXT=$ac_cv_exeext
2939 ac_exeext=$EXEEXT
2940 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2941 $as_echo_n "checking for suffix of object files... " >&6; }
2942 if test "${ac_cv_objext+set}" = set; then
2943 $as_echo_n "(cached) " >&6
2944 else
2945 cat >conftest.$ac_ext <<_ACEOF
2946 /* confdefs.h. */
2947 _ACEOF
2948 cat confdefs.h >>conftest.$ac_ext
2949 cat >>conftest.$ac_ext <<_ACEOF
2950 /* end confdefs.h. */
2951
2952 int
2953 main ()
2954 {
2955
2956 ;
2957 return 0;
2958 }
2959 _ACEOF
2960 rm -f conftest.o conftest.obj
2961 if { (ac_try="$ac_compile"
2962 case "(($ac_try" in
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2965 esac
2966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2967 $as_echo "$ac_try_echo") >&5
2968 (eval "$ac_compile") 2>&5
2969 ac_status=$?
2970 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); }; then
2972 for ac_file in conftest.o conftest.obj 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 ) ;;
2976 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2977 break;;
2978 esac
2979 done
2980 else
2981 $as_echo "$as_me: failed program was:" >&5
2982 sed 's/^/| /' conftest.$ac_ext >&5
2983
2984 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2986 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2987 See \`config.log' for more details." >&5
2988 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2989 See \`config.log' for more details." >&2;}
2990 { (exit 1); exit 1; }; }; }
2991 fi
2992
2993 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2994 fi
2995 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2996 $as_echo "$ac_cv_objext" >&6; }
2997 OBJEXT=$ac_cv_objext
2998 ac_objext=$OBJEXT
2999 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3000 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3001 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3002 $as_echo_n "(cached) " >&6
3003 else
3004 cat >conftest.$ac_ext <<_ACEOF
3005 /* confdefs.h. */
3006 _ACEOF
3007 cat confdefs.h >>conftest.$ac_ext
3008 cat >>conftest.$ac_ext <<_ACEOF
3009 /* end confdefs.h. */
3010
3011 int
3012 main ()
3013 {
3014 #ifndef __GNUC__
3015 choke me
3016 #endif
3017
3018 ;
3019 return 0;
3020 }
3021 _ACEOF
3022 rm -f conftest.$ac_objext
3023 if { (ac_try="$ac_compile"
3024 case "(($ac_try" in
3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3026 *) ac_try_echo=$ac_try;;
3027 esac
3028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3029 $as_echo "$ac_try_echo") >&5
3030 (eval "$ac_compile") 2>conftest.er1
3031 ac_status=$?
3032 grep -v '^ *+' conftest.er1 >conftest.err
3033 rm -f conftest.er1
3034 cat conftest.err >&5
3035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); } && {
3037 test -z "$ac_c_werror_flag" ||
3038 test ! -s conftest.err
3039 } && test -s conftest.$ac_objext; then
3040 ac_compiler_gnu=yes
3041 else
3042 $as_echo "$as_me: failed program was:" >&5
3043 sed 's/^/| /' conftest.$ac_ext >&5
3044
3045 ac_compiler_gnu=no
3046 fi
3047
3048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3049 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3050
3051 fi
3052 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3053 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3054 if test $ac_compiler_gnu = yes; then
3055 GCC=yes
3056 else
3057 GCC=
3058 fi
3059 ac_test_CFLAGS=${CFLAGS+set}
3060 ac_save_CFLAGS=$CFLAGS
3061 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3062 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3063 if test "${ac_cv_prog_cc_g+set}" = set; then
3064 $as_echo_n "(cached) " >&6
3065 else
3066 ac_save_c_werror_flag=$ac_c_werror_flag
3067 ac_c_werror_flag=yes
3068 ac_cv_prog_cc_g=no
3069 CFLAGS="-g"
3070 cat >conftest.$ac_ext <<_ACEOF
3071 /* confdefs.h. */
3072 _ACEOF
3073 cat confdefs.h >>conftest.$ac_ext
3074 cat >>conftest.$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3076
3077 int
3078 main ()
3079 {
3080
3081 ;
3082 return 0;
3083 }
3084 _ACEOF
3085 rm -f conftest.$ac_objext
3086 if { (ac_try="$ac_compile"
3087 case "(($ac_try" in
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3090 esac
3091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3092 $as_echo "$ac_try_echo") >&5
3093 (eval "$ac_compile") 2>conftest.er1
3094 ac_status=$?
3095 grep -v '^ *+' conftest.er1 >conftest.err
3096 rm -f conftest.er1
3097 cat conftest.err >&5
3098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); } && {
3100 test -z "$ac_c_werror_flag" ||
3101 test ! -s conftest.err
3102 } && test -s conftest.$ac_objext; then
3103 ac_cv_prog_cc_g=yes
3104 else
3105 $as_echo "$as_me: failed program was:" >&5
3106 sed 's/^/| /' conftest.$ac_ext >&5
3107
3108 CFLAGS=""
3109 cat >conftest.$ac_ext <<_ACEOF
3110 /* confdefs.h. */
3111 _ACEOF
3112 cat confdefs.h >>conftest.$ac_ext
3113 cat >>conftest.$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3115
3116 int
3117 main ()
3118 {
3119
3120 ;
3121 return 0;
3122 }
3123 _ACEOF
3124 rm -f conftest.$ac_objext
3125 if { (ac_try="$ac_compile"
3126 case "(($ac_try" in
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3129 esac
3130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3131 $as_echo "$ac_try_echo") >&5
3132 (eval "$ac_compile") 2>conftest.er1
3133 ac_status=$?
3134 grep -v '^ *+' conftest.er1 >conftest.err
3135 rm -f conftest.er1
3136 cat conftest.err >&5
3137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); } && {
3139 test -z "$ac_c_werror_flag" ||
3140 test ! -s conftest.err
3141 } && test -s conftest.$ac_objext; then
3142 :
3143 else
3144 $as_echo "$as_me: failed program was:" >&5
3145 sed 's/^/| /' conftest.$ac_ext >&5
3146
3147 ac_c_werror_flag=$ac_save_c_werror_flag
3148 CFLAGS="-g"
3149 cat >conftest.$ac_ext <<_ACEOF
3150 /* confdefs.h. */
3151 _ACEOF
3152 cat confdefs.h >>conftest.$ac_ext
3153 cat >>conftest.$ac_ext <<_ACEOF
3154 /* end confdefs.h. */
3155
3156 int
3157 main ()
3158 {
3159
3160 ;
3161 return 0;
3162 }
3163 _ACEOF
3164 rm -f conftest.$ac_objext
3165 if { (ac_try="$ac_compile"
3166 case "(($ac_try" in
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3169 esac
3170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3171 $as_echo "$ac_try_echo") >&5
3172 (eval "$ac_compile") 2>conftest.er1
3173 ac_status=$?
3174 grep -v '^ *+' conftest.er1 >conftest.err
3175 rm -f conftest.er1
3176 cat conftest.err >&5
3177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); } && {
3179 test -z "$ac_c_werror_flag" ||
3180 test ! -s conftest.err
3181 } && test -s conftest.$ac_objext; then
3182 ac_cv_prog_cc_g=yes
3183 else
3184 $as_echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.$ac_ext >&5
3186
3187
3188 fi
3189
3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3191 fi
3192
3193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3194 fi
3195
3196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3197 ac_c_werror_flag=$ac_save_c_werror_flag
3198 fi
3199 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3200 $as_echo "$ac_cv_prog_cc_g" >&6; }
3201 if test "$ac_test_CFLAGS" = set; then
3202 CFLAGS=$ac_save_CFLAGS
3203 elif test $ac_cv_prog_cc_g = yes; then
3204 if test "$GCC" = yes; then
3205 CFLAGS="-g -O2"
3206 else
3207 CFLAGS="-g"
3208 fi
3209 else
3210 if test "$GCC" = yes; then
3211 CFLAGS="-O2"
3212 else
3213 CFLAGS=
3214 fi
3215 fi
3216 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3217 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3218 if test "${ac_cv_prog_cc_c89+set}" = set; then
3219 $as_echo_n "(cached) " >&6
3220 else
3221 ac_cv_prog_cc_c89=no
3222 ac_save_CC=$CC
3223 cat >conftest.$ac_ext <<_ACEOF
3224 /* confdefs.h. */
3225 _ACEOF
3226 cat confdefs.h >>conftest.$ac_ext
3227 cat >>conftest.$ac_ext <<_ACEOF
3228 /* end confdefs.h. */
3229 #include <stdarg.h>
3230 #include <stdio.h>
3231 #include <sys/types.h>
3232 #include <sys/stat.h>
3233 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3234 struct buf { int x; };
3235 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3236 static char *e (p, i)
3237 char **p;
3238 int i;
3239 {
3240 return p[i];
3241 }
3242 static char *f (char * (*g) (char **, int), char **p, ...)
3243 {
3244 char *s;
3245 va_list v;
3246 va_start (v,p);
3247 s = g (p, va_arg (v,int));
3248 va_end (v);
3249 return s;
3250 }
3251
3252 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3253 function prototypes and stuff, but not '\xHH' hex character constants.
3254 These don't provoke an error unfortunately, instead are silently treated
3255 as 'x'. The following induces an error, until -std is added to get
3256 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3257 array size at least. It's necessary to write '\x00'==0 to get something
3258 that's true only with -std. */
3259 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3260
3261 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3262 inside strings and character constants. */
3263 #define FOO(x) 'x'
3264 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3265
3266 int test (int i, double x);
3267 struct s1 {int (*f) (int a);};
3268 struct s2 {int (*f) (double a);};
3269 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3270 int argc;
3271 char **argv;
3272 int
3273 main ()
3274 {
3275 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3276 ;
3277 return 0;
3278 }
3279 _ACEOF
3280 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3281 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3282 do
3283 CC="$ac_save_CC $ac_arg"
3284 rm -f conftest.$ac_objext
3285 if { (ac_try="$ac_compile"
3286 case "(($ac_try" in
3287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3288 *) ac_try_echo=$ac_try;;
3289 esac
3290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3291 $as_echo "$ac_try_echo") >&5
3292 (eval "$ac_compile") 2>conftest.er1
3293 ac_status=$?
3294 grep -v '^ *+' conftest.er1 >conftest.err
3295 rm -f conftest.er1
3296 cat conftest.err >&5
3297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } && {
3299 test -z "$ac_c_werror_flag" ||
3300 test ! -s conftest.err
3301 } && test -s conftest.$ac_objext; then
3302 ac_cv_prog_cc_c89=$ac_arg
3303 else
3304 $as_echo "$as_me: failed program was:" >&5
3305 sed 's/^/| /' conftest.$ac_ext >&5
3306
3307
3308 fi
3309
3310 rm -f core conftest.err conftest.$ac_objext
3311 test "x$ac_cv_prog_cc_c89" != "xno" && break
3312 done
3313 rm -f conftest.$ac_ext
3314 CC=$ac_save_CC
3315
3316 fi
3317 # AC_CACHE_VAL
3318 case "x$ac_cv_prog_cc_c89" in
3319 x)
3320 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3321 $as_echo "none needed" >&6; } ;;
3322 xno)
3323 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3324 $as_echo "unsupported" >&6; } ;;
3325 *)
3326 CC="$CC $ac_cv_prog_cc_c89"
3327 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3328 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3329 esac
3330
3331
3332 ac_ext=c
3333 ac_cpp='$CPP $CPPFLAGS'
3334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3337 DEPDIR="${am__leading_dot}deps"
3338
3339 ac_config_commands="$ac_config_commands depfiles"
3340
3341
3342 am_make=${MAKE-make}
3343 cat > confinc << 'END'
3344 am__doit:
3345 @echo this is the am__doit target
3346 .PHONY: am__doit
3347 END
3348 # If we don't find an include directive, just comment out the code.
3349 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3350 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3351 am__include="#"
3352 am__quote=
3353 _am_result=none
3354 # First try GNU make style include.
3355 echo "include confinc" > confmf
3356 # Ignore all kinds of additional output from `make'.
3357 case `$am_make -s -f confmf 2> /dev/null` in #(
3358 *the\ am__doit\ target*)
3359 am__include=include
3360 am__quote=
3361 _am_result=GNU
3362 ;;
3363 esac
3364 # Now try BSD make style include.
3365 if test "$am__include" = "#"; then
3366 echo '.include "confinc"' > confmf
3367 case `$am_make -s -f confmf 2> /dev/null` in #(
3368 *the\ am__doit\ target*)
3369 am__include=.include
3370 am__quote="\""
3371 _am_result=BSD
3372 ;;
3373 esac
3374 fi
3375
3376
3377 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3378 $as_echo "$_am_result" >&6; }
3379 rm -f confinc confmf
3380
3381 @%:@ Check whether --enable-dependency-tracking was given.
3382 if test "${enable_dependency_tracking+set}" = set; then
3383 enableval=$enable_dependency_tracking;
3384 fi
3385
3386 if test "x$enable_dependency_tracking" != xno; then
3387 am_depcomp="$ac_aux_dir/depcomp"
3388 AMDEPBACKSLASH='\'
3389 fi
3390 if test "x$enable_dependency_tracking" != xno; then
3391 AMDEP_TRUE=
3392 AMDEP_FALSE='#'
3393 else
3394 AMDEP_TRUE='#'
3395 AMDEP_FALSE=
3396 fi
3397
3398
3399
3400 depcc="$CC" am_compiler_list=
3401
3402 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3403 $as_echo_n "checking dependency style of $depcc... " >&6; }
3404 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3405 $as_echo_n "(cached) " >&6
3406 else
3407 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3408 # We make a subdir and do the tests there. Otherwise we can end up
3409 # making bogus files that we don't know about and never remove. For
3410 # instance it was reported that on HP-UX the gcc test will end up
3411 # making a dummy file named `D' -- because `-MD' means `put the output
3412 # in D'.
3413 mkdir conftest.dir
3414 # Copy depcomp to subdir because otherwise we won't find it if we're
3415 # using a relative directory.
3416 cp "$am_depcomp" conftest.dir
3417 cd conftest.dir
3418 # We will build objects and dependencies in a subdirectory because
3419 # it helps to detect inapplicable dependency modes. For instance
3420 # both Tru64's cc and ICC support -MD to output dependencies as a
3421 # side effect of compilation, but ICC will put the dependencies in
3422 # the current directory while Tru64 will put them in the object
3423 # directory.
3424 mkdir sub
3425
3426 am_cv_CC_dependencies_compiler_type=none
3427 if test "$am_compiler_list" = ""; then
3428 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3429 fi
3430 am__universal=false
3431 case " $depcc " in #(
3432 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3433 esac
3434
3435 for depmode in $am_compiler_list; do
3436 # Setup a source with many dependencies, because some compilers
3437 # like to wrap large dependency lists on column 80 (with \), and
3438 # we should not choose a depcomp mode which is confused by this.
3439 #
3440 # We need to recreate these files for each test, as the compiler may
3441 # overwrite some of them when testing with obscure command lines.
3442 # This happens at least with the AIX C compiler.
3443 : > sub/conftest.c
3444 for i in 1 2 3 4 5 6; do
3445 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3446 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3447 # Solaris 8's {/usr,}/bin/sh.
3448 touch sub/conftst$i.h
3449 done
3450 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3451
3452 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3453 # mode. It turns out that the SunPro C++ compiler does not properly
3454 # handle `-M -o', and we need to detect this. Also, some Intel
3455 # versions had trouble with output in subdirs
3456 am__obj=sub/conftest.${OBJEXT-o}
3457 am__minus_obj="-o $am__obj"
3458 case $depmode in
3459 gcc)
3460 # This depmode causes a compiler race in universal mode.
3461 test "$am__universal" = false || continue
3462 ;;
3463 nosideeffect)
3464 # after this tag, mechanisms are not by side-effect, so they'll
3465 # only be used when explicitly requested
3466 if test "x$enable_dependency_tracking" = xyes; then
3467 continue
3468 else
3469 break
3470 fi
3471 ;;
3472 msvisualcpp | msvcmsys)
3473 # This compiler won't grok `-c -o', but also, the minuso test has
3474 # not run yet. These depmodes are late enough in the game, and
3475 # so weak that their functioning should not be impacted.
3476 am__obj=conftest.${OBJEXT-o}
3477 am__minus_obj=
3478 ;;
3479 none) break ;;
3480 esac
3481 if depmode=$depmode \
3482 source=sub/conftest.c object=$am__obj \
3483 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3484 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3485 >/dev/null 2>conftest.err &&
3486 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3487 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3488 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3489 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3490 # icc doesn't choke on unknown options, it will just issue warnings
3491 # or remarks (even with -Werror). So we grep stderr for any message
3492 # that says an option was ignored or not supported.
3493 # When given -MP, icc 7.0 and 7.1 complain thusly:
3494 # icc: Command line warning: ignoring option '-M'; no argument required
3495 # The diagnosis changed in icc 8.0:
3496 # icc: Command line remark: option '-MP' not supported
3497 if (grep 'ignoring option' conftest.err ||
3498 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3499 am_cv_CC_dependencies_compiler_type=$depmode
3500 break
3501 fi
3502 fi
3503 done
3504
3505 cd ..
3506 rm -rf conftest.dir
3507 else
3508 am_cv_CC_dependencies_compiler_type=none
3509 fi
3510
3511 fi
3512 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3513 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3514 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3515
3516 if
3517 test "x$enable_dependency_tracking" != xno \
3518 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3519 am__fastdepCC_TRUE=
3520 am__fastdepCC_FALSE='#'
3521 else
3522 am__fastdepCC_TRUE='#'
3523 am__fastdepCC_FALSE=
3524 fi
3525
3526
3527 # Find a good install program. We prefer a C program (faster),
3528 # so one script is as good as another. But avoid the broken or
3529 # incompatible versions:
3530 # SysV /etc/install, /usr/sbin/install
3531 # SunOS /usr/etc/install
3532 # IRIX /sbin/install
3533 # AIX /bin/install
3534 # AmigaOS /C/install, which installs bootblocks on floppy discs
3535 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3536 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3537 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3538 # OS/2's system install, which has a completely different semantic
3539 # ./install, which can be erroneously created by make from ./install.sh.
3540 # Reject install programs that cannot install multiple files.
3541 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3542 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3543 if test -z "$INSTALL"; then
3544 if test "${ac_cv_path_install+set}" = set; then
3545 $as_echo_n "(cached) " >&6
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3549 do
3550 IFS=$as_save_IFS
3551 test -z "$as_dir" && as_dir=.
3552 # Account for people who put trailing slashes in PATH elements.
3553 case $as_dir/ in
3554 ./ | .// | /cC/* | \
3555 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3556 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3557 /usr/ucb/* ) ;;
3558 *)
3559 # OSF1 and SCO ODT 3.0 have their own names for install.
3560 # Don't use installbsd from OSF since it installs stuff as root
3561 # by default.
3562 for ac_prog in ginstall scoinst install; do
3563 for ac_exec_ext in '' $ac_executable_extensions; do
3564 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3565 if test $ac_prog = install &&
3566 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3567 # AIX install. It has an incompatible calling convention.
3568 :
3569 elif test $ac_prog = install &&
3570 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3571 # program-specific install script used by HP pwplus--don't use.
3572 :
3573 else
3574 rm -rf conftest.one conftest.two conftest.dir
3575 echo one > conftest.one
3576 echo two > conftest.two
3577 mkdir conftest.dir
3578 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3579 test -s conftest.one && test -s conftest.two &&
3580 test -s conftest.dir/conftest.one &&
3581 test -s conftest.dir/conftest.two
3582 then
3583 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3584 break 3
3585 fi
3586 fi
3587 fi
3588 done
3589 done
3590 ;;
3591 esac
3592
3593 done
3594 IFS=$as_save_IFS
3595
3596 rm -rf conftest.one conftest.two conftest.dir
3597
3598 fi
3599 if test "${ac_cv_path_install+set}" = set; then
3600 INSTALL=$ac_cv_path_install
3601 else
3602 # As a last resort, use the slow shell script. Don't cache a
3603 # value for INSTALL within a source directory, because that will
3604 # break other packages using the cache if that directory is
3605 # removed, or if the value is a relative name.
3606 INSTALL=$ac_install_sh
3607 fi
3608 fi
3609 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3610 $as_echo "$INSTALL" >&6; }
3611
3612 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3613 # It thinks the first close brace ends the variable substitution.
3614 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3615
3616 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3617
3618 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3619
3620
3621 # Checks for header files.
3622
3623 ac_ext=c
3624 ac_cpp='$CPP $CPPFLAGS'
3625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3628 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3629 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3630 # On Suns, sometimes $CPP names a directory.
3631 if test -n "$CPP" && test -d "$CPP"; then
3632 CPP=
3633 fi
3634 if test -z "$CPP"; then
3635 if test "${ac_cv_prog_CPP+set}" = set; then
3636 $as_echo_n "(cached) " >&6
3637 else
3638 # Double quotes because CPP needs to be expanded
3639 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3640 do
3641 ac_preproc_ok=false
3642 for ac_c_preproc_warn_flag in '' yes
3643 do
3644 # Use a header file that comes with gcc, so configuring glibc
3645 # with a fresh cross-compiler works.
3646 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3647 # <limits.h> exists even on freestanding compilers.
3648 # On the NeXT, cc -E runs the code through the compiler's parser,
3649 # not just through cpp. "Syntax error" is here to catch this case.
3650 cat >conftest.$ac_ext <<_ACEOF
3651 /* confdefs.h. */
3652 _ACEOF
3653 cat confdefs.h >>conftest.$ac_ext
3654 cat >>conftest.$ac_ext <<_ACEOF
3655 /* end confdefs.h. */
3656 @%:@ifdef __STDC__
3657 @%:@ include <limits.h>
3658 @%:@else
3659 @%:@ include <assert.h>
3660 @%:@endif
3661 Syntax error
3662 _ACEOF
3663 if { (ac_try="$ac_cpp conftest.$ac_ext"
3664 case "(($ac_try" in
3665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3666 *) ac_try_echo=$ac_try;;
3667 esac
3668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3669 $as_echo "$ac_try_echo") >&5
3670 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3671 ac_status=$?
3672 grep -v '^ *+' conftest.er1 >conftest.err
3673 rm -f conftest.er1
3674 cat conftest.err >&5
3675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); } >/dev/null && {
3677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3678 test ! -s conftest.err
3679 }; then
3680 :
3681 else
3682 $as_echo "$as_me: failed program was:" >&5
3683 sed 's/^/| /' conftest.$ac_ext >&5
3684
3685 # Broken: fails on valid input.
3686 continue
3687 fi
3688
3689 rm -f conftest.err conftest.$ac_ext
3690
3691 # OK, works on sane cases. Now check whether nonexistent headers
3692 # can be detected and how.
3693 cat >conftest.$ac_ext <<_ACEOF
3694 /* confdefs.h. */
3695 _ACEOF
3696 cat confdefs.h >>conftest.$ac_ext
3697 cat >>conftest.$ac_ext <<_ACEOF
3698 /* end confdefs.h. */
3699 @%:@include <ac_nonexistent.h>
3700 _ACEOF
3701 if { (ac_try="$ac_cpp conftest.$ac_ext"
3702 case "(($ac_try" in
3703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3704 *) ac_try_echo=$ac_try;;
3705 esac
3706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3707 $as_echo "$ac_try_echo") >&5
3708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3709 ac_status=$?
3710 grep -v '^ *+' conftest.er1 >conftest.err
3711 rm -f conftest.er1
3712 cat conftest.err >&5
3713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); } >/dev/null && {
3715 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3716 test ! -s conftest.err
3717 }; then
3718 # Broken: success on invalid input.
3719 continue
3720 else
3721 $as_echo "$as_me: failed program was:" >&5
3722 sed 's/^/| /' conftest.$ac_ext >&5
3723
3724 # Passes both tests.
3725 ac_preproc_ok=:
3726 break
3727 fi
3728
3729 rm -f conftest.err conftest.$ac_ext
3730
3731