Debian Codegraph @

configure

raw symbols SCIP
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
12
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
26
27 fi
28
29
30
31
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
49 fi
50 rm -f conf$$.sh
51 fi
52
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56 else
57 as_unset=false
58 fi
59
60
61 # IFS
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
67 '
68 IFS=" "" $as_nl"
69
70 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
75 do
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
81
82 ;;
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87 as_myself=$0
88 fi
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
92 fi
93
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
101
102 # NLS nuisances.
103 for as_var in \
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 LC_TELEPHONE LC_TIME
107 do
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112 fi
113 done
114
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119 else
120 as_expr=false
121 fi
122
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
127 fi
128
129
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
138 q
139 }
140 /^X\/\(\/\/\)$/{
141 s//\1/
142 q
143 }
144 /^X\/\(\/\).*/{
145 s//\1/
146 q
147 }
148 s/.*/./; q'`
149
150 # CDPATH.
151 $as_unset CDPATH
152
153
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157 else
158 as_have_required=no
159 fi
160
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
164 }
165 as_func_success () {
166 as_func_return 0
167 }
168 as_func_failure () {
169 as_func_return 1
170 }
171 as_func_ret_success () {
172 return 0
173 }
174 as_func_ret_failure () {
175 return 1
176 }
177
178 exitcode=0
179 if as_func_success; then
180 :
181 else
182 exitcode=1
183 echo as_func_success failed.
184 fi
185
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
189 fi
190
191 if as_func_ret_success; then
192 :
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
196 fi
197
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
201 fi
202
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204 :
205 else
206 exitcode=1
207 echo positional parameters were not saved.
208 fi
209
210 test \$exitcode = 0) || { (exit 1); exit 1; }
211
212 (
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
218 :
219 else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 do
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
227 /*)
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232 done
233 IFS=$as_save_IFS
234
235
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250 esac
251
252 fi
253
254
255 :
256 _ASEOF
257 }; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
272
273 fi
274
275
276 :
277 (as_func_return () {
278 (exit $1)
279 }
280 as_func_success () {
281 as_func_return 0
282 }
283 as_func_failure () {
284 as_func_return 1
285 }
286 as_func_ret_success () {
287 return 0
288 }
289 as_func_ret_failure () {
290 return 1
291 }
292
293 exitcode=0
294 if as_func_success; then
295 :
296 else
297 exitcode=1
298 echo as_func_success failed.
299 fi
300
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
304 fi
305
306 if as_func_ret_success; then
307 :
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
311 fi
312
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
316 fi
317
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
319 :
320 else
321 exitcode=1
322 echo positional parameters were not saved.
323 fi
324
325 test $exitcode = 0) || { (exit 1); exit 1; }
326
327 (
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333 _ASEOF
334 }; then
335 break
336 fi
337
338 fi
339
340 done
341
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 fi
349
350
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
357 fi
358
359
360 fi
361
362 fi
363
364
365
366 (eval "as_func_return () {
367 (exit \$1)
368 }
369 as_func_success () {
370 as_func_return 0
371 }
372 as_func_failure () {
373 as_func_return 1
374 }
375 as_func_ret_success () {
376 return 0
377 }
378 as_func_ret_failure () {
379 return 1
380 }
381
382 exitcode=0
383 if as_func_success; then
384 :
385 else
386 exitcode=1
387 echo as_func_success failed.
388 fi
389
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
393 fi
394
395 if as_func_ret_success; then
396 :
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
400 fi
401
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
405 fi
406
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 :
409 else
410 exitcode=1
411 echo positional parameters were not saved.
412 fi
413
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell [email protected] about your system,
417 echo including any error possibly output before this
418 echo message
419 }
420
421
422
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '
439 p
440 /[$]LINENO/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
445 b
446 :lineno
447 N
448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop
451 s/-\n.*//
452 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
456
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno"
461 # Exit status is that of the last command.
462 exit
463 }
464
465
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468 else
469 as_dirname=false
470 fi
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
479 *)
480 ECHO_N='-n';;
481 esac
482
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486 else
487 as_expr=false
488 fi
489
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493 else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
496 fi
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s'
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505 as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508 else
509 as_ln_s='cp -p'
510 fi
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
513
514 if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=:
516 else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
519 fi
520
521 if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523 else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
528 fi
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
540 '
541 fi
542 as_executable_p=$as_test_x
543
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
552 exec 7<&0 </dev/null 6>&1
553
554 # Name of the host.
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
571
572 # Identity of this package.
573 PACKAGE_NAME=
574 PACKAGE_TARNAME=
575 PACKAGE_VERSION=
576 PACKAGE_STRING=
577 PACKAGE_BUGREPORT=
578
579 ac_unique_file="fldiff.cxx"
580 ac_subst_vars='SHELL
581 PATH_SEPARATOR
582 PACKAGE_NAME
583 PACKAGE_TARNAME
584 PACKAGE_VERSION
585 PACKAGE_STRING
586 PACKAGE_BUGREPORT
587 exec_prefix
588 prefix
589 program_transform_name
590 bindir
591 sbindir
592 libexecdir
593 datarootdir
594 datadir
595 sysconfdir
596 sharedstatedir
597 localstatedir
598 includedir
599 oldincludedir
600 docdir
601 infodir
602 htmldir
603 dvidir
604 pdfdir
605 psdir
606 libdir
607 localedir
608 mandir
609 DEFS
610 ECHO_C
611 ECHO_N
612 ECHO_T
613 LIBS
614 build_alias
615 host_alias
616 target_alias
617 VERSION
618 CXXFLAGS
619 LDFLAGS
620 OPTIM
621 CC
622 CFLAGS
623 CPPFLAGS
624 ac_ct_CC
625 EXEEXT
626 OBJEXT
627 CXX
628 ac_ct_CXX
629 CP
630 MKDIR
631 RM
632 FLTKCONFIG
633 desktopdir
634 INSTALLDESKTOP
635 UNINSTALLDESKTOP
636 LIBOBJS
637 LTLIBOBJS'
638 ac_subst_files=''
639 ac_precious_vars='build_alias
640 host_alias
641 target_alias
642 CC
643 CFLAGS
644 LDFLAGS
645 LIBS
646 CPPFLAGS
647 CXX
648 CXXFLAGS
649 CCC'
650
651
652 # Initialize some variables set by options.
653 ac_init_help=
654 ac_init_version=false
655 # The variables have the same names as the options, with
656 # dashes changed to underlines.
657 cache_file=/dev/null
658 exec_prefix=NONE
659 no_create=
660 no_recursion=
661 prefix=NONE
662 program_prefix=NONE
663 program_suffix=NONE
664 program_transform_name=s,x,x,
665 silent=
666 site=
667 srcdir=
668 verbose=
669 x_includes=NONE
670 x_libraries=NONE
671
672 # Installation directory options.
673 # These are left unexpanded so users can "make install exec_prefix=/foo"
674 # and all the variables that are supposed to be based on exec_prefix
675 # by default will actually change.
676 # Use braces instead of parens because sh, perl, etc. also accept them.
677 # (The list follows the same order as the GNU Coding Standards.)
678 bindir='${exec_prefix}/bin'
679 sbindir='${exec_prefix}/sbin'
680 libexecdir='${exec_prefix}/libexec'
681 datarootdir='${prefix}/share'
682 datadir='${datarootdir}'
683 sysconfdir='${prefix}/etc'
684 sharedstatedir='${prefix}/com'
685 localstatedir='${prefix}/var'
686 includedir='${prefix}/include'
687 oldincludedir='/usr/include'
688 docdir='${datarootdir}/doc/${PACKAGE}'
689 infodir='${datarootdir}/info'
690 htmldir='${docdir}'
691 dvidir='${docdir}'
692 pdfdir='${docdir}'
693 psdir='${docdir}'
694 libdir='${exec_prefix}/lib'
695 localedir='${datarootdir}/locale'
696 mandir='${datarootdir}/man'
697
698 ac_prev=
699 ac_dashdash=
700 for ac_option
701 do
702 # If the previous option needs an argument, assign it.
703 if test -n "$ac_prev"; then
704 eval $ac_prev=\$ac_option
705 ac_prev=
706 continue
707 fi
708
709 case $ac_option in
710 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
711 *) ac_optarg=yes ;;
712 esac
713
714 # Accept the important Cygnus configure options, so we can diagnose typos.
715
716 case $ac_dashdash$ac_option in
717 --)
718 ac_dashdash=yes ;;
719
720 -bindir | --bindir | --bindi | --bind | --bin | --bi)
721 ac_prev=bindir ;;
722 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
723 bindir=$ac_optarg ;;
724
725 -build | --build | --buil | --bui | --bu)
726 ac_prev=build_alias ;;
727 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
728 build_alias=$ac_optarg ;;
729
730 -cache-file | --cache-file | --cache-fil | --cache-fi \
731 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
732 ac_prev=cache_file ;;
733 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
734 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
735 cache_file=$ac_optarg ;;
736
737 --config-cache | -C)
738 cache_file=config.cache ;;
739
740 -datadir | --datadir | --datadi | --datad)
741 ac_prev=datadir ;;
742 -datadir=* | --datadir=* | --datadi=* | --datad=*)
743 datadir=$ac_optarg ;;
744
745 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
746 | --dataroo | --dataro | --datar)
747 ac_prev=datarootdir ;;
748 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
749 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
750 datarootdir=$ac_optarg ;;
751
752 -disable-* | --disable-*)
753 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
754 # Reject names that are not valid shell variable names.
755 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
756 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
757 { (exit 1); exit 1; }; }
758 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
759 eval enable_$ac_feature=no ;;
760
761 -docdir | --docdir | --docdi | --doc | --do)
762 ac_prev=docdir ;;
763 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
764 docdir=$ac_optarg ;;
765
766 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
767 ac_prev=dvidir ;;
768 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
769 dvidir=$ac_optarg ;;
770
771 -enable-* | --enable-*)
772 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
773 # Reject names that are not valid shell variable names.
774 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
775 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
776 { (exit 1); exit 1; }; }
777 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
778 eval enable_$ac_feature=\$ac_optarg ;;
779
780 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
781 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
782 | --exec | --exe | --ex)
783 ac_prev=exec_prefix ;;
784 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
785 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
786 | --exec=* | --exe=* | --ex=*)
787 exec_prefix=$ac_optarg ;;
788
789 -gas | --gas | --ga | --g)
790 # Obsolete; use --with-gas.
791 with_gas=yes ;;
792
793 -help | --help | --hel | --he | -h)
794 ac_init_help=long ;;
795 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
796 ac_init_help=recursive ;;
797 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
798 ac_init_help=short ;;
799
800 -host | --host | --hos | --ho)
801 ac_prev=host_alias ;;
802 -host=* | --host=* | --hos=* | --ho=*)
803 host_alias=$ac_optarg ;;
804
805 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
806 ac_prev=htmldir ;;
807 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
808 | --ht=*)
809 htmldir=$ac_optarg ;;
810
811 -includedir | --includedir | --includedi | --included | --include \
812 | --includ | --inclu | --incl | --inc)
813 ac_prev=includedir ;;
814 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
815 | --includ=* | --inclu=* | --incl=* | --inc=*)
816 includedir=$ac_optarg ;;
817
818 -infodir | --infodir | --infodi | --infod | --info | --inf)
819 ac_prev=infodir ;;
820 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
821 infodir=$ac_optarg ;;
822
823 -libdir | --libdir | --libdi | --libd)
824 ac_prev=libdir ;;
825 -libdir=* | --libdir=* | --libdi=* | --libd=*)
826 libdir=$ac_optarg ;;
827
828 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
829 | --libexe | --libex | --libe)
830 ac_prev=libexecdir ;;
831 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
832 | --libexe=* | --libex=* | --libe=*)
833 libexecdir=$ac_optarg ;;
834
835 -localedir | --localedir | --localedi | --localed | --locale)
836 ac_prev=localedir ;;
837 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
838 localedir=$ac_optarg ;;
839
840 -localstatedir | --localstatedir | --localstatedi | --localstated \
841 | --localstate | --localstat | --localsta | --localst | --locals)
842 ac_prev=localstatedir ;;
843 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
844 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
845 localstatedir=$ac_optarg ;;
846
847 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
848 ac_prev=mandir ;;
849 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
850 mandir=$ac_optarg ;;
851
852 -nfp | --nfp | --nf)
853 # Obsolete; use --without-fp.
854 with_fp=no ;;
855
856 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
857 | --no-cr | --no-c | -n)
858 no_create=yes ;;
859
860 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
861 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
862 no_recursion=yes ;;
863
864 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
865 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
866 | --oldin | --oldi | --old | --ol | --o)
867 ac_prev=oldincludedir ;;
868 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
869 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
870 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
871 oldincludedir=$ac_optarg ;;
872
873 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
874 ac_prev=prefix ;;
875 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
876 prefix=$ac_optarg ;;
877
878 -program-prefix | --program-prefix | --program-prefi | --program-pref \
879 | --program-pre | --program-pr | --program-p)
880 ac_prev=program_prefix ;;
881 -program-prefix=* | --program-prefix=* | --program-prefi=* \
882 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
883 program_prefix=$ac_optarg ;;
884
885 -program-suffix | --program-suffix | --program-suffi | --program-suff \
886 | --program-suf | --program-su | --program-s)
887 ac_prev=program_suffix ;;
888 -program-suffix=* | --program-suffix=* | --program-suffi=* \
889 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
890 program_suffix=$ac_optarg ;;
891
892 -program-transform-name | --program-transform-name \
893 | --program-transform-nam | --program-transform-na \
894 | --program-transform-n | --program-transform- \
895 | --program-transform | --program-transfor \
896 | --program-transfo | --program-transf \
897 | --program-trans | --program-tran \
898 | --progr-tra | --program-tr | --program-t)
899 ac_prev=program_transform_name ;;
900 -program-transform-name=* | --program-transform-name=* \
901 | --program-transform-nam=* | --program-transform-na=* \
902 | --program-transform-n=* | --program-transform-=* \
903 | --program-transform=* | --program-transfor=* \
904 | --program-transfo=* | --program-transf=* \
905 | --program-trans=* | --program-tran=* \
906 | --progr-tra=* | --program-tr=* | --program-t=*)
907 program_transform_name=$ac_optarg ;;
908
909 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
910 ac_prev=pdfdir ;;
911 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
912 pdfdir=$ac_optarg ;;
913
914 -psdir | --psdir | --psdi | --psd | --ps)
915 ac_prev=psdir ;;
916 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
917 psdir=$ac_optarg ;;
918
919 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
920 | -silent | --silent | --silen | --sile | --sil)
921 silent=yes ;;
922
923 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
924 ac_prev=sbindir ;;
925 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
926 | --sbi=* | --sb=*)
927 sbindir=$ac_optarg ;;
928
929 -sharedstatedir | --sharedstatedir | --sharedstatedi \
930 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
931 | --sharedst | --shareds | --shared | --share | --shar \
932 | --sha | --sh)
933 ac_prev=sharedstatedir ;;
934 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
935 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
936 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
937 | --sha=* | --sh=*)
938 sharedstatedir=$ac_optarg ;;
939
940 -site | --site | --sit)
941 ac_prev=site ;;
942 -site=* | --site=* | --sit=*)
943 site=$ac_optarg ;;
944
945 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
946 ac_prev=srcdir ;;
947 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
948 srcdir=$ac_optarg ;;
949
950 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
951 | --syscon | --sysco | --sysc | --sys | --sy)
952 ac_prev=sysconfdir ;;
953 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
954 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
955 sysconfdir=$ac_optarg ;;
956
957 -target | --target | --targe | --targ | --tar | --ta | --t)
958 ac_prev=target_alias ;;
959 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
960 target_alias=$ac_optarg ;;
961
962 -v | -verbose | --verbose | --verbos | --verbo | --verb)
963 verbose=yes ;;
964
965 -version | --version | --versio | --versi | --vers | -V)
966 ac_init_version=: ;;
967
968 -with-* | --with-*)
969 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
972 { echo "$as_me: error: invalid package name: $ac_package" >&2
973 { (exit 1); exit 1; }; }
974 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
975 eval with_$ac_package=\$ac_optarg ;;
976
977 -without-* | --without-*)
978 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
981 { echo "$as_me: error: invalid package name: $ac_package" >&2
982 { (exit 1); exit 1; }; }
983 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
984 eval with_$ac_package=no ;;
985
986 --x)
987 # Obsolete; use --with-x.
988 with_x=yes ;;
989
990 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
991 | --x-incl | --x-inc | --x-in | --x-i)
992 ac_prev=x_includes ;;
993 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
994 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
995 x_includes=$ac_optarg ;;
996
997 -x-libraries | --x-libraries | --x-librarie | --x-librari \
998 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
999 ac_prev=x_libraries ;;
1000 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1001 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1002 x_libraries=$ac_optarg ;;
1003
1004 -*) { echo "$as_me: error: unrecognized option: $ac_option
1005 Try \`$0 --help' for more information." >&2
1006 { (exit 1); exit 1; }; }
1007 ;;
1008
1009 *=*)
1010 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1013 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1014 { (exit 1); exit 1; }; }
1015 eval $ac_envvar=\$ac_optarg
1016 export $ac_envvar ;;
1017
1018 *)
1019 # FIXME: should be removed in autoconf 3.0.
1020 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1021 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1022 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1023 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1024 ;;
1025
1026 esac
1027 done
1028
1029 if test -n "$ac_prev"; then
1030 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1031 { echo "$as_me: error: missing argument to $ac_option" >&2
1032 { (exit 1); exit 1; }; }
1033 fi
1034
1035 # Be sure to have absolute directory names.
1036 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1037 datadir sysconfdir sharedstatedir localstatedir includedir \
1038 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1039 libdir localedir mandir
1040 do
1041 eval ac_val=\$$ac_var
1042 case $ac_val in
1043 [\\/$]* | ?:[\\/]* ) continue;;
1044 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1045 esac
1046 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1047 { (exit 1); exit 1; }; }
1048 done
1049
1050 # There might be people who depend on the old broken behavior: `$host'
1051 # used to hold the argument of --host etc.
1052 # FIXME: To remove some day.
1053 build=$build_alias
1054 host=$host_alias
1055 target=$target_alias
1056
1057 # FIXME: To remove some day.
1058 if test "x$host_alias" != x; then
1059 if test "x$build_alias" = x; then
1060 cross_compiling=maybe
1061 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1062 If a cross compiler is detected then cross compile mode will be used." >&2
1063 elif test "x$build_alias" != "x$host_alias"; then
1064 cross_compiling=yes
1065 fi
1066 fi
1067
1068 ac_tool_prefix=
1069 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1070
1071 test "$silent" = yes && exec 6>/dev/null
1072
1073
1074 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1075 ac_ls_di=`ls -di .` &&
1076 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1077 { echo "$as_me: error: Working directory cannot be determined" >&2
1078 { (exit 1); exit 1; }; }
1079 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1080 { echo "$as_me: error: pwd does not report name of working directory" >&2
1081 { (exit 1); exit 1; }; }
1082
1083
1084 # Find the source files, if location was not specified.
1085 if test -z "$srcdir"; then
1086 ac_srcdir_defaulted=yes
1087 # Try the directory containing this script, then the parent directory.
1088 ac_confdir=`$as_dirname -- "$0" ||
1089 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1090 X"$0" : 'X\(//\)[^/]' \| \
1091 X"$0" : 'X\(//\)$' \| \
1092 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1093 echo X"$0" |
1094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1095 s//\1/
1096 q
1097 }
1098 /^X\(\/\/\)[^/].*/{
1099 s//\1/
1100 q
1101 }
1102 /^X\(\/\/\)$/{
1103 s//\1/
1104 q
1105 }
1106 /^X\(\/\).*/{
1107 s//\1/
1108 q
1109 }
1110 s/.*/./; q'`
1111 srcdir=$ac_confdir
1112 if test ! -r "$srcdir/$ac_unique_file"; then
1113 srcdir=..
1114 fi
1115 else
1116 ac_srcdir_defaulted=no
1117 fi
1118 if test ! -r "$srcdir/$ac_unique_file"; then
1119 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1120 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1121 { (exit 1); exit 1; }; }
1122 fi
1123 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1124 ac_abs_confdir=`(
1125 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1126 { (exit 1); exit 1; }; }
1127 pwd)`
1128 # When building in place, set srcdir=.
1129 if test "$ac_abs_confdir" = "$ac_pwd"; then
1130 srcdir=.
1131 fi
1132 # Remove unnecessary trailing slashes from srcdir.
1133 # Double slashes in file names in object file debugging info
1134 # mess up M-x gdb in Emacs.
1135 case $srcdir in
1136 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1137 esac
1138 for ac_var in $ac_precious_vars; do
1139 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1140 eval ac_env_${ac_var}_value=\$${ac_var}
1141 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1142 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1143 done
1144
1145 #
1146 # Report the --help message.
1147 #
1148 if test "$ac_init_help" = "long"; then
1149 # Omit some internal or obsolete options to make the list less imposing.
1150 # This message is too long to be a string in the A/UX 3.1 sh.
1151 cat <<_ACEOF
1152 \`configure' configures this package to adapt to many kinds of systems.
1153
1154 Usage: $0 [OPTION]... [VAR=VALUE]...
1155
1156 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1157 VAR=VALUE. See below for descriptions of some of the useful variables.
1158
1159 Defaults for the options are specified in brackets.
1160
1161 Configuration:
1162 -h, --help display this help and exit
1163 --help=short display options specific to this package
1164 --help=recursive display the short help of all the included packages
1165 -V, --version display version information and exit
1166 -q, --quiet, --silent do not print \`checking...' messages
1167 --cache-file=FILE cache test results in FILE [disabled]
1168 -C, --config-cache alias for \`--cache-file=config.cache'
1169 -n, --no-create do not create output files
1170 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1171
1172 Installation directories:
1173 --prefix=PREFIX install architecture-independent files in PREFIX
1174 [$ac_default_prefix]
1175 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1176 [PREFIX]
1177
1178 By default, \`make install' will install all the files in
1179 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1180 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1181 for instance \`--prefix=\$HOME'.
1182
1183 For better control, use the options below.
1184
1185 Fine tuning of the installation directories:
1186 --bindir=DIR user executables [EPREFIX/bin]
1187 --sbindir=DIR system admin executables [EPREFIX/sbin]
1188 --libexecdir=DIR program executables [EPREFIX/libexec]
1189 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1190 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1191 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1192 --libdir=DIR object code libraries [EPREFIX/lib]
1193 --includedir=DIR C header files [PREFIX/include]
1194 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1195 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1196 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1197 --infodir=DIR info documentation [DATAROOTDIR/info]
1198 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1199 --mandir=DIR man documentation [DATAROOTDIR/man]
1200 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1201 --htmldir=DIR html documentation [DOCDIR]
1202 --dvidir=DIR dvi documentation [DOCDIR]
1203 --pdfdir=DIR pdf documentation [DOCDIR]
1204 --psdir=DIR ps documentation [DOCDIR]
1205 _ACEOF
1206
1207 cat <<\_ACEOF
1208 _ACEOF
1209 fi
1210
1211 if test -n "$ac_init_help"; then
1212
1213 cat <<\_ACEOF
1214
1215 Optional Features:
1216 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1217 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1218 --enable-debug turn on debugging default=no
1219
1220 Optional Packages:
1221 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1222 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1223 --with-docdir set directory for documentation
1224
1225 Some influential environment variables:
1226 CC C compiler command
1227 CFLAGS C compiler flags
1228 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1229 nonstandard directory <lib dir>
1230 LIBS libraries to pass to the linker, e.g. -l<library>
1231 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1232 you have headers in a nonstandard directory <include dir>
1233 CXX C++ compiler command
1234 CXXFLAGS C++ compiler flags
1235
1236 Use these variables to override the choices made by `configure' or to help
1237 it to find libraries and programs with nonstandard names/locations.
1238
1239 _ACEOF
1240 ac_status=$?
1241 fi
1242
1243 if test "$ac_init_help" = "recursive"; then
1244 # If there are subdirs, report their specific --help.
1245 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1246 test -d "$ac_dir" || continue
1247 ac_builddir=.
1248
1249 case "$ac_dir" in
1250 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1251 *)
1252 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1253 # A ".." for each directory in $ac_dir_suffix.
1254 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1255 case $ac_top_builddir_sub in
1256 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1257 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1258 esac ;;
1259 esac
1260 ac_abs_top_builddir=$ac_pwd
1261 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1262 # for backward compatibility:
1263 ac_top_builddir=$ac_top_build_prefix
1264
1265 case $srcdir in
1266 .) # We are building in place.
1267 ac_srcdir=.
1268 ac_top_srcdir=$ac_top_builddir_sub
1269 ac_abs_top_srcdir=$ac_pwd ;;
1270 [\\/]* | ?:[\\/]* ) # Absolute name.
1271 ac_srcdir=$srcdir$ac_dir_suffix;
1272 ac_top_srcdir=$srcdir
1273 ac_abs_top_srcdir=$srcdir ;;
1274 *) # Relative name.
1275 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1276 ac_top_srcdir=$ac_top_build_prefix$srcdir
1277 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1278 esac
1279 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1280
1281 cd "$ac_dir" || { ac_status=$?; continue; }
1282 # Check for guested configure.
1283 if test -f "$ac_srcdir/configure.gnu"; then
1284 echo &&
1285 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1286 elif test -f "$ac_srcdir/configure"; then
1287 echo &&
1288 $SHELL "$ac_srcdir/configure" --help=recursive
1289 else
1290 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1291 fi || ac_status=$?
1292 cd "$ac_pwd" || { ac_status=$?; break; }
1293 done
1294 fi
1295
1296 test -n "$ac_init_help" && exit $ac_status
1297 if $ac_init_version; then
1298 cat <<\_ACEOF
1299 configure
1300 generated by GNU Autoconf 2.61
1301
1302 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1303 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1304 This configure script is free software; the Free Software Foundation
1305 gives unlimited permission to copy, distribute and modify it.
1306 _ACEOF
1307 exit
1308 fi
1309 cat >config.log <<_ACEOF
1310 This file contains any messages produced by compilers while
1311 running configure, to aid debugging if configure makes a mistake.
1312
1313 It was created by $as_me, which was
1314 generated by GNU Autoconf 2.61. Invocation command line was
1315
1316 $ $0 $@
1317
1318 _ACEOF
1319 exec 5>>config.log
1320 {
1321 cat <<_ASUNAME
1322 ## --------- ##
1323 ## Platform. ##
1324 ## --------- ##
1325
1326 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1327 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1328 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1329 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1330 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1331
1332 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1333 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1334
1335 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1336 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1337 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1338 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1339 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1340 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1341 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1342
1343 _ASUNAME
1344
1345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1346 for as_dir in $PATH
1347 do
1348 IFS=$as_save_IFS
1349 test -z "$as_dir" && as_dir=.
1350 echo "PATH: $as_dir"
1351 done
1352 IFS=$as_save_IFS
1353
1354 } >&5
1355
1356 cat >&5 <<_ACEOF
1357
1358
1359 ## ----------- ##
1360 ## Core tests. ##
1361 ## ----------- ##
1362
1363 _ACEOF
1364
1365
1366 # Keep a trace of the command line.
1367 # Strip out --no-create and --no-recursion so they do not pile up.
1368 # Strip out --silent because we don't want to record it for future runs.
1369 # Also quote any args containing shell meta-characters.
1370 # Make two passes to allow for proper duplicate-argument suppression.
1371 ac_configure_args=
1372 ac_configure_args0=
1373 ac_configure_args1=
1374 ac_must_keep_next=false
1375 for ac_pass in 1 2
1376 do
1377 for ac_arg
1378 do
1379 case $ac_arg in
1380 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1381 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1382 | -silent | --silent | --silen | --sile | --sil)
1383 continue ;;
1384 *\'*)
1385 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1386 esac
1387 case $ac_pass in
1388 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1389 2)
1390 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1391 if test $ac_must_keep_next = true; then
1392 ac_must_keep_next=false # Got value, back to normal.
1393 else
1394 case $ac_arg in
1395 *=* | --config-cache | -C | -disable-* | --disable-* \
1396 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1397 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1398 | -with-* | --with-* | -without-* | --without-* | --x)
1399 case "$ac_configure_args0 " in
1400 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1401 esac
1402 ;;
1403 -* ) ac_must_keep_next=true ;;
1404 esac
1405 fi
1406 ac_configure_args="$ac_configure_args '$ac_arg'"
1407 ;;
1408 esac
1409 done
1410 done
1411 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1412 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1413
1414 # When interrupted or exit'd, cleanup temporary files, and complete
1415 # config.log. We remove comments because anyway the quotes in there
1416 # would cause problems or look ugly.
1417 # WARNING: Use '\'' to represent an apostrophe within the trap.
1418 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1419 trap 'exit_status=$?
1420 # Save into config.log some information that might help in debugging.
1421 {
1422 echo
1423
1424 cat <<\_ASBOX
1425 ## ---------------- ##
1426 ## Cache variables. ##
1427 ## ---------------- ##
1428 _ASBOX
1429 echo
1430 # The following way of writing the cache mishandles newlines in values,
1431 (
1432 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1433 eval ac_val=\$$ac_var
1434 case $ac_val in #(
1435 *${as_nl}*)
1436 case $ac_var in #(
1437 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1438 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1439 esac
1440 case $ac_var in #(
1441 _ | IFS | as_nl) ;; #(
1442 *) $as_unset $ac_var ;;
1443 esac ;;
1444 esac
1445 done
1446 (set) 2>&1 |
1447 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1448 *${as_nl}ac_space=\ *)
1449 sed -n \
1450 "s/'\''/'\''\\\\'\'''\''/g;
1451 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1452 ;; #(
1453 *)
1454 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1455 ;;
1456 esac |
1457 sort
1458 )
1459 echo
1460
1461 cat <<\_ASBOX
1462 ## ----------------- ##
1463 ## Output variables. ##
1464 ## ----------------- ##
1465 _ASBOX
1466 echo
1467 for ac_var in $ac_subst_vars
1468 do
1469 eval ac_val=\$$ac_var
1470 case $ac_val in
1471 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1472 esac
1473 echo "$ac_var='\''$ac_val'\''"
1474 done | sort
1475 echo
1476
1477 if test -n "$ac_subst_files"; then
1478 cat <<\_ASBOX
1479 ## ------------------- ##
1480 ## File substitutions. ##
1481 ## ------------------- ##
1482 _ASBOX
1483 echo
1484 for ac_var in $ac_subst_files
1485 do
1486 eval ac_val=\$$ac_var
1487 case $ac_val in
1488 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1489 esac
1490 echo "$ac_var='\''$ac_val'\''"
1491 done | sort
1492 echo
1493 fi
1494
1495 if test -s confdefs.h; then
1496 cat <<\_ASBOX
1497 ## ----------- ##
1498 ## confdefs.h. ##
1499 ## ----------- ##
1500 _ASBOX
1501 echo
1502 cat confdefs.h
1503 echo
1504 fi
1505 test "$ac_signal" != 0 &&
1506 echo "$as_me: caught signal $ac_signal"
1507 echo "$as_me: exit $exit_status"
1508 } >&5
1509 rm -f core *.core core.conftest.* &&
1510 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1511 exit $exit_status
1512 ' 0
1513 for ac_signal in 1 2 13 15; do
1514 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1515 done
1516 ac_signal=0
1517
1518 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1519 rm -f -r conftest* confdefs.h
1520
1521 # Predefined preprocessor variables.
1522
1523 cat >>confdefs.h <<_ACEOF
1524 #define PACKAGE_NAME "$PACKAGE_NAME"
1525 _ACEOF
1526
1527
1528 cat >>confdefs.h <<_ACEOF
1529 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1530 _ACEOF
1531
1532
1533 cat >>confdefs.h <<_ACEOF
1534 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1535 _ACEOF
1536
1537
1538 cat >>confdefs.h <<_ACEOF
1539 #define PACKAGE_STRING "$PACKAGE_STRING"
1540 _ACEOF
1541
1542
1543 cat >>confdefs.h <<_ACEOF
1544 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1545 _ACEOF
1546
1547
1548 # Let the site file select an alternate cache file if it wants to.
1549 # Prefer explicitly selected file to automatically selected ones.
1550 if test -n "$CONFIG_SITE"; then
1551 set x "$CONFIG_SITE"
1552 elif test "x$prefix" != xNONE; then
1553 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1554 else
1555 set x "$ac_default_prefix/share/config.site" \
1556 "$ac_default_prefix/etc/config.site"
1557 fi
1558 shift
1559 for ac_site_file
1560 do
1561 if test -r "$ac_site_file"; then
1562 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1563 echo "$as_me: loading site script $ac_site_file" >&6;}
1564 sed 's/^/| /' "$ac_site_file" >&5
1565 . "$ac_site_file"
1566 fi
1567 done
1568
1569 if test -r "$cache_file"; then
1570 # Some versions of bash will fail to source /dev/null (special
1571 # files actually), so we avoid doing that.
1572 if test -f "$cache_file"; then
1573 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1574 echo "$as_me: loading cache $cache_file" >&6;}
1575 case $cache_file in
1576 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1577 *) . "./$cache_file";;
1578 esac
1579 fi
1580 else
1581 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1582 echo "$as_me: creating cache $cache_file" >&6;}
1583 >$cache_file
1584 fi
1585
1586 # Check that the precious variables saved in the cache have kept the same
1587 # value.
1588 ac_cache_corrupted=false
1589 for ac_var in $ac_precious_vars; do
1590 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1591 eval ac_new_set=\$ac_env_${ac_var}_set
1592 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1593 eval ac_new_val=\$ac_env_${ac_var}_value
1594 case $ac_old_set,$ac_new_set in
1595 set,)
1596 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1597 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1598 ac_cache_corrupted=: ;;
1599 ,set)
1600 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1601 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1602 ac_cache_corrupted=: ;;
1603 ,);;
1604 *)
1605 if test "x$ac_old_val" != "x$ac_new_val"; then
1606 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1607 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1608 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1609 echo "$as_me: former value: $ac_old_val" >&2;}
1610 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1611 echo "$as_me: current value: $ac_new_val" >&2;}
1612 ac_cache_corrupted=:
1613 fi;;
1614 esac
1615 # Pass precious variables to config.status.
1616 if test "$ac_new_set" = set; then
1617 case $ac_new_val in
1618 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1619 *) ac_arg=$ac_var=$ac_new_val ;;
1620 esac
1621 case " $ac_configure_args " in
1622 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1623 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1624 esac
1625 fi
1626 done
1627 if $ac_cache_corrupted; then
1628 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1629 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1630 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1631 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1632 { (exit 1); exit 1; }; }
1633 fi
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651 ac_ext=c
1652 ac_cpp='$CPP $CPPFLAGS'
1653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1656
1657
1658
1659 VERSION="1.1"
1660
1661 cat >>confdefs.h <<_ACEOF
1662 #define VERSION "fldiff $VERSION"
1663 _ACEOF
1664
1665
1666 uname=`uname`
1667 uversion=`uname -r | sed -e '1,$s/[^0-9]//g'`
1668 if test "x$uname" = xIRIX64; then
1669 uname="IRIX"
1670 fi
1671 if test "x$uname" = x; then
1672 # MingW doesn't provide any output when uname is run, even with "-s"...
1673 uname="CYGWIN"
1674 fi
1675
1676 CXXFLAGS="${CXXFLAGS:=}"
1677
1678
1679 LDFLAGS="${LDFLAGS:=}"
1680
1681
1682 OPTIM="-O"
1683
1684
1685 # Check whether --enable-debug was given.
1686 if test "${enable_debug+set}" = set; then
1687 enableval=$enable_debug; if eval "test x$enable_debug = xyes"; then
1688 OPTIM="-g"
1689 else
1690 LDFLAGS="$LDFLAGS -s"
1691 fi
1692 fi
1693
1694
1695
1696 # Check whether --with-docdir was given.
1697 if test "${with_docdir+set}" = set; then
1698 withval=$with_docdir; docdir="$withval"
1699 else
1700 docdir="NONE"
1701 fi
1702
1703
1704
1705 ac_ext=c
1706 ac_cpp='$CPP $CPPFLAGS'
1707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1710 if test -n "$ac_tool_prefix"; then
1711 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1712 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1715 if test "${ac_cv_prog_CC+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1717 else
1718 if test -n "$CC"; then
1719 ac_cv_prog_CC="$CC" # Let the user override the test.
1720 else
1721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1722 for as_dir in $PATH
1723 do
1724 IFS=$as_save_IFS
1725 test -z "$as_dir" && as_dir=.
1726 for ac_exec_ext in '' $ac_executable_extensions; do
1727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1728 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 break 2
1731 fi
1732 done
1733 done
1734 IFS=$as_save_IFS
1735
1736 fi
1737 fi
1738 CC=$ac_cv_prog_CC
1739 if test -n "$CC"; then
1740 { echo "$as_me:$LINENO: result: $CC" >&5
1741 echo "${ECHO_T}$CC" >&6; }
1742 else
1743 { echo "$as_me:$LINENO: result: no" >&5
1744 echo "${ECHO_T}no" >&6; }
1745 fi
1746
1747
1748 fi
1749 if test -z "$ac_cv_prog_CC"; then
1750 ac_ct_CC=$CC
1751 # Extract the first word of "gcc", so it can be a program name with args.
1752 set dummy gcc; ac_word=$2
1753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1755 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1757 else
1758 if test -n "$ac_ct_CC"; then
1759 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1760 else
1761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1762 for as_dir in $PATH
1763 do
1764 IFS=$as_save_IFS
1765 test -z "$as_dir" && as_dir=.
1766 for ac_exec_ext in '' $ac_executable_extensions; do
1767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1768 ac_cv_prog_ac_ct_CC="gcc"
1769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1770 break 2
1771 fi
1772 done
1773 done
1774 IFS=$as_save_IFS
1775
1776 fi
1777 fi
1778 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1779 if test -n "$ac_ct_CC"; then
1780 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1781 echo "${ECHO_T}$ac_ct_CC" >&6; }
1782 else
1783 { echo "$as_me:$LINENO: result: no" >&5
1784 echo "${ECHO_T}no" >&6; }
1785 fi
1786
1787 if test "x$ac_ct_CC" = x; then
1788 CC=""
1789 else
1790 case $cross_compiling:$ac_tool_warned in
1791 yes:)
1792 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1793 whose name does not start with the host triplet. If you think this
1794 configuration is useful to you, please write to [email protected]." >&5
1795 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1796 whose name does not start with the host triplet. If you think this
1797 configuration is useful to you, please write to [email protected]." >&2;}
1798 ac_tool_warned=yes ;;
1799 esac
1800 CC=$ac_ct_CC
1801 fi
1802 else
1803 CC="$ac_cv_prog_CC"
1804 fi
1805
1806 if test -z "$CC"; then
1807 if test -n "$ac_tool_prefix"; then
1808 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1809 set dummy ${ac_tool_prefix}cc; ac_word=$2
1810 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1812 if test "${ac_cv_prog_CC+set}" = set; then
1813 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 else
1815 if test -n "$CC"; then
1816 ac_cv_prog_CC="$CC" # Let the user override the test.
1817 else
1818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1819 for as_dir in $PATH
1820 do
1821 IFS=$as_save_IFS
1822 test -z "$as_dir" && as_dir=.
1823 for ac_exec_ext in '' $ac_executable_extensions; do
1824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1825 ac_cv_prog_CC="${ac_tool_prefix}cc"
1826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1827 break 2
1828 fi
1829 done
1830 done
1831 IFS=$as_save_IFS
1832
1833 fi
1834 fi
1835 CC=$ac_cv_prog_CC
1836 if test -n "$CC"; then
1837 { echo "$as_me:$LINENO: result: $CC" >&5
1838 echo "${ECHO_T}$CC" >&6; }
1839 else
1840 { echo "$as_me:$LINENO: result: no" >&5
1841 echo "${ECHO_T}no" >&6; }
1842 fi
1843
1844
1845 fi
1846 fi
1847 if test -z "$CC"; then
1848 # Extract the first word of "cc", so it can be a program name with args.
1849 set dummy cc; ac_word=$2
1850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1852 if test "${ac_cv_prog_CC+set}" = set; then
1853 echo $ECHO_N "(cached) $ECHO_C" >&6
1854 else
1855 if test -n "$CC"; then
1856 ac_cv_prog_CC="$CC" # Let the user override the test.
1857 else
1858 ac_prog_rejected=no
1859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1860 for as_dir in $PATH
1861 do
1862 IFS=$as_save_IFS
1863 test -z "$as_dir" && as_dir=.
1864 for ac_exec_ext in '' $ac_executable_extensions; do
1865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1866 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1867 ac_prog_rejected=yes
1868 continue
1869 fi
1870 ac_cv_prog_CC="cc"
1871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1872 break 2
1873 fi
1874 done
1875 done
1876 IFS=$as_save_IFS
1877
1878 if test $ac_prog_rejected = yes; then
1879 # We found a bogon in the path, so make sure we never use it.
1880 set dummy $ac_cv_prog_CC
1881 shift
1882 if test $# != 0; then
1883 # We chose a different compiler from the bogus one.
1884 # However, it has the same basename, so the bogon will be chosen
1885 # first if we set CC to just the basename; use the full file name.
1886 shift
1887 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1888 fi
1889 fi
1890 fi
1891 fi
1892 CC=$ac_cv_prog_CC
1893 if test -n "$CC"; then
1894 { echo "$as_me:$LINENO: result: $CC" >&5
1895 echo "${ECHO_T}$CC" >&6; }
1896 else
1897 { echo "$as_me:$LINENO: result: no" >&5
1898 echo "${ECHO_T}no" >&6; }
1899 fi
1900
1901
1902 fi
1903 if test -z "$CC"; then
1904 if test -n "$ac_tool_prefix"; then
1905 for ac_prog in cl.exe
1906 do
1907 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1908 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1911 if test "${ac_cv_prog_CC+set}" = set; then
1912 echo $ECHO_N "(cached) $ECHO_C" >&6
1913 else
1914 if test -n "$CC"; then
1915 ac_cv_prog_CC="$CC" # Let the user override the test.
1916 else
1917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1918 for as_dir in $PATH
1919 do
1920 IFS=$as_save_IFS
1921 test -z "$as_dir" && as_dir=.
1922 for ac_exec_ext in '' $ac_executable_extensions; do
1923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1924 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1926 break 2
1927 fi
1928 done
1929 done
1930 IFS=$as_save_IFS
1931
1932 fi
1933 fi
1934 CC=$ac_cv_prog_CC
1935 if test -n "$CC"; then
1936 { echo "$as_me:$LINENO: result: $CC" >&5
1937 echo "${ECHO_T}$CC" >&6; }
1938 else
1939 { echo "$as_me:$LINENO: result: no" >&5
1940 echo "${ECHO_T}no" >&6; }
1941 fi
1942
1943
1944 test -n "$CC" && break
1945 done
1946 fi
1947 if test -z "$CC"; then
1948 ac_ct_CC=$CC
1949 for ac_prog in cl.exe
1950 do
1951 # Extract the first word of "$ac_prog", so it can be a program name with args.
1952 set dummy $ac_prog; ac_word=$2
1953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1955 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1956 echo $ECHO_N "(cached) $ECHO_C" >&6
1957 else
1958 if test -n "$ac_ct_CC"; then
1959 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1960 else
1961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1962 for as_dir in $PATH
1963 do
1964 IFS=$as_save_IFS
1965 test -z "$as_dir" && as_dir=.
1966 for ac_exec_ext in '' $ac_executable_extensions; do
1967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1968 ac_cv_prog_ac_ct_CC="$ac_prog"
1969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1970 break 2
1971 fi
1972 done
1973 done
1974 IFS=$as_save_IFS
1975
1976 fi
1977 fi
1978 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1979 if test -n "$ac_ct_CC"; then
1980 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1981 echo "${ECHO_T}$ac_ct_CC" >&6; }
1982 else
1983 { echo "$as_me:$LINENO: result: no" >&5
1984 echo "${ECHO_T}no" >&6; }
1985 fi
1986
1987
1988 test -n "$ac_ct_CC" && break
1989 done
1990
1991 if test "x$ac_ct_CC" = x; then
1992 CC=""
1993 else
1994 case $cross_compiling:$ac_tool_warned in
1995 yes:)
1996 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1997 whose name does not start with the host triplet. If you think this
1998 configuration is useful to you, please write to [email protected]." >&5
1999 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2000 whose name does not start with the host triplet. If you think this
2001 configuration is useful to you, please write to [email protected]." >&2;}
2002 ac_tool_warned=yes ;;
2003 esac
2004 CC=$ac_ct_CC
2005 fi
2006 fi
2007
2008 fi
2009
2010
2011 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2012 See \`config.log' for more details." >&5
2013 echo "$as_me: error: no acceptable C compiler found in \$PATH
2014 See \`config.log' for more details." >&2;}
2015 { (exit 1); exit 1; }; }
2016
2017 # Provide some information about the compiler.
2018 echo "$as_me:$LINENO: checking for C compiler version" >&5
2019 ac_compiler=`set X $ac_compile; echo $2`
2020 { (ac_try="$ac_compiler --version >&5"
2021 case "(($ac_try" in
2022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023 *) ac_try_echo=$ac_try;;
2024 esac
2025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2026 (eval "$ac_compiler --version >&5") 2>&5
2027 ac_status=$?
2028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029 (exit $ac_status); }
2030 { (ac_try="$ac_compiler -v >&5"
2031 case "(($ac_try" in
2032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2033 *) ac_try_echo=$ac_try;;
2034 esac
2035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2036 (eval "$ac_compiler -v >&5") 2>&5
2037 ac_status=$?
2038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2039 (exit $ac_status); }
2040 { (ac_try="$ac_compiler -V >&5"
2041 case "(($ac_try" in
2042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2043 *) ac_try_echo=$ac_try;;
2044 esac
2045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2046 (eval "$ac_compiler -V >&5") 2>&5
2047 ac_status=$?
2048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2049 (exit $ac_status); }
2050
2051 cat >conftest.$ac_ext <<_ACEOF
2052 /* confdefs.h. */
2053 _ACEOF
2054 cat confdefs.h >>conftest.$ac_ext
2055 cat >>conftest.$ac_ext <<_ACEOF
2056 /* end confdefs.h. */
2057
2058 int
2059 main ()
2060 {
2061
2062 ;
2063 return 0;
2064 }
2065 _ACEOF
2066 ac_clean_files_save=$ac_clean_files
2067 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2068 # Try to create an executable without -o first, disregard a.out.
2069 # It will help us diagnose broken compilers, and finding out an intuition
2070 # of exeext.
2071 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2072 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2073 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2074 #
2075 # List of possible output files, starting from the most likely.
2076 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2077 # only as a last resort. b.out is created by i960 compilers.
2078 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2079 #
2080 # The IRIX 6 linker writes into existing files which may not be
2081 # executable, retaining their permissions. Remove them first so a
2082 # subsequent execution test works.
2083 ac_rmfiles=
2084 for ac_file in $ac_files
2085 do
2086 case $ac_file in
2087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2088 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2089 esac
2090 done
2091 rm -f $ac_rmfiles
2092
2093 if { (ac_try="$ac_link_default"
2094 case "(($ac_try" in
2095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2096 *) ac_try_echo=$ac_try;;
2097 esac
2098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2099 (eval "$ac_link_default") 2>&5
2100 ac_status=$?
2101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102 (exit $ac_status); }; then
2103 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2104 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2105 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2106 # so that the user can short-circuit this test for compilers unknown to
2107 # Autoconf.
2108 for ac_file in $ac_files ''
2109 do
2110 test -f "$ac_file" || continue
2111 case $ac_file in
2112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2113 ;;
2114 [ab].out )
2115 # We found the default executable, but exeext='' is most
2116 # certainly right.
2117 break;;
2118 *.* )
2119 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2120 then :; else
2121 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2122 fi
2123 # We set ac_cv_exeext here because the later test for it is not
2124 # safe: cross compilers may not add the suffix if given an `-o'
2125 # argument, so we may need to know it at that point already.
2126 # Even if this section looks crufty: it has the advantage of
2127 # actually working.
2128 break;;
2129 * )
2130 break;;
2131 esac
2132 done
2133 test "$ac_cv_exeext" = no && ac_cv_exeext=
2134
2135 else
2136 ac_file=''
2137 fi
2138
2139 { echo "$as_me:$LINENO: result: $ac_file" >&5
2140 echo "${ECHO_T}$ac_file" >&6; }
2141 if test -z "$ac_file"; then
2142 echo "$as_me: failed program was:" >&5
2143 sed 's/^/| /' conftest.$ac_ext >&5
2144
2145 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2146 See \`config.log' for more details." >&5
2147 echo "$as_me: error: C compiler cannot create executables
2148 See \`config.log' for more details." >&2;}
2149 { (exit 77); exit 77; }; }
2150 fi
2151
2152 ac_exeext=$ac_cv_exeext
2153
2154 # Check that the compiler produces executables we can run. If not, either
2155 # the compiler is broken, or we cross compile.
2156 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2157 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2158 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2159 # If not cross compiling, check that we can run a simple program.
2160 if test "$cross_compiling" != yes; then
2161 if { ac_try='./$ac_file'
2162 { (case "(($ac_try" in
2163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2164 *) ac_try_echo=$ac_try;;
2165 esac
2166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2167 (eval "$ac_try") 2>&5
2168 ac_status=$?
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); }; }; then
2171 cross_compiling=no
2172 else
2173 if test "$cross_compiling" = maybe; then
2174 cross_compiling=yes
2175 else
2176 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2177 If you meant to cross compile, use \`--host'.
2178 See \`config.log' for more details." >&5
2179 echo "$as_me: error: cannot run C compiled programs.
2180 If you meant to cross compile, use \`--host'.
2181 See \`config.log' for more details." >&2;}
2182 { (exit 1); exit 1; }; }
2183 fi
2184 fi
2185 fi
2186 { echo "$as_me:$LINENO: result: yes" >&5
2187 echo "${ECHO_T}yes" >&6; }
2188
2189 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2190 ac_clean_files=$ac_clean_files_save
2191 # Check that the compiler produces executables we can run. If not, either
2192 # the compiler is broken, or we cross compile.
2193 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2194 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2195 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2196 echo "${ECHO_T}$cross_compiling" >&6; }
2197
2198 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2199 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2200 if { (ac_try="$ac_link"
2201 case "(($ac_try" in
2202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2203 *) ac_try_echo=$ac_try;;
2204 esac
2205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2206 (eval "$ac_link") 2>&5
2207 ac_status=$?
2208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2209 (exit $ac_status); }; then
2210 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2211 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2212 # work properly (i.e., refer to `conftest.exe'), while it won't with
2213 # `rm'.
2214 for ac_file in conftest.exe conftest conftest.*; do
2215 test -f "$ac_file" || continue
2216 case $ac_file in
2217 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2218 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2219 break;;
2220 * ) break;;
2221 esac
2222 done
2223 else
2224 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2225 See \`config.log' for more details." >&5
2226 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2227 See \`config.log' for more details." >&2;}
2228 { (exit 1); exit 1; }; }
2229 fi
2230
2231 rm -f conftest$ac_cv_exeext
2232 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2233 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2234
2235 rm -f conftest.$ac_ext
2236 EXEEXT=$ac_cv_exeext
2237 ac_exeext=$EXEEXT
2238 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2239 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2240 if test "${ac_cv_objext+set}" = set; then
2241 echo $ECHO_N "(cached) $ECHO_C" >&6
2242 else
2243 cat >conftest.$ac_ext <<_ACEOF
2244 /* confdefs.h. */
2245 _ACEOF
2246 cat confdefs.h >>conftest.$ac_ext
2247 cat >>conftest.$ac_ext <<_ACEOF
2248 /* end confdefs.h. */
2249
2250 int
2251 main ()
2252 {
2253
2254 ;
2255 return 0;
2256 }
2257 _ACEOF
2258 rm -f conftest.o conftest.obj
2259 if { (ac_try="$ac_compile"
2260 case "(($ac_try" in
2261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2262 *) ac_try_echo=$ac_try;;
2263 esac
2264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2265 (eval "$ac_compile") 2>&5
2266 ac_status=$?
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; then
2269 for ac_file in conftest.o conftest.obj conftest.*; do
2270 test -f "$ac_file" || continue;
2271 case $ac_file in
2272 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2273 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2274 break;;
2275 esac
2276 done
2277 else
2278 echo "$as_me: failed program was:" >&5
2279 sed 's/^/| /' conftest.$ac_ext >&5
2280
2281 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2282 See \`config.log' for more details." >&5
2283 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2284 See \`config.log' for more details." >&2;}
2285 { (exit 1); exit 1; }; }
2286 fi
2287
2288 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2289 fi
2290 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2291 echo "${ECHO_T}$ac_cv_objext" >&6; }
2292 OBJEXT=$ac_cv_objext
2293 ac_objext=$OBJEXT
2294 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2295 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2296 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2297 echo $ECHO_N "(cached) $ECHO_C" >&6
2298 else
2299 cat >conftest.$ac_ext <<_ACEOF
2300 /* confdefs.h. */
2301 _ACEOF
2302 cat confdefs.h >>conftest.$ac_ext
2303 cat >>conftest.$ac_ext <<_ACEOF
2304 /* end confdefs.h. */
2305
2306 int
2307 main ()
2308 {
2309 #ifndef __GNUC__
2310 choke me
2311 #endif
2312
2313 ;
2314 return 0;
2315 }
2316 _ACEOF
2317 rm -f conftest.$ac_objext
2318 if { (ac_try="$ac_compile"
2319 case "(($ac_try" in
2320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2321 *) ac_try_echo=$ac_try;;
2322 esac
2323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2324 (eval "$ac_compile") 2>conftest.er1
2325 ac_status=$?
2326 grep -v '^ *+' conftest.er1 >conftest.err
2327 rm -f conftest.er1
2328 cat conftest.err >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); } && {
2331 test -z "$ac_c_werror_flag" ||
2332 test ! -s conftest.err
2333 } && test -s conftest.$ac_objext; then
2334 ac_compiler_gnu=yes
2335 else
2336 echo "$as_me: failed program was:" >&5
2337 sed 's/^/| /' conftest.$ac_ext >&5
2338
2339 ac_compiler_gnu=no
2340 fi
2341
2342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2343 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2344
2345 fi
2346 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2347 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2348 GCC=`test $ac_compiler_gnu = yes && echo yes`
2349 ac_test_CFLAGS=${CFLAGS+set}
2350 ac_save_CFLAGS=$CFLAGS
2351 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2352 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2353 if test "${ac_cv_prog_cc_g+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2355 else
2356 ac_save_c_werror_flag=$ac_c_werror_flag
2357 ac_c_werror_flag=yes
2358 ac_cv_prog_cc_g=no
2359 CFLAGS="-g"
2360 cat >conftest.$ac_ext <<_ACEOF
2361 /* confdefs.h. */
2362 _ACEOF
2363 cat confdefs.h >>conftest.$ac_ext
2364 cat >>conftest.$ac_ext <<_ACEOF
2365 /* end confdefs.h. */
2366
2367 int
2368 main ()
2369 {
2370
2371 ;
2372 return 0;
2373 }
2374 _ACEOF
2375 rm -f conftest.$ac_objext
2376 if { (ac_try="$ac_compile"
2377 case "(($ac_try" in
2378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2379 *) ac_try_echo=$ac_try;;
2380 esac
2381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2382 (eval "$ac_compile") 2>conftest.er1
2383 ac_status=$?
2384 grep -v '^ *+' conftest.er1 >conftest.err
2385 rm -f conftest.er1
2386 cat conftest.err >&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); } && {
2389 test -z "$ac_c_werror_flag" ||
2390 test ! -s conftest.err
2391 } && test -s conftest.$ac_objext; then
2392 ac_cv_prog_cc_g=yes
2393 else
2394 echo "$as_me: failed program was:" >&5
2395 sed 's/^/| /' conftest.$ac_ext >&5
2396
2397 CFLAGS=""
2398 cat >conftest.$ac_ext <<_ACEOF
2399 /* confdefs.h. */
2400 _ACEOF
2401 cat confdefs.h >>conftest.$ac_ext
2402 cat >>conftest.$ac_ext <<_ACEOF
2403 /* end confdefs.h. */
2404
2405 int
2406 main ()
2407 {
2408
2409 ;
2410 return 0;
2411 }
2412 _ACEOF
2413 rm -f conftest.$ac_objext
2414 if { (ac_try="$ac_compile"
2415 case "(($ac_try" in
2416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2417 *) ac_try_echo=$ac_try;;
2418 esac
2419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2420 (eval "$ac_compile") 2>conftest.er1
2421 ac_status=$?
2422 grep -v '^ *+' conftest.er1 >conftest.err
2423 rm -f conftest.er1
2424 cat conftest.err >&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); } && {
2427 test -z "$ac_c_werror_flag" ||
2428 test ! -s conftest.err
2429 } && test -s conftest.$ac_objext; then
2430 :
2431 else
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2434
2435 ac_c_werror_flag=$ac_save_c_werror_flag
2436 CFLAGS="-g"
2437 cat >conftest.$ac_ext <<_ACEOF
2438 /* confdefs.h. */
2439 _ACEOF
2440 cat confdefs.h >>conftest.$ac_ext
2441 cat >>conftest.$ac_ext <<_ACEOF
2442 /* end confdefs.h. */
2443
2444 int
2445 main ()
2446 {
2447
2448 ;
2449 return 0;
2450 }
2451 _ACEOF
2452 rm -f conftest.$ac_objext
2453 if { (ac_try="$ac_compile"
2454 case "(($ac_try" in
2455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2456 *) ac_try_echo=$ac_try;;
2457 esac
2458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2459 (eval "$ac_compile") 2>conftest.er1
2460 ac_status=$?
2461 grep -v '^ *+' conftest.er1 >conftest.err
2462 rm -f conftest.er1
2463 cat conftest.err >&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); } && {
2466 test -z "$ac_c_werror_flag" ||
2467 test ! -s conftest.err
2468 } && test -s conftest.$ac_objext; then
2469 ac_cv_prog_cc_g=yes
2470 else
2471 echo "$as_me: failed program was:" >&5
2472 sed 's/^/| /' conftest.$ac_ext >&5
2473
2474
2475 fi
2476
2477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2478 fi
2479
2480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2481 fi
2482
2483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2484 ac_c_werror_flag=$ac_save_c_werror_flag
2485 fi
2486 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2487 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2488 if test "$ac_test_CFLAGS" = set; then
2489 CFLAGS=$ac_save_CFLAGS
2490 elif test $ac_cv_prog_cc_g = yes; then
2491 if test "$GCC" = yes; then
2492 CFLAGS="-g -O2"
2493 else
2494 CFLAGS="-g"
2495 fi
2496 else
2497 if test "$GCC" = yes; then
2498 CFLAGS="-O2"
2499 else
2500 CFLAGS=
2501 fi
2502 fi
2503 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2504 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2505 if test "${ac_cv_prog_cc_c89+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 else
2508 ac_cv_prog_cc_c89=no
2509 ac_save_CC=$CC
2510 cat >conftest.$ac_ext <<_ACEOF
2511 /* confdefs.h. */
2512 _ACEOF
2513 cat confdefs.h >>conftest.$ac_ext
2514 cat >>conftest.$ac_ext <<_ACEOF
2515 /* end confdefs.h. */
2516 #include <stdarg.h>
2517 #include <stdio.h>
2518 #include <sys/types.h>
2519 #include <sys/stat.h>
2520 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2521 struct buf { int x; };
2522 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2523 static char *e (p, i)
2524 char **p;
2525 int i;
2526 {
2527 return p[i];
2528 }
2529 static char *f (char * (*g) (char **, int), char **p, ...)
2530 {
2531 char *s;
2532 va_list v;
2533 va_start (v,p);
2534 s = g (p, va_arg (v,int));
2535 va_end (v);
2536 return s;
2537 }
2538
2539 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2540 function prototypes and stuff, but not '\xHH' hex character constants.
2541 These don't provoke an error unfortunately, instead are silently treated
2542 as 'x'. The following induces an error, until -std is added to get
2543 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2544 array size at least. It's necessary to write '\x00'==0 to get something
2545 that's true only with -std. */
2546 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2547
2548 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2549 inside strings and character constants. */
2550 #define FOO(x) 'x'
2551 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2552
2553 int test (int i, double x);
2554 struct s1 {int (*f) (int a);};
2555 struct s2 {int (*f) (double a);};
2556 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2557 int argc;
2558 char **argv;
2559 int
2560 main ()
2561 {
2562 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2563 ;
2564 return 0;
2565 }
2566 _ACEOF
2567 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2568 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2569 do
2570 CC="$ac_save_CC $ac_arg"
2571 rm -f conftest.$ac_objext
2572 if { (ac_try="$ac_compile"
2573 case "(($ac_try" in
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2576 esac
2577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2578 (eval "$ac_compile") 2>conftest.er1
2579 ac_status=$?
2580 grep -v '^ *+' conftest.er1 >conftest.err
2581 rm -f conftest.er1
2582 cat conftest.err >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); } && {
2585 test -z "$ac_c_werror_flag" ||
2586 test ! -s conftest.err
2587 } && test -s conftest.$ac_objext; then
2588 ac_cv_prog_cc_c89=$ac_arg
2589 else
2590 echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2592
2593
2594 fi
2595
2596 rm -f core conftest.err conftest.$ac_objext
2597 test "x$ac_cv_prog_cc_c89" != "xno" && break
2598 done
2599 rm -f conftest.$ac_ext
2600 CC=$ac_save_CC
2601
2602 fi
2603 # AC_CACHE_VAL
2604 case "x$ac_cv_prog_cc_c89" in
2605 x)
2606 { echo "$as_me:$LINENO: result: none needed" >&5
2607 echo "${ECHO_T}none needed" >&6; } ;;
2608 xno)
2609 { echo "$as_me:$LINENO: result: unsupported" >&5
2610 echo "${ECHO_T}unsupported" >&6; } ;;
2611 *)
2612 CC="$CC $ac_cv_prog_cc_c89"
2613 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2614 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2615 esac
2616
2617
2618 ac_ext=c
2619 ac_cpp='$CPP $CPPFLAGS'
2620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2623
2624 ac_ext=cpp
2625 ac_cpp='$CXXCPP $CPPFLAGS'
2626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2629 if test -z "$CXX"; then
2630 if test -n "$CCC"; then
2631 CXX=$CCC
2632 else
2633 if test -n "$ac_tool_prefix"; then
2634 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2635 do
2636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2637 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2640 if test "${ac_cv_prog_CXX+set}" = set; then
2641 echo $ECHO_N "(cached) $ECHO_C" >&6
2642 else
2643 if test -n "$CXX"; then
2644 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2645 else
2646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647 for as_dir in $PATH
2648 do
2649 IFS=$as_save_IFS
2650 test -z "$as_dir" && as_dir=.
2651 for ac_exec_ext in '' $ac_executable_extensions; do
2652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2653 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2655 break 2
2656 fi
2657 done
2658 done
2659 IFS=$as_save_IFS
2660
2661 fi
2662 fi
2663 CXX=$ac_cv_prog_CXX
2664 if test -n "$CXX"; then
2665 { echo "$as_me:$LINENO: result: $CXX" >&5
2666 echo "${ECHO_T}$CXX" >&6; }
2667 else
2668 { echo "$as_me:$LINENO: result: no" >&5
2669 echo "${ECHO_T}no" >&6; }
2670 fi
2671
2672
2673 test -n "$CXX" && break
2674 done
2675 fi
2676 if test -z "$CXX"; then
2677 ac_ct_CXX=$CXX
2678 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2679 do
2680 # Extract the first word of "$ac_prog", so it can be a program name with args.
2681 set dummy $ac_prog; ac_word=$2
2682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2684 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2686 else
2687 if test -n "$ac_ct_CXX"; then
2688 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2689 else
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691 for as_dir in $PATH
2692 do
2693 IFS=$as_save_IFS
2694 test -z "$as_dir" && as_dir=.
2695 for ac_exec_ext in '' $ac_executable_extensions; do
2696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2697 ac_cv_prog_ac_ct_CXX="$ac_prog"
2698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2699 break 2
2700 fi
2701 done
2702 done
2703 IFS=$as_save_IFS
2704
2705 fi
2706 fi
2707 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2708 if test -n "$ac_ct_CXX"; then
2709 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2710 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2711 else
2712 { echo "$as_me:$LINENO: result: no" >&5
2713 echo "${ECHO_T}no" >&6; }
2714 fi
2715
2716
2717 test -n "$ac_ct_CXX" && break
2718 done
2719
2720 if test "x$ac_ct_CXX" = x; then
2721 CXX="g++"
2722 else
2723 case $cross_compiling:$ac_tool_warned in
2724 yes:)
2725 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2726 whose name does not start with the host triplet. If you think this
2727 configuration is useful to you, please write to [email protected]." >&5
2728 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2729 whose name does not start with the host triplet. If you think this
2730 configuration is useful to you, please write to [email protected]." >&2;}
2731 ac_tool_warned=yes ;;
2732 esac
2733 CXX=$ac_ct_CXX
2734 fi
2735 fi
2736
2737 fi
2738 fi
2739 # Provide some information about the compiler.
2740 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2741 ac_compiler=`set X $ac_compile; echo $2`
2742 { (ac_try="$ac_compiler --version >&5"
2743 case "(($ac_try" in
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2746 esac
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_compiler --version >&5") 2>&5
2749 ac_status=$?
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }
2752 { (ac_try="$ac_compiler -v >&5"
2753 case "(($ac_try" in
2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2756 esac
2757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2758 (eval "$ac_compiler -v >&5") 2>&5
2759 ac_status=$?
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }
2762 { (ac_try="$ac_compiler -V >&5"
2763 case "(($ac_try" in
2764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2766 esac
2767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2768 (eval "$ac_compiler -V >&5") 2>&5
2769 ac_status=$?
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }
2772
2773 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2774 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2775 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2776 echo $ECHO_N "(cached) $ECHO_C" >&6
2777 else
2778 cat >conftest.$ac_ext <<_ACEOF
2779 /* confdefs.h. */
2780 _ACEOF
2781 cat confdefs.h >>conftest.$ac_ext
2782 cat >>conftest.$ac_ext <<_ACEOF
2783 /* end confdefs.h. */
2784
2785 int
2786 main ()
2787 {
2788 #ifndef __GNUC__
2789 choke me
2790 #endif
2791
2792 ;
2793 return 0;
2794 }
2795 _ACEOF
2796 rm -f conftest.$ac_objext
2797 if { (ac_try="$ac_compile"
2798 case "(($ac_try" in
2799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800 *) ac_try_echo=$ac_try;;
2801 esac
2802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2803 (eval "$ac_compile") 2>conftest.er1
2804 ac_status=$?
2805 grep -v '^ *+' conftest.er1 >conftest.err
2806 rm -f conftest.er1
2807 cat conftest.err >&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); } && {
2810 test -z "$ac_cxx_werror_flag" ||
2811 test ! -s conftest.err
2812 } && test -s conftest.$ac_objext; then
2813 ac_compiler_gnu=yes
2814 else
2815 echo "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.$ac_ext >&5
2817
2818 ac_compiler_gnu=no
2819 fi
2820
2821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2822 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2823
2824 fi
2825 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2826 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2827 GXX=`test $ac_compiler_gnu = yes && echo yes`
2828 ac_test_CXXFLAGS=${CXXFLAGS+set}
2829 ac_save_CXXFLAGS=$CXXFLAGS
2830 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2831 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
2832 if test "${ac_cv_prog_cxx_g+set}" = set; then
2833 echo $ECHO_N "(cached) $ECHO_C" >&6
2834 else
2835 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2836 ac_cxx_werror_flag=yes
2837 ac_cv_prog_cxx_g=no
2838 CXXFLAGS="-g"
2839 cat >conftest.$ac_ext <<_ACEOF
2840 /* confdefs.h. */
2841 _ACEOF
2842 cat confdefs.h >>conftest.$ac_ext
2843 cat >>conftest.$ac_ext <<_ACEOF
2844 /* end confdefs.h. */
2845
2846 int
2847 main ()
2848 {
2849
2850 ;
2851 return 0;
2852 }
2853 _ACEOF
2854 rm -f conftest.$ac_objext
2855 if { (ac_try="$ac_compile"
2856 case "(($ac_try" in
2857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2858 *) ac_try_echo=$ac_try;;
2859 esac
2860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2861 (eval "$ac_compile") 2>conftest.er1
2862 ac_status=$?
2863 grep -v '^ *+' conftest.er1 >conftest.err
2864 rm -f conftest.er1
2865 cat conftest.err >&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); } && {
2868 test -z "$ac_cxx_werror_flag" ||
2869 test ! -s conftest.err
2870 } && test -s conftest.$ac_objext; then
2871 ac_cv_prog_cxx_g=yes
2872 else
2873 echo "$as_me: failed program was:" >&5
2874 sed 's/^/| /' conftest.$ac_ext >&5
2875
2876 CXXFLAGS=""
2877 cat >conftest.$ac_ext <<_ACEOF
2878 /* confdefs.h. */
2879 _ACEOF
2880 cat confdefs.h >>conftest.$ac_ext
2881 cat >>conftest.$ac_ext <<_ACEOF
2882 /* end confdefs.h. */
2883
2884 int
2885 main ()
2886 {
2887
2888 ;
2889 return 0;
2890 }
2891 _ACEOF
2892 rm -f conftest.$ac_objext
2893 if { (ac_try="$ac_compile"
2894 case "(($ac_try" in
2895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2896 *) ac_try_echo=$ac_try;;
2897 esac
2898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2899 (eval "$ac_compile") 2>conftest.er1
2900 ac_status=$?
2901 grep -v '^ *+' conftest.er1 >conftest.err
2902 rm -f conftest.er1
2903 cat conftest.err >&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); } && {
2906 test -z "$ac_cxx_werror_flag" ||
2907 test ! -s conftest.err
2908 } && test -s conftest.$ac_objext; then
2909 :
2910 else
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.$ac_ext >&5
2913
2914 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2915 CXXFLAGS="-g"
2916 cat >conftest.$ac_ext <<_ACEOF
2917 /* confdefs.h. */
2918 _ACEOF
2919 cat confdefs.h >>conftest.$ac_ext
2920 cat >>conftest.$ac_ext <<_ACEOF
2921 /* end confdefs.h. */
2922
2923 int
2924 main ()
2925 {
2926
2927 ;
2928 return 0;
2929 }
2930 _ACEOF
2931 rm -f conftest.$ac_objext
2932 if { (ac_try="$ac_compile"
2933 case "(($ac_try" in
2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2935 *) ac_try_echo=$ac_try;;
2936 esac
2937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2938 (eval "$ac_compile") 2>conftest.er1
2939 ac_status=$?
2940 grep -v '^ *+' conftest.er1 >conftest.err
2941 rm -f conftest.er1
2942 cat conftest.err >&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); } && {
2945 test -z "$ac_cxx_werror_flag" ||
2946 test ! -s conftest.err
2947 } && test -s conftest.$ac_objext; then
2948 ac_cv_prog_cxx_g=yes
2949 else
2950 echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.$ac_ext >&5
2952
2953
2954 fi
2955
2956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2957 fi
2958
2959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2960 fi
2961
2962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2963 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2964 fi
2965 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2966 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
2967 if test "$ac_test_CXXFLAGS" = set; then
2968 CXXFLAGS=$ac_save_CXXFLAGS
2969 elif test $ac_cv_prog_cxx_g = yes; then
2970 if test "$GXX" = yes; then
2971 CXXFLAGS="-g -O2"
2972 else
2973 CXXFLAGS="-g"
2974 fi
2975 else
2976 if test "$GXX" = yes; then
2977 CXXFLAGS="-O2"
2978 else
2979 CXXFLAGS=
2980 fi
2981 fi
2982 ac_ext=c
2983 ac_cpp='$CPP $CPPFLAGS'
2984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2987
2988 # Extract the first word of "cp", so it can be a program name with args.
2989 set dummy cp; ac_word=$2
2990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2992 if test "${ac_cv_path_CP+set}" = set; then
2993 echo $ECHO_N "(cached) $ECHO_C" >&6
2994 else
2995 case $CP in
2996 [\\/]* | ?:[\\/]*)
2997 ac_cv_path_CP="$CP" # Let the user override the test with a path.
2998 ;;
2999 *)
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 for as_dir in $PATH
3002 do
3003 IFS=$as_save_IFS
3004 test -z "$as_dir" && as_dir=.
3005 for ac_exec_ext in '' $ac_executable_extensions; do
3006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
3008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 break 2
3010 fi
3011 done
3012 done
3013 IFS=$as_save_IFS
3014
3015 ;;
3016 esac
3017 fi
3018 CP=$ac_cv_path_CP
3019 if test -n "$CP"; then
3020 { echo "$as_me:$LINENO: result: $CP" >&5
3021 echo "${ECHO_T}$CP" >&6; }
3022 else
3023 { echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6; }
3025 fi
3026
3027
3028 # Extract the first word of "mkdir", so it can be a program name with args.
3029 set dummy mkdir; ac_word=$2
3030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3032 if test "${ac_cv_path_MKDIR+set}" = set; then
3033 echo $ECHO_N "(cached) $ECHO_C" >&6
3034 else
3035 case $MKDIR in
3036 [\\/]* | ?:[\\/]*)
3037 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
3038 ;;
3039 *)
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3041 for as_dir in $PATH
3042 do
3043 IFS=$as_save_IFS
3044 test -z "$as_dir" && as_dir=.
3045 for ac_exec_ext in '' $ac_executable_extensions; do
3046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3047 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
3048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3049 break 2
3050 fi
3051 done
3052 done
3053 IFS=$as_save_IFS
3054
3055 ;;
3056 esac
3057 fi
3058 MKDIR=$ac_cv_path_MKDIR
3059 if test -n "$MKDIR"; then
3060 { echo "$as_me:$LINENO: result: $MKDIR" >&5
3061 echo "${ECHO_T}$MKDIR" >&6; }
3062 else
3063 { echo "$as_me:$LINENO: result: no" >&5
3064 echo "${ECHO_T}no" >&6; }
3065 fi
3066
3067
3068 # Extract the first word of "rm", so it can be a program name with args.
3069 set dummy rm; ac_word=$2
3070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3072 if test "${ac_cv_path_RM+set}" = set; then
3073 echo $ECHO_N "(cached) $ECHO_C" >&6
3074 else
3075 case $RM in
3076 [\\/]* | ?:[\\/]*)
3077 ac_cv_path_RM="$RM" # Let the user override the test with a path.
3078 ;;
3079 *)
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081 for as_dir in $PATH
3082 do
3083 IFS=$as_save_IFS
3084 test -z "$as_dir" && as_dir=.
3085 for ac_exec_ext in '' $ac_executable_extensions; do
3086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3087 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
3088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 break 2
3090 fi
3091 done
3092 done
3093 IFS=$as_save_IFS
3094
3095 ;;
3096 esac
3097 fi
3098 RM=$ac_cv_path_RM
3099 if test -n "$RM"; then
3100 { echo "$as_me:$LINENO: result: $RM" >&5
3101 echo "${ECHO_T}$RM" >&6; }
3102 else
3103 { echo "$as_me:$LINENO: result: no" >&5
3104 echo "${ECHO_T}no" >&6; }
3105 fi
3106
3107
3108
3109 # Extract the first word of "fltk-config", so it can be a program name with args.
3110 set dummy fltk-config; ac_word=$2
3111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3113 if test "${ac_cv_path_FLTKCONFIG+set}" = set; then
3114 echo $ECHO_N "(cached) $ECHO_C" >&6
3115 else
3116 case $FLTKCONFIG in
3117 [\\/]* | ?:[\\/]*)
3118 ac_cv_path_FLTKCONFIG="$FLTKCONFIG" # Let the user override the test with a path.
3119 ;;
3120 *)
3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122 for as_dir in $PATH
3123 do
3124 IFS=$as_save_IFS
3125 test -z "$as_dir" && as_dir=.
3126 for ac_exec_ext in '' $ac_executable_extensions; do
3127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3128 ac_cv_path_FLTKCONFIG="$as_dir/$ac_word$ac_exec_ext"
3129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3130 break 2
3131 fi
3132 done
3133 done
3134 IFS=$as_save_IFS
3135
3136 ;;
3137 esac
3138 fi
3139 FLTKCONFIG=$ac_cv_path_FLTKCONFIG
3140 if test -n "$FLTKCONFIG"; then
3141 { echo "$as_me:$LINENO: result: $FLTKCONFIG" >&5
3142 echo "${ECHO_T}$FLTKCONFIG" >&6; }
3143 else
3144 { echo "$as_me:$LINENO: result: no" >&5
3145 echo "${ECHO_T}no" >&6; }
3146 fi
3147
3148
3149
3150 if test "x$FLTKCONFIG" = x; then
3151 { { echo "$as_me:$LINENO: error: Sorry, fldiff requires FLTK 1.1.x." >&5
3152 echo "$as_me: error: Sorry, fldiff requires FLTK 1.1.x." >&2;}
3153 { (exit 1); exit 1; }; }
3154 else
3155 CXXFLAGS="`$FLTKCONFIG --use-images --cflags` $CXXFLAGS"
3156 LIBS="`$FLTKCONFIG --use-images --ldflags` $LIBS"
3157 fi
3158
3159
3160
3161 if test -n "$GCC"; then
3162 # Starting with GCC 3.0, you must link C++ programs against either
3163 # libstdc++ (shared by default), or libsupc++ (always static). If
3164 # you care about binary portability between Linux distributions,
3165 # you need to either 1) build your own GCC with static C++ libraries
3166 # or 2) link using gcc and libsupc++. We choose the latter since
3167 # fldiff doesn't (currently) use any of the stdc++ library.
3168 #
3169 # Also, GCC 3.0.x still has problems compiling some code. You may
3170 # or may not have success with it. USE 3.0.x WITH EXTREME CAUTION!
3171 #
3172 # Previous versions of GCC do not have the reliance on the stdc++
3173 # or g++ libraries, so the extra supc++ library is not needed.
3174
3175 { echo "$as_me:$LINENO: checking if libsupc++ is required" >&5
3176 echo $ECHO_N "checking if libsupc++ is required... $ECHO_C" >&6; }
3177
3178 SUPC="`$CXX -print-file-name=libsupc++.a 2>/dev/null`"
3179 if test -n "$SUPC" -a "$SUPC" != "libsupc++.a"; then
3180 # This is gcc 3.x, and it knows of libsupc++, so we need it
3181 LIBS="$LIBS -lsupc++"
3182 { echo "$as_me:$LINENO: result: yes" >&5
3183 echo "${ECHO_T}yes" >&6; }
3184 else
3185 { echo "$as_me:$LINENO: result: no" >&5
3186 echo "${ECHO_T}no" >&6; }
3187 fi
3188
3189 if test "x$uname" != xDarwin; then
3190 CXX="$CC"
3191 fi
3192
3193 if test -z "$OPTIM"; then
3194 OPTIM="-O2 -fforce-mem -fforce-addr -fcaller-saves"
3195 fi
3196
3197 OPTIM="-Wall -Wno-return-type $OPTIM"
3198
3199 # See if GCC supports -fno-rtti...
3200 { echo "$as_me:$LINENO: checking if GCC supports -fno-rtti" >&5
3201 echo $ECHO_N "checking if GCC supports -fno-rtti... $ECHO_C" >&6; }
3202 OLDCFLAGS="$CFLAGS"
3203 CFLAGS="$CFLAGS -fno-rtti"
3204
3205 cat >conftest.$ac_ext <<_ACEOF
3206 /* confdefs.h. */
3207 _ACEOF
3208 cat confdefs.h >>conftest.$ac_ext
3209 cat >>conftest.$ac_ext <<_ACEOF
3210 /* end confdefs.h. */
3211
3212 int
3213 main ()
3214 {
3215
3216 ;
3217 return 0;
3218 }
3219 _ACEOF
3220 rm -f conftest.$ac_objext
3221 if { (ac_try="$ac_compile"
3222 case "(($ac_try" in
3223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3224 *) ac_try_echo=$ac_try;;
3225 esac
3226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3227 (eval "$ac_compile") 2>conftest.er1
3228 ac_status=$?
3229 grep -v '^ *+' conftest.er1 >conftest.err
3230 rm -f conftest.er1
3231 cat conftest.err >&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); } && {
3234 test -z "$ac_c_werror_flag" ||
3235 test ! -s conftest.err
3236 } && test -s conftest.$ac_objext; then
3237 CXXFLAGS="$CXXFLAGS -fno-rtti"
3238 { echo "$as_me:$LINENO: result: yes" >&5
3239 echo "${ECHO_T}yes" >&6; }
3240 else
3241 echo "$as_me: failed program was:" >&5
3242 sed 's/^/| /' conftest.$ac_ext >&5
3243
3244 { echo "$as_me:$LINENO: result: no" >&5
3245 echo "${ECHO_T}no" >&6; }
3246 fi
3247
3248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3249 CFLAGS="$OLDCFLAGS"
3250
3251 # See if GCC supports -fno-exceptions...
3252 { echo "$as_me:$LINENO: checking if GCC supports -fno-exceptions" >&5
3253 echo $ECHO_N "checking if GCC supports -fno-exceptions... $ECHO_C" >&6; }
3254 OLDCFLAGS="$CFLAGS"
3255 CFLAGS="$CFLAGS -fno-exceptions"
3256 cat >conftest.$ac_ext <<_ACEOF
3257 /* confdefs.h. */
3258 _ACEOF
3259 cat confdefs.h >>conftest.$ac_ext
3260 cat >>conftest.$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3262
3263 int
3264 main ()
3265 {
3266
3267 ;
3268 return 0;
3269 }
3270 _ACEOF
3271 rm -f conftest.$ac_objext
3272 if { (ac_try="$ac_compile"
3273 case "(($ac_try" in
3274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275 *) ac_try_echo=$ac_try;;
3276 esac
3277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3278 (eval "$ac_compile") 2>conftest.er1
3279 ac_status=$?
3280 grep -v '^ *+' conftest.er1 >conftest.err
3281 rm -f conftest.er1
3282 cat conftest.err >&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); } && {
3285 test -z "$ac_c_werror_flag" ||
3286 test ! -s conftest.err
3287 } && test -s conftest.$ac_objext; then
3288 OPTIM="$OPTIM -fno-exceptions"
3289 { echo "$as_me:$LINENO: result: yes" >&5
3290 echo "${ECHO_T}yes" >&6; }
3291 else
3292 echo "$as_me: failed program was:" >&5
3293 sed 's/^/| /' conftest.$ac_ext >&5
3294
3295 { echo "$as_me:$LINENO: result: no" >&5
3296 echo "${ECHO_T}no" >&6; }
3297 fi
3298
3299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300 CFLAGS="$OLDCFLAGS"
3301
3302 # See if we are running HP-UX or Solaris; if so, try the
3303 # -fpermissive option...
3304 case $uname in
3305 SunOS* | HP-UX*)
3306 { echo "$as_me:$LINENO: checking if GCC supports -fpermissive" >&5
3307 echo $ECHO_N "checking if GCC supports -fpermissive... $ECHO_C" >&6; }
3308
3309 OLDCFLAGS="$CFLAGS"
3310 CFLAGS="$CFLAGS -fpermissive"
3311 cat >conftest.$ac_ext <<_ACEOF
3312 /* confdefs.h. */
3313 _ACEOF
3314 cat confdefs.h >>conftest.$ac_ext
3315 cat >>conftest.$ac_ext <<_ACEOF
3316 /* end confdefs.h. */
3317
3318 int
3319 main ()
3320 {
3321
3322 ;
3323 return 0;
3324 }
3325 _ACEOF
3326 rm -f conftest.$ac_objext
3327 if { (ac_try="$ac_compile"
3328 case "(($ac_try" in
3329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3330 *) ac_try_echo=$ac_try;;
3331 esac
3332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3333 (eval "$ac_compile") 2>conftest.er1
3334 ac_status=$?
3335 grep -v '^ *+' conftest.er1 >conftest.err
3336 rm -f conftest.er1
3337 cat conftest.err >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } && {
3340 test -z "$ac_c_werror_flag" ||
3341 test ! -s conftest.err
3342 } && test -s conftest.$ac_objext; then
3343 OPTIM="$OPTIM -fpermissive"
3344 { echo "$as_me:$LINENO: result: yes" >&5
3345 echo "${ECHO_T}yes" >&6; }
3346 else
3347 echo "$as_me: failed program was:" >&5
3348 sed 's/^/| /' conftest.$ac_ext >&5
3349
3350 { echo "$as_me:$LINENO: result: no" >&5
3351 echo "${ECHO_T}no" >&6; }
3352 fi
3353
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3355 CFLAGS="$OLDCFLAGS"
3356 ;;
3357 *)
3358 ;;
3359 esac
3360 else
3361 case $uname in
3362 AIX*)
3363 if test -z "$OPTIM"; then
3364 OPTIM="-O2"
3365 fi
3366 ;;
3367 HP-UX*)
3368 if test -z "$OPTIM"; then
3369 OPTIM="+O2"
3370 fi
3371 OPTIM="$OPTIM +DAportable"
3372 ;;
3373 IRIX*)
3374 if test -z "$OPTIM"; then
3375 OPTIM="-O2"
3376 fi
3377 if test $uversion -ge 62; then
3378 OPTIM="$OPTIM -n32 -mips3"
3379 OPTIM="$OPTIM -OPT:Olimit=3000"
3380 OPTIM="-fullwarn -woff 1209,1506,1692 $OPTIM"
3381 else
3382 OPTIM="-fullwarn $OPTIM"
3383 fi
3384 ;;
3385 SunOS*)
3386 # Solaris
3387 if test -z "$OPTIM"; then
3388 OPTIM="-xO4"
3389 fi
3390 ;;
3391 *)
3392 # Running some other operating system; inform the user they
3393 # should contribute the necessary options to
3394 # [email protected]...
3395 echo "Building fldiff with default compiler optimizations; contact"
3396 echo "[email protected] with the uname and compiler options needed for"
3397 echo "your platform, or set the CFLAGS and CXXFLAGS environment"
3398 echo "variable before running configure."
3399 ;;
3400 esac
3401 fi
3402
3403 if test "$prefix" = "NONE"; then
3404 prefix="/usr/local"
3405 fi
3406
3407 if test "$exec_prefix" = "NONE"; then
3408 exec_prefix="$prefix"
3409 fi
3410
3411 if test "$datadir" = "\${prefix}/share"; then
3412 datadir="$prefix/share"
3413 fi
3414
3415 if test "$docdir" = "NONE"; then
3416 docdir="$datadir/doc/fldiff"
3417 fi
3418
3419 if test "$mandir" = "\${prefix}/man" -a "$prefix" = "/usr"; then
3420 case "$uname" in
3421 *BSD* | Darwin* | Linux*)
3422 # BSD, Darwin (MacOS X), and Linux
3423 mandir="/usr/share/man"
3424 ;;
3425 IRIX*)
3426 # SGI IRIX
3427 mandir="/usr/share/catman/u_man"
3428 ;;
3429 *)
3430 # All others
3431 mandir="/usr/man"
3432 ;;
3433 esac
3434 fi
3435
3436 { echo "$as_me:$LINENO: checking if GNOME/KDE desktop is in use" >&5
3437 echo $ECHO_N "checking if GNOME/KDE desktop is in use... $ECHO_C" >&6; }
3438 desktopdir=""
3439 for dir in /usr/share/applnk /etc/X11/applnk; do
3440 if test -d $dir; then
3441 desktopdir=$dir
3442 break
3443 fi
3444 done
3445
3446 if test x$desktopdir = x; then
3447 { echo "$as_me:$LINENO: result: no" >&5
3448 echo "${ECHO_T}no" >&6; }
3449 INSTALLDESKTOP=""
3450 UNINSTALLDESKTOP=""
3451 else
3452 { echo "$as_me:$LINENO: result: yes" >&5
3453 echo "${ECHO_T}yes" >&6; }
3454 INSTALLDESKTOP="install-desktop"
3455 UNINSTALLDESKTOP="uninstall-desktop"
3456 fi
3457
3458
3459
3460
3461
3462 ac_config_files="$ac_config_files Makefile fldiff.list"
3463
3464 cat >confcache <<\_ACEOF
3465 # This file is a shell script that caches the results of configure
3466 # tests run on this system so they can be shared between configure
3467 # scripts and configure runs, see configure's option --config-cache.
3468 # It is not useful on other systems. If it contains results you don't
3469 # want to keep, you may remove or edit it.
3470 #
3471 # config.status only pays attention to the cache file if you give it
3472 # the --recheck option to rerun configure.
3473 #
3474 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3475 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3476 # following values.
3477
3478 _ACEOF
3479
3480 # The following way of writing the cache mishandles newlines in values,
3481 # but we know of no workaround that is simple, portable, and efficient.
3482 # So, we kill variables containing newlines.
3483 # Ultrix sh set writes to stderr and can't be redirected directly,
3484 # and sets the high bit in the cache file unless we assign to the vars.
3485 (
3486 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3487 eval ac_val=\$$ac_var
3488 case $ac_val in #(
3489 *${as_nl}*)
3490 case $ac_var in #(
3491 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3492 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3493 esac
3494 case $ac_var in #(
3495 _ | IFS | as_nl) ;; #(
3496 *) $as_unset $ac_var ;;
3497 esac ;;
3498 esac
3499 done
3500
3501 (set) 2>&1 |
3502 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3503 *${as_nl}ac_space=\ *)
3504 # `set' does not quote correctly, so add quotes (double-quote
3505 # substitution turns \\\\ into \\, and sed turns \\ into \).
3506 sed -n \
3507 "s/'/'\\\\''/g;
3508 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3509 ;; #(
3510 *)
3511 # `set' quotes correctly as required by POSIX, so do not add quotes.
3512 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3513 ;;
3514 esac |
3515 sort
3516 ) |
3517 sed '
3518 /^ac_cv_env_/b end
3519 t clear
3520 :clear
3521 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3522 t end
3523 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3524 :end' >>confcache
3525 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3526 if test -w "$cache_file"; then
3527 test "x$cache_file" != "x/dev/null" &&
3528 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3529 echo "$as_me: updating cache $cache_file" >&6;}
3530 cat confcache >$cache_file
3531 else
3532 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3533 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3534 fi
3535 fi
3536 rm -f confcache
3537
3538 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3539 # Let make expand exec_prefix.
3540 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3541
3542 # Transform confdefs.h into DEFS.
3543 # Protect against shell expansion while executing Makefile rules.
3544 # Protect against Makefile macro expansion.
3545 #
3546 # If the first sed substitution is executed (which looks for macros that
3547 # take arguments), then branch to the quote section. Otherwise,
3548 # look for a macro that doesn't take arguments.
3549 ac_script='
3550 t clear
3551 :clear
3552 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3553 t quote
3554 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3555 t quote
3556 b any
3557 :quote
3558 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3559 s/\[/\\&/g
3560 s/\]/\\&/g
3561 s/\$/$$/g
3562 H
3563 :any
3564 ${
3565 g
3566 s/^\n//
3567 s/\n/ /g
3568 p
3569 }
3570 '
3571 DEFS=`sed -n "$ac_script" confdefs.h`
3572
3573
3574 ac_libobjs=
3575 ac_ltlibobjs=
3576 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3577 # 1. Remove the extension, and $U if already installed.
3578 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3579 ac_i=`echo "$ac_i" | sed "$ac_script"`
3580 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3581 # will be set to the directory where LIBOBJS objects are built.
3582 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3583 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3584 done
3585 LIBOBJS=$ac_libobjs
3586
3587 LTLIBOBJS=$ac_ltlibobjs
3588
3589
3590
3591 : ${CONFIG_STATUS=./config.status}
3592 ac_clean_files_save=$ac_clean_files
3593 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3594 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3595 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3596 cat >$CONFIG_STATUS <<_ACEOF
3597 #! $SHELL
3598 # Generated by $as_me.
3599 # Run this file to recreate the current configuration.
3600 # Compiler output produced by configure, useful for debugging
3601 # configure, is in config.log if it exists.
3602
3603 debug=false
3604 ac_cs_recheck=false
3605 ac_cs_silent=false
3606 SHELL=\${CONFIG_SHELL-$SHELL}
3607 _ACEOF
3608
3609 cat >>$CONFIG_STATUS <<\_ACEOF
3610 ## --------------------- ##
3611 ## M4sh Initialization. ##
3612 ## --------------------- ##
3613
3614 # Be more Bourne compatible
3615 DUALCASE=1; export DUALCASE # for MKS sh
3616 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3617 emulate sh
3618 NULLCMD=:
3619 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3620 # is contrary to our usage. Disable this feature.
3621 alias -g '${1+"$@"}'='"$@"'
3622 setopt NO_GLOB_SUBST
3623 else
3624 case `(set -o) 2>/dev/null` in
3625 *posix*) set -o posix ;;
3626 esac
3627
3628 fi
3629
3630
3631
3632
3633 # PATH needs CR
3634 # Avoid depending upon Character Ranges.
3635 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3636 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3637 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3638 as_cr_digits='0123456789'
3639 as_cr_alnum=$as_cr_Letters$as_cr_digits
3640
3641 # The user is always right.
3642 if test "${PATH_SEPARATOR+set}" != set; then
3643 echo "#! /bin/sh" >conf$$.sh
3644 echo "exit 0" >>conf$$.sh
3645 chmod +x conf$$.sh
3646 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3647 PATH_SEPARATOR=';'
3648 else
3649 PATH_SEPARATOR=:
3650 fi
3651 rm -f conf$$.sh
3652 fi
3653
3654 # Support unset when possible.
3655 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3656 as_unset=unset
3657 else
3658 as_unset=false
3659 fi
3660
3661
3662 # IFS
3663 # We need space, tab and new line, in precisely that order. Quoting is
3664 # there to prevent editors from complaining about space-tab.
3665 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3666 # splitting by setting IFS to empty value.)
3667 as_nl='
3668 '
3669 IFS=" "" $as_nl"
3670
3671 # Find who we are. Look in the path if we contain no directory separator.
3672 case $0 in
3673 *[\\/]* ) as_myself=$0 ;;
3674 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3675 for as_dir in $PATH
3676 do
3677 IFS=$as_save_IFS
3678 test -z "$as_dir" && as_dir=.
3679 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3680 done
3681 IFS=$as_save_IFS
3682
3683 ;;
3684 esac
3685 # We did not find ourselves, most probably we were run as `sh COMMAND'
3686 # in which case we are not to be found in the path.
3687 if test "x$as_myself" = x; then
3688 as_myself=$0
3689 fi
3690 if test ! -f "$as_myself"; then
3691 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3692 { (exit 1); exit 1; }
3693 fi
3694
3695 # Work around bugs in pre-3.0 UWIN ksh.
3696 for as_var in ENV MAIL MAILPATH
3697 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3698 done
3699 PS1='$ '
3700 PS2='> '
3701 PS4='+ '
3702
3703 # NLS nuisances.
3704 for as_var in \
3705 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3706 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3707 LC_TELEPHONE LC_TIME
3708 do
3709 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3710 eval $as_var=C; export $as_var
3711 else
3712 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3713 fi
3714 done
3715
3716 # Required to use basename.
3717 if expr a : '\(a\)' >/dev/null 2>&1 &&
3718 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3719 as_expr=expr
3720 else
3721 as_expr=false
3722 fi
3723
3724 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3725 as_basename=basename
3726 else
3727 as_basename=false
3728 fi
3729
3730
3731 # Name of the executable.
3732 as_me=`$as_basename -- "$0" ||
3733 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3734 X"$0" : 'X\(//\)$' \| \
3735 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3736 echo X/"$0" |
3737 sed '/^.*\/\([^/][^/]*\)\/*$/{
3738 s//\1/
3739 q
3740 }
3741 /^X\/\(\/\/\)$/{
3742 s//\1/
3743 q
3744 }
3745 /^X\/\(\/\).*/{
3746 s//\1/
3747 q
3748 }
3749 s/.*/./; q'`
3750
3751 # CDPATH.
3752 $as_unset CDPATH
3753
3754
3755
3756 as_lineno_1=$LINENO
3757 as_lineno_2=$LINENO
3758 test "x$as_lineno_1" != "x$as_lineno_2" &&
3759 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3760
3761 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3762 # uniformly replaced by the line number. The first 'sed' inserts a
3763 # line-number line after each line using $LINENO; the second 'sed'
3764 # does the real work. The second script uses 'N' to pair each
3765 # line-number line with the line containing $LINENO, and appends
3766 # trailing '-' during substitution so that $LINENO is not a special
3767 # case at line end.
3768 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3769 # scripts with optimization help from Paolo Bonzini. Blame Lee
3770 # E. McMahon (1931-1989) for sed's syntax. :-)
3771 sed -n '
3772 p
3773 /[$]LINENO/=
3774 ' <$as_myself |
3775 sed '
3776 s/[$]LINENO.*/&-/
3777 t lineno
3778 b
3779 :lineno
3780 N
3781 :loop
3782 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3783 t loop
3784 s/-\n.*//
3785 ' >$as_me.lineno &&
3786 chmod +x "$as_me.lineno" ||
3787 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3788 { (exit 1); exit 1; }; }
3789
3790 # Don't try to exec as it changes $[0], causing all sort of problems
3791 # (the dirname of $[0] is not the place where we might find the
3792 # original and so on. Autoconf is especially sensitive to this).
3793 . "./$as_me.lineno"
3794 # Exit status is that of the last command.
3795 exit
3796 }
3797
3798
3799 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3800 as_dirname=dirname
3801 else
3802 as_dirname=false
3803 fi
3804
3805 ECHO_C= ECHO_N= ECHO_T=
3806 case `echo -n x` in
3807 -n*)
3808 case `echo 'x\c'` in
3809 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3810 *) ECHO_C='\c';;
3811 esac;;
3812 *)
3813 ECHO_N='-n';;
3814 esac
3815
3816 if expr a : '\(a\)' >/dev/null 2>&1 &&
3817 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3818 as_expr=expr
3819 else
3820 as_expr=false
3821 fi
3822
3823 rm -f conf$$ conf$$.exe conf$$.file
3824 if test -d conf$$.dir; then
3825 rm -f conf$$.dir/conf$$.file
3826 else
3827 rm -f conf$$.dir
3828 mkdir conf$$.dir
3829 fi
3830 echo >conf$$.file
3831 if ln -s conf$$.file conf$$ 2>/dev/null; then
3832 as_ln_s='ln -s'
3833 # ... but there are two gotchas:
3834 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3835 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3836 # In both cases, we have to default to `cp -p'.
3837 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3838 as_ln_s='cp -p'
3839 elif ln conf$$.file conf$$ 2>/dev/null; then
3840 as_ln_s=ln
3841 else
3842 as_ln_s='cp -p'
3843 fi
3844 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3845 rmdir conf$$.dir 2>/dev/null
3846
3847 if mkdir -p . 2>/dev/null; then
3848 as_mkdir_p=:
3849 else
3850 test -d ./-p && rmdir ./-p
3851 as_mkdir_p=false
3852 fi
3853
3854 if test -x / >/dev/null 2>&1; then
3855 as_test_x='test -x'
3856 else
3857 if ls -dL / >/dev/null 2>&1; then
3858 as_ls_L_option=L
3859 else
3860 as_ls_L_option=
3861 fi
3862 as_test_x='
3863 eval sh -c '\''
3864 if test -d "$1"; then
3865 test -d "$1/.";
3866 else
3867 case $1 in
3868 -*)set "./$1";;
3869 esac;
3870 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3871 ???[sx]*):;;*)false;;esac;fi
3872 '\'' sh
3873 '
3874 fi
3875 as_executable_p=$as_test_x
3876
3877 # Sed expression to map a string onto a valid CPP name.
3878 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3879
3880 # Sed expression to map a string onto a valid variable name.
3881 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3882
3883
3884 exec 6>&1
3885
3886 # Save the log message, to keep $[0] and so on meaningful, and to
3887 # report actual input values of CONFIG_FILES etc. instead of their
3888 # values after options handling.
3889 ac_log="
3890 This file was extended by $as_me, which was
3891 generated by GNU Autoconf 2.61. Invocation command line was
3892
3893 CONFIG_FILES = $CONFIG_FILES
3894 CONFIG_HEADERS = $CONFIG_HEADERS
3895 CONFIG_LINKS = $CONFIG_LINKS
3896 CONFIG_COMMANDS = $CONFIG_COMMANDS
3897 $ $0 $@
3898
3899 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3900 "
3901
3902 _ACEOF
3903
3904 cat >>$CONFIG_STATUS <<_ACEOF
3905 # Files that config.status was made for.
3906 config_files="$ac_config_files"
3907
3908 _ACEOF
3909
3910 cat >>$CONFIG_STATUS <<\_ACEOF
3911 ac_cs_usage="\
3912 \`$as_me' instantiates files from templates according to the
3913 current configuration.
3914
3915 Usage: $0 [OPTIONS] [FILE]...
3916
3917 -h, --help print this help, then exit
3918 -V, --version print version number and configuration settings, then exit
3919 -q, --quiet do not print progress messages
3920 -d, --debug don't remove temporary files
3921 --recheck update $as_me by reconfiguring in the same conditions
3922 --file=FILE[:TEMPLATE]
3923 instantiate the configuration file FILE
3924
3925 Configuration files:
3926 $config_files
3927
3928 Report bugs to <[email protected]>."
3929
3930 _ACEOF
3931 cat >>$CONFIG_STATUS <<_ACEOF
3932 ac_cs_version="\\
3933 config.status
3934 configured by $0, generated by GNU Autoconf 2.61,
3935 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3936
3937 Copyright (C) 2006 Free Software Foundation, Inc.
3938 This config.status script is free software; the Free Software Foundation
3939 gives unlimited permission to copy, distribute and modify it."
3940
3941 ac_pwd='$ac_pwd'
3942 srcdir='$srcdir'
3943 _ACEOF
3944
3945 cat >>$CONFIG_STATUS <<\_ACEOF
3946 # If no file are specified by the user, then we need to provide default
3947 # value. By we need to know if files were specified by the user.
3948 ac_need_defaults=:
3949 while test $# != 0
3950 do
3951 case $1 in
3952 --*=*)
3953 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3954 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3955 ac_shift=:
3956 ;;
3957 *)
3958 ac_option=$1
3959 ac_optarg=$2
3960 ac_shift=shift
3961 ;;
3962 esac
3963
3964 case $ac_option in
3965 # Handling of the options.
3966 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3967 ac_cs_recheck=: ;;
3968 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3969 echo "$ac_cs_version"; exit ;;
3970 --debug | --debu | --deb | --de | --d | -d )
3971 debug=: ;;
3972 --file | --fil | --fi | --f )
3973 $ac_shift
3974 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3975 ac_need_defaults=false;;
3976 --he | --h | --help | --hel | -h )
3977 echo "$ac_cs_usage"; exit ;;
3978 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3979 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3980 ac_cs_silent=: ;;
3981
3982 # This is an error.
3983 -*) { echo "$as_me: error: unrecognized option: $1
3984 Try \`$0 --help' for more information." >&2
3985 { (exit 1); exit 1; }; } ;;
3986
3987 *) ac_config_targets="$ac_config_targets $1"
3988 ac_need_defaults=false ;;
3989
3990 esac
3991 shift
3992 done
3993
3994 ac_configure_extra_args=
3995
3996 if $ac_cs_silent; then
3997 exec 6>/dev/null
3998 ac_configure_extra_args="$ac_configure_extra_args --silent"
3999 fi
4000
4001 _ACEOF
4002 cat >>$CONFIG_STATUS <<_ACEOF
4003 if \$ac_cs_recheck; then
4004 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4005 CONFIG_SHELL=$SHELL
4006 export CONFIG_SHELL
4007 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4008 fi
4009
4010 _ACEOF
4011 cat >>$CONFIG_STATUS <<\_ACEOF
4012 exec 5>>config.log
4013 {
4014 echo
4015 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4016 ## Running $as_me. ##
4017 _ASBOX
4018 echo "$ac_log"
4019 } >&5
4020
4021 _ACEOF
4022 cat >>$CONFIG_STATUS <<_ACEOF
4023 _ACEOF
4024
4025 cat >>$CONFIG_STATUS <<\_ACEOF
4026
4027 # Handling of arguments.
4028 for ac_config_target in $ac_config_targets
4029 do
4030 case $ac_config_target in
4031 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4032 "fldiff.list") CONFIG_FILES="$CONFIG_FILES fldiff.list" ;;
4033
4034 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4035 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4036 { (exit 1); exit 1; }; };;
4037 esac
4038 done
4039
4040
4041 # If the user did not use the arguments to specify the items to instantiate,
4042 # then the envvar interface is used. Set only those that are not.
4043 # We use the long form for the default assignment because of an extremely
4044 # bizarre bug on SunOS 4.1.3.
4045 if $ac_need_defaults; then
4046 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4047 fi
4048
4049 # Have a temporary directory for convenience. Make it in the build tree
4050 # simply because there is no reason against having it here, and in addition,
4051 # creating and moving files from /tmp can sometimes cause problems.
4052 # Hook for its removal unless debugging.
4053 # Note that there is a small window in which the directory will not be cleaned:
4054 # after its creation but before its name has been assigned to `$tmp'.
4055 $debug ||
4056 {
4057 tmp=
4058 trap 'exit_status=$?
4059 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4060 ' 0
4061 trap '{ (exit 1); exit 1; }' 1 2 13 15
4062 }
4063 # Create a (secure) tmp directory for tmp files.
4064
4065 {
4066 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4067 test -n "$tmp" && test -d "$tmp"
4068 } ||
4069 {
4070 tmp=./conf$$-$RANDOM
4071 (umask 077 && mkdir "$tmp")
4072 } ||
4073 {
4074 echo "$me: cannot create a temporary directory in ." >&2
4075 { (exit 1); exit 1; }
4076 }
4077
4078 #
4079 # Set up the sed scripts for CONFIG_FILES section.
4080 #
4081
4082 # No need to generate the scripts if there are no CONFIG_FILES.
4083 # This happens for instance when ./config.status config.h
4084 if test -n "$CONFIG_FILES"; then
4085
4086 _ACEOF
4087
4088
4089
4090 ac_delim='%!_!# '
4091 for ac_last_try in false false false false false :; do
4092 cat >conf$$subs.sed <<_ACEOF
4093 SHELL!$SHELL$ac_delim
4094 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4095 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4096 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4097 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4098 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4099 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4100 exec_prefix!$exec_prefix$ac_delim
4101 prefix!$prefix$ac_delim
4102 program_transform_name!$program_transform_name$ac_delim
4103 bindir!$bindir$ac_delim
4104 sbindir!$sbindir$ac_delim
4105 libexecdir!$libexecdir$ac_delim
4106 datarootdir!$datarootdir$ac_delim
4107 datadir!$datadir$ac_delim
4108 sysconfdir!$sysconfdir$ac_delim
4109 sharedstatedir!$sharedstatedir$ac_delim
4110 localstatedir!$localstatedir$ac_delim
4111 includedir!$includedir$ac_delim
4112 oldincludedir!$oldincludedir$ac_delim
4113 docdir!$docdir$ac_delim
4114 infodir!$infodir$ac_delim
4115 htmldir!$htmldir$ac_delim
4116 dvidir!$dvidir$ac_delim
4117 pdfdir!$pdfdir$ac_delim
4118 psdir!$psdir$ac_delim
4119 libdir!$libdir$ac_delim
4120 localedir!$localedir$ac_delim
4121 mandir!$mandir$ac_delim
4122 DEFS!$DEFS$ac_delim
4123 ECHO_C!$ECHO_C$ac_delim
4124 ECHO_N!$ECHO_N$ac_delim
4125 ECHO_T!$ECHO_T$ac_delim
4126 LIBS!$LIBS$ac_delim
4127 build_alias!$build_alias$ac_delim
4128 host_alias!$host_alias$ac_delim
4129 target_alias!$target_alias$ac_delim
4130 VERSION!$VERSION$ac_delim
4131 CXXFLAGS!$CXXFLAGS$ac_delim
4132 LDFLAGS!$LDFLAGS$ac_delim
4133 OPTIM!$OPTIM$ac_delim
4134 CC!$CC$ac_delim
4135 CFLAGS!$CFLAGS$ac_delim
4136 CPPFLAGS!$CPPFLAGS$ac_delim
4137 ac_ct_CC!$ac_ct_CC$ac_delim
4138 EXEEXT!$EXEEXT$ac_delim
4139 OBJEXT!$OBJEXT$ac_delim
4140 CXX!$CXX$ac_delim
4141 ac_ct_CXX!$ac_ct_CXX$ac_delim
4142 CP!$CP$ac_delim
4143 MKDIR!$MKDIR$ac_delim
4144 RM!$RM$ac_delim
4145 FLTKCONFIG!$FLTKCONFIG$ac_delim
4146 desktopdir!$desktopdir$ac_delim
4147 INSTALLDESKTOP!$INSTALLDESKTOP$ac_delim
4148 UNINSTALLDESKTOP!$UNINSTALLDESKTOP$ac_delim
4149 LIBOBJS!$LIBOBJS$ac_delim
4150 LTLIBOBJS!$LTLIBOBJS$ac_delim
4151 _ACEOF
4152
4153 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 58; then
4154 break
4155 elif $ac_last_try; then
4156 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4157 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4158 { (exit 1); exit 1; }; }
4159 else
4160 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4161 fi
4162 done
4163
4164 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4165 if test -n "$ac_eof"; then
4166 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4167 ac_eof=`expr $ac_eof + 1`
4168 fi
4169
4170 cat >>$CONFIG_STATUS <<_ACEOF
4171 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4172 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4173 _ACEOF
4174 sed '
4175 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4176 s/^/s,@/; s/!/@,|#_!!_#|/
4177 :n
4178 t n
4179 s/'"$ac_delim"'$/,g/; t
4180 s/$/\\/; p
4181 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4182 ' >>$CONFIG_STATUS <conf$$subs.sed
4183 rm -f conf$$subs.sed
4184 cat >>$CONFIG_STATUS <<_ACEOF
4185 :end
4186 s/|#_!!_#|//g
4187 CEOF$ac_eof
4188 _ACEOF
4189
4190
4191 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4192 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4193 # trailing colons and then remove the whole line if VPATH becomes empty
4194 # (actually we leave an empty line to preserve line numbers).
4195 if test "x$srcdir" = x.; then
4196 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4197 s/:*\$(srcdir):*/:/
4198 s/:*\${srcdir}:*/:/
4199 s/:*@srcdir@:*/:/
4200 s/^\([^=]*=[ ]*\):*/\1/
4201 s/:*$//
4202 s/^[^=]*=[ ]*$//
4203 }'
4204 fi
4205
4206 cat >>$CONFIG_STATUS <<\_ACEOF
4207 fi # test -n "$CONFIG_FILES"
4208
4209
4210 for ac_tag in :F $CONFIG_FILES
4211 do
4212 case $ac_tag in
4213 :[FHLC]) ac_mode=$ac_tag; continue;;
4214 esac
4215 case $ac_mode$ac_tag in
4216 :[FHL]*:*);;
4217 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4218 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4219 { (exit 1); exit 1; }; };;
4220 :[FH]-) ac_tag=-:-;;
4221 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4222 esac
4223 ac_save_IFS=$IFS
4224 IFS=:
4225 set x $ac_tag
4226 IFS=$ac_save_IFS
4227 shift
4228 ac_file=$1
4229 shift
4230
4231 case $ac_mode in
4232 :L) ac_source=$1;;
4233 :[FH])
4234 ac_file_inputs=
4235 for ac_f
4236 do
4237 case $ac_f in
4238 -) ac_f="$tmp/stdin";;
4239 *) # Look for the file first in the build tree, then in the source tree
4240 # (if the path is not absolute). The absolute path cannot be DOS-style,
4241 # because $ac_f cannot contain `:'.
4242 test -f "$ac_f" ||
4243 case $ac_f in
4244 [\\/$]*) false;;
4245 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4246 esac ||
4247 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4248 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4249 { (exit 1); exit 1; }; };;
4250 esac
4251 ac_file_inputs="$ac_file_inputs $ac_f"
4252 done
4253
4254 # Let's still pretend it is `configure' which instantiates (i.e., don't
4255 # use $as_me), people would be surprised to read:
4256 # /* config.h. Generated by config.status. */
4257 configure_input="Generated from "`IFS=:
4258 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4259 if test x"$ac_file" != x-; then
4260 configure_input="$ac_file. $configure_input"
4261 { echo "$as_me:$LINENO: creating $ac_file" >&5
4262 echo "$as_me: creating $ac_file" >&6;}
4263 fi
4264
4265 case $ac_tag in
4266 *:-:* | *:-) cat >"$tmp/stdin";;
4267 esac
4268 ;;
4269 esac
4270
4271 ac_dir=`$as_dirname -- "$ac_file" ||
4272 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4273 X"$ac_file" : 'X\(//\)[^/]' \| \
4274 X"$ac_file" : 'X\(//\)$' \| \
4275 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4276 echo X"$ac_file" |
4277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4278 s//\1/
4279 q
4280 }
4281 /^X\(\/\/\)[^/].*/{
4282 s//\1/
4283 q
4284 }
4285 /^X\(\/\/\)$/{
4286 s//\1/
4287 q
4288 }
4289 /^X\(\/\).*/{
4290 s//\1/
4291 q
4292 }
4293 s/.*/./; q'`
4294 { as_dir="$ac_dir"
4295 case $as_dir in #(
4296 -*) as_dir=./$as_dir;;
4297 esac
4298 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4299 as_dirs=
4300 while :; do
4301 case $as_dir in #(
4302 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4303 *) as_qdir=$as_dir;;
4304 esac
4305 as_dirs="'$as_qdir' $as_dirs"
4306 as_dir=`$as_dirname -- "$as_dir" ||
4307 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4308 X"$as_dir" : 'X\(//\)[^/]' \| \
4309 X"$as_dir" : 'X\(//\)$' \| \
4310 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4311 echo X"$as_dir" |
4312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4313 s//\1/
4314 q
4315 }
4316 /^X\(\/\/\)[^/].*/{
4317 s//\1/
4318 q
4319 }
4320 /^X\(\/\/\)$/{
4321 s//\1/
4322 q
4323 }
4324 /^X\(\/\).*/{
4325 s//\1/
4326 q
4327 }
4328 s/.*/./; q'`
4329 test -d "$as_dir" && break
4330 done
4331 test -z "$as_dirs" || eval "mkdir $as_dirs"
4332 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4333 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4334 { (exit 1); exit 1; }; }; }
4335 ac_builddir=.
4336
4337 case "$ac_dir" in
4338 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4339 *)
4340 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4341 # A ".." for each directory in $ac_dir_suffix.
4342 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4343 case $ac_top_builddir_sub in
4344 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4345 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4346 esac ;;
4347 esac
4348 ac_abs_top_builddir=$ac_pwd
4349 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4350 # for backward compatibility:
4351 ac_top_builddir=$ac_top_build_prefix
4352
4353 case $srcdir in
4354 .) # We are building in place.
4355 ac_srcdir=.
4356 ac_top_srcdir=$ac_top_builddir_sub
4357 ac_abs_top_srcdir=$ac_pwd ;;
4358 [\\/]* | ?:[\\/]* ) # Absolute name.
4359 ac_srcdir=$srcdir$ac_dir_suffix;
4360 ac_top_srcdir=$srcdir
4361 ac_abs_top_srcdir=$srcdir ;;
4362 *) # Relative name.
4363 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4364 ac_top_srcdir=$ac_top_build_prefix$srcdir
4365 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4366 esac
4367 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4368
4369
4370 case $ac_mode in
4371 :F)
4372 #
4373 # CONFIG_FILE
4374 #
4375
4376 _ACEOF
4377
4378 cat >>$CONFIG_STATUS <<\_ACEOF
4379 # If the template does not know about datarootdir, expand it.
4380 # FIXME: This hack should be removed a few years after 2.60.
4381 ac_datarootdir_hack=; ac_datarootdir_seen=
4382
4383 case `sed -n '/datarootdir/ {
4384 p
4385 q
4386 }
4387 /@datadir@/p
4388 /@docdir@/p
4389 /@infodir@/p
4390 /@localedir@/p
4391 /@mandir@/p
4392 ' $ac_file_inputs` in
4393 *datarootdir*) ac_datarootdir_seen=yes;;
4394 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4395 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4396 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4397 _ACEOF
4398 cat >>$CONFIG_STATUS <<_ACEOF
4399 ac_datarootdir_hack='
4400 s&@datadir@&$datadir&g
4401 s&@docdir@&$docdir&g
4402 s&@infodir@&$infodir&g
4403 s&@localedir@&$localedir&g
4404 s&@mandir@&$mandir&g
4405 s&\\\${datarootdir}&$datarootdir&g' ;;
4406 esac
4407 _ACEOF
4408
4409 # Neutralize VPATH when `$srcdir' = `.'.
4410 # Shell code in configure.ac might set extrasub.
4411 # FIXME: do we really want to maintain this feature?
4412 cat >>$CONFIG_STATUS <<_ACEOF
4413 sed "$ac_vpsub
4414 $extrasub
4415 _ACEOF
4416 cat >>$CONFIG_STATUS <<\_ACEOF
4417 :t
4418 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4419 s&@configure_input@&$configure_input&;t t
4420 s&@top_builddir@&$ac_top_builddir_sub&;t t
4421 s&@srcdir@&$ac_srcdir&;t t
4422 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4423 s&@top_srcdir@&$ac_top_srcdir&;t t
4424 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4425 s&@builddir@&$ac_builddir&;t t
4426 s&@abs_builddir@&$ac_abs_builddir&;t t
4427 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4428 $ac_datarootdir_hack
4429 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4430
4431 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4432 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4433 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4434 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4435 which seems to be undefined. Please make sure it is defined." >&5
4436 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4437 which seems to be undefined. Please make sure it is defined." >&2;}
4438
4439 rm -f "$tmp/stdin"
4440 case $ac_file in
4441 -) cat "$tmp/out"; rm -f "$tmp/out";;
4442 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4443 esac
4444 ;;
4445
4446
4447
4448 esac
4449
4450 done # for ac_tag
4451
4452
4453 { (exit 0); exit 0; }
4454 _ACEOF
4455 chmod +x $CONFIG_STATUS
4456 ac_clean_files=$ac_clean_files_save
4457
4458
4459 # configure is writing to config.log, and then calls config.status.
4460 # config.status does its own redirection, appending to config.log.
4461 # Unfortunately, on DOS this fails, as config.log is still kept open
4462 # by configure, so config.status won't be able to write to it; its
4463 # output is simply discarded. So we exec the FD to /dev/null,
4464 # effectively closing config.log, so it can be properly (re)opened and
4465 # appended to by config.status. When coming back to configure, we
4466 # need to make the FD available again.
4467 if test "$no_create" != yes; then
4468 ac_cs_success=:
4469 ac_config_status_args=
4470 test "$silent" = yes &&
4471 ac_config_status_args="$ac_config_status_args --quiet"
4472 exec 5>/dev/null
4473 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4474 exec 5>>config.log
4475 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4476 # would make configure fail if this is the last instruction.
4477 $ac_cs_success || { (exit 1); exit 1; }
4478 fi
4479
4480
4481 #
4482 # End of "$Id: configure.in 407 2006-11-13 18:54:02Z mike $".
4483 #