/[svn]/ircd-hybrid-7.2/libltdl/configure
ViewVC logotype

Contents of /ircd-hybrid-7.2/libltdl/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 945 - (show annotations)
Mon Jul 20 15:48:27 2009 UTC (10 years, 2 months ago) by michael
File size: 445573 byte(s)
- fixed some configure mess and imported latest libtool sources

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