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