configure revision 1.1.1.3 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for libXaw 1.0.6.
4 #
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 as_nl='
43 '
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86 else
87 as_unset=false
88 fi
89
90
91 # IFS
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" "" $as_nl"
97
98 # Find who we are. Look in the path if we contain no directory separator.
99 case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
103 do
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
109
110 ;;
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115 as_myself=$0
116 fi
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
120 fi
121
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140 else
141 as_expr=false
142 fi
143
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146 else
147 as_basename=false
148 fi
149
150
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
159 q
160 }
161 /^X\/\(\/\/\)$/{
162 s//\1/
163 q
164 }
165 /^X\/\(\/\).*/{
166 s//\1/
167 q
168 }
169 s/.*/./; q'`
170
171 # CDPATH.
172 $as_unset CDPATH
173
174
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
177 as_have_required=yes
178 else
179 as_have_required=no
180 fi
181
182 if test $as_have_required = yes && (eval ":
183 (as_func_return () {
184 (exit \$1)
185 }
186 as_func_success () {
187 as_func_return 0
188 }
189 as_func_failure () {
190 as_func_return 1
191 }
192 as_func_ret_success () {
193 return 0
194 }
195 as_func_ret_failure () {
196 return 1
197 }
198
199 exitcode=0
200 if as_func_success; then
201 :
202 else
203 exitcode=1
204 echo as_func_success failed.
205 fi
206
207 if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
210 fi
211
212 if as_func_ret_success; then
213 :
214 else
215 exitcode=1
216 echo as_func_ret_success failed.
217 fi
218
219 if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
222 fi
223
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225 :
226 else
227 exitcode=1
228 echo positional parameters were not saved.
229 fi
230
231 test \$exitcode = 0) || { (exit 1); exit 1; }
232
233 (
234 as_lineno_1=\$LINENO
235 as_lineno_2=\$LINENO
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
239 :
240 else
241 as_candidate_shells=
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 do
245 IFS=$as_save_IFS
246 test -z "$as_dir" && as_dir=.
247 case $as_dir in
248 /*)
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251 done;;
252 esac
253 done
254 IFS=$as_save_IFS
255
256
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
272
273 fi
274
275
276 :
277 _ASEOF
278 }; then
279 CONFIG_SHELL=$as_shell
280 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh
284 NULLCMD=:
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST
289 else
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
292 esac
293
294 fi
295
296
297 :
298 (as_func_return () {
299 (exit $1)
300 }
301 as_func_success () {
302 as_func_return 0
303 }
304 as_func_failure () {
305 as_func_return 1
306 }
307 as_func_ret_success () {
308 return 0
309 }
310 as_func_ret_failure () {
311 return 1
312 }
313
314 exitcode=0
315 if as_func_success; then
316 :
317 else
318 exitcode=1
319 echo as_func_success failed.
320 fi
321
322 if as_func_failure; then
323 exitcode=1
324 echo as_func_failure succeeded.
325 fi
326
327 if as_func_ret_success; then
328 :
329 else
330 exitcode=1
331 echo as_func_ret_success failed.
332 fi
333
334 if as_func_ret_failure; then
335 exitcode=1
336 echo as_func_ret_failure succeeded.
337 fi
338
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
340 :
341 else
342 exitcode=1
343 echo positional parameters were not saved.
344 fi
345
346 test $exitcode = 0) || { (exit 1); exit 1; }
347
348 (
349 as_lineno_1=$LINENO
350 as_lineno_2=$LINENO
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354 _ASEOF
355 }; then
356 break
357 fi
358
359 fi
360
361 done
362
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 done
367 export CONFIG_SHELL
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369 fi
370
371
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
378 fi
379
380
381 fi
382
383 fi
384
385
386
387 (eval "as_func_return () {
388 (exit \$1)
389 }
390 as_func_success () {
391 as_func_return 0
392 }
393 as_func_failure () {
394 as_func_return 1
395 }
396 as_func_ret_success () {
397 return 0
398 }
399 as_func_ret_failure () {
400 return 1
401 }
402
403 exitcode=0
404 if as_func_success; then
405 :
406 else
407 exitcode=1
408 echo as_func_success failed.
409 fi
410
411 if as_func_failure; then
412 exitcode=1
413 echo as_func_failure succeeded.
414 fi
415
416 if as_func_ret_success; then
417 :
418 else
419 exitcode=1
420 echo as_func_ret_success failed.
421 fi
422
423 if as_func_ret_failure; then
424 exitcode=1
425 echo as_func_ret_failure succeeded.
426 fi
427
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429 :
430 else
431 exitcode=1
432 echo positional parameters were not saved.
433 fi
434
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
441 }
442
443
444
445 as_lineno_1=$LINENO
446 as_lineno_2=$LINENO
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
456 # case at line end.
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
460 sed -n '
461 p
462 /[$]LINENO/=
463 ' <$as_myself |
464 sed '
465 s/[$]LINENO.*/&-/
466 t lineno
467 b
468 :lineno
469 N
470 :loop
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472 t loop
473 s/-\n.*//
474 ' >$as_me.lineno &&
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
478
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
482 . "./$as_me.lineno"
483 # Exit status is that of the last command.
484 exit
485 }
486
487
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 as_dirname=dirname
490 else
491 as_dirname=false
492 fi
493
494 ECHO_C= ECHO_N= ECHO_T=
495 case `echo -n x` in
496 -n*)
497 case `echo 'x\c'` in
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
499 *) ECHO_C='\c';;
500 esac;;
501 *)
502 ECHO_N='-n';;
503 esac
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
506 as_expr=expr
507 else
508 as_expr=false
509 fi
510
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
514 else
515 rm -f conf$$.dir
516 mkdir conf$$.dir 2>/dev/null
517 fi
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
520 as_ln_s='ln -s'
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526 as_ln_s='cp -p'
527 elif ln conf$$.file conf$$ 2>/dev/null; then
528 as_ln_s=ln
529 else
530 as_ln_s='cp -p'
531 fi
532 else
533 as_ln_s='cp -p'
534 fi
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
537
538 if mkdir -p . 2>/dev/null; then
539 as_mkdir_p=:
540 else
541 test -d ./-p && rmdir ./-p
542 as_mkdir_p=false
543 fi
544
545 if test -x / >/dev/null 2>&1; then
546 as_test_x='test -x'
547 else
548 if ls -dL / >/dev/null 2>&1; then
549 as_ls_L_option=L
550 else
551 as_ls_L_option=
552 fi
553 as_test_x='
554 eval sh -c '\''
555 if test -d "$1"; then
556 test -d "$1/.";
557 else
558 case $1 in
559 -*)set "./$1";;
560 esac;
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
563 '\'' sh
564 '
565 fi
566 as_executable_p=$as_test_x
567
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576
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='libXaw'
747 PACKAGE_TARNAME='libXaw'
748 PACKAGE_VERSION='1.0.6'
749 PACKAGE_STRING='libXaw 1.0.6'
750 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
751
752 # Factoring default headers for most tests.
753 ac_includes_default="\
754 #include <stdio.h>
755 #ifdef HAVE_SYS_TYPES_H
756 # include <sys/types.h>
757 #endif
758 #ifdef HAVE_SYS_STAT_H
759 # include <sys/stat.h>
760 #endif
761 #ifdef STDC_HEADERS
762 # include <stdlib.h>
763 # include <stddef.h>
764 #else
765 # ifdef HAVE_STDLIB_H
766 # include <stdlib.h>
767 # endif
768 #endif
769 #ifdef HAVE_STRING_H
770 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
771 # include <memory.h>
772 # endif
773 # include <string.h>
774 #endif
775 #ifdef HAVE_STRINGS_H
776 # include <strings.h>
777 #endif
778 #ifdef HAVE_INTTYPES_H
779 # include <inttypes.h>
780 #endif
781 #ifdef HAVE_STDINT_H
782 # include <stdint.h>
783 #endif
784 #ifdef HAVE_UNISTD_H
785 # include <unistd.h>
786 #endif"
787
788 ac_subst_vars='LTLIBOBJS
789 LIBOBJS
790 distcleancheck_listfiles
791 CHANGELOG_CMD
792 ADMIN_MAN_DIR
793 DRIVER_MAN_DIR
794 MISC_MAN_DIR
795 FILE_MAN_DIR
796 LIB_MAN_DIR
797 APP_MAN_DIR
798 ADMIN_MAN_SUFFIX
799 DRIVER_MAN_SUFFIX
800 MISC_MAN_SUFFIX
801 FILE_MAN_SUFFIX
802 LIB_MAN_SUFFIX
803 APP_MAN_SUFFIX
804 BUILD_XAW7_FALSE
805 BUILD_XAW7_TRUE
806 BUILD_XAW6_FALSE
807 BUILD_XAW6_TRUE
808 XAW7_LIBS
809 XAW7_CFLAGS
810 XAW6_LIBS
811 XAW6_CFLAGS
812 PLATFORM_DARWIN_FALSE
813 PLATFORM_DARWIN_TRUE
814 PLATFORM_WIN32_FALSE
815 PLATFORM_WIN32_TRUE
816 LIBEXT
817 CWARNFLAGS
818 PKG_CONFIG
819 CPP
820 OTOOL64
821 OTOOL
822 LIPO
823 NMEDIT
824 DSYMUTIL
825 lt_ECHO
826 RANLIB
827 AR
828 OBJDUMP
829 LN_S
830 NM
831 ac_ct_DUMPBIN
832 DUMPBIN
833 LD
834 FGREP
835 EGREP
836 GREP
837 SED
838 host_os
839 host_vendor
840 host_cpu
841 host
842 build_os
843 build_vendor
844 build_cpu
845 build
846 LIBTOOL
847 am__fastdepCC_FALSE
848 am__fastdepCC_TRUE
849 CCDEPMODE
850 AMDEPBACKSLASH
851 AMDEP_FALSE
852 AMDEP_TRUE
853 am__quote
854 am__include
855 DEPDIR
856 OBJEXT
857 EXEEXT
858 ac_ct_CC
859 CPPFLAGS
860 LDFLAGS
861 CFLAGS
862 CC
863 am__untar
864 am__tar
865 AMTAR
866 am__leading_dot
867 SET_MAKE
868 AWK
869 mkdir_p
870 MKDIR_P
871 INSTALL_STRIP_PROGRAM
872 STRIP
873 install_sh
874 MAKEINFO
875 AUTOHEADER
876 AUTOMAKE
877 AUTOCONF
878 ACLOCAL
879 VERSION
880 PACKAGE
881 CYGPATH_W
882 am__isrc
883 INSTALL_DATA
884 INSTALL_SCRIPT
885 INSTALL_PROGRAM
886 target_alias
887 host_alias
888 build_alias
889 LIBS
890 ECHO_T
891 ECHO_N
892 ECHO_C
893 DEFS
894 mandir
895 localedir
896 libdir
897 psdir
898 pdfdir
899 dvidir
900 htmldir
901 infodir
902 docdir
903 oldincludedir
904 includedir
905 localstatedir
906 sharedstatedir
907 sysconfdir
908 datadir
909 datarootdir
910 libexecdir
911 sbindir
912 bindir
913 program_transform_name
914 prefix
915 exec_prefix
916 PACKAGE_BUGREPORT
917 PACKAGE_STRING
918 PACKAGE_VERSION
919 PACKAGE_TARNAME
920 PACKAGE_NAME
921 PATH_SEPARATOR
922 SHELL'
923 ac_subst_files=''
924 ac_user_opts='
925 enable_option_checking
926 enable_dependency_tracking
927 enable_shared
928 enable_static
929 with_pic
930 enable_fast_install
931 with_gnu_ld
932 enable_libtool_lock
933 enable_xaw6
934 enable_xaw7
935 with_release_version
936 '
937 ac_precious_vars='build_alias
938 host_alias
939 target_alias
940 CC
941 CFLAGS
942 LDFLAGS
943 LIBS
944 CPPFLAGS
945 CPP
946 PKG_CONFIG
947 XAW6_CFLAGS
948 XAW6_LIBS
949 XAW7_CFLAGS
950 XAW7_LIBS'
951
952
953 # Initialize some variables set by options.
954 ac_init_help=
955 ac_init_version=false
956 ac_unrecognized_opts=
957 ac_unrecognized_sep=
958 # The variables have the same names as the options, with
959 # dashes changed to underlines.
960 cache_file=/dev/null
961 exec_prefix=NONE
962 no_create=
963 no_recursion=
964 prefix=NONE
965 program_prefix=NONE
966 program_suffix=NONE
967 program_transform_name=s,x,x,
968 silent=
969 site=
970 srcdir=
971 verbose=
972 x_includes=NONE
973 x_libraries=NONE
974
975 # Installation directory options.
976 # These are left unexpanded so users can "make install exec_prefix=/foo"
977 # and all the variables that are supposed to be based on exec_prefix
978 # by default will actually change.
979 # Use braces instead of parens because sh, perl, etc. also accept them.
980 # (The list follows the same order as the GNU Coding Standards.)
981 bindir='${exec_prefix}/bin'
982 sbindir='${exec_prefix}/sbin'
983 libexecdir='${exec_prefix}/libexec'
984 datarootdir='${prefix}/share'
985 datadir='${datarootdir}'
986 sysconfdir='${prefix}/etc'
987 sharedstatedir='${prefix}/com'
988 localstatedir='${prefix}/var'
989 includedir='${prefix}/include'
990 oldincludedir='/usr/include'
991 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
992 infodir='${datarootdir}/info'
993 htmldir='${docdir}'
994 dvidir='${docdir}'
995 pdfdir='${docdir}'
996 psdir='${docdir}'
997 libdir='${exec_prefix}/lib'
998 localedir='${datarootdir}/locale'
999 mandir='${datarootdir}/man'
1000
1001 ac_prev=
1002 ac_dashdash=
1003 for ac_option
1004 do
1005 # If the previous option needs an argument, assign it.
1006 if test -n "$ac_prev"; then
1007 eval $ac_prev=\$ac_option
1008 ac_prev=
1009 continue
1010 fi
1011
1012 case $ac_option in
1013 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1014 *) ac_optarg=yes ;;
1015 esac
1016
1017 # Accept the important Cygnus configure options, so we can diagnose typos.
1018
1019 case $ac_dashdash$ac_option in
1020 --)
1021 ac_dashdash=yes ;;
1022
1023 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1024 ac_prev=bindir ;;
1025 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1026 bindir=$ac_optarg ;;
1027
1028 -build | --build | --buil | --bui | --bu)
1029 ac_prev=build_alias ;;
1030 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1031 build_alias=$ac_optarg ;;
1032
1033 -cache-file | --cache-file | --cache-fil | --cache-fi \
1034 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1035 ac_prev=cache_file ;;
1036 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1037 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1038 cache_file=$ac_optarg ;;
1039
1040 --config-cache | -C)
1041 cache_file=config.cache ;;
1042
1043 -datadir | --datadir | --datadi | --datad)
1044 ac_prev=datadir ;;
1045 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1046 datadir=$ac_optarg ;;
1047
1048 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1049 | --dataroo | --dataro | --datar)
1050 ac_prev=datarootdir ;;
1051 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1052 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1053 datarootdir=$ac_optarg ;;
1054
1055 -disable-* | --disable-*)
1056 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1060 { (exit 1); exit 1; }; }
1061 ac_useropt_orig=$ac_useropt
1062 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063 case $ac_user_opts in
1064 *"
1065 "enable_$ac_useropt"
1066 "*) ;;
1067 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1068 ac_unrecognized_sep=', ';;
1069 esac
1070 eval enable_$ac_useropt=no ;;
1071
1072 -docdir | --docdir | --docdi | --doc | --do)
1073 ac_prev=docdir ;;
1074 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1075 docdir=$ac_optarg ;;
1076
1077 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1078 ac_prev=dvidir ;;
1079 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1080 dvidir=$ac_optarg ;;
1081
1082 -enable-* | --enable-*)
1083 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1084 # Reject names that are not valid shell variable names.
1085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1086 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1087 { (exit 1); exit 1; }; }
1088 ac_useropt_orig=$ac_useropt
1089 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1091 *"
1092 "enable_$ac_useropt"
1093 "*) ;;
1094 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1095 ac_unrecognized_sep=', ';;
1096 esac
1097 eval enable_$ac_useropt=\$ac_optarg ;;
1098
1099 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1100 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1101 | --exec | --exe | --ex)
1102 ac_prev=exec_prefix ;;
1103 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1104 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1105 | --exec=* | --exe=* | --ex=*)
1106 exec_prefix=$ac_optarg ;;
1107
1108 -gas | --gas | --ga | --g)
1109 # Obsolete; use --with-gas.
1110 with_gas=yes ;;
1111
1112 -help | --help | --hel | --he | -h)
1113 ac_init_help=long ;;
1114 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1115 ac_init_help=recursive ;;
1116 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1117 ac_init_help=short ;;
1118
1119 -host | --host | --hos | --ho)
1120 ac_prev=host_alias ;;
1121 -host=* | --host=* | --hos=* | --ho=*)
1122 host_alias=$ac_optarg ;;
1123
1124 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1125 ac_prev=htmldir ;;
1126 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1127 | --ht=*)
1128 htmldir=$ac_optarg ;;
1129
1130 -includedir | --includedir | --includedi | --included | --include \
1131 | --includ | --inclu | --incl | --inc)
1132 ac_prev=includedir ;;
1133 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1134 | --includ=* | --inclu=* | --incl=* | --inc=*)
1135 includedir=$ac_optarg ;;
1136
1137 -infodir | --infodir | --infodi | --infod | --info | --inf)
1138 ac_prev=infodir ;;
1139 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1140 infodir=$ac_optarg ;;
1141
1142 -libdir | --libdir | --libdi | --libd)
1143 ac_prev=libdir ;;
1144 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1145 libdir=$ac_optarg ;;
1146
1147 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1148 | --libexe | --libex | --libe)
1149 ac_prev=libexecdir ;;
1150 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1151 | --libexe=* | --libex=* | --libe=*)
1152 libexecdir=$ac_optarg ;;
1153
1154 -localedir | --localedir | --localedi | --localed | --locale)
1155 ac_prev=localedir ;;
1156 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1157 localedir=$ac_optarg ;;
1158
1159 -localstatedir | --localstatedir | --localstatedi | --localstated \
1160 | --localstate | --localstat | --localsta | --localst | --locals)
1161 ac_prev=localstatedir ;;
1162 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1163 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1164 localstatedir=$ac_optarg ;;
1165
1166 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1167 ac_prev=mandir ;;
1168 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1169 mandir=$ac_optarg ;;
1170
1171 -nfp | --nfp | --nf)
1172 # Obsolete; use --without-fp.
1173 with_fp=no ;;
1174
1175 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1176 | --no-cr | --no-c | -n)
1177 no_create=yes ;;
1178
1179 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1180 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1181 no_recursion=yes ;;
1182
1183 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1184 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1185 | --oldin | --oldi | --old | --ol | --o)
1186 ac_prev=oldincludedir ;;
1187 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1188 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1189 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1190 oldincludedir=$ac_optarg ;;
1191
1192 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1193 ac_prev=prefix ;;
1194 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1195 prefix=$ac_optarg ;;
1196
1197 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1198 | --program-pre | --program-pr | --program-p)
1199 ac_prev=program_prefix ;;
1200 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1201 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1202 program_prefix=$ac_optarg ;;
1203
1204 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1205 | --program-suf | --program-su | --program-s)
1206 ac_prev=program_suffix ;;
1207 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1208 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1209 program_suffix=$ac_optarg ;;
1210
1211 -program-transform-name | --program-transform-name \
1212 | --program-transform-nam | --program-transform-na \
1213 | --program-transform-n | --program-transform- \
1214 | --program-transform | --program-transfor \
1215 | --program-transfo | --program-transf \
1216 | --program-trans | --program-tran \
1217 | --progr-tra | --program-tr | --program-t)
1218 ac_prev=program_transform_name ;;
1219 -program-transform-name=* | --program-transform-name=* \
1220 | --program-transform-nam=* | --program-transform-na=* \
1221 | --program-transform-n=* | --program-transform-=* \
1222 | --program-transform=* | --program-transfor=* \
1223 | --program-transfo=* | --program-transf=* \
1224 | --program-trans=* | --program-tran=* \
1225 | --progr-tra=* | --program-tr=* | --program-t=*)
1226 program_transform_name=$ac_optarg ;;
1227
1228 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1229 ac_prev=pdfdir ;;
1230 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1231 pdfdir=$ac_optarg ;;
1232
1233 -psdir | --psdir | --psdi | --psd | --ps)
1234 ac_prev=psdir ;;
1235 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1236 psdir=$ac_optarg ;;
1237
1238 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1239 | -silent | --silent | --silen | --sile | --sil)
1240 silent=yes ;;
1241
1242 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1243 ac_prev=sbindir ;;
1244 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1245 | --sbi=* | --sb=*)
1246 sbindir=$ac_optarg ;;
1247
1248 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1249 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1250 | --sharedst | --shareds | --shared | --share | --shar \
1251 | --sha | --sh)
1252 ac_prev=sharedstatedir ;;
1253 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1254 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1255 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1256 | --sha=* | --sh=*)
1257 sharedstatedir=$ac_optarg ;;
1258
1259 -site | --site | --sit)
1260 ac_prev=site ;;
1261 -site=* | --site=* | --sit=*)
1262 site=$ac_optarg ;;
1263
1264 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1265 ac_prev=srcdir ;;
1266 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1267 srcdir=$ac_optarg ;;
1268
1269 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1270 | --syscon | --sysco | --sysc | --sys | --sy)
1271 ac_prev=sysconfdir ;;
1272 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1273 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1274 sysconfdir=$ac_optarg ;;
1275
1276 -target | --target | --targe | --targ | --tar | --ta | --t)
1277 ac_prev=target_alias ;;
1278 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1279 target_alias=$ac_optarg ;;
1280
1281 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1282 verbose=yes ;;
1283
1284 -version | --version | --versio | --versi | --vers | -V)
1285 ac_init_version=: ;;
1286
1287 -with-* | --with-*)
1288 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1291 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1292 { (exit 1); exit 1; }; }
1293 ac_useropt_orig=$ac_useropt
1294 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295 case $ac_user_opts in
1296 *"
1297 "with_$ac_useropt"
1298 "*) ;;
1299 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1300 ac_unrecognized_sep=', ';;
1301 esac
1302 eval with_$ac_useropt=\$ac_optarg ;;
1303
1304 -without-* | --without-*)
1305 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1306 # Reject names that are not valid shell variable names.
1307 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1308 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1309 { (exit 1); exit 1; }; }
1310 ac_useropt_orig=$ac_useropt
1311 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1312 case $ac_user_opts in
1313 *"
1314 "with_$ac_useropt"
1315 "*) ;;
1316 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1317 ac_unrecognized_sep=', ';;
1318 esac
1319 eval with_$ac_useropt=no ;;
1320
1321 --x)
1322 # Obsolete; use --with-x.
1323 with_x=yes ;;
1324
1325 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1326 | --x-incl | --x-inc | --x-in | --x-i)
1327 ac_prev=x_includes ;;
1328 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1329 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1330 x_includes=$ac_optarg ;;
1331
1332 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1333 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1334 ac_prev=x_libraries ;;
1335 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1336 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1337 x_libraries=$ac_optarg ;;
1338
1339 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1340 Try \`$0 --help' for more information." >&2
1341 { (exit 1); exit 1; }; }
1342 ;;
1343
1344 *=*)
1345 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1346 # Reject names that are not valid shell variable names.
1347 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1348 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1349 { (exit 1); exit 1; }; }
1350 eval $ac_envvar=\$ac_optarg
1351 export $ac_envvar ;;
1352
1353 *)
1354 # FIXME: should be removed in autoconf 3.0.
1355 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1356 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1357 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1358 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1359 ;;
1360
1361 esac
1362 done
1363
1364 if test -n "$ac_prev"; then
1365 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1366 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1367 { (exit 1); exit 1; }; }
1368 fi
1369
1370 if test -n "$ac_unrecognized_opts"; then
1371 case $enable_option_checking in
1372 no) ;;
1373 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1374 { (exit 1); exit 1; }; } ;;
1375 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1376 esac
1377 fi
1378
1379 # Check all directory arguments for consistency.
1380 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1381 datadir sysconfdir sharedstatedir localstatedir includedir \
1382 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1383 libdir localedir mandir
1384 do
1385 eval ac_val=\$$ac_var
1386 # Remove trailing slashes.
1387 case $ac_val in
1388 */ )
1389 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1390 eval $ac_var=\$ac_val;;
1391 esac
1392 # Be sure to have absolute directory names.
1393 case $ac_val in
1394 [\\/$]* | ?:[\\/]* ) continue;;
1395 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1396 esac
1397 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1398 { (exit 1); exit 1; }; }
1399 done
1400
1401 # There might be people who depend on the old broken behavior: `$host'
1402 # used to hold the argument of --host etc.
1403 # FIXME: To remove some day.
1404 build=$build_alias
1405 host=$host_alias
1406 target=$target_alias
1407
1408 # FIXME: To remove some day.
1409 if test "x$host_alias" != x; then
1410 if test "x$build_alias" = x; then
1411 cross_compiling=maybe
1412 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1413 If a cross compiler is detected then cross compile mode will be used." >&2
1414 elif test "x$build_alias" != "x$host_alias"; then
1415 cross_compiling=yes
1416 fi
1417 fi
1418
1419 ac_tool_prefix=
1420 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1421
1422 test "$silent" = yes && exec 6>/dev/null
1423
1424
1425 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1426 ac_ls_di=`ls -di .` &&
1427 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1428 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1429 { (exit 1); exit 1; }; }
1430 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1431 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1432 { (exit 1); exit 1; }; }
1433
1434
1435 # Find the source files, if location was not specified.
1436 if test -z "$srcdir"; then
1437 ac_srcdir_defaulted=yes
1438 # Try the directory containing this script, then the parent directory.
1439 ac_confdir=`$as_dirname -- "$as_myself" ||
1440 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1441 X"$as_myself" : 'X\(//\)[^/]' \| \
1442 X"$as_myself" : 'X\(//\)$' \| \
1443 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1444 $as_echo X"$as_myself" |
1445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1446 s//\1/
1447 q
1448 }
1449 /^X\(\/\/\)[^/].*/{
1450 s//\1/
1451 q
1452 }
1453 /^X\(\/\/\)$/{
1454 s//\1/
1455 q
1456 }
1457 /^X\(\/\).*/{
1458 s//\1/
1459 q
1460 }
1461 s/.*/./; q'`
1462 srcdir=$ac_confdir
1463 if test ! -r "$srcdir/$ac_unique_file"; then
1464 srcdir=..
1465 fi
1466 else
1467 ac_srcdir_defaulted=no
1468 fi
1469 if test ! -r "$srcdir/$ac_unique_file"; then
1470 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1471 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1472 { (exit 1); exit 1; }; }
1473 fi
1474 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1475 ac_abs_confdir=`(
1476 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1477 { (exit 1); exit 1; }; }
1478 pwd)`
1479 # When building in place, set srcdir=.
1480 if test "$ac_abs_confdir" = "$ac_pwd"; then
1481 srcdir=.
1482 fi
1483 # Remove unnecessary trailing slashes from srcdir.
1484 # Double slashes in file names in object file debugging info
1485 # mess up M-x gdb in Emacs.
1486 case $srcdir in
1487 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1488 esac
1489 for ac_var in $ac_precious_vars; do
1490 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1491 eval ac_env_${ac_var}_value=\$${ac_var}
1492 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1493 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1494 done
1495
1496 #
1497 # Report the --help message.
1498 #
1499 if test "$ac_init_help" = "long"; then
1500 # Omit some internal or obsolete options to make the list less imposing.
1501 # This message is too long to be a string in the A/UX 3.1 sh.
1502 cat <<_ACEOF
1503 \`configure' configures libXaw 1.0.6 to adapt to many kinds of systems.
1504
1505 Usage: $0 [OPTION]... [VAR=VALUE]...
1506
1507 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1508 VAR=VALUE. See below for descriptions of some of the useful variables.
1509
1510 Defaults for the options are specified in brackets.
1511
1512 Configuration:
1513 -h, --help display this help and exit
1514 --help=short display options specific to this package
1515 --help=recursive display the short help of all the included packages
1516 -V, --version display version information and exit
1517 -q, --quiet, --silent do not print \`checking...' messages
1518 --cache-file=FILE cache test results in FILE [disabled]
1519 -C, --config-cache alias for \`--cache-file=config.cache'
1520 -n, --no-create do not create output files
1521 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1522
1523 Installation directories:
1524 --prefix=PREFIX install architecture-independent files in PREFIX
1525 [$ac_default_prefix]
1526 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1527 [PREFIX]
1528
1529 By default, \`make install' will install all the files in
1530 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1531 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1532 for instance \`--prefix=\$HOME'.
1533
1534 For better control, use the options below.
1535
1536 Fine tuning of the installation directories:
1537 --bindir=DIR user executables [EPREFIX/bin]
1538 --sbindir=DIR system admin executables [EPREFIX/sbin]
1539 --libexecdir=DIR program executables [EPREFIX/libexec]
1540 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1541 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1542 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1543 --libdir=DIR object code libraries [EPREFIX/lib]
1544 --includedir=DIR C header files [PREFIX/include]
1545 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1546 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1547 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1548 --infodir=DIR info documentation [DATAROOTDIR/info]
1549 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1550 --mandir=DIR man documentation [DATAROOTDIR/man]
1551 --docdir=DIR documentation root [DATAROOTDIR/doc/libXaw]
1552 --htmldir=DIR html documentation [DOCDIR]
1553 --dvidir=DIR dvi documentation [DOCDIR]
1554 --pdfdir=DIR pdf documentation [DOCDIR]
1555 --psdir=DIR ps documentation [DOCDIR]
1556 _ACEOF
1557
1558 cat <<\_ACEOF
1559
1560 Program names:
1561 --program-prefix=PREFIX prepend PREFIX to installed program names
1562 --program-suffix=SUFFIX append SUFFIX to installed program names
1563 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1564
1565 System types:
1566 --build=BUILD configure for building on BUILD [guessed]
1567 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1568 _ACEOF
1569 fi
1570
1571 if test -n "$ac_init_help"; then
1572 case $ac_init_help in
1573 short | recursive ) echo "Configuration of libXaw 1.0.6:";;
1574 esac
1575 cat <<\_ACEOF
1576
1577 Optional Features:
1578 --disable-option-checking ignore unrecognized --enable/--with options
1579 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1580 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1581 --disable-dependency-tracking speeds up one-time build
1582 --enable-dependency-tracking do not reject slow dependency extractors
1583 --enable-shared[=PKGS] build shared libraries [default=yes]
1584 --enable-static[=PKGS] build static libraries [default=yes]
1585 --enable-fast-install[=PKGS]
1586 optimize for fast installation [default=yes]
1587 --disable-libtool-lock avoid locking (might break parallel builds)
1588 --disable-xaw6 Disable building of libXaw.so.6
1589 --disable-xaw7 Disable building of libXaw.so.7
1590
1591 Optional Packages:
1592 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1593 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1594 --with-pic try to use only PIC/non-PIC objects [default=use
1595 both]
1596 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1597 --with-release-version=STRING
1598 Use release version string in package name
1599
1600 Some influential environment variables:
1601 CC C compiler command
1602 CFLAGS C compiler flags
1603 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1604 nonstandard directory <lib dir>
1605 LIBS libraries to pass to the linker, e.g. -l<library>
1606 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1607 you have headers in a nonstandard directory <include dir>
1608 CPP C preprocessor
1609 PKG_CONFIG path to pkg-config utility
1610 XAW6_CFLAGS C compiler flags for XAW6, overriding pkg-config
1611 XAW6_LIBS linker flags for XAW6, overriding pkg-config
1612 XAW7_CFLAGS C compiler flags for XAW7, overriding pkg-config
1613 XAW7_LIBS linker flags for XAW7, overriding pkg-config
1614
1615 Use these variables to override the choices made by `configure' or to help
1616 it to find libraries and programs with nonstandard names/locations.
1617
1618 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1619 _ACEOF
1620 ac_status=$?
1621 fi
1622
1623 if test "$ac_init_help" = "recursive"; then
1624 # If there are subdirs, report their specific --help.
1625 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1626 test -d "$ac_dir" ||
1627 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1628 continue
1629 ac_builddir=.
1630
1631 case "$ac_dir" in
1632 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1633 *)
1634 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1635 # A ".." for each directory in $ac_dir_suffix.
1636 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1637 case $ac_top_builddir_sub in
1638 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1639 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1640 esac ;;
1641 esac
1642 ac_abs_top_builddir=$ac_pwd
1643 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1644 # for backward compatibility:
1645 ac_top_builddir=$ac_top_build_prefix
1646
1647 case $srcdir in
1648 .) # We are building in place.
1649 ac_srcdir=.
1650 ac_top_srcdir=$ac_top_builddir_sub
1651 ac_abs_top_srcdir=$ac_pwd ;;
1652 [\\/]* | ?:[\\/]* ) # Absolute name.
1653 ac_srcdir=$srcdir$ac_dir_suffix;
1654 ac_top_srcdir=$srcdir
1655 ac_abs_top_srcdir=$srcdir ;;
1656 *) # Relative name.
1657 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1658 ac_top_srcdir=$ac_top_build_prefix$srcdir
1659 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1660 esac
1661 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1662
1663 cd "$ac_dir" || { ac_status=$?; continue; }
1664 # Check for guested configure.
1665 if test -f "$ac_srcdir/configure.gnu"; then
1666 echo &&
1667 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1668 elif test -f "$ac_srcdir/configure"; then
1669 echo &&
1670 $SHELL "$ac_srcdir/configure" --help=recursive
1671 else
1672 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1673 fi || ac_status=$?
1674 cd "$ac_pwd" || { ac_status=$?; break; }
1675 done
1676 fi
1677
1678 test -n "$ac_init_help" && exit $ac_status
1679 if $ac_init_version; then
1680 cat <<\_ACEOF
1681 libXaw configure 1.0.6
1682 generated by GNU Autoconf 2.63
1683
1684 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1685 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1686 This configure script is free software; the Free Software Foundation
1687 gives unlimited permission to copy, distribute and modify it.
1688 _ACEOF
1689 exit
1690 fi
1691 cat >config.log <<_ACEOF
1692 This file contains any messages produced by compilers while
1693 running configure, to aid debugging if configure makes a mistake.
1694
1695 It was created by libXaw $as_me 1.0.6, which was
1696 generated by GNU Autoconf 2.63. Invocation command line was
1697
1698 $ $0 $@
1699
1700 _ACEOF
1701 exec 5>>config.log
1702 {
1703 cat <<_ASUNAME
1704 ## --------- ##
1705 ## Platform. ##
1706 ## --------- ##
1707
1708 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1709 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1710 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1711 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1712 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1713
1714 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1715 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1716
1717 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1718 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1719 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1720 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1721 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1722 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1723 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1724
1725 _ASUNAME
1726
1727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1728 for as_dir in $PATH
1729 do
1730 IFS=$as_save_IFS
1731 test -z "$as_dir" && as_dir=.
1732 $as_echo "PATH: $as_dir"
1733 done
1734 IFS=$as_save_IFS
1735
1736 } >&5
1737
1738 cat >&5 <<_ACEOF
1739
1740
1741 ## ----------- ##
1742 ## Core tests. ##
1743 ## ----------- ##
1744
1745 _ACEOF
1746
1747
1748 # Keep a trace of the command line.
1749 # Strip out --no-create and --no-recursion so they do not pile up.
1750 # Strip out --silent because we don't want to record it for future runs.
1751 # Also quote any args containing shell meta-characters.
1752 # Make two passes to allow for proper duplicate-argument suppression.
1753 ac_configure_args=
1754 ac_configure_args0=
1755 ac_configure_args1=
1756 ac_must_keep_next=false
1757 for ac_pass in 1 2
1758 do
1759 for ac_arg
1760 do
1761 case $ac_arg in
1762 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1763 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1764 | -silent | --silent | --silen | --sile | --sil)
1765 continue ;;
1766 *\'*)
1767 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1768 esac
1769 case $ac_pass in
1770 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1771 2)
1772 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1773 if test $ac_must_keep_next = true; then
1774 ac_must_keep_next=false # Got value, back to normal.
1775 else
1776 case $ac_arg in
1777 *=* | --config-cache | -C | -disable-* | --disable-* \
1778 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1779 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1780 | -with-* | --with-* | -without-* | --without-* | --x)
1781 case "$ac_configure_args0 " in
1782 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1783 esac
1784 ;;
1785 -* ) ac_must_keep_next=true ;;
1786 esac
1787 fi
1788 ac_configure_args="$ac_configure_args '$ac_arg'"
1789 ;;
1790 esac
1791 done
1792 done
1793 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1794 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1795
1796 # When interrupted or exit'd, cleanup temporary files, and complete
1797 # config.log. We remove comments because anyway the quotes in there
1798 # would cause problems or look ugly.
1799 # WARNING: Use '\'' to represent an apostrophe within the trap.
1800 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1801 trap 'exit_status=$?
1802 # Save into config.log some information that might help in debugging.
1803 {
1804 echo
1805
1806 cat <<\_ASBOX
1807 ## ---------------- ##
1808 ## Cache variables. ##
1809 ## ---------------- ##
1810 _ASBOX
1811 echo
1812 # The following way of writing the cache mishandles newlines in values,
1813 (
1814 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1815 eval ac_val=\$$ac_var
1816 case $ac_val in #(
1817 *${as_nl}*)
1818 case $ac_var in #(
1819 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1820 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1821 esac
1822 case $ac_var in #(
1823 _ | IFS | as_nl) ;; #(
1824 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1825 *) $as_unset $ac_var ;;
1826 esac ;;
1827 esac
1828 done
1829 (set) 2>&1 |
1830 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1831 *${as_nl}ac_space=\ *)
1832 sed -n \
1833 "s/'\''/'\''\\\\'\'''\''/g;
1834 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1835 ;; #(
1836 *)
1837 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1838 ;;
1839 esac |
1840 sort
1841 )
1842 echo
1843
1844 cat <<\_ASBOX
1845 ## ----------------- ##
1846 ## Output variables. ##
1847 ## ----------------- ##
1848 _ASBOX
1849 echo
1850 for ac_var in $ac_subst_vars
1851 do
1852 eval ac_val=\$$ac_var
1853 case $ac_val in
1854 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1855 esac
1856 $as_echo "$ac_var='\''$ac_val'\''"
1857 done | sort
1858 echo
1859
1860 if test -n "$ac_subst_files"; then
1861 cat <<\_ASBOX
1862 ## ------------------- ##
1863 ## File substitutions. ##
1864 ## ------------------- ##
1865 _ASBOX
1866 echo
1867 for ac_var in $ac_subst_files
1868 do
1869 eval ac_val=\$$ac_var
1870 case $ac_val in
1871 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1872 esac
1873 $as_echo "$ac_var='\''$ac_val'\''"
1874 done | sort
1875 echo
1876 fi
1877
1878 if test -s confdefs.h; then
1879 cat <<\_ASBOX
1880 ## ----------- ##
1881 ## confdefs.h. ##
1882 ## ----------- ##
1883 _ASBOX
1884 echo
1885 cat confdefs.h
1886 echo
1887 fi
1888 test "$ac_signal" != 0 &&
1889 $as_echo "$as_me: caught signal $ac_signal"
1890 $as_echo "$as_me: exit $exit_status"
1891 } >&5
1892 rm -f core *.core core.conftest.* &&
1893 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1894 exit $exit_status
1895 ' 0
1896 for ac_signal in 1 2 13 15; do
1897 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1898 done
1899 ac_signal=0
1900
1901 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1902 rm -f -r conftest* confdefs.h
1903
1904 # Predefined preprocessor variables.
1905
1906 cat >>confdefs.h <<_ACEOF
1907 #define PACKAGE_NAME "$PACKAGE_NAME"
1908 _ACEOF
1909
1910
1911 cat >>confdefs.h <<_ACEOF
1912 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1913 _ACEOF
1914
1915
1916 cat >>confdefs.h <<_ACEOF
1917 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1918 _ACEOF
1919
1920
1921 cat >>confdefs.h <<_ACEOF
1922 #define PACKAGE_STRING "$PACKAGE_STRING"
1923 _ACEOF
1924
1925
1926 cat >>confdefs.h <<_ACEOF
1927 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1928 _ACEOF
1929
1930
1931 # Let the site file select an alternate cache file if it wants to.
1932 # Prefer an explicitly selected file to automatically selected ones.
1933 ac_site_file1=NONE
1934 ac_site_file2=NONE
1935 if test -n "$CONFIG_SITE"; then
1936 ac_site_file1=$CONFIG_SITE
1937 elif test "x$prefix" != xNONE; then
1938 ac_site_file1=$prefix/share/config.site
1939 ac_site_file2=$prefix/etc/config.site
1940 else
1941 ac_site_file1=$ac_default_prefix/share/config.site
1942 ac_site_file2=$ac_default_prefix/etc/config.site
1943 fi
1944 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1945 do
1946 test "x$ac_site_file" = xNONE && continue
1947 if test -r "$ac_site_file"; then
1948 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1949 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1950 sed 's/^/| /' "$ac_site_file" >&5
1951 . "$ac_site_file"
1952 fi
1953 done
1954
1955 if test -r "$cache_file"; then
1956 # Some versions of bash will fail to source /dev/null (special
1957 # files actually), so we avoid doing that.
1958 if test -f "$cache_file"; then
1959 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1960 $as_echo "$as_me: loading cache $cache_file" >&6;}
1961 case $cache_file in
1962 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1963 *) . "./$cache_file";;
1964 esac
1965 fi
1966 else
1967 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1968 $as_echo "$as_me: creating cache $cache_file" >&6;}
1969 >$cache_file
1970 fi
1971
1972 # Check that the precious variables saved in the cache have kept the same
1973 # value.
1974 ac_cache_corrupted=false
1975 for ac_var in $ac_precious_vars; do
1976 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1977 eval ac_new_set=\$ac_env_${ac_var}_set
1978 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1979 eval ac_new_val=\$ac_env_${ac_var}_value
1980 case $ac_old_set,$ac_new_set in
1981 set,)
1982 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1983 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1984 ac_cache_corrupted=: ;;
1985 ,set)
1986 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1987 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1988 ac_cache_corrupted=: ;;
1989 ,);;
1990 *)
1991 if test "x$ac_old_val" != "x$ac_new_val"; then
1992 # differences in whitespace do not lead to failure.
1993 ac_old_val_w=`echo x $ac_old_val`
1994 ac_new_val_w=`echo x $ac_new_val`
1995 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1996 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1997 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1998 ac_cache_corrupted=:
1999 else
2000 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2001 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2002 eval $ac_var=\$ac_old_val
2003 fi
2004 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2005 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2006 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2007 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2008 fi;;
2009 esac
2010 # Pass precious variables to config.status.
2011 if test "$ac_new_set" = set; then
2012 case $ac_new_val in
2013 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2014 *) ac_arg=$ac_var=$ac_new_val ;;
2015 esac
2016 case " $ac_configure_args " in
2017 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2018 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2019 esac
2020 fi
2021 done
2022 if $ac_cache_corrupted; then
2023 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2025 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2026 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2027 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2028 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2029 { (exit 1); exit 1; }; }
2030 fi
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056 ac_ext=c
2057 ac_cpp='$CPP $CPPFLAGS'
2058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2061
2062
2063
2064 am__api_version='1.10'
2065
2066 ac_aux_dir=
2067 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2068 if test -f "$ac_dir/install-sh"; then
2069 ac_aux_dir=$ac_dir
2070 ac_install_sh="$ac_aux_dir/install-sh -c"
2071 break
2072 elif test -f "$ac_dir/install.sh"; then
2073 ac_aux_dir=$ac_dir
2074 ac_install_sh="$ac_aux_dir/install.sh -c"
2075 break
2076 elif test -f "$ac_dir/shtool"; then
2077 ac_aux_dir=$ac_dir
2078 ac_install_sh="$ac_aux_dir/shtool install -c"
2079 break
2080 fi
2081 done
2082 if test -z "$ac_aux_dir"; then
2083 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2084 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2085 { (exit 1); exit 1; }; }
2086 fi
2087
2088 # These three variables are undocumented and unsupported,
2089 # and are intended to be withdrawn in a future Autoconf release.
2090 # They can cause serious problems if a builder's source tree is in a directory
2091 # whose full name contains unusual characters.
2092 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2093 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2094 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2095
2096
2097 # Find a good install program. We prefer a C program (faster),
2098 # so one script is as good as another. But avoid the broken or
2099 # incompatible versions:
2100 # SysV /etc/install, /usr/sbin/install
2101 # SunOS /usr/etc/install
2102 # IRIX /sbin/install
2103 # AIX /bin/install
2104 # AmigaOS /C/install, which installs bootblocks on floppy discs
2105 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2106 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2107 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2108 # OS/2's system install, which has a completely different semantic
2109 # ./install, which can be erroneously created by make from ./install.sh.
2110 # Reject install programs that cannot install multiple files.
2111 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2112 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2113 if test -z "$INSTALL"; then
2114 if test "${ac_cv_path_install+set}" = set; then
2115 $as_echo_n "(cached) " >&6
2116 else
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 for as_dir in $PATH
2119 do
2120 IFS=$as_save_IFS
2121 test -z "$as_dir" && as_dir=.
2122 # Account for people who put trailing slashes in PATH elements.
2123 case $as_dir/ in
2124 ./ | .// | /cC/* | \
2125 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2126 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2127 /usr/ucb/* ) ;;
2128 *)
2129 # OSF1 and SCO ODT 3.0 have their own names for install.
2130 # Don't use installbsd from OSF since it installs stuff as root
2131 # by default.
2132 for ac_prog in ginstall scoinst install; do
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2135 if test $ac_prog = install &&
2136 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2137 # AIX install. It has an incompatible calling convention.
2138 :
2139 elif test $ac_prog = install &&
2140 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2141 # program-specific install script used by HP pwplus--don't use.
2142 :
2143 else
2144 rm -rf conftest.one conftest.two conftest.dir
2145 echo one > conftest.one
2146 echo two > conftest.two
2147 mkdir conftest.dir
2148 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2149 test -s conftest.one && test -s conftest.two &&
2150 test -s conftest.dir/conftest.one &&
2151 test -s conftest.dir/conftest.two
2152 then
2153 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2154 break 3
2155 fi
2156 fi
2157 fi
2158 done
2159 done
2160 ;;
2161 esac
2162
2163 done
2164 IFS=$as_save_IFS
2165
2166 rm -rf conftest.one conftest.two conftest.dir
2167
2168 fi
2169 if test "${ac_cv_path_install+set}" = set; then
2170 INSTALL=$ac_cv_path_install
2171 else
2172 # As a last resort, use the slow shell script. Don't cache a
2173 # value for INSTALL within a source directory, because that will
2174 # break other packages using the cache if that directory is
2175 # removed, or if the value is a relative name.
2176 INSTALL=$ac_install_sh
2177 fi
2178 fi
2179 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2180 $as_echo "$INSTALL" >&6; }
2181
2182 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2183 # It thinks the first close brace ends the variable substitution.
2184 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2185
2186 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2187
2188 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2189
2190 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2191 $as_echo_n "checking whether build environment is sane... " >&6; }
2192 # Just in case
2193 sleep 1
2194 echo timestamp > conftest.file
2195 # Do `set' in a subshell so we don't clobber the current shell's
2196 # arguments. Must try -L first in case configure is actually a
2197 # symlink; some systems play weird games with the mod time of symlinks
2198 # (eg FreeBSD returns the mod time of the symlink's containing
2199 # directory).
2200 if (
2201 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2202 if test "$*" = "X"; then
2203 # -L didn't work.
2204 set X `ls -t $srcdir/configure conftest.file`
2205 fi
2206 rm -f conftest.file
2207 if test "$*" != "X $srcdir/configure conftest.file" \
2208 && test "$*" != "X conftest.file $srcdir/configure"; then
2209
2210 # If neither matched, then we have a broken ls. This can happen
2211 # if, for instance, CONFIG_SHELL is bash and it inherits a
2212 # broken ls alias from the environment. This has actually
2213 # happened. Such a system could not be considered "sane".
2214 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2215 alias in your environment" >&5
2216 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2217 alias in your environment" >&2;}
2218 { (exit 1); exit 1; }; }
2219 fi
2220
2221 test "$2" = conftest.file
2222 )
2223 then
2224 # Ok.
2225 :
2226 else
2227 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2228 Check your system clock" >&5
2229 $as_echo "$as_me: error: newly created file is older than distributed files!
2230 Check your system clock" >&2;}
2231 { (exit 1); exit 1; }; }
2232 fi
2233 { $as_echo "$as_me:$LINENO: result: yes" >&5
2234 $as_echo "yes" >&6; }
2235 test "$program_prefix" != NONE &&
2236 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2237 # Use a double $ so make ignores it.
2238 test "$program_suffix" != NONE &&
2239 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2240 # Double any \ or $.
2241 # By default was `s,x,x', remove it if useless.
2242 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2243 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2244
2245 # expand $ac_aux_dir to an absolute path
2246 am_aux_dir=`cd $ac_aux_dir && pwd`
2247
2248 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2249 # Use eval to expand $SHELL
2250 if eval "$MISSING --run true"; then
2251 am_missing_run="$MISSING --run "
2252 else
2253 am_missing_run=
2254 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2255 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2256 fi
2257
2258 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2259 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2260 if test -z "$MKDIR_P"; then
2261 if test "${ac_cv_path_mkdir+set}" = set; then
2262 $as_echo_n "(cached) " >&6
2263 else
2264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2266 do
2267 IFS=$as_save_IFS
2268 test -z "$as_dir" && as_dir=.
2269 for ac_prog in mkdir gmkdir; do
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2272 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2273 'mkdir (GNU coreutils) '* | \
2274 'mkdir (coreutils) '* | \
2275 'mkdir (fileutils) '4.1*)
2276 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2277 break 3;;
2278 esac
2279 done
2280 done
2281 done
2282 IFS=$as_save_IFS
2283
2284 fi
2285
2286 if test "${ac_cv_path_mkdir+set}" = set; then
2287 MKDIR_P="$ac_cv_path_mkdir -p"
2288 else
2289 # As a last resort, use the slow shell script. Don't cache a
2290 # value for MKDIR_P within a source directory, because that will
2291 # break other packages using the cache if that directory is
2292 # removed, or if the value is a relative name.
2293 test -d ./--version && rmdir ./--version
2294 MKDIR_P="$ac_install_sh -d"
2295 fi
2296 fi
2297 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2298 $as_echo "$MKDIR_P" >&6; }
2299
2300 mkdir_p="$MKDIR_P"
2301 case $mkdir_p in
2302 [\\/$]* | ?:[\\/]*) ;;
2303 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2304 esac
2305
2306 for ac_prog in gawk mawk nawk awk
2307 do
2308 # Extract the first word of "$ac_prog", so it can be a program name with args.
2309 set dummy $ac_prog; ac_word=$2
2310 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2311 $as_echo_n "checking for $ac_word... " >&6; }
2312 if test "${ac_cv_prog_AWK+set}" = set; then
2313 $as_echo_n "(cached) " >&6
2314 else
2315 if test -n "$AWK"; then
2316 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2317 else
2318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2319 for as_dir in $PATH
2320 do
2321 IFS=$as_save_IFS
2322 test -z "$as_dir" && as_dir=.
2323 for ac_exec_ext in '' $ac_executable_extensions; do
2324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2325 ac_cv_prog_AWK="$ac_prog"
2326 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2327 break 2
2328 fi
2329 done
2330 done
2331 IFS=$as_save_IFS
2332
2333 fi
2334 fi
2335 AWK=$ac_cv_prog_AWK
2336 if test -n "$AWK"; then
2337 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2338 $as_echo "$AWK" >&6; }
2339 else
2340 { $as_echo "$as_me:$LINENO: result: no" >&5
2341 $as_echo "no" >&6; }
2342 fi
2343
2344
2345 test -n "$AWK" && break
2346 done
2347
2348 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2349 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2350 set x ${MAKE-make}
2351 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2352 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2353 $as_echo_n "(cached) " >&6
2354 else
2355 cat >conftest.make <<\_ACEOF
2356 SHELL = /bin/sh
2357 all:
2358 @echo '@@@%%%=$(MAKE)=@@@%%%'
2359 _ACEOF
2360 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2361 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2362 *@@@%%%=?*=@@@%%%*)
2363 eval ac_cv_prog_make_${ac_make}_set=yes;;
2364 *)
2365 eval ac_cv_prog_make_${ac_make}_set=no;;
2366 esac
2367 rm -f conftest.make
2368 fi
2369 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2370 { $as_echo "$as_me:$LINENO: result: yes" >&5
2371 $as_echo "yes" >&6; }
2372 SET_MAKE=
2373 else
2374 { $as_echo "$as_me:$LINENO: result: no" >&5
2375 $as_echo "no" >&6; }
2376 SET_MAKE="MAKE=${MAKE-make}"
2377 fi
2378
2379 rm -rf .tst 2>/dev/null
2380 mkdir .tst 2>/dev/null
2381 if test -d .tst; then
2382 am__leading_dot=.
2383 else
2384 am__leading_dot=_
2385 fi
2386 rmdir .tst 2>/dev/null
2387
2388 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2389 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2390 # is not polluted with repeated "-I."
2391 am__isrc=' -I$(srcdir)'
2392 # test to see if srcdir already configured
2393 if test -f $srcdir/config.status; then
2394 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2395 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2396 { (exit 1); exit 1; }; }
2397 fi
2398 fi
2399
2400 # test whether we have cygpath
2401 if test -z "$CYGPATH_W"; then
2402 if (cygpath --version) >/dev/null 2>/dev/null; then
2403 CYGPATH_W='cygpath -w'
2404 else
2405 CYGPATH_W=echo
2406 fi
2407 fi
2408
2409
2410 # Define the identity of the package.
2411 PACKAGE='libXaw'
2412 VERSION='1.0.6'
2413
2414
2415 cat >>confdefs.h <<_ACEOF
2416 #define PACKAGE "$PACKAGE"
2417 _ACEOF
2418
2419
2420 cat >>confdefs.h <<_ACEOF
2421 #define VERSION "$VERSION"
2422 _ACEOF
2423
2424 # Some tools Automake needs.
2425
2426 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2427
2428
2429 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2430
2431
2432 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2433
2434
2435 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2436
2437
2438 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2439
2440 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2441
2442 # Installed binaries are usually stripped using `strip' when the user
2443 # run `make install-strip'. However `strip' might not be the right
2444 # tool to use in cross-compilation environments, therefore Automake
2445 # will honor the `STRIP' environment variable to overrule this program.
2446 if test "$cross_compiling" != no; then
2447 if test -n "$ac_tool_prefix"; then
2448 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2449 set dummy ${ac_tool_prefix}strip; ac_word=$2
2450 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2451 $as_echo_n "checking for $ac_word... " >&6; }
2452 if test "${ac_cv_prog_STRIP+set}" = set; then
2453 $as_echo_n "(cached) " >&6
2454 else
2455 if test -n "$STRIP"; then
2456 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2457 else
2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459 for as_dir in $PATH
2460 do
2461 IFS=$as_save_IFS
2462 test -z "$as_dir" && as_dir=.
2463 for ac_exec_ext in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2466 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 break 2
2468 fi
2469 done
2470 done
2471 IFS=$as_save_IFS
2472
2473 fi
2474 fi
2475 STRIP=$ac_cv_prog_STRIP
2476 if test -n "$STRIP"; then
2477 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2478 $as_echo "$STRIP" >&6; }
2479 else
2480 { $as_echo "$as_me:$LINENO: result: no" >&5
2481 $as_echo "no" >&6; }
2482 fi
2483
2484
2485 fi
2486 if test -z "$ac_cv_prog_STRIP"; then
2487 ac_ct_STRIP=$STRIP
2488 # Extract the first word of "strip", so it can be a program name with args.
2489 set dummy strip; ac_word=$2
2490 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 $as_echo_n "checking for $ac_word... " >&6; }
2492 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2493 $as_echo_n "(cached) " >&6
2494 else
2495 if test -n "$ac_ct_STRIP"; then
2496 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2497 else
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2500 do
2501 IFS=$as_save_IFS
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 ac_cv_prog_ac_ct_STRIP="strip"
2506 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 break 2
2508 fi
2509 done
2510 done
2511 IFS=$as_save_IFS
2512
2513 fi
2514 fi
2515 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2516 if test -n "$ac_ct_STRIP"; then
2517 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2518 $as_echo "$ac_ct_STRIP" >&6; }
2519 else
2520 { $as_echo "$as_me:$LINENO: result: no" >&5
2521 $as_echo "no" >&6; }
2522 fi
2523
2524 if test "x$ac_ct_STRIP" = x; then
2525 STRIP=":"
2526 else
2527 case $cross_compiling:$ac_tool_warned in
2528 yes:)
2529 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2531 ac_tool_warned=yes ;;
2532 esac
2533 STRIP=$ac_ct_STRIP
2534 fi
2535 else
2536 STRIP="$ac_cv_prog_STRIP"
2537 fi
2538
2539 fi
2540 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2541
2542 # We need awk for the "check" target. The system "awk" is bad on
2543 # some platforms.
2544 # Always define AMTAR for backward compatibility.
2545
2546 AMTAR=${AMTAR-"${am_missing_run}tar"}
2547
2548 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2549
2550
2551
2552
2553
2554
2555 ac_config_headers="$ac_config_headers config.h"
2556
2557
2558 # Require xorg-macros: XORG_WITH_LINT, XORG_CWARNFLAGS, XORG_CHANGELOG
2559
2560
2561 XORG_MACROS_needed_version=1.2.1
2562 XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
2563 XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
2564 { $as_echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5
2565 $as_echo_n "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... " >&6; }
2566 XORG_MACROS_version=1.2.1
2567 XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
2568 XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
2569 if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
2570 { { $as_echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5
2571 $as_echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;}
2572 { (exit 1); exit 1; }; }
2573 fi
2574 if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
2575 { { $as_echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&5
2576 $as_echo "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&2;}
2577 { (exit 1); exit 1; }; }
2578 fi
2579 { $as_echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5
2580 $as_echo "yes, $XORG_MACROS_version" >&6; }
2581
2582
2583 # Check for progs
2584 ac_ext=c
2585 ac_cpp='$CPP $CPPFLAGS'
2586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2589 if test -n "$ac_tool_prefix"; then
2590 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2591 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2592 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2593 $as_echo_n "checking for $ac_word... " >&6; }
2594 if test "${ac_cv_prog_CC+set}" = set; then
2595 $as_echo_n "(cached) " >&6
2596 else
2597 if test -n "$CC"; then
2598 ac_cv_prog_CC="$CC" # Let the user override the test.
2599 else
2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601 for as_dir in $PATH
2602 do
2603 IFS=$as_save_IFS
2604 test -z "$as_dir" && as_dir=.
2605 for ac_exec_ext in '' $ac_executable_extensions; do
2606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2607 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2608 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2609 break 2
2610 fi
2611 done
2612 done
2613 IFS=$as_save_IFS
2614
2615 fi
2616 fi
2617 CC=$ac_cv_prog_CC
2618 if test -n "$CC"; then
2619 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2620 $as_echo "$CC" >&6; }
2621 else
2622 { $as_echo "$as_me:$LINENO: result: no" >&5
2623 $as_echo "no" >&6; }
2624 fi
2625
2626
2627 fi
2628 if test -z "$ac_cv_prog_CC"; then
2629 ac_ct_CC=$CC
2630 # Extract the first word of "gcc", so it can be a program name with args.
2631 set dummy gcc; ac_word=$2
2632 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2633 $as_echo_n "checking for $ac_word... " >&6; }
2634 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2635 $as_echo_n "(cached) " >&6
2636 else
2637 if test -n "$ac_ct_CC"; then
2638 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2639 else
2640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641 for as_dir in $PATH
2642 do
2643 IFS=$as_save_IFS
2644 test -z "$as_dir" && as_dir=.
2645 for ac_exec_ext in '' $ac_executable_extensions; do
2646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647 ac_cv_prog_ac_ct_CC="gcc"
2648 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2649 break 2
2650 fi
2651 done
2652 done
2653 IFS=$as_save_IFS
2654
2655 fi
2656 fi
2657 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2658 if test -n "$ac_ct_CC"; then
2659 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2660 $as_echo "$ac_ct_CC" >&6; }
2661 else
2662 { $as_echo "$as_me:$LINENO: result: no" >&5
2663 $as_echo "no" >&6; }
2664 fi
2665
2666 if test "x$ac_ct_CC" = x; then
2667 CC=""
2668 else
2669 case $cross_compiling:$ac_tool_warned in
2670 yes:)
2671 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2673 ac_tool_warned=yes ;;
2674 esac
2675 CC=$ac_ct_CC
2676 fi
2677 else
2678 CC="$ac_cv_prog_CC"
2679 fi
2680
2681 if test -z "$CC"; then
2682 if test -n "$ac_tool_prefix"; then
2683 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2684 set dummy ${ac_tool_prefix}cc; ac_word=$2
2685 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2686 $as_echo_n "checking for $ac_word... " >&6; }
2687 if test "${ac_cv_prog_CC+set}" = set; then
2688 $as_echo_n "(cached) " >&6
2689 else
2690 if test -n "$CC"; then
2691 ac_cv_prog_CC="$CC" # Let the user override the test.
2692 else
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 for as_dir in $PATH
2695 do
2696 IFS=$as_save_IFS
2697 test -z "$as_dir" && as_dir=.
2698 for ac_exec_ext in '' $ac_executable_extensions; do
2699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2700 ac_cv_prog_CC="${ac_tool_prefix}cc"
2701 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 break 2
2703 fi
2704 done
2705 done
2706 IFS=$as_save_IFS
2707
2708 fi
2709 fi
2710 CC=$ac_cv_prog_CC
2711 if test -n "$CC"; then
2712 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2713 $as_echo "$CC" >&6; }
2714 else
2715 { $as_echo "$as_me:$LINENO: result: no" >&5
2716 $as_echo "no" >&6; }
2717 fi
2718
2719
2720 fi
2721 fi
2722 if test -z "$CC"; then
2723 # Extract the first word of "cc", so it can be a program name with args.
2724 set dummy cc; ac_word=$2
2725 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2726 $as_echo_n "checking for $ac_word... " >&6; }
2727 if test "${ac_cv_prog_CC+set}" = set; then
2728 $as_echo_n "(cached) " >&6
2729 else
2730 if test -n "$CC"; then
2731 ac_cv_prog_CC="$CC" # Let the user override the test.
2732 else
2733 ac_prog_rejected=no
2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 for as_dir in $PATH
2736 do
2737 IFS=$as_save_IFS
2738 test -z "$as_dir" && as_dir=.
2739 for ac_exec_ext in '' $ac_executable_extensions; do
2740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2742 ac_prog_rejected=yes
2743 continue
2744 fi
2745 ac_cv_prog_CC="cc"
2746 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 break 2
2748 fi
2749 done
2750 done
2751 IFS=$as_save_IFS
2752
2753 if test $ac_prog_rejected = yes; then
2754 # We found a bogon in the path, so make sure we never use it.
2755 set dummy $ac_cv_prog_CC
2756 shift
2757 if test $# != 0; then
2758 # We chose a different compiler from the bogus one.
2759 # However, it has the same basename, so the bogon will be chosen
2760 # first if we set CC to just the basename; use the full file name.
2761 shift
2762 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2763 fi
2764 fi
2765 fi
2766 fi
2767 CC=$ac_cv_prog_CC
2768 if test -n "$CC"; then
2769 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2770 $as_echo "$CC" >&6; }
2771 else
2772 { $as_echo "$as_me:$LINENO: result: no" >&5
2773 $as_echo "no" >&6; }
2774 fi
2775
2776
2777 fi
2778 if test -z "$CC"; then
2779 if test -n "$ac_tool_prefix"; then
2780 for ac_prog in cl.exe
2781 do
2782 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2783 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2784 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if test "${ac_cv_prog_CC+set}" = set; then
2787 $as_echo_n "(cached) " >&6
2788 else
2789 if test -n "$CC"; then
2790 ac_cv_prog_CC="$CC" # Let the user override the test.
2791 else
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 for as_dir in $PATH
2794 do
2795 IFS=$as_save_IFS
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2800 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 break 2
2802 fi
2803 done
2804 done
2805 IFS=$as_save_IFS
2806
2807 fi
2808 fi
2809 CC=$ac_cv_prog_CC
2810 if test -n "$CC"; then
2811 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2812 $as_echo "$CC" >&6; }
2813 else
2814 { $as_echo "$as_me:$LINENO: result: no" >&5
2815 $as_echo "no" >&6; }
2816 fi
2817
2818
2819 test -n "$CC" && break
2820 done
2821 fi
2822 if test -z "$CC"; then
2823 ac_ct_CC=$CC
2824 for ac_prog in cl.exe
2825 do
2826 # Extract the first word of "$ac_prog", so it can be a program name with args.
2827 set dummy $ac_prog; ac_word=$2
2828 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2829 $as_echo_n "checking for $ac_word... " >&6; }
2830 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2831 $as_echo_n "(cached) " >&6
2832 else
2833 if test -n "$ac_ct_CC"; then
2834 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2835 else
2836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2837 for as_dir in $PATH
2838 do
2839 IFS=$as_save_IFS
2840 test -z "$as_dir" && as_dir=.
2841 for ac_exec_ext in '' $ac_executable_extensions; do
2842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2843 ac_cv_prog_ac_ct_CC="$ac_prog"
2844 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 break 2
2846 fi
2847 done
2848 done
2849 IFS=$as_save_IFS
2850
2851 fi
2852 fi
2853 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2854 if test -n "$ac_ct_CC"; then
2855 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2856 $as_echo "$ac_ct_CC" >&6; }
2857 else
2858 { $as_echo "$as_me:$LINENO: result: no" >&5
2859 $as_echo "no" >&6; }
2860 fi
2861
2862
2863 test -n "$ac_ct_CC" && break
2864 done
2865
2866 if test "x$ac_ct_CC" = x; then
2867 CC=""
2868 else
2869 case $cross_compiling:$ac_tool_warned in
2870 yes:)
2871 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2873 ac_tool_warned=yes ;;
2874 esac
2875 CC=$ac_ct_CC
2876 fi
2877 fi
2878
2879 fi
2880
2881
2882 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2884 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2885 See \`config.log' for more details." >&5
2886 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2887 See \`config.log' for more details." >&2;}
2888 { (exit 1); exit 1; }; }; }
2889
2890 # Provide some information about the compiler.
2891 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2892 set X $ac_compile
2893 ac_compiler=$2
2894 { (ac_try="$ac_compiler --version >&5"
2895 case "(($ac_try" in
2896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2897 *) ac_try_echo=$ac_try;;
2898 esac
2899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2900 $as_echo "$ac_try_echo") >&5
2901 (eval "$ac_compiler --version >&5") 2>&5
2902 ac_status=$?
2903 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904 (exit $ac_status); }
2905 { (ac_try="$ac_compiler -v >&5"
2906 case "(($ac_try" in
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2909 esac
2910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2911 $as_echo "$ac_try_echo") >&5
2912 (eval "$ac_compiler -v >&5") 2>&5
2913 ac_status=$?
2914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }
2916 { (ac_try="$ac_compiler -V >&5"
2917 case "(($ac_try" in
2918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919 *) ac_try_echo=$ac_try;;
2920 esac
2921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2922 $as_echo "$ac_try_echo") >&5
2923 (eval "$ac_compiler -V >&5") 2>&5
2924 ac_status=$?
2925 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); }
2927
2928 cat >conftest.$ac_ext <<_ACEOF
2929 /* confdefs.h. */
2930 _ACEOF
2931 cat confdefs.h >>conftest.$ac_ext
2932 cat >>conftest.$ac_ext <<_ACEOF
2933 /* end confdefs.h. */
2934
2935 int
2936 main ()
2937 {
2938
2939 ;
2940 return 0;
2941 }
2942 _ACEOF
2943 ac_clean_files_save=$ac_clean_files
2944 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2945 # Try to create an executable without -o first, disregard a.out.
2946 # It will help us diagnose broken compilers, and finding out an intuition
2947 # of exeext.
2948 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2949 $as_echo_n "checking for C compiler default output file name... " >&6; }
2950 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2951
2952 # The possible output files:
2953 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2954
2955 ac_rmfiles=
2956 for ac_file in $ac_files
2957 do
2958 case $ac_file in
2959 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2960 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2961 esac
2962 done
2963 rm -f $ac_rmfiles
2964
2965 if { (ac_try="$ac_link_default"
2966 case "(($ac_try" in
2967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2968 *) ac_try_echo=$ac_try;;
2969 esac
2970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2971 $as_echo "$ac_try_echo") >&5
2972 (eval "$ac_link_default") 2>&5
2973 ac_status=$?
2974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; then
2976 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2977 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2978 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2979 # so that the user can short-circuit this test for compilers unknown to
2980 # Autoconf.
2981 for ac_file in $ac_files ''
2982 do
2983 test -f "$ac_file" || continue
2984 case $ac_file in
2985 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2986 ;;
2987 [ab].out )
2988 # We found the default executable, but exeext='' is most
2989 # certainly right.
2990 break;;
2991 *.* )
2992 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2993 then :; else
2994 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2995 fi
2996 # We set ac_cv_exeext here because the later test for it is not
2997 # safe: cross compilers may not add the suffix if given an `-o'
2998 # argument, so we may need to know it at that point already.
2999 # Even if this section looks crufty: it has the advantage of
3000 # actually working.
3001 break;;
3002 * )
3003 break;;
3004 esac
3005 done
3006 test "$ac_cv_exeext" = no && ac_cv_exeext=
3007
3008 else
3009 ac_file=''
3010 fi
3011
3012 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3013 $as_echo "$ac_file" >&6; }
3014 if test -z "$ac_file"; then
3015 $as_echo "$as_me: failed program was:" >&5
3016 sed 's/^/| /' conftest.$ac_ext >&5
3017
3018 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3020 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3021 See \`config.log' for more details." >&5
3022 $as_echo "$as_me: error: C compiler cannot create executables
3023 See \`config.log' for more details." >&2;}
3024 { (exit 77); exit 77; }; }; }
3025 fi
3026
3027 ac_exeext=$ac_cv_exeext
3028
3029 # Check that the compiler produces executables we can run. If not, either
3030 # the compiler is broken, or we cross compile.
3031 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3032 $as_echo_n "checking whether the C compiler works... " >&6; }
3033 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3034 # If not cross compiling, check that we can run a simple program.
3035 if test "$cross_compiling" != yes; then
3036 if { ac_try='./$ac_file'
3037 { (case "(($ac_try" in
3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3039 *) ac_try_echo=$ac_try;;
3040 esac
3041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3042 $as_echo "$ac_try_echo") >&5
3043 (eval "$ac_try") 2>&5
3044 ac_status=$?
3045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); }; }; then
3047 cross_compiling=no
3048 else
3049 if test "$cross_compiling" = maybe; then
3050 cross_compiling=yes
3051 else
3052 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3054 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3055 If you meant to cross compile, use \`--host'.
3056 See \`config.log' for more details." >&5
3057 $as_echo "$as_me: error: cannot run C compiled programs.
3058 If you meant to cross compile, use \`--host'.
3059 See \`config.log' for more details." >&2;}
3060 { (exit 1); exit 1; }; }; }
3061 fi
3062 fi
3063 fi
3064 { $as_echo "$as_me:$LINENO: result: yes" >&5
3065 $as_echo "yes" >&6; }
3066
3067 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3068 ac_clean_files=$ac_clean_files_save
3069 # Check that the compiler produces executables we can run. If not, either
3070 # the compiler is broken, or we cross compile.
3071 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3072 $as_echo_n "checking whether we are cross compiling... " >&6; }
3073 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3074 $as_echo "$cross_compiling" >&6; }
3075
3076 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3077 $as_echo_n "checking for suffix of executables... " >&6; }
3078 if { (ac_try="$ac_link"
3079 case "(($ac_try" in
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3082 esac
3083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3084 $as_echo "$ac_try_echo") >&5
3085 (eval "$ac_link") 2>&5
3086 ac_status=$?
3087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }; then
3089 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3090 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3091 # work properly (i.e., refer to `conftest.exe'), while it won't with
3092 # `rm'.
3093 for ac_file in conftest.exe conftest conftest.*; do
3094 test -f "$ac_file" || continue
3095 case $ac_file in
3096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3097 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3098 break;;
3099 * ) break;;
3100 esac
3101 done
3102 else
3103 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3105 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3106 See \`config.log' for more details." >&5
3107 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3108 See \`config.log' for more details." >&2;}
3109 { (exit 1); exit 1; }; }; }
3110 fi
3111
3112 rm -f conftest$ac_cv_exeext
3113 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3114 $as_echo "$ac_cv_exeext" >&6; }
3115
3116 rm -f conftest.$ac_ext
3117 EXEEXT=$ac_cv_exeext
3118 ac_exeext=$EXEEXT
3119 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3120 $as_echo_n "checking for suffix of object files... " >&6; }
3121 if test "${ac_cv_objext+set}" = set; then
3122 $as_echo_n "(cached) " >&6
3123 else
3124 cat >conftest.$ac_ext <<_ACEOF
3125 /* confdefs.h. */
3126 _ACEOF
3127 cat confdefs.h >>conftest.$ac_ext
3128 cat >>conftest.$ac_ext <<_ACEOF
3129 /* end confdefs.h. */
3130
3131 int
3132 main ()
3133 {
3134
3135 ;
3136 return 0;
3137 }
3138 _ACEOF
3139 rm -f conftest.o conftest.obj
3140 if { (ac_try="$ac_compile"
3141 case "(($ac_try" in
3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143 *) ac_try_echo=$ac_try;;
3144 esac
3145 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3146 $as_echo "$ac_try_echo") >&5
3147 (eval "$ac_compile") 2>&5
3148 ac_status=$?
3149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); }; then
3151 for ac_file in conftest.o conftest.obj conftest.*; do
3152 test -f "$ac_file" || continue;
3153 case $ac_file in
3154 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3155 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3156 break;;
3157 esac
3158 done
3159 else
3160 $as_echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.$ac_ext >&5
3162
3163 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3165 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3166 See \`config.log' for more details." >&5
3167 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3168 See \`config.log' for more details." >&2;}
3169 { (exit 1); exit 1; }; }; }
3170 fi
3171
3172 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3173 fi
3174 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3175 $as_echo "$ac_cv_objext" >&6; }
3176 OBJEXT=$ac_cv_objext
3177 ac_objext=$OBJEXT
3178 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3179 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3180 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3181 $as_echo_n "(cached) " >&6
3182 else
3183 cat >conftest.$ac_ext <<_ACEOF
3184 /* confdefs.h. */
3185 _ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h. */
3189
3190 int
3191 main ()
3192 {
3193 #ifndef __GNUC__
3194 choke me
3195 #endif
3196
3197 ;
3198 return 0;
3199 }
3200 _ACEOF
3201 rm -f conftest.$ac_objext
3202 if { (ac_try="$ac_compile"
3203 case "(($ac_try" in
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3206 esac
3207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3208 $as_echo "$ac_try_echo") >&5
3209 (eval "$ac_compile") 2>conftest.er1
3210 ac_status=$?
3211 grep -v '^ *+' conftest.er1 >conftest.err
3212 rm -f conftest.er1
3213 cat conftest.err >&5
3214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215 (exit $ac_status); } && {
3216 test -z "$ac_c_werror_flag" ||
3217 test ! -s conftest.err
3218 } && test -s conftest.$ac_objext; then
3219 ac_compiler_gnu=yes
3220 else
3221 $as_echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3223
3224 ac_compiler_gnu=no
3225 fi
3226
3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3229
3230 fi
3231 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3232 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3233 if test $ac_compiler_gnu = yes; then
3234 GCC=yes
3235 else
3236 GCC=
3237 fi
3238 ac_test_CFLAGS=${CFLAGS+set}
3239 ac_save_CFLAGS=$CFLAGS
3240 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3241 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3242 if test "${ac_cv_prog_cc_g+set}" = set; then
3243 $as_echo_n "(cached) " >&6
3244 else
3245 ac_save_c_werror_flag=$ac_c_werror_flag
3246 ac_c_werror_flag=yes
3247 ac_cv_prog_cc_g=no
3248 CFLAGS="-g"
3249 cat >conftest.$ac_ext <<_ACEOF
3250 /* confdefs.h. */
3251 _ACEOF
3252 cat confdefs.h >>conftest.$ac_ext
3253 cat >>conftest.$ac_ext <<_ACEOF
3254 /* end confdefs.h. */
3255
3256 int
3257 main ()
3258 {
3259
3260 ;
3261 return 0;
3262 }
3263 _ACEOF
3264 rm -f conftest.$ac_objext
3265 if { (ac_try="$ac_compile"
3266 case "(($ac_try" in
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3269 esac
3270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3271 $as_echo "$ac_try_echo") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3273 ac_status=$?
3274 grep -v '^ *+' conftest.er1 >conftest.err
3275 rm -f conftest.er1
3276 cat conftest.err >&5
3277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } && {
3279 test -z "$ac_c_werror_flag" ||
3280 test ! -s conftest.err
3281 } && test -s conftest.$ac_objext; then
3282 ac_cv_prog_cc_g=yes
3283 else
3284 $as_echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3286
3287 CFLAGS=""
3288 cat >conftest.$ac_ext <<_ACEOF
3289 /* confdefs.h. */
3290 _ACEOF
3291 cat confdefs.h >>conftest.$ac_ext
3292 cat >>conftest.$ac_ext <<_ACEOF
3293 /* end confdefs.h. */
3294
3295 int
3296 main ()
3297 {
3298
3299 ;
3300 return 0;
3301 }
3302 _ACEOF
3303 rm -f conftest.$ac_objext
3304 if { (ac_try="$ac_compile"
3305 case "(($ac_try" in
3306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3307 *) ac_try_echo=$ac_try;;
3308 esac
3309 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3310 $as_echo "$ac_try_echo") >&5
3311 (eval "$ac_compile") 2>conftest.er1
3312 ac_status=$?
3313 grep -v '^ *+' conftest.er1 >conftest.err
3314 rm -f conftest.er1
3315 cat conftest.err >&5
3316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } && {
3318 test -z "$ac_c_werror_flag" ||
3319 test ! -s conftest.err
3320 } && test -s conftest.$ac_objext; then
3321 :
3322 else
3323 $as_echo "$as_me: failed program was:" >&5
3324 sed 's/^/| /' conftest.$ac_ext >&5
3325
3326 ac_c_werror_flag=$ac_save_c_werror_flag
3327 CFLAGS="-g"
3328 cat >conftest.$ac_ext <<_ACEOF
3329 /* confdefs.h. */
3330 _ACEOF
3331 cat confdefs.h >>conftest.$ac_ext
3332 cat >>conftest.$ac_ext <<_ACEOF
3333 /* end confdefs.h. */
3334
3335 int
3336 main ()
3337 {
3338
3339 ;
3340 return 0;
3341 }
3342 _ACEOF
3343 rm -f conftest.$ac_objext
3344 if { (ac_try="$ac_compile"
3345 case "(($ac_try" in
3346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347 *) ac_try_echo=$ac_try;;
3348 esac
3349 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3350 $as_echo "$ac_try_echo") >&5
3351 (eval "$ac_compile") 2>conftest.er1
3352 ac_status=$?
3353 grep -v '^ *+' conftest.er1 >conftest.err
3354 rm -f conftest.er1
3355 cat conftest.err >&5
3356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); } && {
3358 test -z "$ac_c_werror_flag" ||
3359 test ! -s conftest.err
3360 } && test -s conftest.$ac_objext; then
3361 ac_cv_prog_cc_g=yes
3362 else
3363 $as_echo "$as_me: failed program was:" >&5
3364 sed 's/^/| /' conftest.$ac_ext >&5
3365
3366
3367 fi
3368
3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 fi
3371
3372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3373 fi
3374
3375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3376 ac_c_werror_flag=$ac_save_c_werror_flag
3377 fi
3378 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3379 $as_echo "$ac_cv_prog_cc_g" >&6; }
3380 if test "$ac_test_CFLAGS" = set; then
3381 CFLAGS=$ac_save_CFLAGS
3382 elif test $ac_cv_prog_cc_g = yes; then
3383 if test "$GCC" = yes; then
3384 CFLAGS="-g -O2"
3385 else
3386 CFLAGS="-g"
3387 fi
3388 else
3389 if test "$GCC" = yes; then
3390 CFLAGS="-O2"
3391 else
3392 CFLAGS=
3393 fi
3394 fi
3395 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3396 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3397 if test "${ac_cv_prog_cc_c89+set}" = set; then
3398 $as_echo_n "(cached) " >&6
3399 else
3400 ac_cv_prog_cc_c89=no
3401 ac_save_CC=$CC
3402 cat >conftest.$ac_ext <<_ACEOF
3403 /* confdefs.h. */
3404 _ACEOF
3405 cat confdefs.h >>conftest.$ac_ext
3406 cat >>conftest.$ac_ext <<_ACEOF
3407 /* end confdefs.h. */
3408 #include <stdarg.h>
3409 #include <stdio.h>
3410 #include <sys/types.h>
3411 #include <sys/stat.h>
3412 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3413 struct buf { int x; };
3414 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3415 static char *e (p, i)
3416 char **p;
3417 int i;
3418 {
3419 return p[i];
3420 }
3421 static char *f (char * (*g) (char **, int), char **p, ...)
3422 {
3423 char *s;
3424 va_list v;
3425 va_start (v,p);
3426 s = g (p, va_arg (v,int));
3427 va_end (v);
3428 return s;
3429 }
3430
3431 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3432 function prototypes and stuff, but not '\xHH' hex character constants.
3433 These don't provoke an error unfortunately, instead are silently treated
3434 as 'x'. The following induces an error, until -std is added to get
3435 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3436 array size at least. It's necessary to write '\x00'==0 to get something
3437 that's true only with -std. */
3438 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3439
3440 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3441 inside strings and character constants. */
3442 #define FOO(x) 'x'
3443 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3444
3445 int test (int i, double x);
3446 struct s1 {int (*f) (int a);};
3447 struct s2 {int (*f) (double a);};
3448 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3449 int argc;
3450 char **argv;
3451 int
3452 main ()
3453 {
3454 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3455 ;
3456 return 0;
3457 }
3458 _ACEOF
3459 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3460 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3461 do
3462 CC="$ac_save_CC $ac_arg"
3463 rm -f conftest.$ac_objext
3464 if { (ac_try="$ac_compile"
3465 case "(($ac_try" in
3466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467 *) ac_try_echo=$ac_try;;
3468 esac
3469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3470 $as_echo "$ac_try_echo") >&5
3471 (eval "$ac_compile") 2>conftest.er1
3472 ac_status=$?
3473 grep -v '^ *+' conftest.er1 >conftest.err
3474 rm -f conftest.er1
3475 cat conftest.err >&5
3476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477 (exit $ac_status); } && {
3478 test -z "$ac_c_werror_flag" ||
3479 test ! -s conftest.err
3480 } && test -s conftest.$ac_objext; then
3481 ac_cv_prog_cc_c89=$ac_arg
3482 else
3483 $as_echo "$as_me: failed program was:" >&5
3484 sed 's/^/| /' conftest.$ac_ext >&5
3485
3486
3487 fi
3488
3489 rm -f core conftest.err conftest.$ac_objext
3490 test "x$ac_cv_prog_cc_c89" != "xno" && break
3491 done
3492 rm -f conftest.$ac_ext
3493 CC=$ac_save_CC
3494
3495 fi
3496 # AC_CACHE_VAL
3497 case "x$ac_cv_prog_cc_c89" in
3498 x)
3499 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3500 $as_echo "none needed" >&6; } ;;
3501 xno)
3502 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3503 $as_echo "unsupported" >&6; } ;;
3504 *)
3505 CC="$CC $ac_cv_prog_cc_c89"
3506 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3507 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3508 esac
3509
3510
3511 ac_ext=c
3512 ac_cpp='$CPP $CPPFLAGS'
3513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3516 DEPDIR="${am__leading_dot}deps"
3517
3518 ac_config_commands="$ac_config_commands depfiles"
3519
3520
3521 am_make=${MAKE-make}
3522 cat > confinc << 'END'
3523 am__doit:
3524 @echo done
3525 .PHONY: am__doit
3526 END
3527 # If we don't find an include directive, just comment out the code.
3528 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3529 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3530 am__include="#"
3531 am__quote=
3532 _am_result=none
3533 # First try GNU make style include.
3534 echo "include confinc" > confmf
3535 # We grep out `Entering directory' and `Leaving directory'
3536 # messages which can occur if `w' ends up in MAKEFLAGS.
3537 # In particular we don't look at `^make:' because GNU make might
3538 # be invoked under some other name (usually "gmake"), in which
3539 # case it prints its new name instead of `make'.
3540 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3541 am__include=include
3542 am__quote=
3543 _am_result=GNU
3544 fi
3545 # Now try BSD make style include.
3546 if test "$am__include" = "#"; then
3547 echo '.include "confinc"' > confmf
3548 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3549 am__include=.include
3550 am__quote="\""
3551 _am_result=BSD
3552 fi
3553 fi
3554
3555
3556 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3557 $as_echo "$_am_result" >&6; }
3558 rm -f confinc confmf
3559
3560 # Check whether --enable-dependency-tracking was given.
3561 if test "${enable_dependency_tracking+set}" = set; then
3562 enableval=$enable_dependency_tracking;
3563 fi
3564
3565 if test "x$enable_dependency_tracking" != xno; then
3566 am_depcomp="$ac_aux_dir/depcomp"
3567 AMDEPBACKSLASH='\'
3568 fi
3569 if test "x$enable_dependency_tracking" != xno; then
3570 AMDEP_TRUE=
3571 AMDEP_FALSE='#'
3572 else
3573 AMDEP_TRUE='#'
3574 AMDEP_FALSE=
3575 fi
3576
3577
3578
3579 depcc="$CC" am_compiler_list=
3580
3581 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3582 $as_echo_n "checking dependency style of $depcc... " >&6; }
3583 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3584 $as_echo_n "(cached) " >&6
3585 else
3586 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3587 # We make a subdir and do the tests there. Otherwise we can end up
3588 # making bogus files that we don't know about and never remove. For
3589 # instance it was reported that on HP-UX the gcc test will end up
3590 # making a dummy file named `D' -- because `-MD' means `put the output
3591 # in D'.
3592 mkdir conftest.dir
3593 # Copy depcomp to subdir because otherwise we won't find it if we're
3594 # using a relative directory.
3595 cp "$am_depcomp" conftest.dir
3596 cd conftest.dir
3597 # We will build objects and dependencies in a subdirectory because
3598 # it helps to detect inapplicable dependency modes. For instance
3599 # both Tru64's cc and ICC support -MD to output dependencies as a
3600 # side effect of compilation, but ICC will put the dependencies in
3601 # the current directory while Tru64 will put them in the object
3602 # directory.
3603 mkdir sub
3604
3605 am_cv_CC_dependencies_compiler_type=none
3606 if test "$am_compiler_list" = ""; then
3607 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3608 fi
3609 for depmode in $am_compiler_list; do
3610 # Setup a source with many dependencies, because some compilers
3611 # like to wrap large dependency lists on column 80 (with \), and
3612 # we should not choose a depcomp mode which is confused by this.
3613 #
3614 # We need to recreate these files for each test, as the compiler may
3615 # overwrite some of them when testing with obscure command lines.
3616 # This happens at least with the AIX C compiler.
3617 : > sub/conftest.c
3618 for i in 1 2 3 4 5 6; do
3619 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3620 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3621 # Solaris 8's {/usr,}/bin/sh.
3622 touch sub/conftst$i.h
3623 done
3624 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3625
3626 case $depmode in
3627 nosideeffect)
3628 # after this tag, mechanisms are not by side-effect, so they'll
3629 # only be used when explicitly requested
3630 if test "x$enable_dependency_tracking" = xyes; then
3631 continue
3632 else
3633 break
3634 fi
3635 ;;
3636 none) break ;;
3637 esac
3638 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3639 # mode. It turns out that the SunPro C++ compiler does not properly
3640 # handle `-M -o', and we need to detect this.
3641 if depmode=$depmode \
3642 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3643 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3644 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3645 >/dev/null 2>conftest.err &&
3646 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3647 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3648 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3649 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3650 # icc doesn't choke on unknown options, it will just issue warnings
3651 # or remarks (even with -Werror). So we grep stderr for any message
3652 # that says an option was ignored or not supported.
3653 # When given -MP, icc 7.0 and 7.1 complain thusly:
3654 # icc: Command line warning: ignoring option '-M'; no argument required
3655 # The diagnosis changed in icc 8.0:
3656 # icc: Command line remark: option '-MP' not supported
3657 if (grep 'ignoring option' conftest.err ||
3658 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3659 am_cv_CC_dependencies_compiler_type=$depmode
3660 break
3661 fi
3662 fi
3663 done
3664
3665 cd ..
3666 rm -rf conftest.dir
3667 else
3668 am_cv_CC_dependencies_compiler_type=none
3669 fi
3670
3671 fi
3672 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3673 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3674 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3675
3676 if
3677 test "x$enable_dependency_tracking" != xno \
3678 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3679 am__fastdepCC_TRUE=
3680 am__fastdepCC_FALSE='#'
3681 else
3682 am__fastdepCC_TRUE='#'
3683 am__fastdepCC_FALSE=
3684 fi
3685
3686
3687 case `pwd` in
3688 *\ * | *\ *)
3689 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3690 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3691 esac
3692
3693
3694
3695 macro_version='2.2.6'
3696 macro_revision='1.3012'
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710 ltmain="$ac_aux_dir/ltmain.sh"
3711
3712 # Make sure we can run config.sub.
3713 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3714 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3715 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3716 { (exit 1); exit 1; }; }
3717
3718 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3719 $as_echo_n "checking build system type... " >&6; }
3720 if test "${ac_cv_build+set}" = set; then
3721 $as_echo_n "(cached) " >&6
3722 else
3723 ac_build_alias=$build_alias
3724 test "x$ac_build_alias" = x &&
3725 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3726 test "x$ac_build_alias" = x &&
3727 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3728 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3729 { (exit 1); exit 1; }; }
3730 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3731 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3732 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3733 { (exit 1); exit 1; }; }
3734
3735 fi
3736 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3737 $as_echo "$ac_cv_build" >&6; }
3738 case $ac_cv_build in
3739 *-*-*) ;;
3740 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3741 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
3742 { (exit 1); exit 1; }; };;
3743 esac
3744 build=$ac_cv_build
3745 ac_save_IFS=$IFS; IFS='-'
3746 set x $ac_cv_build
3747 shift
3748 build_cpu=$1
3749 build_vendor=$2
3750 shift; shift
3751 # Remember, the first character of IFS is used to create $*,
3752 # except with old shells:
3753 build_os=$*
3754 IFS=$ac_save_IFS
3755 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3756
3757
3758 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3759 $as_echo_n "checking host system type... " >&6; }
3760 if test "${ac_cv_host+set}" = set; then
3761 $as_echo_n "(cached) " >&6
3762 else
3763 if test "x$host_alias" = x; then
3764 ac_cv_host=$ac_cv_build
3765 else
3766 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3767 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3768 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3769 { (exit 1); exit 1; }; }
3770 fi
3771
3772 fi
3773 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3774 $as_echo "$ac_cv_host" >&6; }
3775 case $ac_cv_host in
3776 *-*-*) ;;
3777 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3778 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3779 { (exit 1); exit 1; }; };;
3780 esac
3781 host=$ac_cv_host
3782 ac_save_IFS=$IFS; IFS='-'
3783 set x $ac_cv_host
3784 shift
3785 host_cpu=$1
3786 host_vendor=$2
3787 shift; shift
3788 # Remember, the first character of IFS is used to create $*,
3789 # except with old shells:
3790 host_os=$*
3791 IFS=$ac_save_IFS
3792 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3793
3794
3795 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3796 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3797 if test "${ac_cv_path_SED+set}" = set; then
3798 $as_echo_n "(cached) " >&6
3799 else
3800 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3801 for ac_i in 1 2 3 4 5 6 7; do
3802 ac_script="$ac_script$as_nl$ac_script"
3803 done
3804 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3805 $as_unset ac_script || ac_script=
3806 if test -z "$SED"; then
3807 ac_path_SED_found=false
3808 # Loop through the user's path and test for each of PROGNAME-LIST
3809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3810 for as_dir in $PATH
3811 do
3812 IFS=$as_save_IFS
3813 test -z "$as_dir" && as_dir=.
3814 for ac_prog in sed gsed; do
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3817 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3818 # Check for GNU ac_path_SED and select it if it is found.
3819 # Check for GNU $ac_path_SED
3820 case `"$ac_path_SED" --version 2>&1` in
3821 *GNU*)
3822 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3823 *)
3824 ac_count=0
3825 $as_echo_n 0123456789 >"conftest.in"
3826 while :
3827 do
3828 cat "conftest.in" "conftest.in" >"conftest.tmp"
3829 mv "conftest.tmp" "conftest.in"
3830 cp "conftest.in" "conftest.nl"
3831 $as_echo '' >> "conftest.nl"
3832 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3833 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3834 ac_count=`expr $ac_count + 1`
3835 if test $ac_count -gt ${ac_path_SED_max-0}; then
3836 # Best one so far, save it but keep looking for a better one
3837 ac_cv_path_SED="$ac_path_SED"
3838 ac_path_SED_max=$ac_count
3839 fi
3840 # 10*(2^10) chars as input seems more than enough
3841 test $ac_count -gt 10 && break
3842 done
3843 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3844 esac
3845
3846 $ac_path_SED_found && break 3
3847 done
3848 done
3849 done
3850 IFS=$as_save_IFS
3851 if test -z "$ac_cv_path_SED"; then
3852 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3853 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3854 { (exit 1); exit 1; }; }
3855 fi
3856 else
3857 ac_cv_path_SED=$SED
3858 fi
3859
3860 fi
3861 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3862 $as_echo "$ac_cv_path_SED" >&6; }
3863 SED="$ac_cv_path_SED"
3864 rm -f conftest.sed
3865
3866 test -z "$SED" && SED=sed
3867 Xsed="$SED -e 1s/^X//"
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3880 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3881 if test "${ac_cv_path_GREP+set}" = set; then
3882 $as_echo_n "(cached) " >&6
3883 else
3884 if test -z "$GREP"; then
3885 ac_path_GREP_found=false
3886 # Loop through the user's path and test for each of PROGNAME-LIST
3887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3888 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3889 do
3890 IFS=$as_save_IFS
3891 test -z "$as_dir" && as_dir=.
3892 for ac_prog in grep ggrep; do
3893 for ac_exec_ext in '' $ac_executable_extensions; do
3894 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3895 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3896 # Check for GNU ac_path_GREP and select it if it is found.
3897 # Check for GNU $ac_path_GREP
3898 case `"$ac_path_GREP" --version 2>&1` in
3899 *GNU*)
3900 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3901 *)
3902 ac_count=0
3903 $as_echo_n 0123456789 >"conftest.in"
3904 while :
3905 do
3906 cat "conftest.in" "conftest.in" >"conftest.tmp"
3907 mv "conftest.tmp" "conftest.in"
3908 cp "conftest.in" "conftest.nl"
3909 $as_echo 'GREP' >> "conftest.nl"
3910 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3911 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3912 ac_count=`expr $ac_count + 1`
3913 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3914 # Best one so far, save it but keep looking for a better one
3915 ac_cv_path_GREP="$ac_path_GREP"
3916 ac_path_GREP_max=$ac_count
3917 fi
3918 # 10*(2^10) chars as input seems more than enough
3919 test $ac_count -gt 10 && break
3920 done
3921 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3922 esac
3923
3924 $ac_path_GREP_found && break 3
3925 done
3926 done
3927 done
3928 IFS=$as_save_IFS
3929 if test -z "$ac_cv_path_GREP"; then
3930 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3931 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3932 { (exit 1); exit 1; }; }
3933 fi
3934 else
3935 ac_cv_path_GREP=$GREP
3936 fi
3937
3938 fi
3939 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3940 $as_echo "$ac_cv_path_GREP" >&6; }
3941 GREP="$ac_cv_path_GREP"
3942
3943
3944 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3945 $as_echo_n "checking for egrep... " >&6; }
3946 if test "${ac_cv_path_EGREP+set}" = set; then
3947 $as_echo_n "(cached) " >&6
3948 else
3949 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3950 then ac_cv_path_EGREP="$GREP -E"
3951 else
3952 if test -z "$EGREP"; then
3953 ac_path_EGREP_found=false
3954 # Loop through the user's path and test for each of PROGNAME-LIST
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3957 do
3958 IFS=$as_save_IFS
3959 test -z "$as_dir" && as_dir=.
3960 for ac_prog in egrep; do
3961 for ac_exec_ext in '' $ac_executable_extensions; do
3962 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3963 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3964 # Check for GNU ac_path_EGREP and select it if it is found.
3965 # Check for GNU $ac_path_EGREP
3966 case `"$ac_path_EGREP" --version 2>&1` in
3967 *GNU*)
3968 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3969 *)
3970 ac_count=0
3971 $as_echo_n 0123456789 >"conftest.in"
3972 while :
3973 do
3974 cat "conftest.in" "conftest.in" >"conftest.tmp"
3975 mv "conftest.tmp" "conftest.in"
3976 cp "conftest.in" "conftest.nl"
3977 $as_echo 'EGREP' >> "conftest.nl"
3978 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3979 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3980 ac_count=`expr $ac_count + 1`
3981 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3982 # Best one so far, save it but keep looking for a better one
3983 ac_cv_path_EGREP="$ac_path_EGREP"
3984 ac_path_EGREP_max=$ac_count
3985 fi
3986 # 10*(2^10) chars as input seems more than enough
3987 test $ac_count -gt 10 && break
3988 done
3989 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3990 esac
3991
3992 $ac_path_EGREP_found && break 3
3993 done
3994 done
3995 done
3996 IFS=$as_save_IFS
3997 if test -z "$ac_cv_path_EGREP"; then
3998 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3999 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4000 { (exit 1); exit 1; }; }
4001 fi
4002 else
4003 ac_cv_path_EGREP=$EGREP
4004 fi
4005
4006 fi
4007 fi
4008 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4009 $as_echo "$ac_cv_path_EGREP" >&6; }
4010 EGREP="$ac_cv_path_EGREP"
4011
4012
4013 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4014 $as_echo_n "checking for fgrep... " >&6; }
4015 if test "${ac_cv_path_FGREP+set}" = set; then
4016 $as_echo_n "(cached) " >&6
4017 else
4018 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4019 then ac_cv_path_FGREP="$GREP -F"
4020 else
4021 if test -z "$FGREP"; then
4022 ac_path_FGREP_found=false
4023 # Loop through the user's path and test for each of PROGNAME-LIST
4024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4025 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4026 do
4027 IFS=$as_save_IFS
4028 test -z "$as_dir" && as_dir=.
4029 for ac_prog in fgrep; do
4030 for ac_exec_ext in '' $ac_executable_extensions; do
4031 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4032 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4033 # Check for GNU ac_path_FGREP and select it if it is found.
4034 # Check for GNU $ac_path_FGREP
4035 case `"$ac_path_FGREP" --version 2>&1` in
4036 *GNU*)
4037 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4038 *)
4039 ac_count=0
4040 $as_echo_n 0123456789 >"conftest.in"
4041 while :
4042 do
4043 cat "conftest.in" "conftest.in" >"conftest.tmp"
4044 mv "conftest.tmp" "conftest.in"
4045 cp "conftest.in" "conftest.nl"
4046 $as_echo 'FGREP' >> "conftest.nl"
4047 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4048 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4049 ac_count=`expr $ac_count + 1`
4050 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4051 # Best one so far, save it but keep looking for a better one
4052 ac_cv_path_FGREP="$ac_path_FGREP"
4053 ac_path_FGREP_max=$ac_count
4054 fi
4055 # 10*(2^10) chars as input seems more than enough
4056 test $ac_count -gt 10 && break
4057 done
4058 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4059 esac
4060
4061 $ac_path_FGREP_found && break 3
4062 done
4063 done
4064 done
4065 IFS=$as_save_IFS
4066 if test -z "$ac_cv_path_FGREP"; then
4067 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4068 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4069 { (exit 1); exit 1; }; }
4070 fi
4071 else
4072 ac_cv_path_FGREP=$FGREP
4073 fi
4074
4075 fi
4076 fi
4077 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4078 $as_echo "$ac_cv_path_FGREP" >&6; }
4079 FGREP="$ac_cv_path_FGREP"
4080
4081
4082 test -z "$GREP" && GREP=grep
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102 # Check whether --with-gnu-ld was given.
4103 if test "${with_gnu_ld+set}" = set; then
4104 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4105 else
4106 with_gnu_ld=no
4107 fi
4108
4109 ac_prog=ld
4110 if test "$GCC" = yes; then
4111 # Check if gcc -print-prog-name=ld gives a path.
4112 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4113 $as_echo_n "checking for ld used by $CC... " >&6; }
4114 case $host in
4115 *-*-mingw*)
4116 # gcc leaves a trailing carriage return which upsets mingw
4117 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4118 *)
4119 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4120 esac
4121 case $ac_prog in
4122 # Accept absolute paths.
4123 [\\/]* | ?:[\\/]*)
4124 re_direlt='/[^/][^/]*/\.\./'
4125 # Canonicalize the pathname of ld
4126 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4127 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4128 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4129 done
4130 test -z "$LD" && LD="$ac_prog"
4131 ;;
4132 "")
4133 # If it fails, then pretend we aren't using GCC.
4134 ac_prog=ld
4135 ;;
4136 *)
4137 # If it is relative, then search for the first ld in PATH.
4138 with_gnu_ld=unknown
4139 ;;
4140 esac
4141 elif test "$with_gnu_ld" = yes; then
4142 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4143 $as_echo_n "checking for GNU ld... " >&6; }
4144 else
4145 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4146 $as_echo_n "checking for non-GNU ld... " >&6; }
4147 fi
4148 if test "${lt_cv_path_LD+set}" = set; then
4149 $as_echo_n "(cached) " >&6
4150 else
4151 if test -z "$LD"; then
4152 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4153 for ac_dir in $PATH; do
4154 IFS="$lt_save_ifs"
4155 test -z "$ac_dir" && ac_dir=.
4156 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4157 lt_cv_path_LD="$ac_dir/$ac_prog"
4158 # Check to see if the program is GNU ld. I'd rather use --version,
4159 # but apparently some variants of GNU ld only accept -v.
4160 # Break only if it was the GNU/non-GNU ld that we prefer.
4161 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4162 *GNU* | *'with BFD'*)
4163 test "$with_gnu_ld" != no && break
4164 ;;
4165 *)
4166 test "$with_gnu_ld" != yes && break
4167 ;;
4168 esac
4169 fi
4170 done
4171 IFS="$lt_save_ifs"
4172 else
4173 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4174 fi
4175 fi
4176
4177 LD="$lt_cv_path_LD"
4178 if test -n "$LD"; then
4179 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4180 $as_echo "$LD" >&6; }
4181 else
4182 { $as_echo "$as_me:$LINENO: result: no" >&5
4183 $as_echo "no" >&6; }
4184 fi
4185 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4186 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4187 { (exit 1); exit 1; }; }
4188 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4189 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4190 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4191 $as_echo_n "(cached) " >&6
4192 else
4193 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4194 case `$LD -v 2>&1 </dev/null` in
4195 *GNU* | *'with BFD'*)
4196 lt_cv_prog_gnu_ld=yes
4197 ;;
4198 *)
4199 lt_cv_prog_gnu_ld=no
4200 ;;
4201 esac
4202 fi
4203 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4204 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4205 with_gnu_ld=$lt_cv_prog_gnu_ld
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4216 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4217 if test "${lt_cv_path_NM+set}" = set; then
4218 $as_echo_n "(cached) " >&6
4219 else
4220 if test -n "$NM"; then
4221 # Let the user override the test.
4222 lt_cv_path_NM="$NM"
4223 else
4224 lt_nm_to_check="${ac_tool_prefix}nm"
4225 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4226 lt_nm_to_check="$lt_nm_to_check nm"
4227 fi
4228 for lt_tmp_nm in $lt_nm_to_check; do
4229 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4230 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4231 IFS="$lt_save_ifs"
4232 test -z "$ac_dir" && ac_dir=.
4233 tmp_nm="$ac_dir/$lt_tmp_nm"
4234 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4235 # Check to see if the nm accepts a BSD-compat flag.
4236 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4237 # nm: unknown option "B" ignored
4238 # Tru64's nm complains that /dev/null is an invalid object file
4239 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4240 */dev/null* | *'Invalid file or object type'*)
4241 lt_cv_path_NM="$tmp_nm -B"
4242 break
4243 ;;
4244 *)
4245 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4246 */dev/null*)
4247 lt_cv_path_NM="$tmp_nm -p"
4248 break
4249 ;;
4250 *)
4251 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4252 continue # so that we can try to find one that supports BSD flags
4253 ;;
4254 esac
4255 ;;
4256 esac
4257 fi
4258 done
4259 IFS="$lt_save_ifs"
4260 done
4261 : ${lt_cv_path_NM=no}
4262 fi
4263 fi
4264 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4265 $as_echo "$lt_cv_path_NM" >&6; }
4266 if test "$lt_cv_path_NM" != "no"; then
4267 NM="$lt_cv_path_NM"
4268 else
4269 # Didn't find any BSD compatible name lister, look for dumpbin.
4270 if test -n "$ac_tool_prefix"; then
4271 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4272 do
4273 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4275 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4276 $as_echo_n "checking for $ac_word... " >&6; }
4277 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4278 $as_echo_n "(cached) " >&6
4279 else
4280 if test -n "$DUMPBIN"; then
4281 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4282 else
4283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 for as_dir in $PATH
4285 do
4286 IFS=$as_save_IFS
4287 test -z "$as_dir" && as_dir=.
4288 for ac_exec_ext in '' $ac_executable_extensions; do
4289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4290 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4291 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4292 break 2
4293 fi
4294 done
4295 done
4296 IFS=$as_save_IFS
4297
4298 fi
4299 fi
4300 DUMPBIN=$ac_cv_prog_DUMPBIN
4301 if test -n "$DUMPBIN"; then
4302 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4303 $as_echo "$DUMPBIN" >&6; }
4304 else
4305 { $as_echo "$as_me:$LINENO: result: no" >&5
4306 $as_echo "no" >&6; }
4307 fi
4308
4309
4310 test -n "$DUMPBIN" && break
4311 done
4312 fi
4313 if test -z "$DUMPBIN"; then
4314 ac_ct_DUMPBIN=$DUMPBIN
4315 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4316 do
4317 # Extract the first word of "$ac_prog", so it can be a program name with args.
4318 set dummy $ac_prog; ac_word=$2
4319 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4320 $as_echo_n "checking for $ac_word... " >&6; }
4321 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4322 $as_echo_n "(cached) " >&6
4323 else
4324 if test -n "$ac_ct_DUMPBIN"; then
4325 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4326 else
4327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4328 for as_dir in $PATH
4329 do
4330 IFS=$as_save_IFS
4331 test -z "$as_dir" && as_dir=.
4332 for ac_exec_ext in '' $ac_executable_extensions; do
4333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4334 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4335 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 break 2
4337 fi
4338 done
4339 done
4340 IFS=$as_save_IFS
4341
4342 fi
4343 fi
4344 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4345 if test -n "$ac_ct_DUMPBIN"; then
4346 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4347 $as_echo "$ac_ct_DUMPBIN" >&6; }
4348 else
4349 { $as_echo "$as_me:$LINENO: result: no" >&5
4350 $as_echo "no" >&6; }
4351 fi
4352
4353
4354 test -n "$ac_ct_DUMPBIN" && break
4355 done
4356
4357 if test "x$ac_ct_DUMPBIN" = x; then
4358 DUMPBIN=":"
4359 else
4360 case $cross_compiling:$ac_tool_warned in
4361 yes:)
4362 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4364 ac_tool_warned=yes ;;
4365 esac
4366 DUMPBIN=$ac_ct_DUMPBIN
4367 fi
4368 fi
4369
4370
4371 if test "$DUMPBIN" != ":"; then
4372 NM="$DUMPBIN"
4373 fi
4374 fi
4375 test -z "$NM" && NM=nm
4376
4377
4378
4379
4380
4381
4382 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4383 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4384 if test "${lt_cv_nm_interface+set}" = set; then
4385 $as_echo_n "(cached) " >&6
4386 else
4387 lt_cv_nm_interface="BSD nm"
4388 echo "int some_variable = 0;" > conftest.$ac_ext
4389 (eval echo "\"\$as_me:4389: $ac_compile\"" >&5)
4390 (eval "$ac_compile" 2>conftest.err)
4391 cat conftest.err >&5
4392 (eval echo "\"\$as_me:4392: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4393 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4394 cat conftest.err >&5
4395 (eval echo "\"\$as_me:4395: output\"" >&5)
4396 cat conftest.out >&5
4397 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4398 lt_cv_nm_interface="MS dumpbin"
4399 fi
4400 rm -f conftest*
4401 fi
4402 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4403 $as_echo "$lt_cv_nm_interface" >&6; }
4404
4405 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4406 $as_echo_n "checking whether ln -s works... " >&6; }
4407 LN_S=$as_ln_s
4408 if test "$LN_S" = "ln -s"; then
4409 { $as_echo "$as_me:$LINENO: result: yes" >&5
4410 $as_echo "yes" >&6; }
4411 else
4412 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4413 $as_echo "no, using $LN_S" >&6; }
4414 fi
4415
4416 # find the maximum length of command line arguments
4417 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4418 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4419 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4420 $as_echo_n "(cached) " >&6
4421 else
4422 i=0
4423 teststring="ABCD"
4424
4425 case $build_os in
4426 msdosdjgpp*)
4427 # On DJGPP, this test can blow up pretty badly due to problems in libc
4428 # (any single argument exceeding 2000 bytes causes a buffer overrun
4429 # during glob expansion). Even if it were fixed, the result of this
4430 # check would be larger than it should be.
4431 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4432 ;;
4433
4434 gnu*)
4435 # Under GNU Hurd, this test is not required because there is
4436 # no limit to the length of command line arguments.
4437 # Libtool will interpret -1 as no limit whatsoever
4438 lt_cv_sys_max_cmd_len=-1;
4439 ;;
4440
4441 cygwin* | mingw* | cegcc*)
4442 # On Win9x/ME, this test blows up -- it succeeds, but takes
4443 # about 5 minutes as the teststring grows exponentially.
4444 # Worse, since 9x/ME are not pre-emptively multitasking,
4445 # you end up with a "frozen" computer, even though with patience
4446 # the test eventually succeeds (with a max line length of 256k).
4447 # Instead, let's just punt: use the minimum linelength reported by
4448 # all of the supported platforms: 8192 (on NT/2K/XP).
4449 lt_cv_sys_max_cmd_len=8192;
4450 ;;
4451
4452 amigaos*)
4453 # On AmigaOS with pdksh, this test takes hours, literally.
4454 # So we just punt and use a minimum line length of 8192.
4455 lt_cv_sys_max_cmd_len=8192;
4456 ;;
4457
4458 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4459 # This has been around since 386BSD, at least. Likely further.
4460 if test -x /sbin/sysctl; then
4461 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4462 elif test -x /usr/sbin/sysctl; then
4463 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4464 else
4465 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4466 fi
4467 # And add a safety zone
4468 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4469 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4470 ;;
4471
4472 interix*)
4473 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4474 lt_cv_sys_max_cmd_len=196608
4475 ;;
4476
4477 osf*)
4478 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4479 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4480 # nice to cause kernel panics so lets avoid the loop below.
4481 # First set a reasonable default.
4482 lt_cv_sys_max_cmd_len=16384
4483 #
4484 if test -x /sbin/sysconfig; then
4485 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4486 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4487 esac
4488 fi
4489 ;;
4490 sco3.2v5*)
4491 lt_cv_sys_max_cmd_len=102400
4492 ;;
4493 sysv5* | sco5v6* | sysv4.2uw2*)
4494 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4495 if test -n "$kargmax"; then
4496 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4497 else
4498 lt_cv_sys_max_cmd_len=32768
4499 fi
4500 ;;
4501 *)
4502 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4503 if test -n "$lt_cv_sys_max_cmd_len"; then
4504 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4505 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4506 else
4507 # Make teststring a little bigger before we do anything with it.
4508 # a 1K string should be a reasonable start.
4509 for i in 1 2 3 4 5 6 7 8 ; do
4510 teststring=$teststring$teststring
4511 done
4512 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4513 # If test is not a shell built-in, we'll probably end up computing a
4514 # maximum length that is only half of the actual maximum length, but
4515 # we can't tell.
4516 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4517 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4518 test $i != 17 # 1/2 MB should be enough
4519 do
4520 i=`expr $i + 1`
4521 teststring=$teststring$teststring
4522 done
4523 # Only check the string length outside the loop.
4524 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4525 teststring=
4526 # Add a significant safety factor because C++ compilers can tack on
4527 # massive amounts of additional arguments before passing them to the
4528 # linker. It appears as though 1/2 is a usable value.
4529 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4530 fi
4531 ;;
4532 esac
4533
4534 fi
4535
4536 if test -n $lt_cv_sys_max_cmd_len ; then
4537 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4538 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4539 else
4540 { $as_echo "$as_me:$LINENO: result: none" >&5
4541 $as_echo "none" >&6; }
4542 fi
4543 max_cmd_len=$lt_cv_sys_max_cmd_len
4544
4545
4546
4547
4548
4549
4550 : ${CP="cp -f"}
4551 : ${MV="mv -f"}
4552 : ${RM="rm -f"}
4553
4554 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4555 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4556 # Try some XSI features
4557 xsi_shell=no
4558 ( _lt_dummy="a/b/c"
4559 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4560 = c,a/b,, \
4561 && eval 'test $(( 1 + 1 )) -eq 2 \
4562 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4563 && xsi_shell=yes
4564 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
4565 $as_echo "$xsi_shell" >&6; }
4566
4567
4568 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4569 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4570 lt_shell_append=no
4571 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4572 >/dev/null 2>&1 \
4573 && lt_shell_append=yes
4574 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4575 $as_echo "$lt_shell_append" >&6; }
4576
4577
4578 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4579 lt_unset=unset
4580 else
4581 lt_unset=false
4582 fi
4583
4584
4585
4586
4587
4588 # test EBCDIC or ASCII
4589 case `echo X|tr X '\101'` in
4590 A) # ASCII based system
4591 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4592 lt_SP2NL='tr \040 \012'
4593 lt_NL2SP='tr \015\012 \040\040'
4594 ;;
4595 *) # EBCDIC based system
4596 lt_SP2NL='tr \100 \n'
4597 lt_NL2SP='tr \r\n \100\100'
4598 ;;
4599 esac
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4610 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4611 if test "${lt_cv_ld_reload_flag+set}" = set; then
4612 $as_echo_n "(cached) " >&6
4613 else
4614 lt_cv_ld_reload_flag='-r'
4615 fi
4616 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4617 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4618 reload_flag=$lt_cv_ld_reload_flag
4619 case $reload_flag in
4620 "" | " "*) ;;
4621 *) reload_flag=" $reload_flag" ;;
4622 esac
4623 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4624 case $host_os in
4625 darwin*)
4626 if test "$GCC" = yes; then
4627 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4628 else
4629 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4630 fi
4631 ;;
4632 esac
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642 if test -n "$ac_tool_prefix"; then
4643 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4644 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4645 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4646 $as_echo_n "checking for $ac_word... " >&6; }
4647 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4648 $as_echo_n "(cached) " >&6
4649 else
4650 if test -n "$OBJDUMP"; then
4651 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4652 else
4653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 for as_dir in $PATH
4655 do
4656 IFS=$as_save_IFS
4657 test -z "$as_dir" && as_dir=.
4658 for ac_exec_ext in '' $ac_executable_extensions; do
4659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4660 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4661 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4662 break 2
4663 fi
4664 done
4665 done
4666 IFS=$as_save_IFS
4667
4668 fi
4669 fi
4670 OBJDUMP=$ac_cv_prog_OBJDUMP
4671 if test -n "$OBJDUMP"; then
4672 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4673 $as_echo "$OBJDUMP" >&6; }
4674 else
4675 { $as_echo "$as_me:$LINENO: result: no" >&5
4676 $as_echo "no" >&6; }
4677 fi
4678
4679
4680 fi
4681 if test -z "$ac_cv_prog_OBJDUMP"; then
4682 ac_ct_OBJDUMP=$OBJDUMP
4683 # Extract the first word of "objdump", so it can be a program name with args.
4684 set dummy objdump; ac_word=$2
4685 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4686 $as_echo_n "checking for $ac_word... " >&6; }
4687 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4688 $as_echo_n "(cached) " >&6
4689 else
4690 if test -n "$ac_ct_OBJDUMP"; then
4691 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4692 else
4693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4694 for as_dir in $PATH
4695 do
4696 IFS=$as_save_IFS
4697 test -z "$as_dir" && as_dir=.
4698 for ac_exec_ext in '' $ac_executable_extensions; do
4699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4700 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4701 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4702 break 2
4703 fi
4704 done
4705 done
4706 IFS=$as_save_IFS
4707
4708 fi
4709 fi
4710 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4711 if test -n "$ac_ct_OBJDUMP"; then
4712 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4713 $as_echo "$ac_ct_OBJDUMP" >&6; }
4714 else
4715 { $as_echo "$as_me:$LINENO: result: no" >&5
4716 $as_echo "no" >&6; }
4717 fi
4718
4719 if test "x$ac_ct_OBJDUMP" = x; then
4720 OBJDUMP="false"
4721 else
4722 case $cross_compiling:$ac_tool_warned in
4723 yes:)
4724 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4726 ac_tool_warned=yes ;;
4727 esac
4728 OBJDUMP=$ac_ct_OBJDUMP
4729 fi
4730 else
4731 OBJDUMP="$ac_cv_prog_OBJDUMP"
4732 fi
4733
4734 test -z "$OBJDUMP" && OBJDUMP=objdump
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4745 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4746 if test "${lt_cv_deplibs_check_method+set}" = set; then
4747 $as_echo_n "(cached) " >&6
4748 else
4749 lt_cv_file_magic_cmd='$MAGIC_CMD'
4750 lt_cv_file_magic_test_file=
4751 lt_cv_deplibs_check_method='unknown'
4752 # Need to set the preceding variable on all platforms that support
4753 # interlibrary dependencies.
4754 # 'none' -- dependencies not supported.
4755 # `unknown' -- same as none, but documents that we really don't know.
4756 # 'pass_all' -- all dependencies passed with no checks.
4757 # 'test_compile' -- check by making test program.
4758 # 'file_magic [[regex]]' -- check by looking for files in library path
4759 # which responds to the $file_magic_cmd with a given extended regex.
4760 # If you have `file' or equivalent on your system and you're not sure
4761 # whether `pass_all' will *always* work, you probably want this one.
4762
4763 case $host_os in
4764 aix[4-9]*)
4765 lt_cv_deplibs_check_method=pass_all
4766 ;;
4767
4768 beos*)
4769 lt_cv_deplibs_check_method=pass_all
4770 ;;
4771
4772 bsdi[45]*)
4773 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4774 lt_cv_file_magic_cmd='/usr/bin/file -L'
4775 lt_cv_file_magic_test_file=/shlib/libc.so
4776 ;;
4777
4778 cygwin*)
4779 # func_win32_libid is a shell function defined in ltmain.sh
4780 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4781 lt_cv_file_magic_cmd='func_win32_libid'
4782 ;;
4783
4784 mingw* | pw32*)
4785 # Base MSYS/MinGW do not provide the 'file' command needed by
4786 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4787 # unless we find 'file', for example because we are cross-compiling.
4788 if ( file / ) >/dev/null 2>&1; then
4789 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4790 lt_cv_file_magic_cmd='func_win32_libid'
4791 else
4792 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4793 lt_cv_file_magic_cmd='$OBJDUMP -f'
4794 fi
4795 ;;
4796
4797 cegcc)
4798 # use the weaker test based on 'objdump'. See mingw*.
4799 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4800 lt_cv_file_magic_cmd='$OBJDUMP -f'
4801 ;;
4802
4803 darwin* | rhapsody*)
4804 lt_cv_deplibs_check_method=pass_all
4805 ;;
4806
4807 freebsd* | dragonfly*)
4808 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4809 case $host_cpu in
4810 i*86 )
4811 # Not sure whether the presence of OpenBSD here was a mistake.
4812 # Let's accept both of them until this is cleared up.
4813 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4814 lt_cv_file_magic_cmd=/usr/bin/file
4815 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4816 ;;
4817 esac
4818 else
4819 lt_cv_deplibs_check_method=pass_all
4820 fi
4821 ;;
4822
4823 gnu*)
4824 lt_cv_deplibs_check_method=pass_all
4825 ;;
4826
4827 hpux10.20* | hpux11*)
4828 lt_cv_file_magic_cmd=/usr/bin/file
4829 case $host_cpu in
4830 ia64*)
4831 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4832 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4833 ;;
4834 hppa*64*)
4835 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4836 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4837 ;;
4838 *)
4839 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4840 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4841 ;;
4842 esac
4843 ;;
4844
4845 interix[3-9]*)
4846 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4847 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4848 ;;
4849
4850 irix5* | irix6* | nonstopux*)
4851 case $LD in
4852 *-32|*"-32 ") libmagic=32-bit;;
4853 *-n32|*"-n32 ") libmagic=N32;;
4854 *-64|*"-64 ") libmagic=64-bit;;
4855 *) libmagic=never-match;;
4856 esac
4857 lt_cv_deplibs_check_method=pass_all
4858 ;;
4859
4860 # This must be Linux ELF.
4861 linux* | k*bsd*-gnu)
4862 lt_cv_deplibs_check_method=pass_all
4863 ;;
4864
4865 netbsd*)
4866 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4867 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4868 else
4869 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4870 fi
4871 ;;
4872
4873 newos6*)
4874 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4875 lt_cv_file_magic_cmd=/usr/bin/file
4876 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4877 ;;
4878
4879 *nto* | *qnx*)
4880 lt_cv_deplibs_check_method=pass_all
4881 ;;
4882
4883 openbsd*)
4884 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4885 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4886 else
4887 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4888 fi
4889 ;;
4890
4891 osf3* | osf4* | osf5*)
4892 lt_cv_deplibs_check_method=pass_all
4893 ;;
4894
4895 rdos*)
4896 lt_cv_deplibs_check_method=pass_all
4897 ;;
4898
4899 solaris*)
4900 lt_cv_deplibs_check_method=pass_all
4901 ;;
4902
4903 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4904 lt_cv_deplibs_check_method=pass_all
4905 ;;
4906
4907 sysv4 | sysv4.3*)
4908 case $host_vendor in
4909 motorola)
4910 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4911 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4912 ;;
4913 ncr)
4914 lt_cv_deplibs_check_method=pass_all
4915 ;;
4916 sequent)
4917 lt_cv_file_magic_cmd='/bin/file'
4918 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4919 ;;
4920 sni)
4921 lt_cv_file_magic_cmd='/bin/file'
4922 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4923 lt_cv_file_magic_test_file=/lib/libc.so
4924 ;;
4925 siemens)
4926 lt_cv_deplibs_check_method=pass_all
4927 ;;
4928 pc)
4929 lt_cv_deplibs_check_method=pass_all
4930 ;;
4931 esac
4932 ;;
4933
4934 tpf*)
4935 lt_cv_deplibs_check_method=pass_all
4936 ;;
4937 esac
4938
4939 fi
4940 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4941 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4942 file_magic_cmd=$lt_cv_file_magic_cmd
4943 deplibs_check_method=$lt_cv_deplibs_check_method
4944 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957 if test -n "$ac_tool_prefix"; then
4958 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4959 set dummy ${ac_tool_prefix}ar; ac_word=$2
4960 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if test "${ac_cv_prog_AR+set}" = set; then
4963 $as_echo_n "(cached) " >&6
4964 else
4965 if test -n "$AR"; then
4966 ac_cv_prog_AR="$AR" # Let the user override the test.
4967 else
4968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4969 for as_dir in $PATH
4970 do
4971 IFS=$as_save_IFS
4972 test -z "$as_dir" && as_dir=.
4973 for ac_exec_ext in '' $ac_executable_extensions; do
4974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4975 ac_cv_prog_AR="${ac_tool_prefix}ar"
4976 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 break 2
4978 fi
4979 done
4980 done
4981 IFS=$as_save_IFS
4982
4983 fi
4984 fi
4985 AR=$ac_cv_prog_AR
4986 if test -n "$AR"; then
4987 { $as_echo "$as_me:$LINENO: result: $AR" >&5
4988 $as_echo "$AR" >&6; }
4989 else
4990 { $as_echo "$as_me:$LINENO: result: no" >&5
4991 $as_echo "no" >&6; }
4992 fi
4993
4994
4995 fi
4996 if test -z "$ac_cv_prog_AR"; then
4997 ac_ct_AR=$AR
4998 # Extract the first word of "ar", so it can be a program name with args.
4999 set dummy ar; ac_word=$2
5000 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5001 $as_echo_n "checking for $ac_word... " >&6; }
5002 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5003 $as_echo_n "(cached) " >&6
5004 else
5005 if test -n "$ac_ct_AR"; then
5006 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5007 else
5008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5009 for as_dir in $PATH
5010 do
5011 IFS=$as_save_IFS
5012 test -z "$as_dir" && as_dir=.
5013 for ac_exec_ext in '' $ac_executable_extensions; do
5014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5015 ac_cv_prog_ac_ct_AR="ar"
5016 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5017 break 2
5018 fi
5019 done
5020 done
5021 IFS=$as_save_IFS
5022
5023 fi
5024 fi
5025 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5026 if test -n "$ac_ct_AR"; then
5027 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5028 $as_echo "$ac_ct_AR" >&6; }
5029 else
5030 { $as_echo "$as_me:$LINENO: result: no" >&5
5031 $as_echo "no" >&6; }
5032 fi
5033
5034 if test "x$ac_ct_AR" = x; then
5035 AR="false"
5036 else
5037 case $cross_compiling:$ac_tool_warned in
5038 yes:)
5039 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5041 ac_tool_warned=yes ;;
5042 esac
5043 AR=$ac_ct_AR
5044 fi
5045 else
5046 AR="$ac_cv_prog_AR"
5047 fi
5048
5049 test -z "$AR" && AR=ar
5050 test -z "$AR_FLAGS" && AR_FLAGS=cru
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062 if test -n "$ac_tool_prefix"; then
5063 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5064 set dummy ${ac_tool_prefix}strip; ac_word=$2
5065 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5066 $as_echo_n "checking for $ac_word... " >&6; }
5067 if test "${ac_cv_prog_STRIP+set}" = set; then
5068 $as_echo_n "(cached) " >&6
5069 else
5070 if test -n "$STRIP"; then
5071 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5072 else
5073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5074 for as_dir in $PATH
5075 do
5076 IFS=$as_save_IFS
5077 test -z "$as_dir" && as_dir=.
5078 for ac_exec_ext in '' $ac_executable_extensions; do
5079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5080 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5081 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5082 break 2
5083 fi
5084 done
5085 done
5086 IFS=$as_save_IFS
5087
5088 fi
5089 fi
5090 STRIP=$ac_cv_prog_STRIP
5091 if test -n "$STRIP"; then
5092 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5093 $as_echo "$STRIP" >&6; }
5094 else
5095 { $as_echo "$as_me:$LINENO: result: no" >&5
5096 $as_echo "no" >&6; }
5097 fi
5098
5099
5100 fi
5101 if test -z "$ac_cv_prog_STRIP"; then
5102 ac_ct_STRIP=$STRIP
5103 # Extract the first word of "strip", so it can be a program name with args.
5104 set dummy strip; ac_word=$2
5105 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5108 $as_echo_n "(cached) " >&6
5109 else
5110 if test -n "$ac_ct_STRIP"; then
5111 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5115 do
5116 IFS=$as_save_IFS
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5120 ac_cv_prog_ac_ct_STRIP="strip"
5121 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 break 2
5123 fi
5124 done
5125 done
5126 IFS=$as_save_IFS
5127
5128 fi
5129 fi
5130 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5131 if test -n "$ac_ct_STRIP"; then
5132 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5133 $as_echo "$ac_ct_STRIP" >&6; }
5134 else
5135 { $as_echo "$as_me:$LINENO: result: no" >&5
5136 $as_echo "no" >&6; }
5137 fi
5138
5139 if test "x$ac_ct_STRIP" = x; then
5140 STRIP=":"
5141 else
5142 case $cross_compiling:$ac_tool_warned in
5143 yes:)
5144 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5146 ac_tool_warned=yes ;;
5147 esac
5148 STRIP=$ac_ct_STRIP
5149 fi
5150 else
5151 STRIP="$ac_cv_prog_STRIP"
5152 fi
5153
5154 test -z "$STRIP" && STRIP=:
5155
5156
5157
5158
5159
5160
5161 if test -n "$ac_tool_prefix"; then
5162 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5163 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5164 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5165 $as_echo_n "checking for $ac_word... " >&6; }
5166 if test "${ac_cv_prog_RANLIB+set}" = set; then
5167 $as_echo_n "(cached) " >&6
5168 else
5169 if test -n "$RANLIB"; then
5170 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5171 else
5172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 for as_dir in $PATH
5174 do
5175 IFS=$as_save_IFS
5176 test -z "$as_dir" && as_dir=.
5177 for ac_exec_ext in '' $ac_executable_extensions; do
5178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5179 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5180 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 break 2
5182 fi
5183 done
5184 done
5185 IFS=$as_save_IFS
5186
5187 fi
5188 fi
5189 RANLIB=$ac_cv_prog_RANLIB
5190 if test -n "$RANLIB"; then
5191 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5192 $as_echo "$RANLIB" >&6; }
5193 else
5194 { $as_echo "$as_me:$LINENO: result: no" >&5
5195 $as_echo "no" >&6; }
5196 fi
5197
5198
5199 fi
5200 if test -z "$ac_cv_prog_RANLIB"; then
5201 ac_ct_RANLIB=$RANLIB
5202 # Extract the first word of "ranlib", so it can be a program name with args.
5203 set dummy ranlib; ac_word=$2
5204 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5205 $as_echo_n "checking for $ac_word... " >&6; }
5206 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5207 $as_echo_n "(cached) " >&6
5208 else
5209 if test -n "$ac_ct_RANLIB"; then
5210 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5211 else
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 for as_dir in $PATH
5214 do
5215 IFS=$as_save_IFS
5216 test -z "$as_dir" && as_dir=.
5217 for ac_exec_ext in '' $ac_executable_extensions; do
5218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219 ac_cv_prog_ac_ct_RANLIB="ranlib"
5220 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 break 2
5222 fi
5223 done
5224 done
5225 IFS=$as_save_IFS
5226
5227 fi
5228 fi
5229 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5230 if test -n "$ac_ct_RANLIB"; then
5231 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5232 $as_echo "$ac_ct_RANLIB" >&6; }
5233 else
5234 { $as_echo "$as_me:$LINENO: result: no" >&5
5235 $as_echo "no" >&6; }
5236 fi
5237
5238 if test "x$ac_ct_RANLIB" = x; then
5239 RANLIB=":"
5240 else
5241 case $cross_compiling:$ac_tool_warned in
5242 yes:)
5243 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5245 ac_tool_warned=yes ;;
5246 esac
5247 RANLIB=$ac_ct_RANLIB
5248 fi
5249 else
5250 RANLIB="$ac_cv_prog_RANLIB"
5251 fi
5252
5253 test -z "$RANLIB" && RANLIB=:
5254
5255
5256
5257
5258
5259
5260 # Determine commands to create old-style static archives.
5261 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5262 old_postinstall_cmds='chmod 644 $oldlib'
5263 old_postuninstall_cmds=
5264
5265 if test -n "$RANLIB"; then
5266 case $host_os in
5267 openbsd*)
5268 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5269 ;;
5270 *)
5271 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5272 ;;
5273 esac
5274 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5275 fi
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310 # If no C compiler was specified, use CC.
5311 LTCC=${LTCC-"$CC"}
5312
5313 # If no C compiler flags were specified, use CFLAGS.
5314 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5315
5316 # Allow CC to be a program name with arguments.
5317 compiler=$CC
5318
5319
5320 # Check for command to grab the raw symbol name followed by C symbol from nm.
5321 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5322 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5323 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5324 $as_echo_n "(cached) " >&6
5325 else
5326
5327 # These are sane defaults that work on at least a few old systems.
5328 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5329
5330 # Character class describing NM global symbol codes.
5331 symcode='[BCDEGRST]'
5332
5333 # Regexp to match symbols that can be accessed directly from C.
5334 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5335
5336 # Define system-specific variables.
5337 case $host_os in
5338 aix*)
5339 symcode='[BCDT]'
5340 ;;
5341 cygwin* | mingw* | pw32* | cegcc*)
5342 symcode='[ABCDGISTW]'
5343 ;;
5344 hpux*)
5345 if test "$host_cpu" = ia64; then
5346 symcode='[ABCDEGRST]'
5347 fi
5348 ;;
5349 irix* | nonstopux*)
5350 symcode='[BCDEGRST]'
5351 ;;
5352 osf*)
5353 symcode='[BCDEGQRST]'
5354 ;;
5355 solaris*)
5356 symcode='[BDRT]'
5357 ;;
5358 sco3.2v5*)
5359 symcode='[DT]'
5360 ;;
5361 sysv4.2uw2*)
5362 symcode='[DT]'
5363 ;;
5364 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5365 symcode='[ABDT]'
5366 ;;
5367 sysv4)
5368 symcode='[DFNSTU]'
5369 ;;
5370 esac
5371
5372 # If we're using GNU nm, then use its standard symbol codes.
5373 case `$NM -V 2>&1` in
5374 *GNU* | *'with BFD'*)
5375 symcode='[ABCDGIRSTW]' ;;
5376 esac
5377
5378 # Transform an extracted symbol line into a proper C declaration.
5379 # Some systems (esp. on ia64) link data and code symbols differently,
5380 # so use this general approach.
5381 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5382
5383 # Transform an extracted symbol line into symbol name and symbol address
5384 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5385 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5386
5387 # Handle CRLF in mingw tool chain
5388 opt_cr=
5389 case $build_os in
5390 mingw*)
5391 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5392 ;;
5393 esac
5394
5395 # Try without a prefix underscore, then with it.
5396 for ac_symprfx in "" "_"; do
5397
5398 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5399 symxfrm="\\1 $ac_symprfx\\2 \\2"
5400
5401 # Write the raw and C identifiers.
5402 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5403 # Fake it for dumpbin and say T for any non-static function
5404 # and D for any global variable.
5405 # Also find C++ and __fastcall symbols from MSVC++,
5406 # which start with @ or ?.
5407 lt_cv_sys_global_symbol_pipe="$AWK '"\
5408 " {last_section=section; section=\$ 3};"\
5409 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5410 " \$ 0!~/External *\|/{next};"\
5411 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5412 " {if(hide[section]) next};"\
5413 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5414 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5415 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5416 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5417 " ' prfx=^$ac_symprfx"
5418 else
5419 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5420 fi
5421
5422 # Check to see that the pipe works correctly.
5423 pipe_works=no
5424
5425 rm -f conftest*
5426 cat > conftest.$ac_ext <<_LT_EOF
5427 #ifdef __cplusplus
5428 extern "C" {
5429 #endif
5430 char nm_test_var;
5431 void nm_test_func(void);
5432 void nm_test_func(void){}
5433 #ifdef __cplusplus
5434 }
5435 #endif
5436 int main(){nm_test_var='a';nm_test_func();return(0);}
5437 _LT_EOF
5438
5439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5440 (eval $ac_compile) 2>&5
5441 ac_status=$?
5442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); }; then
5444 # Now try to grab the symbols.
5445 nlist=conftest.nm
5446 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5447 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5448 ac_status=$?
5449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } && test -s "$nlist"; then
5451 # Try sorting and uniquifying the output.
5452 if sort "$nlist" | uniq > "$nlist"T; then
5453 mv -f "$nlist"T "$nlist"
5454 else
5455 rm -f "$nlist"T
5456 fi
5457
5458 # Make sure that we snagged all the symbols we need.
5459 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5460 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5461 cat <<_LT_EOF > conftest.$ac_ext
5462 #ifdef __cplusplus
5463 extern "C" {
5464 #endif
5465
5466 _LT_EOF
5467 # Now generate the symbol file.
5468 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5469
5470 cat <<_LT_EOF >> conftest.$ac_ext
5471
5472 /* The mapping between symbol names and symbols. */
5473 const struct {
5474 const char *name;
5475 void *address;
5476 }
5477 lt__PROGRAM__LTX_preloaded_symbols[] =
5478 {
5479 { "@PROGRAM@", (void *) 0 },
5480 _LT_EOF
5481 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5482 cat <<\_LT_EOF >> conftest.$ac_ext
5483 {0, (void *) 0}
5484 };
5485
5486 /* This works around a problem in FreeBSD linker */
5487 #ifdef FREEBSD_WORKAROUND
5488 static const void *lt_preloaded_setup() {
5489 return lt__PROGRAM__LTX_preloaded_symbols;
5490 }
5491 #endif
5492
5493 #ifdef __cplusplus
5494 }
5495 #endif
5496 _LT_EOF
5497 # Now try linking the two files.
5498 mv conftest.$ac_objext conftstm.$ac_objext
5499 lt_save_LIBS="$LIBS"
5500 lt_save_CFLAGS="$CFLAGS"
5501 LIBS="conftstm.$ac_objext"
5502 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5504 (eval $ac_link) 2>&5
5505 ac_status=$?
5506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5508 pipe_works=yes
5509 fi
5510 LIBS="$lt_save_LIBS"
5511 CFLAGS="$lt_save_CFLAGS"
5512 else
5513 echo "cannot find nm_test_func in $nlist" >&5
5514 fi
5515 else
5516 echo "cannot find nm_test_var in $nlist" >&5
5517 fi
5518 else
5519 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5520 fi
5521 else
5522 echo "$progname: failed program was:" >&5
5523 cat conftest.$ac_ext >&5
5524 fi
5525 rm -rf conftest* conftst*
5526
5527 # Do not use the global_symbol_pipe unless it works.
5528 if test "$pipe_works" = yes; then
5529 break
5530 else
5531 lt_cv_sys_global_symbol_pipe=
5532 fi
5533 done
5534
5535 fi
5536
5537 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5538 lt_cv_sys_global_symbol_to_cdecl=
5539 fi
5540 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5541 { $as_echo "$as_me:$LINENO: result: failed" >&5
5542 $as_echo "failed" >&6; }
5543 else
5544 { $as_echo "$as_me:$LINENO: result: ok" >&5
5545 $as_echo "ok" >&6; }
5546 fi
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570 # Check whether --enable-libtool-lock was given.
5571 if test "${enable_libtool_lock+set}" = set; then
5572 enableval=$enable_libtool_lock;
5573 fi
5574
5575 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5576
5577 # Some flags need to be propagated to the compiler or linker for good
5578 # libtool support.
5579 case $host in
5580 ia64-*-hpux*)
5581 # Find out which ABI we are using.
5582 echo 'int i;' > conftest.$ac_ext
5583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5584 (eval $ac_compile) 2>&5
5585 ac_status=$?
5586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); }; then
5588 case `/usr/bin/file conftest.$ac_objext` in
5589 *ELF-32*)
5590 HPUX_IA64_MODE="32"
5591 ;;
5592 *ELF-64*)
5593 HPUX_IA64_MODE="64"
5594 ;;
5595 esac
5596 fi
5597 rm -rf conftest*
5598 ;;
5599 *-*-irix6*)
5600 # Find out which ABI we are using.
5601 echo '#line 5601 "configure"' > conftest.$ac_ext
5602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5603 (eval $ac_compile) 2>&5
5604 ac_status=$?
5605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 (exit $ac_status); }; then
5607 if test "$lt_cv_prog_gnu_ld" = yes; then
5608 case `/usr/bin/file conftest.$ac_objext` in
5609 *32-bit*)
5610 LD="${LD-ld} -melf32bsmip"
5611 ;;
5612 *N32*)
5613 LD="${LD-ld} -melf32bmipn32"
5614 ;;
5615 *64-bit*)
5616 LD="${LD-ld} -melf64bmip"
5617 ;;
5618 esac
5619 else
5620 case `/usr/bin/file conftest.$ac_objext` in
5621 *32-bit*)
5622 LD="${LD-ld} -32"
5623 ;;
5624 *N32*)
5625 LD="${LD-ld} -n32"
5626 ;;
5627 *64-bit*)
5628 LD="${LD-ld} -64"
5629 ;;
5630 esac
5631 fi
5632 fi
5633 rm -rf conftest*
5634 ;;
5635
5636 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5637 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5638 # Find out which ABI we are using.
5639 echo 'int i;' > conftest.$ac_ext
5640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5641 (eval $ac_compile) 2>&5
5642 ac_status=$?
5643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644 (exit $ac_status); }; then
5645 case `/usr/bin/file conftest.o` in
5646 *32-bit*)
5647 case $host in
5648 x86_64-*kfreebsd*-gnu)
5649 LD="${LD-ld} -m elf_i386_fbsd"
5650 ;;
5651 x86_64-*linux*)
5652 LD="${LD-ld} -m elf_i386"
5653 ;;
5654 ppc64-*linux*|powerpc64-*linux*)
5655 LD="${LD-ld} -m elf32ppclinux"
5656 ;;
5657 s390x-*linux*)
5658 LD="${LD-ld} -m elf_s390"
5659 ;;
5660 sparc64-*linux*)
5661 LD="${LD-ld} -m elf32_sparc"
5662 ;;
5663 esac
5664 ;;
5665 *64-bit*)
5666 case $host in
5667 x86_64-*kfreebsd*-gnu)
5668 LD="${LD-ld} -m elf_x86_64_fbsd"
5669 ;;
5670 x86_64-*linux*)
5671 LD="${LD-ld} -m elf_x86_64"
5672 ;;
5673 ppc*-*linux*|powerpc*-*linux*)
5674 LD="${LD-ld} -m elf64ppc"
5675 ;;
5676 s390*-*linux*|s390*-*tpf*)
5677 LD="${LD-ld} -m elf64_s390"
5678 ;;
5679 sparc*-*linux*)
5680 LD="${LD-ld} -m elf64_sparc"
5681 ;;
5682 esac
5683 ;;
5684 esac
5685 fi
5686 rm -rf conftest*
5687 ;;
5688
5689 *-*-sco3.2v5*)
5690 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5691 SAVE_CFLAGS="$CFLAGS"
5692 CFLAGS="$CFLAGS -belf"
5693 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5694 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5695 if test "${lt_cv_cc_needs_belf+set}" = set; then
5696 $as_echo_n "(cached) " >&6
5697 else
5698 ac_ext=c
5699 ac_cpp='$CPP $CPPFLAGS'
5700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5703
5704 cat >conftest.$ac_ext <<_ACEOF
5705 /* confdefs.h. */
5706 _ACEOF
5707 cat confdefs.h >>conftest.$ac_ext
5708 cat >>conftest.$ac_ext <<_ACEOF
5709 /* end confdefs.h. */
5710
5711 int
5712 main ()
5713 {
5714
5715 ;
5716 return 0;
5717 }
5718 _ACEOF
5719 rm -f conftest.$ac_objext conftest$ac_exeext
5720 if { (ac_try="$ac_link"
5721 case "(($ac_try" in
5722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5723 *) ac_try_echo=$ac_try;;
5724 esac
5725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5726 $as_echo "$ac_try_echo") >&5
5727 (eval "$ac_link") 2>conftest.er1
5728 ac_status=$?
5729 grep -v '^ *+' conftest.er1 >conftest.err
5730 rm -f conftest.er1
5731 cat conftest.err >&5
5732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 (exit $ac_status); } && {
5734 test -z "$ac_c_werror_flag" ||
5735 test ! -s conftest.err
5736 } && test -s conftest$ac_exeext && {
5737 test "$cross_compiling" = yes ||
5738 $as_test_x conftest$ac_exeext
5739 }; then
5740 lt_cv_cc_needs_belf=yes
5741 else
5742 $as_echo "$as_me: failed program was:" >&5
5743 sed 's/^/| /' conftest.$ac_ext >&5
5744
5745 lt_cv_cc_needs_belf=no
5746 fi
5747
5748 rm -rf conftest.dSYM
5749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5750 conftest$ac_exeext conftest.$ac_ext
5751 ac_ext=c
5752 ac_cpp='$CPP $CPPFLAGS'
5753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5756
5757 fi
5758 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5759 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5760 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5761 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5762 CFLAGS="$SAVE_CFLAGS"
5763 fi
5764 ;;
5765 sparc*-*solaris*)
5766 # Find out which ABI we are using.
5767 echo 'int i;' > conftest.$ac_ext
5768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5769 (eval $ac_compile) 2>&5
5770 ac_status=$?
5771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772 (exit $ac_status); }; then
5773 case `/usr/bin/file conftest.o` in
5774 *64-bit*)
5775 case $lt_cv_prog_gnu_ld in
5776 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5777 *)
5778 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5779 LD="${LD-ld} -64"
5780 fi
5781 ;;
5782 esac
5783 ;;
5784 esac
5785 fi
5786 rm -rf conftest*
5787 ;;
5788 esac
5789
5790 need_locks="$enable_libtool_lock"
5791
5792
5793 case $host_os in
5794 rhapsody* | darwin*)
5795 if test -n "$ac_tool_prefix"; then
5796 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5797 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5798 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5799 $as_echo_n "checking for $ac_word... " >&6; }
5800 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5801 $as_echo_n "(cached) " >&6
5802 else
5803 if test -n "$DSYMUTIL"; then
5804 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5805 else
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 for as_dir in $PATH
5808 do
5809 IFS=$as_save_IFS
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5813 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5814 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 break 2
5816 fi
5817 done
5818 done
5819 IFS=$as_save_IFS
5820
5821 fi
5822 fi
5823 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5824 if test -n "$DSYMUTIL"; then
5825 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5826 $as_echo "$DSYMUTIL" >&6; }
5827 else
5828 { $as_echo "$as_me:$LINENO: result: no" >&5
5829 $as_echo "no" >&6; }
5830 fi
5831
5832
5833 fi
5834 if test -z "$ac_cv_prog_DSYMUTIL"; then
5835 ac_ct_DSYMUTIL=$DSYMUTIL
5836 # Extract the first word of "dsymutil", so it can be a program name with args.
5837 set dummy dsymutil; ac_word=$2
5838 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5839 $as_echo_n "checking for $ac_word... " >&6; }
5840 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5841 $as_echo_n "(cached) " >&6
5842 else
5843 if test -n "$ac_ct_DSYMUTIL"; then
5844 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5845 else
5846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 for as_dir in $PATH
5848 do
5849 IFS=$as_save_IFS
5850 test -z "$as_dir" && as_dir=.
5851 for ac_exec_ext in '' $ac_executable_extensions; do
5852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5853 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5854 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 break 2
5856 fi
5857 done
5858 done
5859 IFS=$as_save_IFS
5860
5861 fi
5862 fi
5863 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5864 if test -n "$ac_ct_DSYMUTIL"; then
5865 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5866 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5867 else
5868 { $as_echo "$as_me:$LINENO: result: no" >&5
5869 $as_echo "no" >&6; }
5870 fi
5871
5872 if test "x$ac_ct_DSYMUTIL" = x; then
5873 DSYMUTIL=":"
5874 else
5875 case $cross_compiling:$ac_tool_warned in
5876 yes:)
5877 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5879 ac_tool_warned=yes ;;
5880 esac
5881 DSYMUTIL=$ac_ct_DSYMUTIL
5882 fi
5883 else
5884 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5885 fi
5886
5887 if test -n "$ac_tool_prefix"; then
5888 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5889 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5890 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5891 $as_echo_n "checking for $ac_word... " >&6; }
5892 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5893 $as_echo_n "(cached) " >&6
5894 else
5895 if test -n "$NMEDIT"; then
5896 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5897 else
5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5899 for as_dir in $PATH
5900 do
5901 IFS=$as_save_IFS
5902 test -z "$as_dir" && as_dir=.
5903 for ac_exec_ext in '' $ac_executable_extensions; do
5904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5905 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5906 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 break 2
5908 fi
5909 done
5910 done
5911 IFS=$as_save_IFS
5912
5913 fi
5914 fi
5915 NMEDIT=$ac_cv_prog_NMEDIT
5916 if test -n "$NMEDIT"; then
5917 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
5918 $as_echo "$NMEDIT" >&6; }
5919 else
5920 { $as_echo "$as_me:$LINENO: result: no" >&5
5921 $as_echo "no" >&6; }
5922 fi
5923
5924
5925 fi
5926 if test -z "$ac_cv_prog_NMEDIT"; then
5927 ac_ct_NMEDIT=$NMEDIT
5928 # Extract the first word of "nmedit", so it can be a program name with args.
5929 set dummy nmedit; ac_word=$2
5930 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5931 $as_echo_n "checking for $ac_word... " >&6; }
5932 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5933 $as_echo_n "(cached) " >&6
5934 else
5935 if test -n "$ac_ct_NMEDIT"; then
5936 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5937 else
5938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939 for as_dir in $PATH
5940 do
5941 IFS=$as_save_IFS
5942 test -z "$as_dir" && as_dir=.
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5945 ac_cv_prog_ac_ct_NMEDIT="nmedit"
5946 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 break 2
5948 fi
5949 done
5950 done
5951 IFS=$as_save_IFS
5952
5953 fi
5954 fi
5955 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5956 if test -n "$ac_ct_NMEDIT"; then
5957 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5958 $as_echo "$ac_ct_NMEDIT" >&6; }
5959 else
5960 { $as_echo "$as_me:$LINENO: result: no" >&5
5961 $as_echo "no" >&6; }
5962 fi
5963
5964 if test "x$ac_ct_NMEDIT" = x; then
5965 NMEDIT=":"
5966 else
5967 case $cross_compiling:$ac_tool_warned in
5968 yes:)
5969 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5971 ac_tool_warned=yes ;;
5972 esac
5973 NMEDIT=$ac_ct_NMEDIT
5974 fi
5975 else
5976 NMEDIT="$ac_cv_prog_NMEDIT"
5977 fi
5978
5979 if test -n "$ac_tool_prefix"; then
5980 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5981 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5982 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5983 $as_echo_n "checking for $ac_word... " >&6; }
5984 if test "${ac_cv_prog_LIPO+set}" = set; then
5985 $as_echo_n "(cached) " >&6
5986 else
5987 if test -n "$LIPO"; then
5988 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5989 else
5990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 for as_dir in $PATH
5992 do
5993 IFS=$as_save_IFS
5994 test -z "$as_dir" && as_dir=.
5995 for ac_exec_ext in '' $ac_executable_extensions; do
5996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5997 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5998 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5999 break 2
6000 fi
6001 done
6002 done
6003 IFS=$as_save_IFS
6004
6005 fi
6006 fi
6007 LIPO=$ac_cv_prog_LIPO
6008 if test -n "$LIPO"; then
6009 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6010 $as_echo "$LIPO" >&6; }
6011 else
6012 { $as_echo "$as_me:$LINENO: result: no" >&5
6013 $as_echo "no" >&6; }
6014 fi
6015
6016
6017 fi
6018 if test -z "$ac_cv_prog_LIPO"; then
6019 ac_ct_LIPO=$LIPO
6020 # Extract the first word of "lipo", so it can be a program name with args.
6021 set dummy lipo; ac_word=$2
6022 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6023 $as_echo_n "checking for $ac_word... " >&6; }
6024 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6025 $as_echo_n "(cached) " >&6
6026 else
6027 if test -n "$ac_ct_LIPO"; then
6028 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6029 else
6030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 for as_dir in $PATH
6032 do
6033 IFS=$as_save_IFS
6034 test -z "$as_dir" && as_dir=.
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6037 ac_cv_prog_ac_ct_LIPO="lipo"
6038 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 break 2
6040 fi
6041 done
6042 done
6043 IFS=$as_save_IFS
6044
6045 fi
6046 fi
6047 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6048 if test -n "$ac_ct_LIPO"; then
6049 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6050 $as_echo "$ac_ct_LIPO" >&6; }
6051 else
6052 { $as_echo "$as_me:$LINENO: result: no" >&5
6053 $as_echo "no" >&6; }
6054 fi
6055
6056 if test "x$ac_ct_LIPO" = x; then
6057 LIPO=":"
6058 else
6059 case $cross_compiling:$ac_tool_warned in
6060 yes:)
6061 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6063 ac_tool_warned=yes ;;
6064 esac
6065 LIPO=$ac_ct_LIPO
6066 fi
6067 else
6068 LIPO="$ac_cv_prog_LIPO"
6069 fi
6070
6071 if test -n "$ac_tool_prefix"; then
6072 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6073 set dummy ${ac_tool_prefix}otool; ac_word=$2
6074 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if test "${ac_cv_prog_OTOOL+set}" = set; then
6077 $as_echo_n "(cached) " >&6
6078 else
6079 if test -n "$OTOOL"; then
6080 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6081 else
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 for as_dir in $PATH
6084 do
6085 IFS=$as_save_IFS
6086 test -z "$as_dir" && as_dir=.
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6089 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6090 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6091 break 2
6092 fi
6093 done
6094 done
6095 IFS=$as_save_IFS
6096
6097 fi
6098 fi
6099 OTOOL=$ac_cv_prog_OTOOL
6100 if test -n "$OTOOL"; then
6101 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6102 $as_echo "$OTOOL" >&6; }
6103 else
6104 { $as_echo "$as_me:$LINENO: result: no" >&5
6105 $as_echo "no" >&6; }
6106 fi
6107
6108
6109 fi
6110 if test -z "$ac_cv_prog_OTOOL"; then
6111 ac_ct_OTOOL=$OTOOL
6112 # Extract the first word of "otool", so it can be a program name with args.
6113 set dummy otool; ac_word=$2
6114 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$ac_ct_OTOOL"; then
6120 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6124 do
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_prog_ac_ct_OTOOL="otool"
6130 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6132 fi
6133 done
6134 done
6135 IFS=$as_save_IFS
6136
6137 fi
6138 fi
6139 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6140 if test -n "$ac_ct_OTOOL"; then
6141 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6142 $as_echo "$ac_ct_OTOOL" >&6; }
6143 else
6144 { $as_echo "$as_me:$LINENO: result: no" >&5
6145 $as_echo "no" >&6; }
6146 fi
6147
6148 if test "x$ac_ct_OTOOL" = x; then
6149 OTOOL=":"
6150 else
6151 case $cross_compiling:$ac_tool_warned in
6152 yes:)
6153 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6155 ac_tool_warned=yes ;;
6156 esac
6157 OTOOL=$ac_ct_OTOOL
6158 fi
6159 else
6160 OTOOL="$ac_cv_prog_OTOOL"
6161 fi
6162
6163 if test -n "$ac_tool_prefix"; then
6164 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6165 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6166 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6167 $as_echo_n "checking for $ac_word... " >&6; }
6168 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6169 $as_echo_n "(cached) " >&6
6170 else
6171 if test -n "$OTOOL64"; then
6172 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6173 else
6174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175 for as_dir in $PATH
6176 do
6177 IFS=$as_save_IFS
6178 test -z "$as_dir" && as_dir=.
6179 for ac_exec_ext in '' $ac_executable_extensions; do
6180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6181 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6182 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6183 break 2
6184 fi
6185 done
6186 done
6187 IFS=$as_save_IFS
6188
6189 fi
6190 fi
6191 OTOOL64=$ac_cv_prog_OTOOL64
6192 if test -n "$OTOOL64"; then
6193 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6194 $as_echo "$OTOOL64" >&6; }
6195 else
6196 { $as_echo "$as_me:$LINENO: result: no" >&5
6197 $as_echo "no" >&6; }
6198 fi
6199
6200
6201 fi
6202 if test -z "$ac_cv_prog_OTOOL64"; then
6203 ac_ct_OTOOL64=$OTOOL64
6204 # Extract the first word of "otool64", so it can be a program name with args.
6205 set dummy otool64; ac_word=$2
6206 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6207 $as_echo_n "checking for $ac_word... " >&6; }
6208 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6209 $as_echo_n "(cached) " >&6
6210 else
6211 if test -n "$ac_ct_OTOOL64"; then
6212 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6213 else
6214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 for as_dir in $PATH
6216 do
6217 IFS=$as_save_IFS
6218 test -z "$as_dir" && as_dir=.
6219 for ac_exec_ext in '' $ac_executable_extensions; do
6220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6221 ac_cv_prog_ac_ct_OTOOL64="otool64"
6222 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6223 break 2
6224 fi
6225 done
6226 done
6227 IFS=$as_save_IFS
6228
6229 fi
6230 fi
6231 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6232 if test -n "$ac_ct_OTOOL64"; then
6233 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6234 $as_echo "$ac_ct_OTOOL64" >&6; }
6235 else
6236 { $as_echo "$as_me:$LINENO: result: no" >&5
6237 $as_echo "no" >&6; }
6238 fi
6239
6240 if test "x$ac_ct_OTOOL64" = x; then
6241 OTOOL64=":"
6242 else
6243 case $cross_compiling:$ac_tool_warned in
6244 yes:)
6245 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6247 ac_tool_warned=yes ;;
6248 esac
6249 OTOOL64=$ac_ct_OTOOL64
6250 fi
6251 else
6252 OTOOL64="$ac_cv_prog_OTOOL64"
6253 fi
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6282 $as_echo_n "checking for -single_module linker flag... " >&6; }
6283 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6284 $as_echo_n "(cached) " >&6
6285 else
6286 lt_cv_apple_cc_single_mod=no
6287 if test -z "${LT_MULTI_MODULE}"; then
6288 # By default we will add the -single_module flag. You can override
6289 # by either setting the environment variable LT_MULTI_MODULE
6290 # non-empty at configure time, or by adding -multi_module to the
6291 # link flags.
6292 rm -rf libconftest.dylib*
6293 echo "int foo(void){return 1;}" > conftest.c
6294 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6295 -dynamiclib -Wl,-single_module conftest.c" >&5
6296 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6297 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6298 _lt_result=$?
6299 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6300 lt_cv_apple_cc_single_mod=yes
6301 else
6302 cat conftest.err >&5
6303 fi
6304 rm -rf libconftest.dylib*
6305 rm -f conftest.*
6306 fi
6307 fi
6308 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6309 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6310 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6311 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6312 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6313 $as_echo_n "(cached) " >&6
6314 else
6315 lt_cv_ld_exported_symbols_list=no
6316 save_LDFLAGS=$LDFLAGS
6317 echo "_main" > conftest.sym
6318 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6319 cat >conftest.$ac_ext <<_ACEOF
6320 /* confdefs.h. */
6321 _ACEOF
6322 cat confdefs.h >>conftest.$ac_ext
6323 cat >>conftest.$ac_ext <<_ACEOF
6324 /* end confdefs.h. */
6325
6326 int
6327 main ()
6328 {
6329
6330 ;
6331 return 0;
6332 }
6333 _ACEOF
6334 rm -f conftest.$ac_objext conftest$ac_exeext
6335 if { (ac_try="$ac_link"
6336 case "(($ac_try" in
6337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6338 *) ac_try_echo=$ac_try;;
6339 esac
6340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6341 $as_echo "$ac_try_echo") >&5
6342 (eval "$ac_link") 2>conftest.er1
6343 ac_status=$?
6344 grep -v '^ *+' conftest.er1 >conftest.err
6345 rm -f conftest.er1
6346 cat conftest.err >&5
6347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); } && {
6349 test -z "$ac_c_werror_flag" ||
6350 test ! -s conftest.err
6351 } && test -s conftest$ac_exeext && {
6352 test "$cross_compiling" = yes ||
6353 $as_test_x conftest$ac_exeext
6354 }; then
6355 lt_cv_ld_exported_symbols_list=yes
6356 else
6357 $as_echo "$as_me: failed program was:" >&5
6358 sed 's/^/| /' conftest.$ac_ext >&5
6359
6360 lt_cv_ld_exported_symbols_list=no
6361 fi
6362
6363 rm -rf conftest.dSYM
6364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6365 conftest$ac_exeext conftest.$ac_ext
6366 LDFLAGS="$save_LDFLAGS"
6367
6368 fi
6369 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6370 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6371 case $host_os in
6372 rhapsody* | darwin1.[012])
6373 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6374 darwin1.*)
6375 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6376 darwin*) # darwin 5.x on
6377 # if running on 10.5 or later, the deployment target defaults
6378 # to the OS version, if on x86, and 10.4, the deployment
6379 # target defaults to 10.4. Don't you love it?
6380 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6381 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6382 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6383 10.[012]*)
6384 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6385 10.*)
6386 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6387 esac
6388 ;;
6389 esac
6390 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6391 _lt_dar_single_mod='$single_module'
6392 fi
6393 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6394 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6395 else
6396 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6397 fi
6398 if test "$DSYMUTIL" != ":"; then
6399 _lt_dsymutil='~$DSYMUTIL $lib || :'
6400 else
6401 _lt_dsymutil=
6402 fi
6403 ;;
6404 esac
6405
6406 ac_ext=c
6407 ac_cpp='$CPP $CPPFLAGS'
6408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6411 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6412 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6413 # On Suns, sometimes $CPP names a directory.
6414 if test -n "$CPP" && test -d "$CPP"; then
6415 CPP=
6416 fi
6417 if test -z "$CPP"; then
6418 if test "${ac_cv_prog_CPP+set}" = set; then
6419 $as_echo_n "(cached) " >&6
6420 else
6421 # Double quotes because CPP needs to be expanded
6422 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6423 do
6424 ac_preproc_ok=false
6425 for ac_c_preproc_warn_flag in '' yes
6426 do
6427 # Use a header file that comes with gcc, so configuring glibc
6428 # with a fresh cross-compiler works.
6429 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6430 # <limits.h> exists even on freestanding compilers.
6431 # On the NeXT, cc -E runs the code through the compiler's parser,
6432 # not just through cpp. "Syntax error" is here to catch this case.
6433 cat >conftest.$ac_ext <<_ACEOF
6434 /* confdefs.h. */
6435 _ACEOF
6436 cat confdefs.h >>conftest.$ac_ext
6437 cat >>conftest.$ac_ext <<_ACEOF
6438 /* end confdefs.h. */
6439 #ifdef __STDC__
6440 # include <limits.h>
6441 #else
6442 # include <assert.h>
6443 #endif
6444 Syntax error
6445 _ACEOF
6446 if { (ac_try="$ac_cpp conftest.$ac_ext"
6447 case "(($ac_try" in
6448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6449 *) ac_try_echo=$ac_try;;
6450 esac
6451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6452 $as_echo "$ac_try_echo") >&5
6453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6454 ac_status=$?
6455 grep -v '^ *+' conftest.er1 >conftest.err
6456 rm -f conftest.er1
6457 cat conftest.err >&5
6458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); } >/dev/null && {
6460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6461 test ! -s conftest.err
6462 }; then
6463 :
6464 else
6465 $as_echo "$as_me: failed program was:" >&5
6466 sed 's/^/| /' conftest.$ac_ext >&5
6467
6468 # Broken: fails on valid input.
6469 continue
6470 fi
6471
6472 rm -f conftest.err conftest.$ac_ext
6473
6474 # OK, works on sane cases. Now check whether nonexistent headers
6475 # can be detected and how.
6476 cat >conftest.$ac_ext <<_ACEOF
6477 /* confdefs.h. */
6478 _ACEOF
6479 cat confdefs.h >>conftest.$ac_ext
6480 cat >>conftest.$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6482 #include <ac_nonexistent.h>
6483 _ACEOF
6484 if { (ac_try="$ac_cpp conftest.$ac_ext"
6485 case "(($ac_try" in
6486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6487 *) ac_try_echo=$ac_try;;
6488 esac
6489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6490 $as_echo "$ac_try_echo") >&5
6491 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6492 ac_status=$?
6493 grep -v '^ *+' conftest.er1 >conftest.err
6494 rm -f conftest.er1
6495 cat conftest.err >&5
6496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); } >/dev/null && {
6498 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6499 test ! -s conftest.err
6500 }; then
6501 # Broken: success on invalid input.
6502 continue
6503 else
6504 $as_echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.$ac_ext >&5
6506
6507 # Passes both tests.
6508 ac_preproc_ok=:
6509 break
6510 fi
6511
6512 rm -f conftest.err conftest.$ac_ext
6513
6514 done
6515 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6516 rm -f conftest.err conftest.$ac_ext
6517 if $ac_preproc_ok; then
6518 break
6519 fi
6520
6521 done
6522 ac_cv_prog_CPP=$CPP
6523
6524 fi
6525 CPP=$ac_cv_prog_CPP
6526 else
6527 ac_cv_prog_CPP=$CPP
6528 fi
6529 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
6530 $as_echo "$CPP" >&6; }
6531 ac_preproc_ok=false
6532 for ac_c_preproc_warn_flag in '' yes
6533 do
6534 # Use a header file that comes with gcc, so configuring glibc
6535 # with a fresh cross-compiler works.
6536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6537 # <limits.h> exists even on freestanding compilers.
6538 # On the NeXT, cc -E runs the code through the compiler's parser,
6539 # not just through cpp. "Syntax error" is here to catch this case.
6540 cat >conftest.$ac_ext <<_ACEOF
6541 /* confdefs.h. */
6542 _ACEOF
6543 cat confdefs.h >>conftest.$ac_ext
6544 cat >>conftest.$ac_ext <<_ACEOF
6545 /* end confdefs.h. */
6546 #ifdef __STDC__
6547 # include <limits.h>
6548 #else
6549 # include <assert.h>
6550 #endif
6551 Syntax error
6552 _ACEOF
6553 if { (ac_try="$ac_cpp conftest.$ac_ext"
6554 case "(($ac_try" in
6555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6556 *) ac_try_echo=$ac_try;;
6557 esac
6558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6559 $as_echo "$ac_try_echo") >&5
6560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6561 ac_status=$?
6562 grep -v '^ *+' conftest.er1 >conftest.err
6563 rm -f conftest.er1
6564 cat conftest.err >&5
6565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); } >/dev/null && {
6567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6568 test ! -s conftest.err
6569 }; then
6570 :
6571 else
6572 $as_echo "$as_me: failed program was:" >&5
6573 sed 's/^/| /' conftest.$ac_ext >&5
6574
6575 # Broken: fails on valid input.
6576 continue
6577 fi
6578
6579 rm -f conftest.err conftest.$ac_ext
6580
6581 # OK, works on sane cases. Now check whether nonexistent headers
6582 # can be detected and how.
6583 cat >conftest.$ac_ext <<_ACEOF
6584 /* confdefs.h. */
6585 _ACEOF
6586 cat confdefs.h >>conftest.$ac_ext
6587 cat >>conftest.$ac_ext <<_ACEOF
6588 /* end confdefs.h. */
6589 #include <ac_nonexistent.h>
6590 _ACEOF
6591 if { (ac_try="$ac_cpp conftest.$ac_ext"
6592 case "(($ac_try" in
6593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6594 *) ac_try_echo=$ac_try;;
6595 esac
6596 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6597 $as_echo "$ac_try_echo") >&5
6598 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6599 ac_status=$?
6600 grep -v '^ *+' conftest.er1 >conftest.err
6601 rm -f conftest.er1
6602 cat conftest.err >&5
6603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); } >/dev/null && {
6605 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6606 test ! -s conftest.err
6607 }; then
6608 # Broken: success on invalid input.
6609 continue
6610 else
6611 $as_echo "$as_me: failed program was:" >&5
6612 sed 's/^/| /' conftest.$ac_ext >&5
6613
6614 # Passes both tests.
6615 ac_preproc_ok=:
6616 break
6617 fi
6618
6619 rm -f conftest.err conftest.$ac_ext
6620
6621 done
6622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6623 rm -f conftest.err conftest.$ac_ext
6624 if $ac_preproc_ok; then
6625 :
6626 else
6627 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6629 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6630 See \`config.log' for more details." >&5
6631 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6632 See \`config.log' for more details." >&2;}
6633 { (exit 1); exit 1; }; }; }
6634 fi
6635
6636 ac_ext=c
6637 ac_cpp='$CPP $CPPFLAGS'
6638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6641
6642
6643 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6644 $as_echo_n "checking for ANSI C header files... " >&6; }
6645 if test "${ac_cv_header_stdc+set}" = set; then
6646 $as_echo_n "(cached) " >&6
6647 else
6648 cat >conftest.$ac_ext <<_ACEOF
6649 /* confdefs.h. */
6650 _ACEOF
6651 cat confdefs.h >>conftest.$ac_ext
6652 cat >>conftest.$ac_ext <<_ACEOF
6653 /* end confdefs.h. */
6654 #include <stdlib.h>
6655 #include <stdarg.h>
6656 #include <string.h>
6657 #include <float.h>
6658
6659 int
6660 main ()
6661 {
6662
6663 ;
6664 return 0;
6665 }
6666 _ACEOF
6667 rm -f conftest.$ac_objext
6668 if { (ac_try="$ac_compile"
6669 case "(($ac_try" in
6670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6671 *) ac_try_echo=$ac_try;;
6672 esac
6673 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6674 $as_echo "$ac_try_echo") >&5
6675 (eval "$ac_compile") 2>conftest.er1
6676 ac_status=$?
6677 grep -v '^ *+' conftest.er1 >conftest.err
6678 rm -f conftest.er1
6679 cat conftest.err >&5
6680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); } && {
6682 test -z "$ac_c_werror_flag" ||
6683 test ! -s conftest.err
6684 } && test -s conftest.$ac_objext; then
6685 ac_cv_header_stdc=yes
6686 else
6687 $as_echo "$as_me: failed program was:" >&5
6688 sed 's/^/| /' conftest.$ac_ext >&5
6689
6690 ac_cv_header_stdc=no
6691 fi
6692
6693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6694
6695 if test $ac_cv_header_stdc = yes; then
6696 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6697 cat >conftest.$ac_ext <<_ACEOF
6698 /* confdefs.h. */
6699 _ACEOF
6700 cat confdefs.h >>conftest.$ac_ext
6701 cat >>conftest.$ac_ext <<_ACEOF
6702 /* end confdefs.h. */
6703 #include <string.h>
6704
6705 _ACEOF
6706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6707 $EGREP "memchr" >/dev/null 2>&1; then
6708 :
6709 else
6710 ac_cv_header_stdc=no
6711 fi
6712 rm -f conftest*
6713
6714 fi
6715
6716 if test $ac_cv_header_stdc = yes; then
6717 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6718 cat >conftest.$ac_ext <<_ACEOF
6719 /* confdefs.h. */
6720 _ACEOF
6721 cat confdefs.h >>conftest.$ac_ext
6722 cat >>conftest.$ac_ext <<_ACEOF
6723 /* end confdefs.h. */
6724 #include <stdlib.h>
6725
6726 _ACEOF
6727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6728 $EGREP "free" >/dev/null 2>&1; then
6729 :
6730 else
6731 ac_cv_header_stdc=no
6732 fi
6733 rm -f conftest*
6734
6735 fi
6736
6737 if test $ac_cv_header_stdc = yes; then
6738 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6739 if test "$cross_compiling" = yes; then
6740 :
6741 else
6742 cat >conftest.$ac_ext <<_ACEOF
6743 /* confdefs.h. */
6744 _ACEOF
6745 cat confdefs.h >>conftest.$ac_ext
6746 cat >>conftest.$ac_ext <<_ACEOF
6747 /* end confdefs.h. */
6748 #include <ctype.h>
6749 #include <stdlib.h>
6750 #if ((' ' & 0x0FF) == 0x020)
6751 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6752 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6753 #else
6754 # define ISLOWER(c) \
6755 (('a' <= (c) && (c) <= 'i') \
6756 || ('j' <= (c) && (c) <= 'r') \
6757 || ('s' <= (c) && (c) <= 'z'))
6758 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6759 #endif
6760
6761 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6762 int
6763 main ()
6764 {
6765 int i;
6766 for (i = 0; i < 256; i++)
6767 if (XOR (islower (i), ISLOWER (i))
6768 || toupper (i) != TOUPPER (i))
6769 return 2;
6770 return 0;
6771 }
6772 _ACEOF
6773 rm -f conftest$ac_exeext
6774 if { (ac_try="$ac_link"
6775 case "(($ac_try" in
6776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6777 *) ac_try_echo=$ac_try;;
6778 esac
6779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6780 $as_echo "$ac_try_echo") >&5
6781 (eval "$ac_link") 2>&5
6782 ac_status=$?
6783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6785 { (case "(($ac_try" in
6786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6787 *) ac_try_echo=$ac_try;;
6788 esac
6789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6790 $as_echo "$ac_try_echo") >&5
6791 (eval "$ac_try") 2>&5
6792 ac_status=$?
6793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); }; }; then
6795 :
6796 else
6797 $as_echo "$as_me: program exited with status $ac_status" >&5
6798 $as_echo "$as_me: failed program was:" >&5
6799 sed 's/^/| /' conftest.$ac_ext >&5
6800
6801 ( exit $ac_status )
6802 ac_cv_header_stdc=no
6803 fi
6804 rm -rf conftest.dSYM
6805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6806 fi
6807
6808
6809 fi
6810 fi
6811 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6812 $as_echo "$ac_cv_header_stdc" >&6; }
6813 if test $ac_cv_header_stdc = yes; then
6814
6815 cat >>confdefs.h <<\_ACEOF
6816 #define STDC_HEADERS 1
6817 _ACEOF
6818
6819 fi
6820
6821 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6832 inttypes.h stdint.h unistd.h
6833 do
6834 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6835 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6836 $as_echo_n "checking for $ac_header... " >&6; }
6837 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6838 $as_echo_n "(cached) " >&6
6839 else
6840 cat >conftest.$ac_ext <<_ACEOF
6841 /* confdefs.h. */
6842 _ACEOF
6843 cat confdefs.h >>conftest.$ac_ext
6844 cat >>conftest.$ac_ext <<_ACEOF
6845 /* end confdefs.h. */
6846 $ac_includes_default
6847
6848 #include <$ac_header>
6849 _ACEOF
6850 rm -f conftest.$ac_objext
6851 if { (ac_try="$ac_compile"
6852 case "(($ac_try" in
6853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6854 *) ac_try_echo=$ac_try;;
6855 esac
6856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6857 $as_echo "$ac_try_echo") >&5
6858 (eval "$ac_compile") 2>conftest.er1
6859 ac_status=$?
6860 grep -v '^ *+' conftest.er1 >conftest.err
6861 rm -f conftest.er1
6862 cat conftest.err >&5
6863 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); } && {
6865 test -z "$ac_c_werror_flag" ||
6866 test ! -s conftest.err
6867 } && test -s conftest.$ac_objext; then
6868 eval "$as_ac_Header=yes"
6869 else
6870 $as_echo "$as_me: failed program was:" >&5
6871 sed 's/^/| /' conftest.$ac_ext >&5
6872
6873 eval "$as_ac_Header=no"
6874 fi
6875
6876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6877 fi
6878 ac_res=`eval 'as_val=${'$as_ac_Header'}
6879 $as_echo "$as_val"'`
6880 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6881 $as_echo "$ac_res" >&6; }
6882 as_val=`eval 'as_val=${'$as_ac_Header'}
6883 $as_echo "$as_val"'`
6884 if test "x$as_val" = x""yes; then
6885 cat >>confdefs.h <<_ACEOF
6886 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6887 _ACEOF
6888
6889 fi
6890
6891 done
6892
6893
6894
6895 for ac_header in dlfcn.h
6896 do
6897 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6898 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6899 $as_echo_n "checking for $ac_header... " >&6; }
6900 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6901 $as_echo_n "(cached) " >&6
6902 else
6903 cat >conftest.$ac_ext <<_ACEOF
6904 /* confdefs.h. */
6905 _ACEOF
6906 cat confdefs.h >>conftest.$ac_ext
6907 cat >>conftest.$ac_ext <<_ACEOF
6908 /* end confdefs.h. */
6909 $ac_includes_default
6910
6911 #include <$ac_header>
6912 _ACEOF
6913 rm -f conftest.$ac_objext
6914 if { (ac_try="$ac_compile"
6915 case "(($ac_try" in
6916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6917 *) ac_try_echo=$ac_try;;
6918 esac
6919 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6920 $as_echo "$ac_try_echo") >&5
6921 (eval "$ac_compile") 2>conftest.er1
6922 ac_status=$?
6923 grep -v '^ *+' conftest.er1 >conftest.err
6924 rm -f conftest.er1
6925 cat conftest.err >&5
6926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6927 (exit $ac_status); } && {
6928 test -z "$ac_c_werror_flag" ||
6929 test ! -s conftest.err
6930 } && test -s conftest.$ac_objext; then
6931 eval "$as_ac_Header=yes"
6932 else
6933 $as_echo "$as_me: failed program was:" >&5
6934 sed 's/^/| /' conftest.$ac_ext >&5
6935
6936 eval "$as_ac_Header=no"
6937 fi
6938
6939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6940 fi
6941 ac_res=`eval 'as_val=${'$as_ac_Header'}
6942 $as_echo "$as_val"'`
6943 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6944 $as_echo "$ac_res" >&6; }
6945 as_val=`eval 'as_val=${'$as_ac_Header'}
6946 $as_echo "$as_val"'`
6947 if test "x$as_val" = x""yes; then
6948 cat >>confdefs.h <<_ACEOF
6949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6950 _ACEOF
6951
6952 fi
6953
6954 done
6955
6956
6957
6958 # Set options
6959
6960
6961
6962 enable_dlopen=no
6963
6964
6965 enable_win32_dll=no
6966
6967
6968 # Check whether --enable-shared was given.
6969 if test "${enable_shared+set}" = set; then
6970 enableval=$enable_shared; p=${PACKAGE-default}
6971 case $enableval in
6972 yes) enable_shared=yes ;;
6973 no) enable_shared=no ;;
6974 *)
6975 enable_shared=no
6976 # Look at the argument we got. We use all the common list separators.
6977 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6978 for pkg in $enableval; do
6979 IFS="$lt_save_ifs"
6980 if test "X$pkg" = "X$p"; then
6981 enable_shared=yes
6982 fi
6983 done
6984 IFS="$lt_save_ifs"
6985 ;;
6986 esac
6987 else
6988 enable_shared=yes
6989 fi
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999 # Check whether --enable-static was given.
7000 if test "${enable_static+set}" = set; then
7001 enableval=$enable_static; p=${PACKAGE-default}
7002 case $enableval in
7003 yes) enable_static=yes ;;
7004 no) enable_static=no ;;
7005 *)
7006 enable_static=no
7007 # Look at the argument we got. We use all the common list separators.
7008 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7009 for pkg in $enableval; do
7010 IFS="$lt_save_ifs"
7011 if test "X$pkg" = "X$p"; then
7012 enable_static=yes
7013 fi
7014 done
7015 IFS="$lt_save_ifs"
7016 ;;
7017 esac
7018 else
7019 enable_static=yes
7020 fi
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031 # Check whether --with-pic was given.
7032 if test "${with_pic+set}" = set; then
7033 withval=$with_pic; pic_mode="$withval"
7034 else
7035 pic_mode=default
7036 fi
7037
7038
7039 test -z "$pic_mode" && pic_mode=default
7040
7041
7042
7043
7044
7045
7046
7047 # Check whether --enable-fast-install was given.
7048 if test "${enable_fast_install+set}" = set; then
7049 enableval=$enable_fast_install; p=${PACKAGE-default}
7050 case $enableval in
7051 yes) enable_fast_install=yes ;;
7052 no) enable_fast_install=no ;;
7053 *)
7054 enable_fast_install=no
7055 # Look at the argument we got. We use all the common list separators.
7056 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7057 for pkg in $enableval; do
7058 IFS="$lt_save_ifs"
7059 if test "X$pkg" = "X$p"; then
7060 enable_fast_install=yes
7061 fi
7062 done
7063 IFS="$lt_save_ifs"
7064 ;;
7065 esac
7066 else
7067 enable_fast_install=yes
7068 fi
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080 # This can be used to rebuild libtool when needed
7081 LIBTOOL_DEPS="$ltmain"
7082
7083 # Always use our own libtool.
7084 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110 test -z "$LN_S" && LN_S="ln -s"
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125 if test -n "${ZSH_VERSION+set}" ; then
7126 setopt NO_GLOB_SUBST
7127 fi
7128
7129 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
7130 $as_echo_n "checking for objdir... " >&6; }
7131 if test "${lt_cv_objdir+set}" = set; then
7132 $as_echo_n "(cached) " >&6
7133 else
7134 rm -f .libs 2>/dev/null
7135 mkdir .libs 2>/dev/null
7136 if test -d .libs; then
7137 lt_cv_objdir=.libs
7138 else
7139 # MS-DOS does not allow filenames that begin with a dot.
7140 lt_cv_objdir=_libs
7141 fi
7142 rmdir .libs 2>/dev/null
7143 fi
7144 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7145 $as_echo "$lt_cv_objdir" >&6; }
7146 objdir=$lt_cv_objdir
7147
7148
7149
7150
7151
7152 cat >>confdefs.h <<_ACEOF
7153 #define LT_OBJDIR "$lt_cv_objdir/"
7154 _ACEOF
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172 case $host_os in
7173 aix3*)
7174 # AIX sometimes has problems with the GCC collect2 program. For some
7175 # reason, if we set the COLLECT_NAMES environment variable, the problems
7176 # vanish in a puff of smoke.
7177 if test "X${COLLECT_NAMES+set}" != Xset; then
7178 COLLECT_NAMES=
7179 export COLLECT_NAMES
7180 fi
7181 ;;
7182 esac
7183
7184 # Sed substitution that helps us do robust quoting. It backslashifies
7185 # metacharacters that are still active within double-quoted strings.
7186 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7187
7188 # Same as above, but do not quote variable references.
7189 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7190
7191 # Sed substitution to delay expansion of an escaped shell variable in a
7192 # double_quote_subst'ed string.
7193 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7194
7195 # Sed substitution to delay expansion of an escaped single quote.
7196 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7197
7198 # Sed substitution to avoid accidental globbing in evaled expressions
7199 no_glob_subst='s/\*/\\\*/g'
7200
7201 # Global variables:
7202 ofile=libtool
7203 can_build_shared=yes
7204
7205 # All known linkers require a `.a' archive for static linking (except MSVC,
7206 # which needs '.lib').
7207 libext=a
7208
7209 with_gnu_ld="$lt_cv_prog_gnu_ld"
7210
7211 old_CC="$CC"
7212 old_CFLAGS="$CFLAGS"
7213
7214 # Set sane defaults for various variables
7215 test -z "$CC" && CC=cc
7216 test -z "$LTCC" && LTCC=$CC
7217 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7218 test -z "$LD" && LD=ld
7219 test -z "$ac_objext" && ac_objext=o
7220
7221 for cc_temp in $compiler""; do
7222 case $cc_temp in
7223 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7224 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7225 \-*) ;;
7226 *) break;;
7227 esac
7228 done
7229 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7230
7231
7232 # Only perform the check for file, if the check method requires it
7233 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7234 case $deplibs_check_method in
7235 file_magic*)
7236 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7237 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7238 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7239 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7240 $as_echo_n "(cached) " >&6
7241 else
7242 case $MAGIC_CMD in
7243 [\\/*] | ?:[\\/]*)
7244 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7245 ;;
7246 *)
7247 lt_save_MAGIC_CMD="$MAGIC_CMD"
7248 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7249 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7250 for ac_dir in $ac_dummy; do
7251 IFS="$lt_save_ifs"
7252 test -z "$ac_dir" && ac_dir=.
7253 if test -f $ac_dir/${ac_tool_prefix}file; then
7254 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7255 if test -n "$file_magic_test_file"; then
7256 case $deplibs_check_method in
7257 "file_magic "*)
7258 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7259 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7260 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7261 $EGREP "$file_magic_regex" > /dev/null; then
7262 :
7263 else
7264 cat <<_LT_EOF 1>&2
7265
7266 *** Warning: the command libtool uses to detect shared libraries,
7267 *** $file_magic_cmd, produces output that libtool cannot recognize.
7268 *** The result is that libtool may fail to recognize shared libraries
7269 *** as such. This will affect the creation of libtool libraries that
7270 *** depend on shared libraries, but programs linked with such libtool
7271 *** libraries will work regardless of this problem. Nevertheless, you
7272 *** may want to report the problem to your system manager and/or to
7273 *** bug-libtool@gnu.org
7274
7275 _LT_EOF
7276 fi ;;
7277 esac
7278 fi
7279 break
7280 fi
7281 done
7282 IFS="$lt_save_ifs"
7283 MAGIC_CMD="$lt_save_MAGIC_CMD"
7284 ;;
7285 esac
7286 fi
7287
7288 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7289 if test -n "$MAGIC_CMD"; then
7290 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7291 $as_echo "$MAGIC_CMD" >&6; }
7292 else
7293 { $as_echo "$as_me:$LINENO: result: no" >&5
7294 $as_echo "no" >&6; }
7295 fi
7296
7297
7298
7299
7300
7301 if test -z "$lt_cv_path_MAGIC_CMD"; then
7302 if test -n "$ac_tool_prefix"; then
7303 { $as_echo "$as_me:$LINENO: checking for file" >&5
7304 $as_echo_n "checking for file... " >&6; }
7305 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7306 $as_echo_n "(cached) " >&6
7307 else
7308 case $MAGIC_CMD in
7309 [\\/*] | ?:[\\/]*)
7310 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7311 ;;
7312 *)
7313 lt_save_MAGIC_CMD="$MAGIC_CMD"
7314 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7315 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7316 for ac_dir in $ac_dummy; do
7317 IFS="$lt_save_ifs"
7318 test -z "$ac_dir" && ac_dir=.
7319 if test -f $ac_dir/file; then
7320 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7321 if test -n "$file_magic_test_file"; then
7322 case $deplibs_check_method in
7323 "file_magic "*)
7324 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7325 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7326 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7327 $EGREP "$file_magic_regex" > /dev/null; then
7328 :
7329 else
7330 cat <<_LT_EOF 1>&2
7331
7332 *** Warning: the command libtool uses to detect shared libraries,
7333 *** $file_magic_cmd, produces output that libtool cannot recognize.
7334 *** The result is that libtool may fail to recognize shared libraries
7335 *** as such. This will affect the creation of libtool libraries that
7336 *** depend on shared libraries, but programs linked with such libtool
7337 *** libraries will work regardless of this problem. Nevertheless, you
7338 *** may want to report the problem to your system manager and/or to
7339 *** bug-libtool@gnu.org
7340
7341 _LT_EOF
7342 fi ;;
7343 esac
7344 fi
7345 break
7346 fi
7347 done
7348 IFS="$lt_save_ifs"
7349 MAGIC_CMD="$lt_save_MAGIC_CMD"
7350 ;;
7351 esac
7352 fi
7353
7354 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7355 if test -n "$MAGIC_CMD"; then
7356 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7357 $as_echo "$MAGIC_CMD" >&6; }
7358 else
7359 { $as_echo "$as_me:$LINENO: result: no" >&5
7360 $as_echo "no" >&6; }
7361 fi
7362
7363
7364 else
7365 MAGIC_CMD=:
7366 fi
7367 fi
7368
7369 fi
7370 ;;
7371 esac
7372
7373 # Use C for the default configuration in the libtool script
7374
7375 lt_save_CC="$CC"
7376 ac_ext=c
7377 ac_cpp='$CPP $CPPFLAGS'
7378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7381
7382
7383 # Source file extension for C test sources.
7384 ac_ext=c
7385
7386 # Object file extension for compiled C test sources.
7387 objext=o
7388 objext=$objext
7389
7390 # Code to be used in simple compile tests
7391 lt_simple_compile_test_code="int some_variable = 0;"
7392
7393 # Code to be used in simple link tests
7394 lt_simple_link_test_code='int main(){return(0);}'
7395
7396
7397
7398
7399
7400
7401
7402 # If no C compiler was specified, use CC.
7403 LTCC=${LTCC-"$CC"}
7404
7405 # If no C compiler flags were specified, use CFLAGS.
7406 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7407
7408 # Allow CC to be a program name with arguments.
7409 compiler=$CC
7410
7411 # Save the default compiler, since it gets overwritten when the other
7412 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7413 compiler_DEFAULT=$CC
7414
7415 # save warnings/boilerplate of simple test code
7416 ac_outfile=conftest.$ac_objext
7417 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7418 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7419 _lt_compiler_boilerplate=`cat conftest.err`
7420 $RM conftest*
7421
7422 ac_outfile=conftest.$ac_objext
7423 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7424 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7425 _lt_linker_boilerplate=`cat conftest.err`
7426 $RM -r conftest*
7427
7428
7429 if test -n "$compiler"; then
7430
7431 lt_prog_compiler_no_builtin_flag=
7432
7433 if test "$GCC" = yes; then
7434 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7435
7436 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7437 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7438 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7439 $as_echo_n "(cached) " >&6
7440 else
7441 lt_cv_prog_compiler_rtti_exceptions=no
7442 ac_outfile=conftest.$ac_objext
7443 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7444 lt_compiler_flag="-fno-rtti -fno-exceptions"
7445 # Insert the option either (1) after the last *FLAGS variable, or
7446 # (2) before a word containing "conftest.", or (3) at the end.
7447 # Note that $ac_compile itself does not contain backslashes and begins
7448 # with a dollar sign (not a hyphen), so the echo should work correctly.
7449 # The option is referenced via a variable to avoid confusing sed.
7450 lt_compile=`echo "$ac_compile" | $SED \
7451 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7452 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7453 -e 's:$: $lt_compiler_flag:'`
7454 (eval echo "\"\$as_me:7454: $lt_compile\"" >&5)
7455 (eval "$lt_compile" 2>conftest.err)
7456 ac_status=$?
7457 cat conftest.err >&5
7458 echo "$as_me:7458: \$? = $ac_status" >&5
7459 if (exit $ac_status) && test -s "$ac_outfile"; then
7460 # The compiler can only warn and ignore the option if not recognized
7461 # So say no if there are warnings other than the usual output.
7462 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7463 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7464 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7465 lt_cv_prog_compiler_rtti_exceptions=yes
7466 fi
7467 fi
7468 $RM conftest*
7469
7470 fi
7471 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7472 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7473
7474 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7475 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7476 else
7477 :
7478 fi
7479
7480 fi
7481
7482
7483
7484
7485
7486
7487 lt_prog_compiler_wl=
7488 lt_prog_compiler_pic=
7489 lt_prog_compiler_static=
7490
7491 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7492 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7493
7494 if test "$GCC" = yes; then
7495 lt_prog_compiler_wl='-Wl,'
7496 lt_prog_compiler_static='-static'
7497
7498 case $host_os in
7499 aix*)
7500 # All AIX code is PIC.
7501 if test "$host_cpu" = ia64; then
7502 # AIX 5 now supports IA64 processor
7503 lt_prog_compiler_static='-Bstatic'
7504 fi
7505 ;;
7506
7507 amigaos*)
7508 case $host_cpu in
7509 powerpc)
7510 # see comment about AmigaOS4 .so support
7511 lt_prog_compiler_pic='-fPIC'
7512 ;;
7513 m68k)
7514 # FIXME: we need at least 68020 code to build shared libraries, but
7515 # adding the `-m68020' flag to GCC prevents building anything better,
7516 # like `-m68040'.
7517 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7518 ;;
7519 esac
7520 ;;
7521
7522 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7523 # PIC is the default for these OSes.
7524 ;;
7525
7526 mingw* | cygwin* | pw32* | os2* | cegcc*)
7527 # This hack is so that the source file can tell whether it is being
7528 # built for inclusion in a dll (and should export symbols for example).
7529 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7530 # (--disable-auto-import) libraries
7531 lt_prog_compiler_pic='-DDLL_EXPORT'
7532 ;;
7533
7534 darwin* | rhapsody*)
7535 # PIC is the default on this platform
7536 # Common symbols not allowed in MH_DYLIB files
7537 lt_prog_compiler_pic='-fno-common'
7538 ;;
7539
7540 hpux*)
7541 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7542 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7543 # sets the default TLS model and affects inlining.
7544 case $host_cpu in
7545 hppa*64*)
7546 # +Z the default
7547 ;;
7548 *)
7549 lt_prog_compiler_pic='-fPIC'
7550 ;;
7551 esac
7552 ;;
7553
7554 interix[3-9]*)
7555 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7556 # Instead, we relocate shared libraries at runtime.
7557 ;;
7558
7559 msdosdjgpp*)
7560 # Just because we use GCC doesn't mean we suddenly get shared libraries
7561 # on systems that don't support them.
7562 lt_prog_compiler_can_build_shared=no
7563 enable_shared=no
7564 ;;
7565
7566 *nto* | *qnx*)
7567 # QNX uses GNU C++, but need to define -shared option too, otherwise
7568 # it will coredump.
7569 lt_prog_compiler_pic='-fPIC -shared'
7570 ;;
7571
7572 sysv4*MP*)
7573 if test -d /usr/nec; then
7574 lt_prog_compiler_pic=-Kconform_pic
7575 fi
7576 ;;
7577
7578 *)
7579 lt_prog_compiler_pic='-fPIC'
7580 ;;
7581 esac
7582 else
7583 # PORTME Check for flag to pass linker flags through the system compiler.
7584 case $host_os in
7585 aix*)
7586 lt_prog_compiler_wl='-Wl,'
7587 if test "$host_cpu" = ia64; then
7588 # AIX 5 now supports IA64 processor
7589 lt_prog_compiler_static='-Bstatic'
7590 else
7591 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7592 fi
7593 ;;
7594
7595 mingw* | cygwin* | pw32* | os2* | cegcc*)
7596 # This hack is so that the source file can tell whether it is being
7597 # built for inclusion in a dll (and should export symbols for example).
7598 lt_prog_compiler_pic='-DDLL_EXPORT'
7599 ;;
7600
7601 hpux9* | hpux10* | hpux11*)
7602 lt_prog_compiler_wl='-Wl,'
7603 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7604 # not for PA HP-UX.
7605 case $host_cpu in
7606 hppa*64*|ia64*)
7607 # +Z the default
7608 ;;
7609 *)
7610 lt_prog_compiler_pic='+Z'
7611 ;;
7612 esac
7613 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7614 lt_prog_compiler_static='${wl}-a ${wl}archive'
7615 ;;
7616
7617 irix5* | irix6* | nonstopux*)
7618 lt_prog_compiler_wl='-Wl,'
7619 # PIC (with -KPIC) is the default.
7620 lt_prog_compiler_static='-non_shared'
7621 ;;
7622
7623 linux* | k*bsd*-gnu)
7624 case $cc_basename in
7625 # old Intel for x86_64 which still supported -KPIC.
7626 ecc*)
7627 lt_prog_compiler_wl='-Wl,'
7628 lt_prog_compiler_pic='-KPIC'
7629 lt_prog_compiler_static='-static'
7630 ;;
7631 # icc used to be incompatible with GCC.
7632 # ICC 10 doesn't accept -KPIC any more.
7633 icc* | ifort*)
7634 lt_prog_compiler_wl='-Wl,'
7635 lt_prog_compiler_pic='-fPIC'
7636 lt_prog_compiler_static='-static'
7637 ;;
7638 # Lahey Fortran 8.1.
7639 lf95*)
7640 lt_prog_compiler_wl='-Wl,'
7641 lt_prog_compiler_pic='--shared'
7642 lt_prog_compiler_static='--static'
7643 ;;
7644 pgcc* | pgf77* | pgf90* | pgf95*)
7645 # Portland Group compilers (*not* the Pentium gcc compiler,
7646 # which looks to be a dead project)
7647 lt_prog_compiler_wl='-Wl,'
7648 lt_prog_compiler_pic='-fpic'
7649 lt_prog_compiler_static='-Bstatic'
7650 ;;
7651 ccc*)
7652 lt_prog_compiler_wl='-Wl,'
7653 # All Alpha code is PIC.
7654 lt_prog_compiler_static='-non_shared'
7655 ;;
7656 xl*)
7657 # IBM XL C 8.0/Fortran 10.1 on PPC
7658 lt_prog_compiler_wl='-Wl,'
7659 lt_prog_compiler_pic='-qpic'
7660 lt_prog_compiler_static='-qstaticlink'
7661 ;;
7662 *)
7663 case `$CC -V 2>&1 | sed 5q` in
7664 *Sun\ C*)
7665 # Sun C 5.9
7666 lt_prog_compiler_pic='-KPIC'
7667 lt_prog_compiler_static='-Bstatic'
7668 lt_prog_compiler_wl='-Wl,'
7669 ;;
7670 *Sun\ F*)
7671 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7672 lt_prog_compiler_pic='-KPIC'
7673 lt_prog_compiler_static='-Bstatic'
7674 lt_prog_compiler_wl=''
7675 ;;
7676 esac
7677 ;;
7678 esac
7679 ;;
7680
7681 newsos6)
7682 lt_prog_compiler_pic='-KPIC'
7683 lt_prog_compiler_static='-Bstatic'
7684 ;;
7685
7686 *nto* | *qnx*)
7687 # QNX uses GNU C++, but need to define -shared option too, otherwise
7688 # it will coredump.
7689 lt_prog_compiler_pic='-fPIC -shared'
7690 ;;
7691
7692 osf3* | osf4* | osf5*)
7693 lt_prog_compiler_wl='-Wl,'
7694 # All OSF/1 code is PIC.
7695 lt_prog_compiler_static='-non_shared'
7696 ;;
7697
7698 rdos*)
7699 lt_prog_compiler_static='-non_shared'
7700 ;;
7701
7702 solaris*)
7703 lt_prog_compiler_pic='-KPIC'
7704 lt_prog_compiler_static='-Bstatic'
7705 case $cc_basename in
7706 f77* | f90* | f95*)
7707 lt_prog_compiler_wl='-Qoption ld ';;
7708 *)
7709 lt_prog_compiler_wl='-Wl,';;
7710 esac
7711 ;;
7712
7713 sunos4*)
7714 lt_prog_compiler_wl='-Qoption ld '
7715 lt_prog_compiler_pic='-PIC'
7716 lt_prog_compiler_static='-Bstatic'
7717 ;;
7718
7719 sysv4 | sysv4.2uw2* | sysv4.3*)
7720 lt_prog_compiler_wl='-Wl,'
7721 lt_prog_compiler_pic='-KPIC'
7722 lt_prog_compiler_static='-Bstatic'
7723 ;;
7724
7725 sysv4*MP*)
7726 if test -d /usr/nec ;then
7727 lt_prog_compiler_pic='-Kconform_pic'
7728 lt_prog_compiler_static='-Bstatic'
7729 fi
7730 ;;
7731
7732 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7733 lt_prog_compiler_wl='-Wl,'
7734 lt_prog_compiler_pic='-KPIC'
7735 lt_prog_compiler_static='-Bstatic'
7736 ;;
7737
7738 unicos*)
7739 lt_prog_compiler_wl='-Wl,'
7740 lt_prog_compiler_can_build_shared=no
7741 ;;
7742
7743 uts4*)
7744 lt_prog_compiler_pic='-pic'
7745 lt_prog_compiler_static='-Bstatic'
7746 ;;
7747
7748 *)
7749 lt_prog_compiler_can_build_shared=no
7750 ;;
7751 esac
7752 fi
7753
7754 case $host_os in
7755 # For platforms which do not support PIC, -DPIC is meaningless:
7756 *djgpp*)
7757 lt_prog_compiler_pic=
7758 ;;
7759 *)
7760 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7761 ;;
7762 esac
7763 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7764 $as_echo "$lt_prog_compiler_pic" >&6; }
7765
7766
7767
7768
7769
7770
7771 #
7772 # Check to make sure the PIC flag actually works.
7773 #
7774 if test -n "$lt_prog_compiler_pic"; then
7775 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7776 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7777 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7778 $as_echo_n "(cached) " >&6
7779 else
7780 lt_cv_prog_compiler_pic_works=no
7781 ac_outfile=conftest.$ac_objext
7782 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7783 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7784 # Insert the option either (1) after the last *FLAGS variable, or
7785 # (2) before a word containing "conftest.", or (3) at the end.
7786 # Note that $ac_compile itself does not contain backslashes and begins
7787 # with a dollar sign (not a hyphen), so the echo should work correctly.
7788 # The option is referenced via a variable to avoid confusing sed.
7789 lt_compile=`echo "$ac_compile" | $SED \
7790 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7791 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7792 -e 's:$: $lt_compiler_flag:'`
7793 (eval echo "\"\$as_me:7793: $lt_compile\"" >&5)
7794 (eval "$lt_compile" 2>conftest.err)
7795 ac_status=$?
7796 cat conftest.err >&5
7797 echo "$as_me:7797: \$? = $ac_status" >&5
7798 if (exit $ac_status) && test -s "$ac_outfile"; then
7799 # The compiler can only warn and ignore the option if not recognized
7800 # So say no if there are warnings other than the usual output.
7801 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7802 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7803 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7804 lt_cv_prog_compiler_pic_works=yes
7805 fi
7806 fi
7807 $RM conftest*
7808
7809 fi
7810 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7811 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7812
7813 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7814 case $lt_prog_compiler_pic in
7815 "" | " "*) ;;
7816 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7817 esac
7818 else
7819 lt_prog_compiler_pic=
7820 lt_prog_compiler_can_build_shared=no
7821 fi
7822
7823 fi
7824
7825
7826
7827
7828
7829
7830 #
7831 # Check to make sure the static flag actually works.
7832 #
7833 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7834 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7835 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7836 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7837 $as_echo_n "(cached) " >&6
7838 else
7839 lt_cv_prog_compiler_static_works=no
7840 save_LDFLAGS="$LDFLAGS"
7841 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7842 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7843 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7844 # The linker can only warn and ignore the option if not recognized
7845 # So say no if there are warnings
7846 if test -s conftest.err; then
7847 # Append any errors to the config.log.
7848 cat conftest.err 1>&5
7849 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7851 if diff conftest.exp conftest.er2 >/dev/null; then
7852 lt_cv_prog_compiler_static_works=yes
7853 fi
7854 else
7855 lt_cv_prog_compiler_static_works=yes
7856 fi
7857 fi
7858 $RM -r conftest*
7859 LDFLAGS="$save_LDFLAGS"
7860
7861 fi
7862 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7863 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7864
7865 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7866 :
7867 else
7868 lt_prog_compiler_static=
7869 fi
7870
7871
7872
7873
7874
7875
7876
7877 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7878 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7879 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7880 $as_echo_n "(cached) " >&6
7881 else
7882 lt_cv_prog_compiler_c_o=no
7883 $RM -r conftest 2>/dev/null
7884 mkdir conftest
7885 cd conftest
7886 mkdir out
7887 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7888
7889 lt_compiler_flag="-o out/conftest2.$ac_objext"
7890 # Insert the option either (1) after the last *FLAGS variable, or
7891 # (2) before a word containing "conftest.", or (3) at the end.
7892 # Note that $ac_compile itself does not contain backslashes and begins
7893 # with a dollar sign (not a hyphen), so the echo should work correctly.
7894 lt_compile=`echo "$ac_compile" | $SED \
7895 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7896 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7897 -e 's:$: $lt_compiler_flag:'`
7898 (eval echo "\"\$as_me:7898: $lt_compile\"" >&5)
7899 (eval "$lt_compile" 2>out/conftest.err)
7900 ac_status=$?
7901 cat out/conftest.err >&5
7902 echo "$as_me:7902: \$? = $ac_status" >&5
7903 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7904 then
7905 # The compiler can only warn and ignore the option if not recognized
7906 # So say no if there are warnings
7907 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7908 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7909 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7910 lt_cv_prog_compiler_c_o=yes
7911 fi
7912 fi
7913 chmod u+w . 2>&5
7914 $RM conftest*
7915 # SGI C++ compiler will create directory out/ii_files/ for
7916 # template instantiation
7917 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7918 $RM out/* && rmdir out
7919 cd ..
7920 $RM -r conftest
7921 $RM conftest*
7922
7923 fi
7924 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7925 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7926
7927
7928
7929
7930
7931
7932 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7933 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7934 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7935 $as_echo_n "(cached) " >&6
7936 else
7937 lt_cv_prog_compiler_c_o=no
7938 $RM -r conftest 2>/dev/null
7939 mkdir conftest
7940 cd conftest
7941 mkdir out
7942 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7943
7944 lt_compiler_flag="-o out/conftest2.$ac_objext"
7945 # Insert the option either (1) after the last *FLAGS variable, or
7946 # (2) before a word containing "conftest.", or (3) at the end.
7947 # Note that $ac_compile itself does not contain backslashes and begins
7948 # with a dollar sign (not a hyphen), so the echo should work correctly.
7949 lt_compile=`echo "$ac_compile" | $SED \
7950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7952 -e 's:$: $lt_compiler_flag:'`
7953 (eval echo "\"\$as_me:7953: $lt_compile\"" >&5)
7954 (eval "$lt_compile" 2>out/conftest.err)
7955 ac_status=$?
7956 cat out/conftest.err >&5
7957 echo "$as_me:7957: \$? = $ac_status" >&5
7958 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7959 then
7960 # The compiler can only warn and ignore the option if not recognized
7961 # So say no if there are warnings
7962 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7963 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7964 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7965 lt_cv_prog_compiler_c_o=yes
7966 fi
7967 fi
7968 chmod u+w . 2>&5
7969 $RM conftest*
7970 # SGI C++ compiler will create directory out/ii_files/ for
7971 # template instantiation
7972 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7973 $RM out/* && rmdir out
7974 cd ..
7975 $RM -r conftest
7976 $RM conftest*
7977
7978 fi
7979 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7980 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7981
7982
7983
7984
7985 hard_links="nottested"
7986 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7987 # do not overwrite the value of need_locks provided by the user
7988 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7989 $as_echo_n "checking if we can lock with hard links... " >&6; }
7990 hard_links=yes
7991 $RM conftest*
7992 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7993 touch conftest.a
7994 ln conftest.a conftest.b 2>&5 || hard_links=no
7995 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7996 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
7997 $as_echo "$hard_links" >&6; }
7998 if test "$hard_links" = no; then
7999 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8000 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8001 need_locks=warn
8002 fi
8003 else
8004 need_locks=no
8005 fi
8006
8007
8008
8009
8010
8011
8012 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8013 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8014
8015 runpath_var=
8016 allow_undefined_flag=
8017 always_export_symbols=no
8018 archive_cmds=
8019 archive_expsym_cmds=
8020 compiler_needs_object=no
8021 enable_shared_with_static_runtimes=no
8022 export_dynamic_flag_spec=
8023 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8024 hardcode_automatic=no
8025 hardcode_direct=no
8026 hardcode_direct_absolute=no
8027 hardcode_libdir_flag_spec=
8028 hardcode_libdir_flag_spec_ld=
8029 hardcode_libdir_separator=
8030 hardcode_minus_L=no
8031 hardcode_shlibpath_var=unsupported
8032 inherit_rpath=no
8033 link_all_deplibs=unknown
8034 module_cmds=
8035 module_expsym_cmds=
8036 old_archive_from_new_cmds=
8037 old_archive_from_expsyms_cmds=
8038 thread_safe_flag_spec=
8039 whole_archive_flag_spec=
8040 # include_expsyms should be a list of space-separated symbols to be *always*
8041 # included in the symbol list
8042 include_expsyms=
8043 # exclude_expsyms can be an extended regexp of symbols to exclude
8044 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8045 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8046 # as well as any symbol that contains `d'.
8047 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8048 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8049 # platforms (ab)use it in PIC code, but their linkers get confused if
8050 # the symbol is explicitly referenced. Since portable code cannot
8051 # rely on this symbol name, it's probably fine to never include it in
8052 # preloaded symbol tables.
8053 # Exclude shared library initialization/finalization symbols.
8054 extract_expsyms_cmds=
8055
8056 case $host_os in
8057 cygwin* | mingw* | pw32* | cegcc*)
8058 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8059 # When not using gcc, we currently assume that we are using
8060 # Microsoft Visual C++.
8061 if test "$GCC" != yes; then
8062 with_gnu_ld=no
8063 fi
8064 ;;
8065 interix*)
8066 # we just hope/assume this is gcc and not c89 (= MSVC++)
8067 with_gnu_ld=yes
8068 ;;
8069 openbsd*)
8070 with_gnu_ld=no
8071 ;;
8072 esac
8073
8074 ld_shlibs=yes
8075 if test "$with_gnu_ld" = yes; then
8076 # If archive_cmds runs LD, not CC, wlarc should be empty
8077 wlarc='${wl}'
8078
8079 # Set some defaults for GNU ld with shared library support. These
8080 # are reset later if shared libraries are not supported. Putting them
8081 # here allows them to be overridden if necessary.
8082 runpath_var=LD_RUN_PATH
8083 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8084 export_dynamic_flag_spec='${wl}--export-dynamic'
8085 # ancient GNU ld didn't support --whole-archive et. al.
8086 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8087 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8088 else
8089 whole_archive_flag_spec=
8090 fi
8091 supports_anon_versioning=no
8092 case `$LD -v 2>&1` in
8093 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8094 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8095 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8096 *\ 2.11.*) ;; # other 2.11 versions
8097 *) supports_anon_versioning=yes ;;
8098 esac
8099
8100 # See if GNU ld supports shared libraries.
8101 case $host_os in
8102 aix[3-9]*)
8103 # On AIX/PPC, the GNU linker is very broken
8104 if test "$host_cpu" != ia64; then
8105 ld_shlibs=no
8106 cat <<_LT_EOF 1>&2
8107
8108 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8109 *** to be unable to reliably create shared libraries on AIX.
8110 *** Therefore, libtool is disabling shared libraries support. If you
8111 *** really care for shared libraries, you may want to modify your PATH
8112 *** so that a non-GNU linker is found, and then restart.
8113
8114 _LT_EOF
8115 fi
8116 ;;
8117
8118 amigaos*)
8119 case $host_cpu in
8120 powerpc)
8121 # see comment about AmigaOS4 .so support
8122 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8123 archive_expsym_cmds=''
8124 ;;
8125 m68k)
8126 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8127 hardcode_libdir_flag_spec='-L$libdir'
8128 hardcode_minus_L=yes
8129 ;;
8130 esac
8131 ;;
8132
8133 beos*)
8134 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8135 allow_undefined_flag=unsupported
8136 # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
8137 # support --undefined. This deserves some investigation. FIXME
8138 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8139 else
8140 ld_shlibs=no
8141 fi
8142 ;;
8143
8144 cygwin* | mingw* | pw32* | cegcc*)
8145 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8146 # as there is no search path for DLLs.
8147 hardcode_libdir_flag_spec='-L$libdir'
8148 allow_undefined_flag=unsupported
8149 always_export_symbols=no
8150 enable_shared_with_static_runtimes=yes
8151 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8152
8153 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8154 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8155 # If the export-symbols file already is a .def file (1st line
8156 # is EXPORTS), use it as is; otherwise, prepend...
8157 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8158 cp $export_symbols $output_objdir/$soname.def;
8159 else
8160 echo EXPORTS > $output_objdir/$soname.def;
8161 cat $export_symbols >> $output_objdir/$soname.def;
8162 fi~
8163 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8164 else
8165 ld_shlibs=no
8166 fi
8167 ;;
8168
8169 interix[3-9]*)
8170 hardcode_direct=no
8171 hardcode_shlibpath_var=no
8172 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8173 export_dynamic_flag_spec='${wl}-E'
8174 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8175 # Instead, shared libraries are loaded at an image base (0x10000000 by
8176 # default) and relocated if they conflict, which is a slow very memory
8177 # consuming and fragmenting process. To avoid this, we pick a random,
8178 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8179 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8180 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8181 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8182 ;;
8183
8184 gnu* | linux* | tpf* | k*bsd*-gnu)
8185 tmp_diet=no
8186 if test "$host_os" = linux-dietlibc; then
8187 case $cc_basename in
8188 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8189 esac
8190 fi
8191 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8192 && test "$tmp_diet" = no
8193 then
8194 tmp_addflag=
8195 tmp_sharedflag='-shared'
8196 case $cc_basename,$host_cpu in
8197 pgcc*) # Portland Group C compiler
8198 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8199 tmp_addflag=' $pic_flag'
8200 ;;
8201 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8202 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8203 tmp_addflag=' $pic_flag -Mnomain' ;;
8204 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8205 tmp_addflag=' -i_dynamic' ;;
8206 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8207 tmp_addflag=' -i_dynamic -nofor_main' ;;
8208 ifc* | ifort*) # Intel Fortran compiler
8209 tmp_addflag=' -nofor_main' ;;
8210 lf95*) # Lahey Fortran 8.1
8211 whole_archive_flag_spec=
8212 tmp_sharedflag='--shared' ;;
8213 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8214 tmp_sharedflag='-qmkshrobj'
8215 tmp_addflag= ;;
8216 esac
8217 case `$CC -V 2>&1 | sed 5q` in
8218 *Sun\ C*) # Sun C 5.9
8219 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8220 compiler_needs_object=yes
8221 tmp_sharedflag='-G' ;;
8222 *Sun\ F*) # Sun Fortran 8.3
8223 tmp_sharedflag='-G' ;;
8224 esac
8225 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8226
8227 if test "x$supports_anon_versioning" = xyes; then
8228 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8229 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8230 echo "local: *; };" >> $output_objdir/$libname.ver~
8231 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8232 fi
8233
8234 case $cc_basename in
8235 xlf*)
8236 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8237 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8238 hardcode_libdir_flag_spec=
8239 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8240 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8241 if test "x$supports_anon_versioning" = xyes; then
8242 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8243 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8244 echo "local: *; };" >> $output_objdir/$libname.ver~
8245 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8246 fi
8247 ;;
8248 esac
8249 else
8250 ld_shlibs=no
8251 fi
8252 ;;
8253
8254 netbsd*)
8255 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8256 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8257 wlarc=
8258 else
8259 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8260 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8261 fi
8262 ;;
8263
8264 solaris*)
8265 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8266 ld_shlibs=no
8267 cat <<_LT_EOF 1>&2
8268
8269 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8270 *** create shared libraries on Solaris systems. Therefore, libtool
8271 *** is disabling shared libraries support. We urge you to upgrade GNU
8272 *** binutils to release 2.9.1 or newer. Another option is to modify
8273 *** your PATH or compiler configuration so that the native linker is
8274 *** used, and then restart.
8275
8276 _LT_EOF
8277 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8278 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8279 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8280 else
8281 ld_shlibs=no
8282 fi
8283 ;;
8284
8285 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8286 case `$LD -v 2>&1` in
8287 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8288 ld_shlibs=no
8289 cat <<_LT_EOF 1>&2
8290
8291 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8292 *** reliably create shared libraries on SCO systems. Therefore, libtool
8293 *** is disabling shared libraries support. We urge you to upgrade GNU
8294 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8295 *** your PATH or compiler configuration so that the native linker is
8296 *** used, and then restart.
8297
8298 _LT_EOF
8299 ;;
8300 *)
8301 # For security reasons, it is highly recommended that you always
8302 # use absolute paths for naming shared libraries, and exclude the
8303 # DT_RUNPATH tag from executables and libraries. But doing so
8304 # requires that you compile everything twice, which is a pain.
8305 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8306 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8307 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8308 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8309 else
8310 ld_shlibs=no
8311 fi
8312 ;;
8313 esac
8314 ;;
8315
8316 sunos4*)
8317 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8318 wlarc=
8319 hardcode_direct=yes
8320 hardcode_shlibpath_var=no
8321 ;;
8322
8323 *)
8324 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8325 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8326 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8327 else
8328 ld_shlibs=no
8329 fi
8330 ;;
8331 esac
8332
8333 if test "$ld_shlibs" = no; then
8334 runpath_var=
8335 hardcode_libdir_flag_spec=
8336 export_dynamic_flag_spec=
8337 whole_archive_flag_spec=
8338 fi
8339 else
8340 # PORTME fill in a description of your system's linker (not GNU ld)
8341 case $host_os in
8342 aix3*)
8343 allow_undefined_flag=unsupported
8344 always_export_symbols=yes
8345 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8346 # Note: this linker hardcodes the directories in LIBPATH if there
8347 # are no directories specified by -L.
8348 hardcode_minus_L=yes
8349 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8350 # Neither direct hardcoding nor static linking is supported with a
8351 # broken collect2.
8352 hardcode_direct=unsupported
8353 fi
8354 ;;
8355
8356 aix[4-9]*)
8357 if test "$host_cpu" = ia64; then
8358 # On IA64, the linker does run time linking by default, so we don't
8359 # have to do anything special.
8360 aix_use_runtimelinking=no
8361 exp_sym_flag='-Bexport'
8362 no_entry_flag=""
8363 else
8364 # If we're using GNU nm, then we don't want the "-C" option.
8365 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8366 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8367 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8368 else
8369 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8370 fi
8371 aix_use_runtimelinking=no
8372
8373 # Test if we are trying to use run time linking or normal
8374 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8375 # need to do runtime linking.
8376 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8377 for ld_flag in $LDFLAGS; do
8378 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8379 aix_use_runtimelinking=yes
8380 break
8381 fi
8382 done
8383 ;;
8384 esac
8385
8386 exp_sym_flag='-bexport'
8387 no_entry_flag='-bnoentry'
8388 fi
8389
8390 # When large executables or shared objects are built, AIX ld can
8391 # have problems creating the table of contents. If linking a library
8392 # or program results in "error TOC overflow" add -mminimal-toc to
8393 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8394 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8395
8396 archive_cmds=''
8397 hardcode_direct=yes
8398 hardcode_direct_absolute=yes
8399 hardcode_libdir_separator=':'
8400 link_all_deplibs=yes
8401 file_list_spec='${wl}-f,'
8402
8403 if test "$GCC" = yes; then
8404 case $host_os in aix4.[012]|aix4.[012].*)
8405 # We only want to do this on AIX 4.2 and lower, the check
8406 # below for broken collect2 doesn't work under 4.3+
8407 collect2name=`${CC} -print-prog-name=collect2`
8408 if test -f "$collect2name" &&
8409 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8410 then
8411 # We have reworked collect2
8412 :
8413 else
8414 # We have old collect2
8415 hardcode_direct=unsupported
8416 # It fails to find uninstalled libraries when the uninstalled
8417 # path is not listed in the libpath. Setting hardcode_minus_L
8418 # to unsupported forces relinking
8419 hardcode_minus_L=yes
8420 hardcode_libdir_flag_spec='-L$libdir'
8421 hardcode_libdir_separator=
8422 fi
8423 ;;
8424 esac
8425 shared_flag='-shared'
8426 if test "$aix_use_runtimelinking" = yes; then
8427 shared_flag="$shared_flag "'${wl}-G'
8428 fi
8429 else
8430 # not using gcc
8431 if test "$host_cpu" = ia64; then
8432 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8433 # chokes on -Wl,-G. The following line is correct:
8434 shared_flag='-G'
8435 else
8436 if test "$aix_use_runtimelinking" = yes; then
8437 shared_flag='${wl}-G'
8438 else
8439 shared_flag='${wl}-bM:SRE'
8440 fi
8441 fi
8442 fi
8443
8444 export_dynamic_flag_spec='${wl}-bexpall'
8445 # It seems that -bexpall does not export symbols beginning with
8446 # underscore (_), so it is better to generate a list of symbols to export.
8447 always_export_symbols=yes
8448 if test "$aix_use_runtimelinking" = yes; then
8449 # Warning - without using the other runtime loading flags (-brtl),
8450 # -berok will link without error, but may produce a broken library.
8451 allow_undefined_flag='-berok'
8452 # Determine the default libpath from the value encoded in an
8453 # empty executable.
8454 cat >conftest.$ac_ext <<_ACEOF
8455 /* confdefs.h. */
8456 _ACEOF
8457 cat confdefs.h >>conftest.$ac_ext
8458 cat >>conftest.$ac_ext <<_ACEOF
8459 /* end confdefs.h. */
8460
8461 int
8462 main ()
8463 {
8464
8465 ;
8466 return 0;
8467 }
8468 _ACEOF
8469 rm -f conftest.$ac_objext conftest$ac_exeext
8470 if { (ac_try="$ac_link"
8471 case "(($ac_try" in
8472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8473 *) ac_try_echo=$ac_try;;
8474 esac
8475 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8476 $as_echo "$ac_try_echo") >&5
8477 (eval "$ac_link") 2>conftest.er1
8478 ac_status=$?
8479 grep -v '^ *+' conftest.er1 >conftest.err
8480 rm -f conftest.er1
8481 cat conftest.err >&5
8482 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); } && {
8484 test -z "$ac_c_werror_flag" ||
8485 test ! -s conftest.err
8486 } && test -s conftest$ac_exeext && {
8487 test "$cross_compiling" = yes ||
8488 $as_test_x conftest$ac_exeext
8489 }; then
8490
8491 lt_aix_libpath_sed='
8492 /Import File Strings/,/^$/ {
8493 /^0/ {
8494 s/^0 *\(.*\)$/\1/
8495 p
8496 }
8497 }'
8498 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8499 # Check for a 64-bit object if we didn't find anything.
8500 if test -z "$aix_libpath"; then
8501 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8502 fi
8503 else
8504 $as_echo "$as_me: failed program was:" >&5
8505 sed 's/^/| /' conftest.$ac_ext >&5
8506
8507
8508 fi
8509
8510 rm -rf conftest.dSYM
8511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8512 conftest$ac_exeext conftest.$ac_ext
8513 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8514
8515 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8516 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8517 else
8518 if test "$host_cpu" = ia64; then
8519 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8520 allow_undefined_flag="-z nodefs"
8521 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8522 else
8523 # Determine the default libpath from the value encoded in an
8524 # empty executable.
8525 cat >conftest.$ac_ext <<_ACEOF
8526 /* confdefs.h. */
8527 _ACEOF
8528 cat confdefs.h >>conftest.$ac_ext
8529 cat >>conftest.$ac_ext <<_ACEOF
8530 /* end confdefs.h. */
8531
8532 int
8533 main ()
8534 {
8535
8536 ;
8537 return 0;
8538 }
8539 _ACEOF
8540 rm -f conftest.$ac_objext conftest$ac_exeext
8541 if { (ac_try="$ac_link"
8542 case "(($ac_try" in
8543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8544 *) ac_try_echo=$ac_try;;
8545 esac
8546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8547 $as_echo "$ac_try_echo") >&5
8548 (eval "$ac_link") 2>conftest.er1
8549 ac_status=$?
8550 grep -v '^ *+' conftest.er1 >conftest.err
8551 rm -f conftest.er1
8552 cat conftest.err >&5
8553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554 (exit $ac_status); } && {
8555 test -z "$ac_c_werror_flag" ||
8556 test ! -s conftest.err
8557 } && test -s conftest$ac_exeext && {
8558 test "$cross_compiling" = yes ||
8559 $as_test_x conftest$ac_exeext
8560 }; then
8561
8562 lt_aix_libpath_sed='
8563 /Import File Strings/,/^$/ {
8564 /^0/ {
8565 s/^0 *\(.*\)$/\1/
8566 p
8567 }
8568 }'
8569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8570 # Check for a 64-bit object if we didn't find anything.
8571 if test -z "$aix_libpath"; then
8572 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8573 fi
8574 else
8575 $as_echo "$as_me: failed program was:" >&5
8576 sed 's/^/| /' conftest.$ac_ext >&5
8577
8578
8579 fi
8580
8581 rm -rf conftest.dSYM
8582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8583 conftest$ac_exeext conftest.$ac_ext
8584 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8585
8586 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8587 # Warning - without using the other run time loading flags,
8588 # -berok will link without error, but may produce a broken library.
8589 no_undefined_flag=' ${wl}-bernotok'
8590 allow_undefined_flag=' ${wl}-berok'
8591 # Exported symbols can be pulled into shared objects from archives
8592 whole_archive_flag_spec='$convenience'
8593 archive_cmds_need_lc=yes
8594 # This is similar to how AIX traditionally builds its shared libraries.
8595 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8596 fi
8597 fi
8598 ;;
8599
8600 amigaos*)
8601 case $host_cpu in
8602 powerpc)
8603 # see comment about AmigaOS4 .so support
8604 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8605 archive_expsym_cmds=''
8606 ;;
8607 m68k)
8608 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8609 hardcode_libdir_flag_spec='-L$libdir'
8610 hardcode_minus_L=yes
8611 ;;
8612 esac
8613 ;;
8614
8615 bsdi[45]*)
8616 export_dynamic_flag_spec=-rdynamic
8617 ;;
8618
8619 cygwin* | mingw* | pw32* | cegcc*)
8620 # When not using gcc, we currently assume that we are using
8621 # Microsoft Visual C++.
8622 # hardcode_libdir_flag_spec is actually meaningless, as there is
8623 # no search path for DLLs.
8624 hardcode_libdir_flag_spec=' '
8625 allow_undefined_flag=unsupported
8626 # Tell ltmain to make .lib files, not .a files.
8627 libext=lib
8628 # Tell ltmain to make .dll files, not .so files.
8629 shrext_cmds=".dll"
8630 # FIXME: Setting linknames here is a bad hack.
8631 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8632 # The linker will automatically build a .lib file if we build a DLL.
8633 old_archive_from_new_cmds='true'
8634 # FIXME: Should let the user specify the lib program.
8635 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8636 fix_srcfile_path='`cygpath -w "$srcfile"`'
8637 enable_shared_with_static_runtimes=yes
8638 ;;
8639
8640 darwin* | rhapsody*)
8641
8642
8643 archive_cmds_need_lc=no
8644 hardcode_direct=no
8645 hardcode_automatic=yes
8646 hardcode_shlibpath_var=unsupported
8647 whole_archive_flag_spec=''
8648 link_all_deplibs=yes
8649 allow_undefined_flag="$_lt_dar_allow_undefined"
8650 case $cc_basename in
8651 ifort*) _lt_dar_can_shared=yes ;;
8652 *) _lt_dar_can_shared=$GCC ;;
8653 esac
8654 if test "$_lt_dar_can_shared" = "yes"; then
8655 output_verbose_link_cmd=echo
8656 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8657 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8658 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8659 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8660
8661 else
8662 ld_shlibs=no
8663 fi
8664
8665 ;;
8666
8667 dgux*)
8668 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8669 hardcode_libdir_flag_spec='-L$libdir'
8670 hardcode_shlibpath_var=no
8671 ;;
8672
8673 freebsd1*)
8674 ld_shlibs=no
8675 ;;
8676
8677 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8678 # support. Future versions do this automatically, but an explicit c++rt0.o
8679 # does not break anything, and helps significantly (at the cost of a little
8680 # extra space).
8681 freebsd2.2*)
8682 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8683 hardcode_libdir_flag_spec='-R$libdir'
8684 hardcode_direct=yes
8685 hardcode_shlibpath_var=no
8686 ;;
8687
8688 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8689 freebsd2*)
8690 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8691 hardcode_direct=yes
8692 hardcode_minus_L=yes
8693 hardcode_shlibpath_var=no
8694 ;;
8695
8696 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8697 freebsd* | dragonfly*)
8698 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8699 hardcode_libdir_flag_spec='-R$libdir'
8700 hardcode_direct=yes
8701 hardcode_shlibpath_var=no
8702 ;;
8703
8704 hpux9*)
8705 if test "$GCC" = yes; then
8706 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8707 else
8708 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8709 fi
8710 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8711 hardcode_libdir_separator=:
8712 hardcode_direct=yes
8713
8714 # hardcode_minus_L: Not really in the search PATH,
8715 # but as the default location of the library.
8716 hardcode_minus_L=yes
8717 export_dynamic_flag_spec='${wl}-E'
8718 ;;
8719
8720 hpux10*)
8721 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8722 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8723 else
8724 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8725 fi
8726 if test "$with_gnu_ld" = no; then
8727 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8728 hardcode_libdir_flag_spec_ld='+b $libdir'
8729 hardcode_libdir_separator=:
8730 hardcode_direct=yes
8731 hardcode_direct_absolute=yes
8732 export_dynamic_flag_spec='${wl}-E'
8733 # hardcode_minus_L: Not really in the search PATH,
8734 # but as the default location of the library.
8735 hardcode_minus_L=yes
8736 fi
8737 ;;
8738
8739 hpux11*)
8740 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8741 case $host_cpu in
8742 hppa*64*)
8743 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8744 ;;
8745 ia64*)
8746 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8747 ;;
8748 *)
8749 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8750 ;;
8751 esac
8752 else
8753 case $host_cpu in
8754 hppa*64*)
8755 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8756 ;;
8757 ia64*)
8758 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8759 ;;
8760 *)
8761 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8762 ;;
8763 esac
8764 fi
8765 if test "$with_gnu_ld" = no; then
8766 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8767 hardcode_libdir_separator=:
8768
8769 case $host_cpu in
8770 hppa*64*|ia64*)
8771 hardcode_direct=no
8772 hardcode_shlibpath_var=no
8773 ;;
8774 *)
8775 hardcode_direct=yes
8776 hardcode_direct_absolute=yes
8777 export_dynamic_flag_spec='${wl}-E'
8778
8779 # hardcode_minus_L: Not really in the search PATH,
8780 # but as the default location of the library.
8781 hardcode_minus_L=yes
8782 ;;
8783 esac
8784 fi
8785 ;;
8786
8787 irix5* | irix6* | nonstopux*)
8788 if test "$GCC" = yes; then
8789 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8790 # Try to use the -exported_symbol ld option, if it does not
8791 # work, assume that -exports_file does not work either and
8792 # implicitly export all symbols.
8793 save_LDFLAGS="$LDFLAGS"
8794 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8795 cat >conftest.$ac_ext <<_ACEOF
8796 int foo(void) {}
8797 _ACEOF
8798 rm -f conftest.$ac_objext conftest$ac_exeext
8799 if { (ac_try="$ac_link"
8800 case "(($ac_try" in
8801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8802 *) ac_try_echo=$ac_try;;
8803 esac
8804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8805 $as_echo "$ac_try_echo") >&5
8806 (eval "$ac_link") 2>conftest.er1
8807 ac_status=$?
8808 grep -v '^ *+' conftest.er1 >conftest.err
8809 rm -f conftest.er1
8810 cat conftest.err >&5
8811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); } && {
8813 test -z "$ac_c_werror_flag" ||
8814 test ! -s conftest.err
8815 } && test -s conftest$ac_exeext && {
8816 test "$cross_compiling" = yes ||
8817 $as_test_x conftest$ac_exeext
8818 }; then
8819 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8820
8821 else
8822 $as_echo "$as_me: failed program was:" >&5
8823 sed 's/^/| /' conftest.$ac_ext >&5
8824
8825
8826 fi
8827
8828 rm -rf conftest.dSYM
8829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8830 conftest$ac_exeext conftest.$ac_ext
8831 LDFLAGS="$save_LDFLAGS"
8832 else
8833 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8834 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8835 fi
8836 archive_cmds_need_lc='no'
8837 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8838 hardcode_libdir_separator=:
8839 inherit_rpath=yes
8840 link_all_deplibs=yes
8841 ;;
8842
8843 netbsd*)
8844 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8845 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8846 else
8847 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8848 fi
8849 hardcode_libdir_flag_spec='-R$libdir'
8850 hardcode_direct=yes
8851 hardcode_shlibpath_var=no
8852 ;;
8853
8854 newsos6)
8855 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8856 hardcode_direct=yes
8857 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8858 hardcode_libdir_separator=:
8859 hardcode_shlibpath_var=no
8860 ;;
8861
8862 *nto* | *qnx*)
8863 ;;
8864
8865 openbsd*)
8866 if test -f /usr/libexec/ld.so; then
8867 hardcode_direct=yes
8868 hardcode_shlibpath_var=no
8869 hardcode_direct_absolute=yes
8870 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8871 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8872 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8873 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8874 export_dynamic_flag_spec='${wl}-E'
8875 else
8876 case $host_os in
8877 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8878 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8879 hardcode_libdir_flag_spec='-R$libdir'
8880 ;;
8881 *)
8882 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8883 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8884 ;;
8885 esac
8886 fi
8887 else
8888 ld_shlibs=no
8889 fi
8890 ;;
8891
8892 os2*)
8893 hardcode_libdir_flag_spec='-L$libdir'
8894 hardcode_minus_L=yes
8895 allow_undefined_flag=unsupported
8896 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8897 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8898 ;;
8899
8900 osf3*)
8901 if test "$GCC" = yes; then
8902 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8903 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8904 else
8905 allow_undefined_flag=' -expect_unresolved \*'
8906 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8907 fi
8908 archive_cmds_need_lc='no'
8909 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8910 hardcode_libdir_separator=:
8911 ;;
8912
8913 osf4* | osf5*) # as osf3* with the addition of -msym flag
8914 if test "$GCC" = yes; then
8915 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8916 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8917 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8918 else
8919 allow_undefined_flag=' -expect_unresolved \*'
8920 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8921 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8922 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8923
8924 # Both c and cxx compiler support -rpath directly
8925 hardcode_libdir_flag_spec='-rpath $libdir'
8926 fi
8927 archive_cmds_need_lc='no'
8928 hardcode_libdir_separator=:
8929 ;;
8930
8931 solaris*)
8932 no_undefined_flag=' -z defs'
8933 if test "$GCC" = yes; then
8934 wlarc='${wl}'
8935 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8936 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8937 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8938 else
8939 case `$CC -V 2>&1` in
8940 *"Compilers 5.0"*)
8941 wlarc=''
8942 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8943 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8944 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8945 ;;
8946 *)
8947 wlarc='${wl}'
8948 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8949 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8950 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8951 ;;
8952 esac
8953 fi
8954 hardcode_libdir_flag_spec='-R$libdir'
8955 hardcode_shlibpath_var=no
8956 case $host_os in
8957 solaris2.[0-5] | solaris2.[0-5].*) ;;
8958 *)
8959 # The compiler driver will combine and reorder linker options,
8960 # but understands `-z linker_flag'. GCC discards it without `$wl',
8961 # but is careful enough not to reorder.
8962 # Supported since Solaris 2.6 (maybe 2.5.1?)
8963 if test "$GCC" = yes; then
8964 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8965 else
8966 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8967 fi
8968 ;;
8969 esac
8970 link_all_deplibs=yes
8971 ;;
8972
8973 sunos4*)
8974 if test "x$host_vendor" = xsequent; then
8975 # Use $CC to link under sequent, because it throws in some extra .o
8976 # files that make .init and .fini sections work.
8977 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8978 else
8979 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8980 fi
8981 hardcode_libdir_flag_spec='-L$libdir'
8982 hardcode_direct=yes
8983 hardcode_minus_L=yes
8984 hardcode_shlibpath_var=no
8985 ;;
8986
8987 sysv4)
8988 case $host_vendor in
8989 sni)
8990 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8991 hardcode_direct=yes # is this really true???
8992 ;;
8993 siemens)
8994 ## LD is ld it makes a PLAMLIB
8995 ## CC just makes a GrossModule.
8996 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8997 reload_cmds='$CC -r -o $output$reload_objs'
8998 hardcode_direct=no
8999 ;;
9000 motorola)
9001 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9002 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9003 ;;
9004 esac
9005 runpath_var='LD_RUN_PATH'
9006 hardcode_shlibpath_var=no
9007 ;;
9008
9009 sysv4.3*)
9010 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9011 hardcode_shlibpath_var=no
9012 export_dynamic_flag_spec='-Bexport'
9013 ;;
9014
9015 sysv4*MP*)
9016 if test -d /usr/nec; then
9017 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9018 hardcode_shlibpath_var=no
9019 runpath_var=LD_RUN_PATH
9020 hardcode_runpath_var=yes
9021 ld_shlibs=yes
9022 fi
9023 ;;
9024
9025 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9026 no_undefined_flag='${wl}-z,text'
9027 archive_cmds_need_lc=no
9028 hardcode_shlibpath_var=no
9029 runpath_var='LD_RUN_PATH'
9030
9031 if test "$GCC" = yes; then
9032 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9033 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9034 else
9035 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9036 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9037 fi
9038 ;;
9039
9040 sysv5* | sco3.2v5* | sco5v6*)
9041 # Note: We can NOT use -z defs as we might desire, because we do not
9042 # link with -lc, and that would cause any symbols used from libc to
9043 # always be unresolved, which means just about no library would
9044 # ever link correctly. If we're not using GNU ld we use -z text
9045 # though, which does catch some bad symbols but isn't as heavy-handed
9046 # as -z defs.
9047 no_undefined_flag='${wl}-z,text'
9048 allow_undefined_flag='${wl}-z,nodefs'
9049 archive_cmds_need_lc=no
9050 hardcode_shlibpath_var=no
9051 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9052 hardcode_libdir_separator=':'
9053 link_all_deplibs=yes
9054 export_dynamic_flag_spec='${wl}-Bexport'
9055 runpath_var='LD_RUN_PATH'
9056
9057 if test "$GCC" = yes; then
9058 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9059 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9060 else
9061 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9062 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9063 fi
9064 ;;
9065
9066 uts4*)
9067 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9068 hardcode_libdir_flag_spec='-L$libdir'
9069 hardcode_shlibpath_var=no
9070 ;;
9071
9072 *)
9073 ld_shlibs=no
9074 ;;
9075 esac
9076
9077 if test x$host_vendor = xsni; then
9078 case $host in
9079 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9080 export_dynamic_flag_spec='${wl}-Blargedynsym'
9081 ;;
9082 esac
9083 fi
9084 fi
9085
9086 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9087 $as_echo "$ld_shlibs" >&6; }
9088 test "$ld_shlibs" = no && can_build_shared=no
9089
9090 with_gnu_ld=$with_gnu_ld
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106 #
9107 # Do we need to explicitly link libc?
9108 #
9109 case "x$archive_cmds_need_lc" in
9110 x|xyes)
9111 # Assume -lc should be added
9112 archive_cmds_need_lc=yes
9113
9114 if test "$enable_shared" = yes && test "$GCC" = yes; then
9115 case $archive_cmds in
9116 *'~'*)
9117 # FIXME: we may have to deal with multi-command sequences.
9118 ;;
9119 '$CC '*)
9120 # Test whether the compiler implicitly links with -lc since on some
9121 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9122 # to ld, don't add -lc before -lgcc.
9123 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9124 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9125 $RM conftest*
9126 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9127
9128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9129 (eval $ac_compile) 2>&5
9130 ac_status=$?
9131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); } 2>conftest.err; then
9133 soname=conftest
9134 lib=conftest
9135 libobjs=conftest.$ac_objext
9136 deplibs=
9137 wl=$lt_prog_compiler_wl
9138 pic_flag=$lt_prog_compiler_pic
9139 compiler_flags=-v
9140 linker_flags=-v
9141 verstring=
9142 output_objdir=.
9143 libname=conftest
9144 lt_save_allow_undefined_flag=$allow_undefined_flag
9145 allow_undefined_flag=
9146 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9147 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9148 ac_status=$?
9149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); }
9151 then
9152 archive_cmds_need_lc=no
9153 else
9154 archive_cmds_need_lc=yes
9155 fi
9156 allow_undefined_flag=$lt_save_allow_undefined_flag
9157 else
9158 cat conftest.err 1>&5
9159 fi
9160 $RM conftest*
9161 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9162 $as_echo "$archive_cmds_need_lc" >&6; }
9163 ;;
9164 esac
9165 fi
9166 ;;
9167 esac
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9326 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9327
9328 if test "$GCC" = yes; then
9329 case $host_os in
9330 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9331 *) lt_awk_arg="/^libraries:/" ;;
9332 esac
9333 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9334 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9335 # if the path contains ";" then we assume it to be the separator
9336 # otherwise default to the standard path separator (i.e. ":") - it is
9337 # assumed that no part of a normal pathname contains ";" but that should
9338 # okay in the real world where ";" in dirpaths is itself problematic.
9339 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9340 else
9341 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9342 fi
9343 # Ok, now we have the path, separated by spaces, we can step through it
9344 # and add multilib dir if necessary.
9345 lt_tmp_lt_search_path_spec=
9346 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9347 for lt_sys_path in $lt_search_path_spec; do
9348 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9349 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9350 else
9351 test -d "$lt_sys_path" && \
9352 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9353 fi
9354 done
9355 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9356 BEGIN {RS=" "; FS="/|\n";} {
9357 lt_foo="";
9358 lt_count=0;
9359 for (lt_i = NF; lt_i > 0; lt_i--) {
9360 if ($lt_i != "" && $lt_i != ".") {
9361 if ($lt_i == "..") {
9362 lt_count++;
9363 } else {
9364 if (lt_count == 0) {
9365 lt_foo="/" $lt_i lt_foo;
9366 } else {
9367 lt_count--;
9368 }
9369 }
9370 }
9371 }
9372 if (lt_foo != "") { lt_freq[lt_foo]++; }
9373 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9374 }'`
9375 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9376 else
9377 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9378 fi
9379 library_names_spec=
9380 libname_spec='lib$name'
9381 soname_spec=
9382 shrext_cmds=".so"
9383 postinstall_cmds=
9384 postuninstall_cmds=
9385 finish_cmds=
9386 finish_eval=
9387 shlibpath_var=
9388 shlibpath_overrides_runpath=unknown
9389 version_type=none
9390 dynamic_linker="$host_os ld.so"
9391 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9392 need_lib_prefix=unknown
9393 hardcode_into_libs=no
9394
9395 # when you set need_version to no, make sure it does not cause -set_version
9396 # flags to be left without arguments
9397 need_version=unknown
9398
9399 case $host_os in
9400 aix3*)
9401 version_type=linux
9402 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9403 shlibpath_var=LIBPATH
9404
9405 # AIX 3 has no versioning support, so we append a major version to the name.
9406 soname_spec='${libname}${release}${shared_ext}$major'
9407 ;;
9408
9409 aix[4-9]*)
9410 version_type=linux
9411 need_lib_prefix=no
9412 need_version=no
9413 hardcode_into_libs=yes
9414 if test "$host_cpu" = ia64; then
9415 # AIX 5 supports IA64
9416 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9417 shlibpath_var=LD_LIBRARY_PATH
9418 else
9419 # With GCC up to 2.95.x, collect2 would create an import file
9420 # for dependence libraries. The import file would start with
9421 # the line `#! .'. This would cause the generated library to
9422 # depend on `.', always an invalid library. This was fixed in
9423 # development snapshots of GCC prior to 3.0.
9424 case $host_os in
9425 aix4 | aix4.[01] | aix4.[01].*)
9426 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9427 echo ' yes '
9428 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9429 :
9430 else
9431 can_build_shared=no
9432 fi
9433 ;;
9434 esac
9435 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9436 # soname into executable. Probably we can add versioning support to
9437 # collect2, so additional links can be useful in future.
9438 if test "$aix_use_runtimelinking" = yes; then
9439 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9440 # instead of lib<name>.a to let people know that these are not
9441 # typical AIX shared libraries.
9442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9443 else
9444 # We preserve .a as extension for shared libraries through AIX4.2
9445 # and later when we are not doing run time linking.
9446 library_names_spec='${libname}${release}.a $libname.a'
9447 soname_spec='${libname}${release}${shared_ext}$major'
9448 fi
9449 shlibpath_var=LIBPATH
9450 fi
9451 ;;
9452
9453 amigaos*)
9454 case $host_cpu in
9455 powerpc)
9456 # Since July 2007 AmigaOS4 officially supports .so libraries.
9457 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9459 ;;
9460 m68k)
9461 library_names_spec='$libname.ixlibrary $libname.a'
9462 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9463 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9464 ;;
9465 esac
9466 ;;
9467
9468 beos*)
9469 library_names_spec='${libname}${shared_ext}'
9470 dynamic_linker="$host_os ld.so"
9471 shlibpath_var=LIBRARY_PATH
9472 ;;
9473
9474 bsdi[45]*)
9475 version_type=linux
9476 need_version=no
9477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9478 soname_spec='${libname}${release}${shared_ext}$major'
9479 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9480 shlibpath_var=LD_LIBRARY_PATH
9481 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9482 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9483 # the default ld.so.conf also contains /usr/contrib/lib and
9484 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9485 # libtool to hard-code these into programs
9486 ;;
9487
9488 cygwin* | mingw* | pw32* | cegcc*)
9489 version_type=windows
9490 shrext_cmds=".dll"
9491 need_version=no
9492 need_lib_prefix=no
9493
9494 case $GCC,$host_os in
9495 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9496 library_names_spec='$libname.dll.a'
9497 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9498 postinstall_cmds='base_file=`basename \${file}`~
9499 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9500 dldir=$destdir/`dirname \$dlpath`~
9501 test -d \$dldir || mkdir -p \$dldir~
9502 $install_prog $dir/$dlname \$dldir/$dlname~
9503 chmod a+x \$dldir/$dlname~
9504 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9505 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9506 fi'
9507 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9508 dlpath=$dir/\$dldll~
9509 $RM \$dlpath'
9510 shlibpath_overrides_runpath=yes
9511
9512 case $host_os in
9513 cygwin*)
9514 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9515 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9516 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9517 ;;
9518 mingw* | cegcc*)
9519 # MinGW DLLs use traditional 'lib' prefix
9520 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9521 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9522 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9523 # It is most probably a Windows format PATH printed by
9524 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9525 # path with ; separators, and with drive letters. We can handle the
9526 # drive letters (cygwin fileutils understands them), so leave them,
9527 # especially as we might pass files found there to a mingw objdump,
9528 # which wouldn't understand a cygwinified path. Ahh.
9529 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9530 else
9531 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9532 fi
9533 ;;
9534 pw32*)
9535 # pw32 DLLs use 'pw' prefix rather than 'lib'
9536 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9537 ;;
9538 esac
9539 ;;
9540
9541 *)
9542 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9543 ;;
9544 esac
9545 dynamic_linker='Win32 ld.exe'
9546 # FIXME: first we should search . and the directory the executable is in
9547 shlibpath_var=PATH
9548 ;;
9549
9550 darwin* | rhapsody*)
9551 dynamic_linker="$host_os dyld"
9552 version_type=darwin
9553 need_lib_prefix=no
9554 need_version=no
9555 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9556 soname_spec='${libname}${release}${major}$shared_ext'
9557 shlibpath_overrides_runpath=yes
9558 shlibpath_var=DYLD_LIBRARY_PATH
9559 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9560
9561 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9562 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9563 ;;
9564
9565 dgux*)
9566 version_type=linux
9567 need_lib_prefix=no
9568 need_version=no
9569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9570 soname_spec='${libname}${release}${shared_ext}$major'
9571 shlibpath_var=LD_LIBRARY_PATH
9572 ;;
9573
9574 freebsd1*)
9575 dynamic_linker=no
9576 ;;
9577
9578 freebsd* | dragonfly*)
9579 # DragonFly does not have aout. When/if they implement a new
9580 # versioning mechanism, adjust this.
9581 if test -x /usr/bin/objformat; then
9582 objformat=`/usr/bin/objformat`
9583 else
9584 case $host_os in
9585 freebsd[123]*) objformat=aout ;;
9586 *) objformat=elf ;;
9587 esac
9588 fi
9589 version_type=freebsd-$objformat
9590 case $version_type in
9591 freebsd-elf*)
9592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9593 need_version=no
9594 need_lib_prefix=no
9595 ;;
9596 freebsd-*)
9597 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9598 need_version=yes
9599 ;;
9600 esac
9601 shlibpath_var=LD_LIBRARY_PATH
9602 case $host_os in
9603 freebsd2*)
9604 shlibpath_overrides_runpath=yes
9605 ;;
9606 freebsd3.[01]* | freebsdelf3.[01]*)
9607 shlibpath_overrides_runpath=yes
9608 hardcode_into_libs=yes
9609 ;;
9610 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9611 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9612 shlibpath_overrides_runpath=no
9613 hardcode_into_libs=yes
9614 ;;
9615 *) # from 4.6 on, and DragonFly
9616 shlibpath_overrides_runpath=yes
9617 hardcode_into_libs=yes
9618 ;;
9619 esac
9620 ;;
9621
9622 gnu*)
9623 version_type=linux
9624 need_lib_prefix=no
9625 need_version=no
9626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9627 soname_spec='${libname}${release}${shared_ext}$major'
9628 shlibpath_var=LD_LIBRARY_PATH
9629 hardcode_into_libs=yes
9630 ;;
9631
9632 hpux9* | hpux10* | hpux11*)
9633 # Give a soname corresponding to the major version so that dld.sl refuses to
9634 # link against other versions.
9635 version_type=sunos
9636 need_lib_prefix=no
9637 need_version=no
9638 case $host_cpu in
9639 ia64*)
9640 shrext_cmds='.so'
9641 hardcode_into_libs=yes
9642 dynamic_linker="$host_os dld.so"
9643 shlibpath_var=LD_LIBRARY_PATH
9644 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9646 soname_spec='${libname}${release}${shared_ext}$major'
9647 if test "X$HPUX_IA64_MODE" = X32; then
9648 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9649 else
9650 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9651 fi
9652 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9653 ;;
9654 hppa*64*)
9655 shrext_cmds='.sl'
9656 hardcode_into_libs=yes
9657 dynamic_linker="$host_os dld.sl"
9658 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9659 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9661 soname_spec='${libname}${release}${shared_ext}$major'
9662 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9663 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9664 ;;
9665 *)
9666 shrext_cmds='.sl'
9667 dynamic_linker="$host_os dld.sl"
9668 shlibpath_var=SHLIB_PATH
9669 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9671 soname_spec='${libname}${release}${shared_ext}$major'
9672 ;;
9673 esac
9674 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9675 postinstall_cmds='chmod 555 $lib'
9676 ;;
9677
9678 interix[3-9]*)
9679 version_type=linux
9680 need_lib_prefix=no
9681 need_version=no
9682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9683 soname_spec='${libname}${release}${shared_ext}$major'
9684 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9685 shlibpath_var=LD_LIBRARY_PATH
9686 shlibpath_overrides_runpath=no
9687 hardcode_into_libs=yes
9688 ;;
9689
9690 irix5* | irix6* | nonstopux*)
9691 case $host_os in
9692 nonstopux*) version_type=nonstopux ;;
9693 *)
9694 if test "$lt_cv_prog_gnu_ld" = yes; then
9695 version_type=linux
9696 else
9697 version_type=irix
9698 fi ;;
9699 esac
9700 need_lib_prefix=no
9701 need_version=no
9702 soname_spec='${libname}${release}${shared_ext}$major'
9703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9704 case $host_os in
9705 irix5* | nonstopux*)
9706 libsuff= shlibsuff=
9707 ;;
9708 *)
9709 case $LD in # libtool.m4 will add one of these switches to LD
9710 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9711 libsuff= shlibsuff= libmagic=32-bit;;
9712 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9713 libsuff=32 shlibsuff=N32 libmagic=N32;;
9714 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9715 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9716 *) libsuff= shlibsuff= libmagic=never-match;;
9717 esac
9718 ;;
9719 esac
9720 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9721 shlibpath_overrides_runpath=no
9722 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9723 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9724 hardcode_into_libs=yes
9725 ;;
9726
9727 # No shared lib support for Linux oldld, aout, or coff.
9728 linux*oldld* | linux*aout* | linux*coff*)
9729 dynamic_linker=no
9730 ;;
9731
9732 # This must be Linux ELF.
9733 linux* | k*bsd*-gnu)
9734 version_type=linux
9735 need_lib_prefix=no
9736 need_version=no
9737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9738 soname_spec='${libname}${release}${shared_ext}$major'
9739 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9740 shlibpath_var=LD_LIBRARY_PATH
9741 shlibpath_overrides_runpath=no
9742 # Some binutils ld are patched to set DT_RUNPATH
9743 save_LDFLAGS=$LDFLAGS
9744 save_libdir=$libdir
9745 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9746 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9747 cat >conftest.$ac_ext <<_ACEOF
9748 /* confdefs.h. */
9749 _ACEOF
9750 cat confdefs.h >>conftest.$ac_ext
9751 cat >>conftest.$ac_ext <<_ACEOF
9752 /* end confdefs.h. */
9753
9754 int
9755 main ()
9756 {
9757
9758 ;
9759 return 0;
9760 }
9761 _ACEOF
9762 rm -f conftest.$ac_objext conftest$ac_exeext
9763 if { (ac_try="$ac_link"
9764 case "(($ac_try" in
9765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9766 *) ac_try_echo=$ac_try;;
9767 esac
9768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9769 $as_echo "$ac_try_echo") >&5
9770 (eval "$ac_link") 2>conftest.er1
9771 ac_status=$?
9772 grep -v '^ *+' conftest.er1 >conftest.err
9773 rm -f conftest.er1
9774 cat conftest.err >&5
9775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9776 (exit $ac_status); } && {
9777 test -z "$ac_c_werror_flag" ||
9778 test ! -s conftest.err
9779 } && test -s conftest$ac_exeext && {
9780 test "$cross_compiling" = yes ||
9781 $as_test_x conftest$ac_exeext
9782 }; then
9783 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9784 shlibpath_overrides_runpath=yes
9785 fi
9786
9787 else
9788 $as_echo "$as_me: failed program was:" >&5
9789 sed 's/^/| /' conftest.$ac_ext >&5
9790
9791
9792 fi
9793
9794 rm -rf conftest.dSYM
9795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9796 conftest$ac_exeext conftest.$ac_ext
9797 LDFLAGS=$save_LDFLAGS
9798 libdir=$save_libdir
9799
9800 # This implies no fast_install, which is unacceptable.
9801 # Some rework will be needed to allow for fast_install
9802 # before this can be enabled.
9803 hardcode_into_libs=yes
9804
9805 # Add ABI-specific directories to the system library path.
9806 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
9807
9808 # Append ld.so.conf contents to the search path
9809 if test -f /etc/ld.so.conf; then
9810 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9811 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9812 fi
9813
9814 # We used to test for /lib/ld.so.1 and disable shared libraries on
9815 # powerpc, because MkLinux only supported shared libraries with the
9816 # GNU dynamic linker. Since this was broken with cross compilers,
9817 # most powerpc-linux boxes support dynamic linking these days and
9818 # people can always --disable-shared, the test was removed, and we
9819 # assume the GNU/Linux dynamic linker is in use.
9820 dynamic_linker='GNU/Linux ld.so'
9821 ;;
9822
9823 netbsd*)
9824 version_type=sunos
9825 need_lib_prefix=no
9826 need_version=no
9827 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9829 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9830 dynamic_linker='NetBSD (a.out) ld.so'
9831 else
9832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9833 soname_spec='${libname}${release}${shared_ext}$major'
9834 dynamic_linker='NetBSD ld.elf_so'
9835 fi
9836 shlibpath_var=LD_LIBRARY_PATH
9837 shlibpath_overrides_runpath=yes
9838 hardcode_into_libs=yes
9839 ;;
9840
9841 newsos6)
9842 version_type=linux
9843 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9844 shlibpath_var=LD_LIBRARY_PATH
9845 shlibpath_overrides_runpath=yes
9846 ;;
9847
9848 *nto* | *qnx*)
9849 version_type=qnx
9850 need_lib_prefix=no
9851 need_version=no
9852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9853 soname_spec='${libname}${release}${shared_ext}$major'
9854 shlibpath_var=LD_LIBRARY_PATH
9855 shlibpath_overrides_runpath=no
9856 hardcode_into_libs=yes
9857 dynamic_linker='ldqnx.so'
9858 ;;
9859
9860 openbsd*)
9861 version_type=sunos
9862 sys_lib_dlsearch_path_spec="/usr/lib"
9863 need_lib_prefix=no
9864 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9865 case $host_os in
9866 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9867 *) need_version=no ;;
9868 esac
9869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9870 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9871 shlibpath_var=LD_LIBRARY_PATH
9872 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9873 case $host_os in
9874 openbsd2.[89] | openbsd2.[89].*)
9875 shlibpath_overrides_runpath=no
9876 ;;
9877 *)
9878 shlibpath_overrides_runpath=yes
9879 ;;
9880 esac
9881 else
9882 shlibpath_overrides_runpath=yes
9883 fi
9884 ;;
9885
9886 os2*)
9887 libname_spec='$name'
9888 shrext_cmds=".dll"
9889 need_lib_prefix=no
9890 library_names_spec='$libname${shared_ext} $libname.a'
9891 dynamic_linker='OS/2 ld.exe'
9892 shlibpath_var=LIBPATH
9893 ;;
9894
9895 osf3* | osf4* | osf5*)
9896 version_type=osf
9897 need_lib_prefix=no
9898 need_version=no
9899 soname_spec='${libname}${release}${shared_ext}$major'
9900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9901 shlibpath_var=LD_LIBRARY_PATH
9902 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9903 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9904 ;;
9905
9906 rdos*)
9907 dynamic_linker=no
9908 ;;
9909
9910 solaris*)
9911 version_type=linux
9912 need_lib_prefix=no
9913 need_version=no
9914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9915 soname_spec='${libname}${release}${shared_ext}$major'
9916 shlibpath_var=LD_LIBRARY_PATH
9917 shlibpath_overrides_runpath=yes
9918 hardcode_into_libs=yes
9919 # ldd complains unless libraries are executable
9920 postinstall_cmds='chmod +x $lib'
9921 ;;
9922
9923 sunos4*)
9924 version_type=sunos
9925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9926 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9927 shlibpath_var=LD_LIBRARY_PATH
9928 shlibpath_overrides_runpath=yes
9929 if test "$with_gnu_ld" = yes; then
9930 need_lib_prefix=no
9931 fi
9932 need_version=yes
9933 ;;
9934
9935 sysv4 | sysv4.3*)
9936 version_type=linux
9937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9938 soname_spec='${libname}${release}${shared_ext}$major'
9939 shlibpath_var=LD_LIBRARY_PATH
9940 case $host_vendor in
9941 sni)
9942 shlibpath_overrides_runpath=no
9943 need_lib_prefix=no
9944 runpath_var=LD_RUN_PATH
9945 ;;
9946 siemens)
9947 need_lib_prefix=no
9948 ;;
9949 motorola)
9950 need_lib_prefix=no
9951 need_version=no
9952 shlibpath_overrides_runpath=no
9953 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9954 ;;
9955 esac
9956 ;;
9957
9958 sysv4*MP*)
9959 if test -d /usr/nec ;then
9960 version_type=linux
9961 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9962 soname_spec='$libname${shared_ext}.$major'
9963 shlibpath_var=LD_LIBRARY_PATH
9964 fi
9965 ;;
9966
9967 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9968 version_type=freebsd-elf
9969 need_lib_prefix=no
9970 need_version=no
9971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9972 soname_spec='${libname}${release}${shared_ext}$major'
9973 shlibpath_var=LD_LIBRARY_PATH
9974 shlibpath_overrides_runpath=yes
9975 hardcode_into_libs=yes
9976 if test "$with_gnu_ld" = yes; then
9977 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9978 else
9979 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9980 case $host_os in
9981 sco3.2v5*)
9982 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9983 ;;
9984 esac
9985 fi
9986 sys_lib_dlsearch_path_spec='/usr/lib'
9987 ;;
9988
9989 tpf*)
9990 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9991 version_type=linux
9992 need_lib_prefix=no
9993 need_version=no
9994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9995 shlibpath_var=LD_LIBRARY_PATH
9996 shlibpath_overrides_runpath=no
9997 hardcode_into_libs=yes
9998 ;;
9999
10000 uts4*)
10001 version_type=linux
10002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10003 soname_spec='${libname}${release}${shared_ext}$major'
10004 shlibpath_var=LD_LIBRARY_PATH
10005 ;;
10006
10007 *)
10008 dynamic_linker=no
10009 ;;
10010 esac
10011 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10012 $as_echo "$dynamic_linker" >&6; }
10013 test "$dynamic_linker" = no && can_build_shared=no
10014
10015 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10016 if test "$GCC" = yes; then
10017 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10018 fi
10019
10020 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10021 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10022 fi
10023 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10024 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10025 fi
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10114 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10115 hardcode_action=
10116 if test -n "$hardcode_libdir_flag_spec" ||
10117 test -n "$runpath_var" ||
10118 test "X$hardcode_automatic" = "Xyes" ; then
10119
10120 # We can hardcode non-existent directories.
10121 if test "$hardcode_direct" != no &&
10122 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10123 # have to relink, otherwise we might link with an installed library
10124 # when we should be linking with a yet-to-be-installed one
10125 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10126 test "$hardcode_minus_L" != no; then
10127 # Linking always hardcodes the temporary library directory.
10128 hardcode_action=relink
10129 else
10130 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10131 hardcode_action=immediate
10132 fi
10133 else
10134 # We cannot hardcode anything, or else we can only hardcode existing
10135 # directories.
10136 hardcode_action=unsupported
10137 fi
10138 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10139 $as_echo "$hardcode_action" >&6; }
10140
10141 if test "$hardcode_action" = relink ||
10142 test "$inherit_rpath" = yes; then
10143 # Fast installation is not supported
10144 enable_fast_install=no
10145 elif test "$shlibpath_overrides_runpath" = yes ||
10146 test "$enable_shared" = no; then
10147 # Fast installation is not necessary
10148 enable_fast_install=needless
10149 fi
10150
10151
10152
10153
10154
10155
10156 if test "x$enable_dlopen" != xyes; then
10157 enable_dlopen=unknown
10158 enable_dlopen_self=unknown
10159 enable_dlopen_self_static=unknown
10160 else
10161 lt_cv_dlopen=no
10162 lt_cv_dlopen_libs=
10163
10164 case $host_os in
10165 beos*)
10166 lt_cv_dlopen="load_add_on"
10167 lt_cv_dlopen_libs=
10168 lt_cv_dlopen_self=yes
10169 ;;
10170
10171 mingw* | pw32* | cegcc*)
10172 lt_cv_dlopen="LoadLibrary"
10173 lt_cv_dlopen_libs=
10174 ;;
10175
10176 cygwin*)
10177 lt_cv_dlopen="dlopen"
10178 lt_cv_dlopen_libs=
10179 ;;
10180
10181 darwin*)
10182 # if libdl is installed we need to link against it
10183 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10184 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10185 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10186 $as_echo_n "(cached) " >&6
10187 else
10188 ac_check_lib_save_LIBS=$LIBS
10189 LIBS="-ldl $LIBS"
10190 cat >conftest.$ac_ext <<_ACEOF
10191 /* confdefs.h. */
10192 _ACEOF
10193 cat confdefs.h >>conftest.$ac_ext
10194 cat >>conftest.$ac_ext <<_ACEOF
10195 /* end confdefs.h. */
10196
10197 /* Override any GCC internal prototype to avoid an error.
10198 Use char because int might match the return type of a GCC
10199 builtin and then its argument prototype would still apply. */
10200 #ifdef __cplusplus
10201 extern "C"
10202 #endif
10203 char dlopen ();
10204 int
10205 main ()
10206 {
10207 return dlopen ();
10208 ;
10209 return 0;
10210 }
10211 _ACEOF
10212 rm -f conftest.$ac_objext conftest$ac_exeext
10213 if { (ac_try="$ac_link"
10214 case "(($ac_try" in
10215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10216 *) ac_try_echo=$ac_try;;
10217 esac
10218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10219 $as_echo "$ac_try_echo") >&5
10220 (eval "$ac_link") 2>conftest.er1
10221 ac_status=$?
10222 grep -v '^ *+' conftest.er1 >conftest.err
10223 rm -f conftest.er1
10224 cat conftest.err >&5
10225 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); } && {
10227 test -z "$ac_c_werror_flag" ||
10228 test ! -s conftest.err
10229 } && test -s conftest$ac_exeext && {
10230 test "$cross_compiling" = yes ||
10231 $as_test_x conftest$ac_exeext
10232 }; then
10233 ac_cv_lib_dl_dlopen=yes
10234 else
10235 $as_echo "$as_me: failed program was:" >&5
10236 sed 's/^/| /' conftest.$ac_ext >&5
10237
10238 ac_cv_lib_dl_dlopen=no
10239 fi
10240
10241 rm -rf conftest.dSYM
10242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10243 conftest$ac_exeext conftest.$ac_ext
10244 LIBS=$ac_check_lib_save_LIBS
10245 fi
10246 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10247 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10248 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10249 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10250 else
10251
10252 lt_cv_dlopen="dyld"
10253 lt_cv_dlopen_libs=
10254 lt_cv_dlopen_self=yes
10255
10256 fi
10257
10258 ;;
10259
10260 *)
10261 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10262 $as_echo_n "checking for shl_load... " >&6; }
10263 if test "${ac_cv_func_shl_load+set}" = set; then
10264 $as_echo_n "(cached) " >&6
10265 else
10266 cat >conftest.$ac_ext <<_ACEOF
10267 /* confdefs.h. */
10268 _ACEOF
10269 cat confdefs.h >>conftest.$ac_ext
10270 cat >>conftest.$ac_ext <<_ACEOF
10271 /* end confdefs.h. */
10272 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10274 #define shl_load innocuous_shl_load
10275
10276 /* System header to define __stub macros and hopefully few prototypes,
10277 which can conflict with char shl_load (); below.
10278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10279 <limits.h> exists even on freestanding compilers. */
10280
10281 #ifdef __STDC__
10282 # include <limits.h>
10283 #else
10284 # include <assert.h>
10285 #endif
10286
10287 #undef shl_load
10288
10289 /* Override any GCC internal prototype to avoid an error.
10290 Use char because int might match the return type of a GCC
10291 builtin and then its argument prototype would still apply. */
10292 #ifdef __cplusplus
10293 extern "C"
10294 #endif
10295 char shl_load ();
10296 /* The GNU C library defines this for functions which it implements
10297 to always fail with ENOSYS. Some functions are actually named
10298 something starting with __ and the normal name is an alias. */
10299 #if defined __stub_shl_load || defined __stub___shl_load
10300 choke me
10301 #endif
10302
10303 int
10304 main ()
10305 {
10306 return shl_load ();
10307 ;
10308 return 0;
10309 }
10310 _ACEOF
10311 rm -f conftest.$ac_objext conftest$ac_exeext
10312 if { (ac_try="$ac_link"
10313 case "(($ac_try" in
10314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10315 *) ac_try_echo=$ac_try;;
10316 esac
10317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10318 $as_echo "$ac_try_echo") >&5
10319 (eval "$ac_link") 2>conftest.er1
10320 ac_status=$?
10321 grep -v '^ *+' conftest.er1 >conftest.err
10322 rm -f conftest.er1
10323 cat conftest.err >&5
10324 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10325 (exit $ac_status); } && {
10326 test -z "$ac_c_werror_flag" ||
10327 test ! -s conftest.err
10328 } && test -s conftest$ac_exeext && {
10329 test "$cross_compiling" = yes ||
10330 $as_test_x conftest$ac_exeext
10331 }; then
10332 ac_cv_func_shl_load=yes
10333 else
10334 $as_echo "$as_me: failed program was:" >&5
10335 sed 's/^/| /' conftest.$ac_ext >&5
10336
10337 ac_cv_func_shl_load=no
10338 fi
10339
10340 rm -rf conftest.dSYM
10341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10342 conftest$ac_exeext conftest.$ac_ext
10343 fi
10344 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10345 $as_echo "$ac_cv_func_shl_load" >&6; }
10346 if test "x$ac_cv_func_shl_load" = x""yes; then
10347 lt_cv_dlopen="shl_load"
10348 else
10349 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10350 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10351 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10352 $as_echo_n "(cached) " >&6
10353 else
10354 ac_check_lib_save_LIBS=$LIBS
10355 LIBS="-ldld $LIBS"
10356 cat >conftest.$ac_ext <<_ACEOF
10357 /* confdefs.h. */
10358 _ACEOF
10359 cat confdefs.h >>conftest.$ac_ext
10360 cat >>conftest.$ac_ext <<_ACEOF
10361 /* end confdefs.h. */
10362
10363 /* Override any GCC internal prototype to avoid an error.
10364 Use char because int might match the return type of a GCC
10365 builtin and then its argument prototype would still apply. */
10366 #ifdef __cplusplus
10367 extern "C"
10368 #endif
10369 char shl_load ();
10370 int
10371 main ()
10372 {
10373 return shl_load ();
10374 ;
10375 return 0;
10376 }
10377 _ACEOF
10378 rm -f conftest.$ac_objext conftest$ac_exeext
10379 if { (ac_try="$ac_link"
10380 case "(($ac_try" in
10381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10382 *) ac_try_echo=$ac_try;;
10383 esac
10384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10385 $as_echo "$ac_try_echo") >&5
10386 (eval "$ac_link") 2>conftest.er1
10387 ac_status=$?
10388 grep -v '^ *+' conftest.er1 >conftest.err
10389 rm -f conftest.er1
10390 cat conftest.err >&5
10391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); } && {
10393 test -z "$ac_c_werror_flag" ||
10394 test ! -s conftest.err
10395 } && test -s conftest$ac_exeext && {
10396 test "$cross_compiling" = yes ||
10397 $as_test_x conftest$ac_exeext
10398 }; then
10399 ac_cv_lib_dld_shl_load=yes
10400 else
10401 $as_echo "$as_me: failed program was:" >&5
10402 sed 's/^/| /' conftest.$ac_ext >&5
10403
10404 ac_cv_lib_dld_shl_load=no
10405 fi
10406
10407 rm -rf conftest.dSYM
10408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10409 conftest$ac_exeext conftest.$ac_ext
10410 LIBS=$ac_check_lib_save_LIBS
10411 fi
10412 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10413 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10414 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10415 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10416 else
10417 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10418 $as_echo_n "checking for dlopen... " >&6; }
10419 if test "${ac_cv_func_dlopen+set}" = set; then
10420 $as_echo_n "(cached) " >&6
10421 else
10422 cat >conftest.$ac_ext <<_ACEOF
10423 /* confdefs.h. */
10424 _ACEOF
10425 cat confdefs.h >>conftest.$ac_ext
10426 cat >>conftest.$ac_ext <<_ACEOF
10427 /* end confdefs.h. */
10428 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10430 #define dlopen innocuous_dlopen
10431
10432 /* System header to define __stub macros and hopefully few prototypes,
10433 which can conflict with char dlopen (); below.
10434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10435 <limits.h> exists even on freestanding compilers. */
10436
10437 #ifdef __STDC__
10438 # include <limits.h>
10439 #else
10440 # include <assert.h>
10441 #endif
10442
10443 #undef dlopen
10444
10445 /* Override any GCC internal prototype to avoid an error.
10446 Use char because int might match the return type of a GCC
10447 builtin and then its argument prototype would still apply. */
10448 #ifdef __cplusplus
10449 extern "C"
10450 #endif
10451 char dlopen ();
10452 /* The GNU C library defines this for functions which it implements
10453 to always fail with ENOSYS. Some functions are actually named
10454 something starting with __ and the normal name is an alias. */
10455 #if defined __stub_dlopen || defined __stub___dlopen
10456 choke me
10457 #endif
10458
10459 int
10460 main ()
10461 {
10462 return dlopen ();
10463 ;
10464 return 0;
10465 }
10466 _ACEOF
10467 rm -f conftest.$ac_objext conftest$ac_exeext
10468 if { (ac_try="$ac_link"
10469 case "(($ac_try" in
10470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10471 *) ac_try_echo=$ac_try;;
10472 esac
10473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10474 $as_echo "$ac_try_echo") >&5
10475 (eval "$ac_link") 2>conftest.er1
10476 ac_status=$?
10477 grep -v '^ *+' conftest.er1 >conftest.err
10478 rm -f conftest.er1
10479 cat conftest.err >&5
10480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10481 (exit $ac_status); } && {
10482 test -z "$ac_c_werror_flag" ||
10483 test ! -s conftest.err
10484 } && test -s conftest$ac_exeext && {
10485 test "$cross_compiling" = yes ||
10486 $as_test_x conftest$ac_exeext
10487 }; then
10488 ac_cv_func_dlopen=yes
10489 else
10490 $as_echo "$as_me: failed program was:" >&5
10491 sed 's/^/| /' conftest.$ac_ext >&5
10492
10493 ac_cv_func_dlopen=no
10494 fi
10495
10496 rm -rf conftest.dSYM
10497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10498 conftest$ac_exeext conftest.$ac_ext
10499 fi
10500 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10501 $as_echo "$ac_cv_func_dlopen" >&6; }
10502 if test "x$ac_cv_func_dlopen" = x""yes; then
10503 lt_cv_dlopen="dlopen"
10504 else
10505 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10506 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10507 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10508 $as_echo_n "(cached) " >&6
10509 else
10510 ac_check_lib_save_LIBS=$LIBS
10511 LIBS="-ldl $LIBS"
10512 cat >conftest.$ac_ext <<_ACEOF
10513 /* confdefs.h. */
10514 _ACEOF
10515 cat confdefs.h >>conftest.$ac_ext
10516 cat >>conftest.$ac_ext <<_ACEOF
10517 /* end confdefs.h. */
10518
10519 /* Override any GCC internal prototype to avoid an error.
10520 Use char because int might match the return type of a GCC
10521 builtin and then its argument prototype would still apply. */
10522 #ifdef __cplusplus
10523 extern "C"
10524 #endif
10525 char dlopen ();
10526 int
10527 main ()
10528 {
10529 return dlopen ();
10530 ;
10531 return 0;
10532 }
10533 _ACEOF
10534 rm -f conftest.$ac_objext conftest$ac_exeext
10535 if { (ac_try="$ac_link"
10536 case "(($ac_try" in
10537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10538 *) ac_try_echo=$ac_try;;
10539 esac
10540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10541 $as_echo "$ac_try_echo") >&5
10542 (eval "$ac_link") 2>conftest.er1
10543 ac_status=$?
10544 grep -v '^ *+' conftest.er1 >conftest.err
10545 rm -f conftest.er1
10546 cat conftest.err >&5
10547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548 (exit $ac_status); } && {
10549 test -z "$ac_c_werror_flag" ||
10550 test ! -s conftest.err
10551 } && test -s conftest$ac_exeext && {
10552 test "$cross_compiling" = yes ||
10553 $as_test_x conftest$ac_exeext
10554 }; then
10555 ac_cv_lib_dl_dlopen=yes
10556 else
10557 $as_echo "$as_me: failed program was:" >&5
10558 sed 's/^/| /' conftest.$ac_ext >&5
10559
10560 ac_cv_lib_dl_dlopen=no
10561 fi
10562
10563 rm -rf conftest.dSYM
10564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10565 conftest$ac_exeext conftest.$ac_ext
10566 LIBS=$ac_check_lib_save_LIBS
10567 fi
10568 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10569 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10570 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10571 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10572 else
10573 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10574 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10575 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10576 $as_echo_n "(cached) " >&6
10577 else
10578 ac_check_lib_save_LIBS=$LIBS
10579 LIBS="-lsvld $LIBS"
10580 cat >conftest.$ac_ext <<_ACEOF
10581 /* confdefs.h. */
10582 _ACEOF
10583 cat confdefs.h >>conftest.$ac_ext
10584 cat >>conftest.$ac_ext <<_ACEOF
10585 /* end confdefs.h. */
10586
10587 /* Override any GCC internal prototype to avoid an error.
10588 Use char because int might match the return type of a GCC
10589 builtin and then its argument prototype would still apply. */
10590 #ifdef __cplusplus
10591 extern "C"
10592 #endif
10593 char dlopen ();
10594 int
10595 main ()
10596 {
10597 return dlopen ();
10598 ;
10599 return 0;
10600 }
10601 _ACEOF
10602 rm -f conftest.$ac_objext conftest$ac_exeext
10603 if { (ac_try="$ac_link"
10604 case "(($ac_try" in
10605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10606 *) ac_try_echo=$ac_try;;
10607 esac
10608 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10609 $as_echo "$ac_try_echo") >&5
10610 (eval "$ac_link") 2>conftest.er1
10611 ac_status=$?
10612 grep -v '^ *+' conftest.er1 >conftest.err
10613 rm -f conftest.er1
10614 cat conftest.err >&5
10615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); } && {
10617 test -z "$ac_c_werror_flag" ||
10618 test ! -s conftest.err
10619 } && test -s conftest$ac_exeext && {
10620 test "$cross_compiling" = yes ||
10621 $as_test_x conftest$ac_exeext
10622 }; then
10623 ac_cv_lib_svld_dlopen=yes
10624 else
10625 $as_echo "$as_me: failed program was:" >&5
10626 sed 's/^/| /' conftest.$ac_ext >&5
10627
10628 ac_cv_lib_svld_dlopen=no
10629 fi
10630
10631 rm -rf conftest.dSYM
10632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10633 conftest$ac_exeext conftest.$ac_ext
10634 LIBS=$ac_check_lib_save_LIBS
10635 fi
10636 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10637 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10638 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10639 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10640 else
10641 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10642 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10643 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10644 $as_echo_n "(cached) " >&6
10645 else
10646 ac_check_lib_save_LIBS=$LIBS
10647 LIBS="-ldld $LIBS"
10648 cat >conftest.$ac_ext <<_ACEOF
10649 /* confdefs.h. */
10650 _ACEOF
10651 cat confdefs.h >>conftest.$ac_ext
10652 cat >>conftest.$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10654
10655 /* Override any GCC internal prototype to avoid an error.
10656 Use char because int might match the return type of a GCC
10657 builtin and then its argument prototype would still apply. */
10658 #ifdef __cplusplus
10659 extern "C"
10660 #endif
10661 char dld_link ();
10662 int
10663 main ()
10664 {
10665 return dld_link ();
10666 ;
10667 return 0;
10668 }
10669 _ACEOF
10670 rm -f conftest.$ac_objext conftest$ac_exeext
10671 if { (ac_try="$ac_link"
10672 case "(($ac_try" in
10673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10674 *) ac_try_echo=$ac_try;;
10675 esac
10676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10677 $as_echo "$ac_try_echo") >&5
10678 (eval "$ac_link") 2>conftest.er1
10679 ac_status=$?
10680 grep -v '^ *+' conftest.er1 >conftest.err
10681 rm -f conftest.er1
10682 cat conftest.err >&5
10683 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); } && {
10685 test -z "$ac_c_werror_flag" ||
10686 test ! -s conftest.err
10687 } && test -s conftest$ac_exeext && {
10688 test "$cross_compiling" = yes ||
10689 $as_test_x conftest$ac_exeext
10690 }; then
10691 ac_cv_lib_dld_dld_link=yes
10692 else
10693 $as_echo "$as_me: failed program was:" >&5
10694 sed 's/^/| /' conftest.$ac_ext >&5
10695
10696 ac_cv_lib_dld_dld_link=no
10697 fi
10698
10699 rm -rf conftest.dSYM
10700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10701 conftest$ac_exeext conftest.$ac_ext
10702 LIBS=$ac_check_lib_save_LIBS
10703 fi
10704 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10705 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10706 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10707 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10708 fi
10709
10710
10711 fi
10712
10713
10714 fi
10715
10716
10717 fi
10718
10719
10720 fi
10721
10722
10723 fi
10724
10725 ;;
10726 esac
10727
10728 if test "x$lt_cv_dlopen" != xno; then
10729 enable_dlopen=yes
10730 else
10731 enable_dlopen=no
10732 fi
10733
10734 case $lt_cv_dlopen in
10735 dlopen)
10736 save_CPPFLAGS="$CPPFLAGS"
10737 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10738
10739 save_LDFLAGS="$LDFLAGS"
10740 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10741
10742 save_LIBS="$LIBS"
10743 LIBS="$lt_cv_dlopen_libs $LIBS"
10744
10745 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10746 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10747 if test "${lt_cv_dlopen_self+set}" = set; then
10748 $as_echo_n "(cached) " >&6
10749 else
10750 if test "$cross_compiling" = yes; then :
10751 lt_cv_dlopen_self=cross
10752 else
10753 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10754 lt_status=$lt_dlunknown
10755 cat > conftest.$ac_ext <<_LT_EOF
10756 #line 10756 "configure"
10757 #include "confdefs.h"
10758
10759 #if HAVE_DLFCN_H
10760 #include <dlfcn.h>
10761 #endif
10762
10763 #include <stdio.h>
10764
10765 #ifdef RTLD_GLOBAL
10766 # define LT_DLGLOBAL RTLD_GLOBAL
10767 #else
10768 # ifdef DL_GLOBAL
10769 # define LT_DLGLOBAL DL_GLOBAL
10770 # else
10771 # define LT_DLGLOBAL 0
10772 # endif
10773 #endif
10774
10775 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10776 find out it does not work in some platform. */
10777 #ifndef LT_DLLAZY_OR_NOW
10778 # ifdef RTLD_LAZY
10779 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10780 # else
10781 # ifdef DL_LAZY
10782 # define LT_DLLAZY_OR_NOW DL_LAZY
10783 # else
10784 # ifdef RTLD_NOW
10785 # define LT_DLLAZY_OR_NOW RTLD_NOW
10786 # else
10787 # ifdef DL_NOW
10788 # define LT_DLLAZY_OR_NOW DL_NOW
10789 # else
10790 # define LT_DLLAZY_OR_NOW 0
10791 # endif
10792 # endif
10793 # endif
10794 # endif
10795 #endif
10796
10797 void fnord() { int i=42;}
10798 int main ()
10799 {
10800 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10801 int status = $lt_dlunknown;
10802
10803 if (self)
10804 {
10805 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10806 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10807 /* dlclose (self); */
10808 }
10809 else
10810 puts (dlerror ());
10811
10812 return status;
10813 }
10814 _LT_EOF
10815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10816 (eval $ac_link) 2>&5
10817 ac_status=$?
10818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10820 (./conftest; exit; ) >&5 2>/dev/null
10821 lt_status=$?
10822 case x$lt_status in
10823 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10824 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10825 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10826 esac
10827 else :
10828 # compilation failed
10829 lt_cv_dlopen_self=no
10830 fi
10831 fi
10832 rm -fr conftest*
10833
10834
10835 fi
10836 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10837 $as_echo "$lt_cv_dlopen_self" >&6; }
10838
10839 if test "x$lt_cv_dlopen_self" = xyes; then
10840 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10841 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10842 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10843 if test "${lt_cv_dlopen_self_static+set}" = set; then
10844 $as_echo_n "(cached) " >&6
10845 else
10846 if test "$cross_compiling" = yes; then :
10847 lt_cv_dlopen_self_static=cross
10848 else
10849 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10850 lt_status=$lt_dlunknown
10851 cat > conftest.$ac_ext <<_LT_EOF
10852 #line 10852 "configure"
10853 #include "confdefs.h"
10854
10855 #if HAVE_DLFCN_H
10856 #include <dlfcn.h>
10857 #endif
10858
10859 #include <stdio.h>
10860
10861 #ifdef RTLD_GLOBAL
10862 # define LT_DLGLOBAL RTLD_GLOBAL
10863 #else
10864 # ifdef DL_GLOBAL
10865 # define LT_DLGLOBAL DL_GLOBAL
10866 # else
10867 # define LT_DLGLOBAL 0
10868 # endif
10869 #endif
10870
10871 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10872 find out it does not work in some platform. */
10873 #ifndef LT_DLLAZY_OR_NOW
10874 # ifdef RTLD_LAZY
10875 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10876 # else
10877 # ifdef DL_LAZY
10878 # define LT_DLLAZY_OR_NOW DL_LAZY
10879 # else
10880 # ifdef RTLD_NOW
10881 # define LT_DLLAZY_OR_NOW RTLD_NOW
10882 # else
10883 # ifdef DL_NOW
10884 # define LT_DLLAZY_OR_NOW DL_NOW
10885 # else
10886 # define LT_DLLAZY_OR_NOW 0
10887 # endif
10888 # endif
10889 # endif
10890 # endif
10891 #endif
10892
10893 void fnord() { int i=42;}
10894 int main ()
10895 {
10896 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10897 int status = $lt_dlunknown;
10898
10899 if (self)
10900 {
10901 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10902 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10903 /* dlclose (self); */
10904 }
10905 else
10906 puts (dlerror ());
10907
10908 return status;
10909 }
10910 _LT_EOF
10911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10912 (eval $ac_link) 2>&5
10913 ac_status=$?
10914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10915 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10916 (./conftest; exit; ) >&5 2>/dev/null
10917 lt_status=$?
10918 case x$lt_status in
10919 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10920 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10921 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10922 esac
10923 else :
10924 # compilation failed
10925 lt_cv_dlopen_self_static=no
10926 fi
10927 fi
10928 rm -fr conftest*
10929
10930
10931 fi
10932 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10933 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10934 fi
10935
10936 CPPFLAGS="$save_CPPFLAGS"
10937 LDFLAGS="$save_LDFLAGS"
10938 LIBS="$save_LIBS"
10939 ;;
10940 esac
10941
10942 case $lt_cv_dlopen_self in
10943 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10944 *) enable_dlopen_self=unknown ;;
10945 esac
10946
10947 case $lt_cv_dlopen_self_static in
10948 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10949 *) enable_dlopen_self_static=unknown ;;
10950 esac
10951 fi
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969 striplib=
10970 old_striplib=
10971 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10972 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10973 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10974 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10975 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10976 { $as_echo "$as_me:$LINENO: result: yes" >&5
10977 $as_echo "yes" >&6; }
10978 else
10979 # FIXME - insert some real tests, host_os isn't really good enough
10980 case $host_os in
10981 darwin*)
10982 if test -n "$STRIP" ; then
10983 striplib="$STRIP -x"
10984 old_striplib="$STRIP -S"
10985 { $as_echo "$as_me:$LINENO: result: yes" >&5
10986 $as_echo "yes" >&6; }
10987 else
10988 { $as_echo "$as_me:$LINENO: result: no" >&5
10989 $as_echo "no" >&6; }
10990 fi
10991 ;;
10992 *)
10993 { $as_echo "$as_me:$LINENO: result: no" >&5
10994 $as_echo "no" >&6; }
10995 ;;
10996 esac
10997 fi
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010 # Report which library types will actually be built
11011 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11012 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11013 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11014 $as_echo "$can_build_shared" >&6; }
11015
11016 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11017 $as_echo_n "checking whether to build shared libraries... " >&6; }
11018 test "$can_build_shared" = "no" && enable_shared=no
11019
11020 # On AIX, shared libraries and static libraries use the same namespace, and
11021 # are all built from PIC.
11022 case $host_os in
11023 aix3*)
11024 test "$enable_shared" = yes && enable_static=no
11025 if test -n "$RANLIB"; then
11026 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11027 postinstall_cmds='$RANLIB $lib'
11028 fi
11029 ;;
11030
11031 aix[4-9]*)
11032 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11033 test "$enable_shared" = yes && enable_static=no
11034 fi
11035 ;;
11036 esac
11037 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11038 $as_echo "$enable_shared" >&6; }
11039
11040 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11041 $as_echo_n "checking whether to build static libraries... " >&6; }
11042 # Make sure either enable_shared or enable_static is yes.
11043 test "$enable_shared" = yes || enable_static=yes
11044 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11045 $as_echo "$enable_static" >&6; }
11046
11047
11048
11049
11050 fi
11051 ac_ext=c
11052 ac_cpp='$CPP $CPPFLAGS'
11053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11056
11057 CC="$lt_save_CC"
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071 ac_config_commands="$ac_config_commands libtool"
11072
11073
11074
11075
11076 # Only expand once:
11077
11078
11079
11080 # Need to call this explicitly since the first call to PKG_CHECK_MODULES
11081 # is in an if statement, and later calls would break if it's skipped.
11082
11083
11084 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11085 if test -n "$ac_tool_prefix"; then
11086 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11087 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11088 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11089 $as_echo_n "checking for $ac_word... " >&6; }
11090 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11091 $as_echo_n "(cached) " >&6
11092 else
11093 case $PKG_CONFIG in
11094 [\\/]* | ?:[\\/]*)
11095 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11096 ;;
11097 *)
11098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11099 for as_dir in $PATH
11100 do
11101 IFS=$as_save_IFS
11102 test -z "$as_dir" && as_dir=.
11103 for ac_exec_ext in '' $ac_executable_extensions; do
11104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11105 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11106 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11107 break 2
11108 fi
11109 done
11110 done
11111 IFS=$as_save_IFS
11112
11113 ;;
11114 esac
11115 fi
11116 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11117 if test -n "$PKG_CONFIG"; then
11118 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11119 $as_echo "$PKG_CONFIG" >&6; }
11120 else
11121 { $as_echo "$as_me:$LINENO: result: no" >&5
11122 $as_echo "no" >&6; }
11123 fi
11124
11125
11126 fi
11127 if test -z "$ac_cv_path_PKG_CONFIG"; then
11128 ac_pt_PKG_CONFIG=$PKG_CONFIG
11129 # Extract the first word of "pkg-config", so it can be a program name with args.
11130 set dummy pkg-config; ac_word=$2
11131 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11132 $as_echo_n "checking for $ac_word... " >&6; }
11133 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
11134 $as_echo_n "(cached) " >&6
11135 else
11136 case $ac_pt_PKG_CONFIG in
11137 [\\/]* | ?:[\\/]*)
11138 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11139 ;;
11140 *)
11141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11142 for as_dir in $PATH
11143 do
11144 IFS=$as_save_IFS
11145 test -z "$as_dir" && as_dir=.
11146 for ac_exec_ext in '' $ac_executable_extensions; do
11147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11148 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11149 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11150 break 2
11151 fi
11152 done
11153 done
11154 IFS=$as_save_IFS
11155
11156 ;;
11157 esac
11158 fi
11159 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11160 if test -n "$ac_pt_PKG_CONFIG"; then
11161 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
11162 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11163 else
11164 { $as_echo "$as_me:$LINENO: result: no" >&5
11165 $as_echo "no" >&6; }
11166 fi
11167
11168 if test "x$ac_pt_PKG_CONFIG" = x; then
11169 PKG_CONFIG=""
11170 else
11171 case $cross_compiling:$ac_tool_warned in
11172 yes:)
11173 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11175 ac_tool_warned=yes ;;
11176 esac
11177 PKG_CONFIG=$ac_pt_PKG_CONFIG
11178 fi
11179 else
11180 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11181 fi
11182
11183 fi
11184 if test -n "$PKG_CONFIG"; then
11185 _pkg_min_version=0.9.0
11186 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
11187 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11188 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11189 { $as_echo "$as_me:$LINENO: result: yes" >&5
11190 $as_echo "yes" >&6; }
11191 else
11192 { $as_echo "$as_me:$LINENO: result: no" >&5
11193 $as_echo "no" >&6; }
11194 PKG_CONFIG=""
11195 fi
11196
11197 fi
11198
11199
11200
11201 if test "x$GCC" = xyes ; then
11202 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
11203 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
11204 -Wbad-function-cast"
11205 case `gcc -dumpversion` in
11206 3.4.* | 4.*)
11207 CWARNFLAGS+=" -Wold-style-definition -Wdeclaration-after-statement"
11208 ;;
11209 esac
11210 else
11211 { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
11212 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
11213 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
11214 $as_echo_n "(cached) " >&6
11215 else
11216 cat >conftest.$ac_ext <<_ACEOF
11217 /* confdefs.h. */
11218 _ACEOF
11219 cat confdefs.h >>conftest.$ac_ext
11220 cat >>conftest.$ac_ext <<_ACEOF
11221 /* end confdefs.h. */
11222 $ac_includes_default
11223 int
11224 main ()
11225 {
11226 #ifndef __SUNPRO_C
11227 (void) __SUNPRO_C;
11228 #endif
11229
11230 ;
11231 return 0;
11232 }
11233 _ACEOF
11234 rm -f conftest.$ac_objext
11235 if { (ac_try="$ac_compile"
11236 case "(($ac_try" in
11237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11238 *) ac_try_echo=$ac_try;;
11239 esac
11240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11241 $as_echo "$ac_try_echo") >&5
11242 (eval "$ac_compile") 2>conftest.er1
11243 ac_status=$?
11244 grep -v '^ *+' conftest.er1 >conftest.err
11245 rm -f conftest.er1
11246 cat conftest.err >&5
11247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); } && {
11249 test -z "$ac_c_werror_flag" ||
11250 test ! -s conftest.err
11251 } && test -s conftest.$ac_objext; then
11252 ac_cv_have_decl___SUNPRO_C=yes
11253 else
11254 $as_echo "$as_me: failed program was:" >&5
11255 sed 's/^/| /' conftest.$ac_ext >&5
11256
11257 ac_cv_have_decl___SUNPRO_C=no
11258 fi
11259
11260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11261 fi
11262 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
11263 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
11264 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
11265 SUNCC="yes"
11266 else
11267 SUNCC="no"
11268 fi
11269
11270 if test "x$SUNCC" = "xyes"; then
11271 CWARNFLAGS="-v"
11272 fi
11273 fi
11274
11275
11276
11277 #
11278 # fix libtool to set SONAME to libXaw.so.$major
11279 #
11280 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
11281 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
11282 if test "${ac_cv_path_SED+set}" = set; then
11283 $as_echo_n "(cached) " >&6
11284 else
11285 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
11286 for ac_i in 1 2 3 4 5 6 7; do
11287 ac_script="$ac_script$as_nl$ac_script"
11288 done
11289 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
11290 $as_unset ac_script || ac_script=
11291 if test -z "$SED"; then
11292 ac_path_SED_found=false
11293 # Loop through the user's path and test for each of PROGNAME-LIST
11294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11295 for as_dir in $PATH
11296 do
11297 IFS=$as_save_IFS
11298 test -z "$as_dir" && as_dir=.
11299 for ac_prog in sed gsed; do
11300 for ac_exec_ext in '' $ac_executable_extensions; do
11301 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
11302 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
11303 # Check for GNU ac_path_SED and select it if it is found.
11304 # Check for GNU $ac_path_SED
11305 case `"$ac_path_SED" --version 2>&1` in
11306 *GNU*)
11307 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
11308 *)
11309 ac_count=0
11310 $as_echo_n 0123456789 >"conftest.in"
11311 while :
11312 do
11313 cat "conftest.in" "conftest.in" >"conftest.tmp"
11314 mv "conftest.tmp" "conftest.in"
11315 cp "conftest.in" "conftest.nl"
11316 $as_echo '' >> "conftest.nl"
11317 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
11318 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11319 ac_count=`expr $ac_count + 1`
11320 if test $ac_count -gt ${ac_path_SED_max-0}; then
11321 # Best one so far, save it but keep looking for a better one
11322 ac_cv_path_SED="$ac_path_SED"
11323 ac_path_SED_max=$ac_count
11324 fi
11325 # 10*(2^10) chars as input seems more than enough
11326 test $ac_count -gt 10 && break
11327 done
11328 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11329 esac
11330
11331 $ac_path_SED_found && break 3
11332 done
11333 done
11334 done
11335 IFS=$as_save_IFS
11336 if test -z "$ac_cv_path_SED"; then
11337 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
11338 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
11339 { (exit 1); exit 1; }; }
11340 fi
11341 else
11342 ac_cv_path_SED=$SED
11343 fi
11344
11345 fi
11346 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
11347 $as_echo "$ac_cv_path_SED" >&6; }
11348 SED="$ac_cv_path_SED"
11349 rm -f conftest.sed
11350
11351 ac_config_commands="$ac_config_commands libtool_hack"
11352
11353
11354 # OSX/Win32 rules are different.
11355 platform_win32=no
11356 platform_darwin=no
11357 LIBEXT=so
11358 case $host_os in
11359 cygwin*|mingw*)
11360 platform_win32=yes
11361 ;;
11362 darwin*)
11363 LIBEXT=dylib
11364 platform_darwin=yes
11365 ;;
11366 esac
11367
11368 if test "x$platform_win32" = "xyes"; then
11369 PLATFORM_WIN32_TRUE=
11370 PLATFORM_WIN32_FALSE='#'
11371 else
11372 PLATFORM_WIN32_TRUE='#'
11373 PLATFORM_WIN32_FALSE=
11374 fi
11375
11376 if test "x$platform_darwin" = "xyes"; then
11377 PLATFORM_DARWIN_TRUE=
11378 PLATFORM_DARWIN_FALSE='#'
11379 else
11380 PLATFORM_DARWIN_TRUE='#'
11381 PLATFORM_DARWIN_FALSE=
11382 fi
11383
11384
11385 # Whether to build Xaw6
11386
11387 # Check whether --enable-xaw6 was given.
11388 if test "${enable_xaw6+set}" = set; then
11389 enableval=$enable_xaw6; build_v6=$enableval
11390 else
11391 build_v6=yes
11392 fi
11393
11394
11395 if test "x$build_v6" = xyes; then
11396
11397 pkg_failed=no
11398 { $as_echo "$as_me:$LINENO: checking for XAW6" >&5
11399 $as_echo_n "checking for XAW6... " >&6; }
11400
11401 if test -n "$XAW6_CFLAGS"; then
11402 pkg_cv_XAW6_CFLAGS="$XAW6_CFLAGS"
11403 elif test -n "$PKG_CONFIG"; then
11404 if test -n "$PKG_CONFIG" && \
11405 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\"") >&5
11406 ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
11407 ac_status=$?
11408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); }; then
11410 pkg_cv_XAW6_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu" 2>/dev/null`
11411 else
11412 pkg_failed=yes
11413 fi
11414 else
11415 pkg_failed=untried
11416 fi
11417 if test -n "$XAW6_LIBS"; then
11418 pkg_cv_XAW6_LIBS="$XAW6_LIBS"
11419 elif test -n "$PKG_CONFIG"; then
11420 if test -n "$PKG_CONFIG" && \
11421 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\"") >&5
11422 ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
11423 ac_status=$?
11424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); }; then
11426 pkg_cv_XAW6_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu" 2>/dev/null`
11427 else
11428 pkg_failed=yes
11429 fi
11430 else
11431 pkg_failed=untried
11432 fi
11433
11434
11435
11436 if test $pkg_failed = yes; then
11437
11438 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11439 _pkg_short_errors_supported=yes
11440 else
11441 _pkg_short_errors_supported=no
11442 fi
11443 if test $_pkg_short_errors_supported = yes; then
11444 XAW6_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11 xext xextproto xt xmu" 2>&1`
11445 else
11446 XAW6_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11 xext xextproto xt xmu" 2>&1`
11447 fi
11448 # Put the nasty error message in config.log where it belongs
11449 echo "$XAW6_PKG_ERRORS" >&5
11450
11451 { { $as_echo "$as_me:$LINENO: error: Package requirements (xproto x11 xext xextproto xt xmu) were not met:
11452
11453 $XAW6_PKG_ERRORS
11454
11455 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11456 installed software in a non-standard prefix.
11457
11458 Alternatively, you may set the environment variables XAW6_CFLAGS
11459 and XAW6_LIBS to avoid the need to call pkg-config.
11460 See the pkg-config man page for more details.
11461 " >&5
11462 $as_echo "$as_me: error: Package requirements (xproto x11 xext xextproto xt xmu) were not met:
11463
11464 $XAW6_PKG_ERRORS
11465
11466 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11467 installed software in a non-standard prefix.
11468
11469 Alternatively, you may set the environment variables XAW6_CFLAGS
11470 and XAW6_LIBS to avoid the need to call pkg-config.
11471 See the pkg-config man page for more details.
11472 " >&2;}
11473 { (exit 1); exit 1; }; }
11474 elif test $pkg_failed = untried; then
11475 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11477 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11478 is in your PATH or set the PKG_CONFIG environment variable to the full
11479 path to pkg-config.
11480
11481 Alternatively, you may set the environment variables XAW6_CFLAGS
11482 and XAW6_LIBS to avoid the need to call pkg-config.
11483 See the pkg-config man page for more details.
11484
11485 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11486 See \`config.log' for more details." >&5
11487 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
11488 is in your PATH or set the PKG_CONFIG environment variable to the full
11489 path to pkg-config.
11490
11491 Alternatively, you may set the environment variables XAW6_CFLAGS
11492 and XAW6_LIBS to avoid the need to call pkg-config.
11493 See the pkg-config man page for more details.
11494
11495 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11496 See \`config.log' for more details." >&2;}
11497 { (exit 1); exit 1; }; }; }
11498 else
11499 XAW6_CFLAGS=$pkg_cv_XAW6_CFLAGS
11500 XAW6_LIBS=$pkg_cv_XAW6_LIBS
11501 { $as_echo "$as_me:$LINENO: result: yes" >&5
11502 $as_echo "yes" >&6; }
11503 :
11504 fi
11505 XAW6_CFLAGS="$CWARNFLAGS $XAW6_CFLAGS"
11506
11507
11508 fi
11509
11510
11511 # Whether to build Xaw7
11512
11513 # Check whether --enable-xaw7 was given.
11514 if test "${enable_xaw7+set}" = set; then
11515 enableval=$enable_xaw7; build_v7=$enableval
11516 else
11517 build_v7=yes
11518 fi
11519
11520
11521 if test "x$build_v7" = xyes; then
11522
11523 pkg_failed=no
11524 { $as_echo "$as_me:$LINENO: checking for XAW7" >&5
11525 $as_echo_n "checking for XAW7... " >&6; }
11526
11527 if test -n "$XAW7_CFLAGS"; then
11528 pkg_cv_XAW7_CFLAGS="$XAW7_CFLAGS"
11529 elif test -n "$PKG_CONFIG"; then
11530 if test -n "$PKG_CONFIG" && \
11531 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\"") >&5
11532 ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
11533 ac_status=$?
11534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); }; then
11536 pkg_cv_XAW7_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
11537 else
11538 pkg_failed=yes
11539 fi
11540 else
11541 pkg_failed=untried
11542 fi
11543 if test -n "$XAW7_LIBS"; then
11544 pkg_cv_XAW7_LIBS="$XAW7_LIBS"
11545 elif test -n "$PKG_CONFIG"; then
11546 if test -n "$PKG_CONFIG" && \
11547 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\"") >&5
11548 ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
11549 ac_status=$?
11550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; then
11552 pkg_cv_XAW7_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
11553 else
11554 pkg_failed=yes
11555 fi
11556 else
11557 pkg_failed=untried
11558 fi
11559
11560
11561
11562 if test $pkg_failed = yes; then
11563
11564 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11565 _pkg_short_errors_supported=yes
11566 else
11567 _pkg_short_errors_supported=no
11568 fi
11569 if test $_pkg_short_errors_supported = yes; then
11570 XAW7_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11 xext xextproto xt xmu xpm" 2>&1`
11571 else
11572 XAW7_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11 xext xextproto xt xmu xpm" 2>&1`
11573 fi
11574 # Put the nasty error message in config.log where it belongs
11575 echo "$XAW7_PKG_ERRORS" >&5
11576
11577 { { $as_echo "$as_me:$LINENO: error: Package requirements (xproto x11 xext xextproto xt xmu xpm) were not met:
11578
11579 $XAW7_PKG_ERRORS
11580
11581 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11582 installed software in a non-standard prefix.
11583
11584 Alternatively, you may set the environment variables XAW7_CFLAGS
11585 and XAW7_LIBS to avoid the need to call pkg-config.
11586 See the pkg-config man page for more details.
11587 " >&5
11588 $as_echo "$as_me: error: Package requirements (xproto x11 xext xextproto xt xmu xpm) were not met:
11589
11590 $XAW7_PKG_ERRORS
11591
11592 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11593 installed software in a non-standard prefix.
11594
11595 Alternatively, you may set the environment variables XAW7_CFLAGS
11596 and XAW7_LIBS to avoid the need to call pkg-config.
11597 See the pkg-config man page for more details.
11598 " >&2;}
11599 { (exit 1); exit 1; }; }
11600 elif test $pkg_failed = untried; then
11601 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11603 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11604 is in your PATH or set the PKG_CONFIG environment variable to the full
11605 path to pkg-config.
11606
11607 Alternatively, you may set the environment variables XAW7_CFLAGS
11608 and XAW7_LIBS to avoid the need to call pkg-config.
11609 See the pkg-config man page for more details.
11610
11611 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11612 See \`config.log' for more details." >&5
11613 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
11614 is in your PATH or set the PKG_CONFIG environment variable to the full
11615 path to pkg-config.
11616
11617 Alternatively, you may set the environment variables XAW7_CFLAGS
11618 and XAW7_LIBS to avoid the need to call pkg-config.
11619 See the pkg-config man page for more details.
11620
11621 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11622 See \`config.log' for more details." >&2;}
11623 { (exit 1); exit 1; }; }; }
11624 else
11625 XAW7_CFLAGS=$pkg_cv_XAW7_CFLAGS
11626 XAW7_LIBS=$pkg_cv_XAW7_LIBS
11627 { $as_echo "$as_me:$LINENO: result: yes" >&5
11628 $as_echo "yes" >&6; }
11629 :
11630 fi
11631 XAW7_CFLAGS="$CWARNFLAGS $XAW7_CFLAGS"
11632
11633
11634 fi
11635
11636
11637 if test x$build_v6 = xyes; then
11638 BUILD_XAW6_TRUE=
11639 BUILD_XAW6_FALSE='#'
11640 else
11641 BUILD_XAW6_TRUE='#'
11642 BUILD_XAW6_FALSE=
11643 fi
11644
11645 if test x$build_v7 = xyes; then
11646 BUILD_XAW7_TRUE=
11647 BUILD_XAW7_FALSE='#'
11648 else
11649 BUILD_XAW7_TRUE='#'
11650 BUILD_XAW7_FALSE=
11651 fi
11652
11653
11654 # Checks for header files.
11655 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11656 $as_echo_n "checking for ANSI C header files... " >&6; }
11657 if test "${ac_cv_header_stdc+set}" = set; then
11658 $as_echo_n "(cached) " >&6
11659 else
11660 cat >conftest.$ac_ext <<_ACEOF
11661 /* confdefs.h. */
11662 _ACEOF
11663 cat confdefs.h >>conftest.$ac_ext
11664 cat >>conftest.$ac_ext <<_ACEOF
11665 /* end confdefs.h. */
11666 #include <stdlib.h>
11667 #include <stdarg.h>
11668 #include <string.h>
11669 #include <float.h>
11670
11671 int
11672 main ()
11673 {
11674
11675 ;
11676 return 0;
11677 }
11678 _ACEOF
11679 rm -f conftest.$ac_objext
11680 if { (ac_try="$ac_compile"
11681 case "(($ac_try" in
11682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11683 *) ac_try_echo=$ac_try;;
11684 esac
11685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11686 $as_echo "$ac_try_echo") >&5
11687 (eval "$ac_compile") 2>conftest.er1
11688 ac_status=$?
11689 grep -v '^ *+' conftest.er1 >conftest.err
11690 rm -f conftest.er1
11691 cat conftest.err >&5
11692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); } && {
11694 test -z "$ac_c_werror_flag" ||
11695 test ! -s conftest.err
11696 } && test -s conftest.$ac_objext; then
11697 ac_cv_header_stdc=yes
11698 else
11699 $as_echo "$as_me: failed program was:" >&5
11700 sed 's/^/| /' conftest.$ac_ext >&5
11701
11702 ac_cv_header_stdc=no
11703 fi
11704
11705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11706
11707 if test $ac_cv_header_stdc = yes; then
11708 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11709 cat >conftest.$ac_ext <<_ACEOF
11710 /* confdefs.h. */
11711 _ACEOF
11712 cat confdefs.h >>conftest.$ac_ext
11713 cat >>conftest.$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11715 #include <string.h>
11716
11717 _ACEOF
11718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11719 $EGREP "memchr" >/dev/null 2>&1; then
11720 :
11721 else
11722 ac_cv_header_stdc=no
11723 fi
11724 rm -f conftest*
11725
11726 fi
11727
11728 if test $ac_cv_header_stdc = yes; then
11729 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11730 cat >conftest.$ac_ext <<_ACEOF
11731 /* confdefs.h. */
11732 _ACEOF
11733 cat confdefs.h >>conftest.$ac_ext
11734 cat >>conftest.$ac_ext <<_ACEOF
11735 /* end confdefs.h. */
11736 #include <stdlib.h>
11737
11738 _ACEOF
11739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11740 $EGREP "free" >/dev/null 2>&1; then
11741 :
11742 else
11743 ac_cv_header_stdc=no
11744 fi
11745 rm -f conftest*
11746
11747 fi
11748
11749 if test $ac_cv_header_stdc = yes; then
11750 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11751 if test "$cross_compiling" = yes; then
11752 :
11753 else
11754 cat >conftest.$ac_ext <<_ACEOF
11755 /* confdefs.h. */
11756 _ACEOF
11757 cat confdefs.h >>conftest.$ac_ext
11758 cat >>conftest.$ac_ext <<_ACEOF
11759 /* end confdefs.h. */
11760 #include <ctype.h>
11761 #include <stdlib.h>
11762 #if ((' ' & 0x0FF) == 0x020)
11763 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11764 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11765 #else
11766 # define ISLOWER(c) \
11767 (('a' <= (c) && (c) <= 'i') \
11768 || ('j' <= (c) && (c) <= 'r') \
11769 || ('s' <= (c) && (c) <= 'z'))
11770 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11771 #endif
11772
11773 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11774 int
11775 main ()
11776 {
11777 int i;
11778 for (i = 0; i < 256; i++)
11779 if (XOR (islower (i), ISLOWER (i))
11780 || toupper (i) != TOUPPER (i))
11781 return 2;
11782 return 0;
11783 }
11784 _ACEOF
11785 rm -f conftest$ac_exeext
11786 if { (ac_try="$ac_link"
11787 case "(($ac_try" in
11788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11789 *) ac_try_echo=$ac_try;;
11790 esac
11791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11792 $as_echo "$ac_try_echo") >&5
11793 (eval "$ac_link") 2>&5
11794 ac_status=$?
11795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11797 { (case "(($ac_try" in
11798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11799 *) ac_try_echo=$ac_try;;
11800 esac
11801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11802 $as_echo "$ac_try_echo") >&5
11803 (eval "$ac_try") 2>&5
11804 ac_status=$?
11805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); }; }; then
11807 :
11808 else
11809 $as_echo "$as_me: program exited with status $ac_status" >&5
11810 $as_echo "$as_me: failed program was:" >&5
11811 sed 's/^/| /' conftest.$ac_ext >&5
11812
11813 ( exit $ac_status )
11814 ac_cv_header_stdc=no
11815 fi
11816 rm -rf conftest.dSYM
11817 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11818 fi
11819
11820
11821 fi
11822 fi
11823 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11824 $as_echo "$ac_cv_header_stdc" >&6; }
11825 if test $ac_cv_header_stdc = yes; then
11826
11827 cat >>confdefs.h <<\_ACEOF
11828 #define STDC_HEADERS 1
11829 _ACEOF
11830
11831 fi
11832
11833 if test "${ac_cv_header_wctype_h+set}" = set; then
11834 { $as_echo "$as_me:$LINENO: checking for wctype.h" >&5
11835 $as_echo_n "checking for wctype.h... " >&6; }
11836 if test "${ac_cv_header_wctype_h+set}" = set; then
11837 $as_echo_n "(cached) " >&6
11838 fi
11839 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_wctype_h" >&5
11840 $as_echo "$ac_cv_header_wctype_h" >&6; }
11841 else
11842 # Is the header compilable?
11843 { $as_echo "$as_me:$LINENO: checking wctype.h usability" >&5
11844 $as_echo_n "checking wctype.h usability... " >&6; }
11845 cat >conftest.$ac_ext <<_ACEOF
11846 /* confdefs.h. */
11847 _ACEOF
11848 cat confdefs.h >>conftest.$ac_ext
11849 cat >>conftest.$ac_ext <<_ACEOF
11850 /* end confdefs.h. */
11851 $ac_includes_default
11852 #include <wctype.h>
11853 _ACEOF
11854 rm -f conftest.$ac_objext
11855 if { (ac_try="$ac_compile"
11856 case "(($ac_try" in
11857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11858 *) ac_try_echo=$ac_try;;
11859 esac
11860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11861 $as_echo "$ac_try_echo") >&5
11862 (eval "$ac_compile") 2>conftest.er1
11863 ac_status=$?
11864 grep -v '^ *+' conftest.er1 >conftest.err
11865 rm -f conftest.er1
11866 cat conftest.err >&5
11867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); } && {
11869 test -z "$ac_c_werror_flag" ||
11870 test ! -s conftest.err
11871 } && test -s conftest.$ac_objext; then
11872 ac_header_compiler=yes
11873 else
11874 $as_echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.$ac_ext >&5
11876
11877 ac_header_compiler=no
11878 fi
11879
11880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11881 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11882 $as_echo "$ac_header_compiler" >&6; }
11883
11884 # Is the header present?
11885 { $as_echo "$as_me:$LINENO: checking wctype.h presence" >&5
11886 $as_echo_n "checking wctype.h presence... " >&6; }
11887 cat >conftest.$ac_ext <<_ACEOF
11888 /* confdefs.h. */
11889 _ACEOF
11890 cat confdefs.h >>conftest.$ac_ext
11891 cat >>conftest.$ac_ext <<_ACEOF
11892 /* end confdefs.h. */
11893 #include <wctype.h>
11894 _ACEOF
11895 if { (ac_try="$ac_cpp conftest.$ac_ext"
11896 case "(($ac_try" in
11897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11898 *) ac_try_echo=$ac_try;;
11899 esac
11900 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11901 $as_echo "$ac_try_echo") >&5
11902 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11903 ac_status=$?
11904 grep -v '^ *+' conftest.er1 >conftest.err
11905 rm -f conftest.er1
11906 cat conftest.err >&5
11907 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); } >/dev/null && {
11909 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11910 test ! -s conftest.err
11911 }; then
11912 ac_header_preproc=yes
11913 else
11914 $as_echo "$as_me: failed program was:" >&5
11915 sed 's/^/| /' conftest.$ac_ext >&5
11916
11917 ac_header_preproc=no
11918 fi
11919
11920 rm -f conftest.err conftest.$ac_ext
11921 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11922 $as_echo "$ac_header_preproc" >&6; }
11923
11924 # So? What about this header?
11925 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11926 yes:no: )
11927 { $as_echo "$as_me:$LINENO: WARNING: wctype.h: accepted by the compiler, rejected by the preprocessor!" >&5
11928 $as_echo "$as_me: WARNING: wctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11929 { $as_echo "$as_me:$LINENO: WARNING: wctype.h: proceeding with the compiler's result" >&5
11930 $as_echo "$as_me: WARNING: wctype.h: proceeding with the compiler's result" >&2;}
11931 ac_header_preproc=yes
11932 ;;
11933 no:yes:* )
11934 { $as_echo "$as_me:$LINENO: WARNING: wctype.h: present but cannot be compiled" >&5
11935 $as_echo "$as_me: WARNING: wctype.h: present but cannot be compiled" >&2;}
11936 { $as_echo "$as_me:$LINENO: WARNING: wctype.h: check for missing prerequisite headers?" >&5
11937 $as_echo "$as_me: WARNING: wctype.h: check for missing prerequisite headers?" >&2;}
11938 { $as_echo "$as_me:$LINENO: WARNING: wctype.h: see the Autoconf documentation" >&5
11939 $as_echo "$as_me: WARNING: wctype.h: see the Autoconf documentation" >&2;}
11940 { $as_echo "$as_me:$LINENO: WARNING: wctype.h: section \"Present But Cannot Be Compiled\"" >&5
11941 $as_echo "$as_me: WARNING: wctype.h: section \"Present But Cannot Be Compiled\"" >&2;}
11942 { $as_echo "$as_me:$LINENO: WARNING: wctype.h: proceeding with the preprocessor's result" >&5
11943 $as_echo "$as_me: WARNING: wctype.h: proceeding with the preprocessor's result" >&2;}
11944 { $as_echo "$as_me:$LINENO: WARNING: wctype.h: in the future, the compiler will take precedence" >&5
11945 $as_echo "$as_me: WARNING: wctype.h: in the future, the compiler will take precedence" >&2;}
11946 ( cat <<\_ASBOX
11947 ## ---------------------------------------------------------------------- ##
11948 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
11949 ## ---------------------------------------------------------------------- ##
11950 _ASBOX
11951 ) | sed "s/^/$as_me: WARNING: /" >&2
11952 ;;
11953 esac
11954 { $as_echo "$as_me:$LINENO: checking for wctype.h" >&5
11955 $as_echo_n "checking for wctype.h... " >&6; }
11956 if test "${ac_cv_header_wctype_h+set}" = set; then
11957 $as_echo_n "(cached) " >&6
11958 else
11959 ac_cv_header_wctype_h=$ac_header_preproc
11960 fi
11961 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_wctype_h" >&5
11962 $as_echo "$ac_cv_header_wctype_h" >&6; }
11963
11964 fi
11965 if test "x$ac_cv_header_wctype_h" = x""yes; then
11966
11967 cat >>confdefs.h <<\_ACEOF
11968 #define HAS_WCTYPE_H 1
11969 _ACEOF
11970
11971 fi
11972
11973
11974 if test "${ac_cv_header_wchar_h+set}" = set; then
11975 { $as_echo "$as_me:$LINENO: checking for wchar.h" >&5
11976 $as_echo_n "checking for wchar.h... " >&6; }
11977 if test "${ac_cv_header_wchar_h+set}" = set; then
11978 $as_echo_n "(cached) " >&6
11979 fi
11980 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
11981 $as_echo "$ac_cv_header_wchar_h" >&6; }
11982 else
11983 # Is the header compilable?
11984 { $as_echo "$as_me:$LINENO: checking wchar.h usability" >&5
11985 $as_echo_n "checking wchar.h usability... " >&6; }
11986 cat >conftest.$ac_ext <<_ACEOF
11987 /* confdefs.h. */
11988 _ACEOF
11989 cat confdefs.h >>conftest.$ac_ext
11990 cat >>conftest.$ac_ext <<_ACEOF
11991 /* end confdefs.h. */
11992 $ac_includes_default
11993 #include <wchar.h>
11994 _ACEOF
11995 rm -f conftest.$ac_objext
11996 if { (ac_try="$ac_compile"
11997 case "(($ac_try" in
11998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11999 *) ac_try_echo=$ac_try;;
12000 esac
12001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12002 $as_echo "$ac_try_echo") >&5
12003 (eval "$ac_compile") 2>conftest.er1
12004 ac_status=$?
12005 grep -v '^ *+' conftest.er1 >conftest.err
12006 rm -f conftest.er1
12007 cat conftest.err >&5
12008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); } && {
12010 test -z "$ac_c_werror_flag" ||
12011 test ! -s conftest.err
12012 } && test -s conftest.$ac_objext; then
12013 ac_header_compiler=yes
12014 else
12015 $as_echo "$as_me: failed program was:" >&5
12016 sed 's/^/| /' conftest.$ac_ext >&5
12017
12018 ac_header_compiler=no
12019 fi
12020
12021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12022 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12023 $as_echo "$ac_header_compiler" >&6; }
12024
12025 # Is the header present?
12026 { $as_echo "$as_me:$LINENO: checking wchar.h presence" >&5
12027 $as_echo_n "checking wchar.h presence... " >&6; }
12028 cat >conftest.$ac_ext <<_ACEOF
12029 /* confdefs.h. */
12030 _ACEOF
12031 cat confdefs.h >>conftest.$ac_ext
12032 cat >>conftest.$ac_ext <<_ACEOF
12033 /* end confdefs.h. */
12034 #include <wchar.h>
12035 _ACEOF
12036 if { (ac_try="$ac_cpp conftest.$ac_ext"
12037 case "(($ac_try" in
12038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12039 *) ac_try_echo=$ac_try;;
12040 esac
12041 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12042 $as_echo "$ac_try_echo") >&5
12043 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12044 ac_status=$?
12045 grep -v '^ *+' conftest.er1 >conftest.err
12046 rm -f conftest.er1
12047 cat conftest.err >&5
12048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 (exit $ac_status); } >/dev/null && {
12050 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12051 test ! -s conftest.err
12052 }; then
12053 ac_header_preproc=yes
12054 else
12055 $as_echo "$as_me: failed program was:" >&5
12056 sed 's/^/| /' conftest.$ac_ext >&5
12057
12058 ac_header_preproc=no
12059 fi
12060
12061 rm -f conftest.err conftest.$ac_ext
12062 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12063 $as_echo "$ac_header_preproc" >&6; }
12064
12065 # So? What about this header?
12066 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12067 yes:no: )
12068 { $as_echo "$as_me:$LINENO: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&5
12069 $as_echo "$as_me: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12070 { $as_echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the compiler's result" >&5
12071 $as_echo "$as_me: WARNING: wchar.h: proceeding with the compiler's result" >&2;}
12072 ac_header_preproc=yes
12073 ;;
12074 no:yes:* )
12075 { $as_echo "$as_me:$LINENO: WARNING: wchar.h: present but cannot be compiled" >&5
12076 $as_echo "$as_me: WARNING: wchar.h: present but cannot be compiled" >&2;}
12077 { $as_echo "$as_me:$LINENO: WARNING: wchar.h: check for missing prerequisite headers?" >&5
12078 $as_echo "$as_me: WARNING: wchar.h: check for missing prerequisite headers?" >&2;}
12079 { $as_echo "$as_me:$LINENO: WARNING: wchar.h: see the Autoconf documentation" >&5
12080 $as_echo "$as_me: WARNING: wchar.h: see the Autoconf documentation" >&2;}
12081 { $as_echo "$as_me:$LINENO: WARNING: wchar.h: section \"Present But Cannot Be Compiled\"" >&5
12082 $as_echo "$as_me: WARNING: wchar.h: section \"Present But Cannot Be Compiled\"" >&2;}
12083 { $as_echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the preprocessor's result" >&5
12084 $as_echo "$as_me: WARNING: wchar.h: proceeding with the preprocessor's result" >&2;}
12085 { $as_echo "$as_me:$LINENO: WARNING: wchar.h: in the future, the compiler will take precedence" >&5
12086 $as_echo "$as_me: WARNING: wchar.h: in the future, the compiler will take precedence" >&2;}
12087 ( cat <<\_ASBOX
12088 ## ---------------------------------------------------------------------- ##
12089 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
12090 ## ---------------------------------------------------------------------- ##
12091 _ASBOX
12092 ) | sed "s/^/$as_me: WARNING: /" >&2
12093 ;;
12094 esac
12095 { $as_echo "$as_me:$LINENO: checking for wchar.h" >&5
12096 $as_echo_n "checking for wchar.h... " >&6; }
12097 if test "${ac_cv_header_wchar_h+set}" = set; then
12098 $as_echo_n "(cached) " >&6
12099 else
12100 ac_cv_header_wchar_h=$ac_header_preproc
12101 fi
12102 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
12103 $as_echo "$ac_cv_header_wchar_h" >&6; }
12104
12105 fi
12106 if test "x$ac_cv_header_wchar_h" = x""yes; then
12107
12108 cat >>confdefs.h <<\_ACEOF
12109 #define HAS_WCHAR_H 1
12110 _ACEOF
12111
12112 fi
12113
12114
12115 if test "${ac_cv_header_widec_h+set}" = set; then
12116 { $as_echo "$as_me:$LINENO: checking for widec.h" >&5
12117 $as_echo_n "checking for widec.h... " >&6; }
12118 if test "${ac_cv_header_widec_h+set}" = set; then
12119 $as_echo_n "(cached) " >&6
12120 fi
12121 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
12122 $as_echo "$ac_cv_header_widec_h" >&6; }
12123 else
12124 # Is the header compilable?
12125 { $as_echo "$as_me:$LINENO: checking widec.h usability" >&5
12126 $as_echo_n "checking widec.h usability... " >&6; }
12127 cat >conftest.$ac_ext <<_ACEOF
12128 /* confdefs.h. */
12129 _ACEOF
12130 cat confdefs.h >>conftest.$ac_ext
12131 cat >>conftest.$ac_ext <<_ACEOF
12132 /* end confdefs.h. */
12133 $ac_includes_default
12134 #include <widec.h>
12135 _ACEOF
12136 rm -f conftest.$ac_objext
12137 if { (ac_try="$ac_compile"
12138 case "(($ac_try" in
12139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12140 *) ac_try_echo=$ac_try;;
12141 esac
12142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12143 $as_echo "$ac_try_echo") >&5
12144 (eval "$ac_compile") 2>conftest.er1
12145 ac_status=$?
12146 grep -v '^ *+' conftest.er1 >conftest.err
12147 rm -f conftest.er1
12148 cat conftest.err >&5
12149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); } && {
12151 test -z "$ac_c_werror_flag" ||
12152 test ! -s conftest.err
12153 } && test -s conftest.$ac_objext; then
12154 ac_header_compiler=yes
12155 else
12156 $as_echo "$as_me: failed program was:" >&5
12157 sed 's/^/| /' conftest.$ac_ext >&5
12158
12159 ac_header_compiler=no
12160 fi
12161
12162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12163 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12164 $as_echo "$ac_header_compiler" >&6; }
12165
12166 # Is the header present?
12167 { $as_echo "$as_me:$LINENO: checking widec.h presence" >&5
12168 $as_echo_n "checking widec.h presence... " >&6; }
12169 cat >conftest.$ac_ext <<_ACEOF
12170 /* confdefs.h. */
12171 _ACEOF
12172 cat confdefs.h >>conftest.$ac_ext
12173 cat >>conftest.$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12175 #include <widec.h>
12176 _ACEOF
12177 if { (ac_try="$ac_cpp conftest.$ac_ext"
12178 case "(($ac_try" in
12179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12180 *) ac_try_echo=$ac_try;;
12181 esac
12182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12183 $as_echo "$ac_try_echo") >&5
12184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12185 ac_status=$?
12186 grep -v '^ *+' conftest.er1 >conftest.err
12187 rm -f conftest.er1
12188 cat conftest.err >&5
12189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190 (exit $ac_status); } >/dev/null && {
12191 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12192 test ! -s conftest.err
12193 }; then
12194 ac_header_preproc=yes
12195 else
12196 $as_echo "$as_me: failed program was:" >&5
12197 sed 's/^/| /' conftest.$ac_ext >&5
12198
12199 ac_header_preproc=no
12200 fi
12201
12202 rm -f conftest.err conftest.$ac_ext
12203 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12204 $as_echo "$ac_header_preproc" >&6; }
12205
12206 # So? What about this header?
12207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12208 yes:no: )
12209 { $as_echo "$as_me:$LINENO: WARNING: widec.h: accepted by the compiler, rejected by the preprocessor!" >&5
12210 $as_echo "$as_me: WARNING: widec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12211 { $as_echo "$as_me:$LINENO: WARNING: widec.h: proceeding with the compiler's result" >&5
12212 $as_echo "$as_me: WARNING: widec.h: proceeding with the compiler's result" >&2;}
12213 ac_header_preproc=yes
12214 ;;
12215 no:yes:* )
12216 { $as_echo "$as_me:$LINENO: WARNING: widec.h: present but cannot be compiled" >&5
12217 $as_echo "$as_me: WARNING: widec.h: present but cannot be compiled" >&2;}
12218 { $as_echo "$as_me:$LINENO: WARNING: widec.h: check for missing prerequisite headers?" >&5
12219 $as_echo "$as_me: WARNING: widec.h: check for missing prerequisite headers?" >&2;}
12220 { $as_echo "$as_me:$LINENO: WARNING: widec.h: see the Autoconf documentation" >&5
12221 $as_echo "$as_me: WARNING: widec.h: see the Autoconf documentation" >&2;}
12222 { $as_echo "$as_me:$LINENO: WARNING: widec.h: section \"Present But Cannot Be Compiled\"" >&5
12223 $as_echo "$as_me: WARNING: widec.h: section \"Present But Cannot Be Compiled\"" >&2;}
12224 { $as_echo "$as_me:$LINENO: WARNING: widec.h: proceeding with the preprocessor's result" >&5
12225 $as_echo "$as_me: WARNING: widec.h: proceeding with the preprocessor's result" >&2;}
12226 { $as_echo "$as_me:$LINENO: WARNING: widec.h: in the future, the compiler will take precedence" >&5
12227 $as_echo "$as_me: WARNING: widec.h: in the future, the compiler will take precedence" >&2;}
12228 ( cat <<\_ASBOX
12229 ## ---------------------------------------------------------------------- ##
12230 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
12231 ## ---------------------------------------------------------------------- ##
12232 _ASBOX
12233 ) | sed "s/^/$as_me: WARNING: /" >&2
12234 ;;
12235 esac
12236 { $as_echo "$as_me:$LINENO: checking for widec.h" >&5
12237 $as_echo_n "checking for widec.h... " >&6; }
12238 if test "${ac_cv_header_widec_h+set}" = set; then
12239 $as_echo_n "(cached) " >&6
12240 else
12241 ac_cv_header_widec_h=$ac_header_preproc
12242 fi
12243 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
12244 $as_echo "$ac_cv_header_widec_h" >&6; }
12245
12246 fi
12247 if test "x$ac_cv_header_widec_h" = x""yes; then
12248 :
12249 else
12250
12251 cat >>confdefs.h <<\_ACEOF
12252 #define NO_WIDEC_H 1
12253 _ACEOF
12254
12255 fi
12256
12257
12258
12259 # Checks for functions
12260
12261 for ac_func in iswalnum
12262 do
12263 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12264 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12265 $as_echo_n "checking for $ac_func... " >&6; }
12266 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12267 $as_echo_n "(cached) " >&6
12268 else
12269 cat >conftest.$ac_ext <<_ACEOF
12270 /* confdefs.h. */
12271 _ACEOF
12272 cat confdefs.h >>conftest.$ac_ext
12273 cat >>conftest.$ac_ext <<_ACEOF
12274 /* end confdefs.h. */
12275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12277 #define $ac_func innocuous_$ac_func
12278
12279 /* System header to define __stub macros and hopefully few prototypes,
12280 which can conflict with char $ac_func (); below.
12281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12282 <limits.h> exists even on freestanding compilers. */
12283
12284 #ifdef __STDC__
12285 # include <limits.h>
12286 #else
12287 # include <assert.h>
12288 #endif
12289
12290 #undef $ac_func
12291
12292 /* Override any GCC internal prototype to avoid an error.
12293 Use char because int might match the return type of a GCC
12294 builtin and then its argument prototype would still apply. */
12295 #ifdef __cplusplus
12296 extern "C"
12297 #endif
12298 char $ac_func ();
12299 /* The GNU C library defines this for functions which it implements
12300 to always fail with ENOSYS. Some functions are actually named
12301 something starting with __ and the normal name is an alias. */
12302 #if defined __stub_$ac_func || defined __stub___$ac_func
12303 choke me
12304 #endif
12305
12306 int
12307 main ()
12308 {
12309 return $ac_func ();
12310 ;
12311 return 0;
12312 }
12313 _ACEOF
12314 rm -f conftest.$ac_objext conftest$ac_exeext
12315 if { (ac_try="$ac_link"
12316 case "(($ac_try" in
12317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12318 *) ac_try_echo=$ac_try;;
12319 esac
12320 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12321 $as_echo "$ac_try_echo") >&5
12322 (eval "$ac_link") 2>conftest.er1
12323 ac_status=$?
12324 grep -v '^ *+' conftest.er1 >conftest.err
12325 rm -f conftest.er1
12326 cat conftest.err >&5
12327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); } && {
12329 test -z "$ac_c_werror_flag" ||
12330 test ! -s conftest.err
12331 } && test -s conftest$ac_exeext && {
12332 test "$cross_compiling" = yes ||
12333 $as_test_x conftest$ac_exeext
12334 }; then
12335 eval "$as_ac_var=yes"
12336 else
12337 $as_echo "$as_me: failed program was:" >&5
12338 sed 's/^/| /' conftest.$ac_ext >&5
12339
12340 eval "$as_ac_var=no"
12341 fi
12342
12343 rm -rf conftest.dSYM
12344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12345 conftest$ac_exeext conftest.$ac_ext
12346 fi
12347 ac_res=`eval 'as_val=${'$as_ac_var'}
12348 $as_echo "$as_val"'`
12349 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12350 $as_echo "$ac_res" >&6; }
12351 as_val=`eval 'as_val=${'$as_ac_var'}
12352 $as_echo "$as_val"'`
12353 if test "x$as_val" = x""yes; then
12354 cat >>confdefs.h <<_ACEOF
12355 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12356 _ACEOF
12357
12358 fi
12359 done
12360
12361
12362
12363
12364
12365 if test x$APP_MAN_SUFFIX = x ; then
12366 APP_MAN_SUFFIX=1
12367 fi
12368 if test x$APP_MAN_DIR = x ; then
12369 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
12370 fi
12371
12372 if test x$LIB_MAN_SUFFIX = x ; then
12373 LIB_MAN_SUFFIX=3
12374 fi
12375 if test x$LIB_MAN_DIR = x ; then
12376 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
12377 fi
12378
12379 if test x$FILE_MAN_SUFFIX = x ; then
12380 case $host_os in
12381 solaris*) FILE_MAN_SUFFIX=4 ;;
12382 *) FILE_MAN_SUFFIX=5 ;;
12383 esac
12384 fi
12385 if test x$FILE_MAN_DIR = x ; then
12386 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
12387 fi
12388
12389 if test x$MISC_MAN_SUFFIX = x ; then
12390 case $host_os in
12391 solaris*) MISC_MAN_SUFFIX=5 ;;
12392 *) MISC_MAN_SUFFIX=7 ;;
12393 esac
12394 fi
12395 if test x$MISC_MAN_DIR = x ; then
12396 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
12397 fi
12398
12399 if test x$DRIVER_MAN_SUFFIX = x ; then
12400 case $host_os in
12401 solaris*) DRIVER_MAN_SUFFIX=7 ;;
12402 *) DRIVER_MAN_SUFFIX=4 ;;
12403 esac
12404 fi
12405 if test x$DRIVER_MAN_DIR = x ; then
12406 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
12407 fi
12408
12409 if test x$ADMIN_MAN_SUFFIX = x ; then
12410 case $host_os in
12411 solaris*) ADMIN_MAN_SUFFIX=1m ;;
12412 *) ADMIN_MAN_SUFFIX=8 ;;
12413 esac
12414 fi
12415 if test x$ADMIN_MAN_DIR = x ; then
12416 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
12417 fi
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435 # Check whether --with-release-version was given.
12436 if test "${with_release_version+set}" = set; then
12437 withval=$with_release_version; RELEASE_VERSION="$withval"
12438 else
12439 RELEASE_VERSION=""
12440 fi
12441
12442 if test "x$RELEASE_VERSION" != "x"; then
12443 PACKAGE="$PACKAGE-$RELEASE_VERSION"
12444 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
12445 { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
12446 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
12447 fi
12448
12449 cat >>confdefs.h <<_ACEOF
12450 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
12451 _ACEOF
12452
12453 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
12454 if test "x$PVM" = "x"; then
12455 PVM="0"
12456 fi
12457
12458 cat >>confdefs.h <<_ACEOF
12459 #define PACKAGE_VERSION_MINOR $PVM
12460 _ACEOF
12461
12462 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
12463 if test "x$PVP" = "x"; then
12464 PVP="0"
12465 fi
12466
12467 cat >>confdefs.h <<_ACEOF
12468 #define PACKAGE_VERSION_PATCHLEVEL $PVP
12469 _ACEOF
12470
12471
12472
12473 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
12474 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
12475 echo 'git directory not found: installing possibly empty changelog.' >&2)"
12476
12477 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
12478
12479
12480
12481 ac_config_files="$ac_config_files Makefile include/Makefile man/Makefile src/Makefile"
12482
12483 cat >confcache <<\_ACEOF
12484 # This file is a shell script that caches the results of configure
12485 # tests run on this system so they can be shared between configure
12486 # scripts and configure runs, see configure's option --config-cache.
12487 # It is not useful on other systems. If it contains results you don't
12488 # want to keep, you may remove or edit it.
12489 #
12490 # config.status only pays attention to the cache file if you give it
12491 # the --recheck option to rerun configure.
12492 #
12493 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12494 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12495 # following values.
12496
12497 _ACEOF
12498
12499 # The following way of writing the cache mishandles newlines in values,
12500 # but we know of no workaround that is simple, portable, and efficient.
12501 # So, we kill variables containing newlines.
12502 # Ultrix sh set writes to stderr and can't be redirected directly,
12503 # and sets the high bit in the cache file unless we assign to the vars.
12504 (
12505 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12506 eval ac_val=\$$ac_var
12507 case $ac_val in #(
12508 *${as_nl}*)
12509 case $ac_var in #(
12510 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12511 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12512 esac
12513 case $ac_var in #(
12514 _ | IFS | as_nl) ;; #(
12515 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12516 *) $as_unset $ac_var ;;
12517 esac ;;
12518 esac
12519 done
12520
12521 (set) 2>&1 |
12522 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12523 *${as_nl}ac_space=\ *)
12524 # `set' does not quote correctly, so add quotes (double-quote
12525 # substitution turns \\\\ into \\, and sed turns \\ into \).
12526 sed -n \
12527 "s/'/'\\\\''/g;
12528 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12529 ;; #(
12530 *)
12531 # `set' quotes correctly as required by POSIX, so do not add quotes.
12532 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12533 ;;
12534 esac |
12535 sort
12536 ) |
12537 sed '
12538 /^ac_cv_env_/b end
12539 t clear
12540 :clear
12541 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12542 t end
12543 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12544 :end' >>confcache
12545 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12546 if test -w "$cache_file"; then
12547 test "x$cache_file" != "x/dev/null" &&
12548 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12549 $as_echo "$as_me: updating cache $cache_file" >&6;}
12550 cat confcache >$cache_file
12551 else
12552 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12553 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12554 fi
12555 fi
12556 rm -f confcache
12557
12558 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12559 # Let make expand exec_prefix.
12560 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12561
12562 DEFS=-DHAVE_CONFIG_H
12563
12564 ac_libobjs=
12565 ac_ltlibobjs=
12566 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12567 # 1. Remove the extension, and $U if already installed.
12568 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12569 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12570 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12571 # will be set to the directory where LIBOBJS objects are built.
12572 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12573 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12574 done
12575 LIBOBJS=$ac_libobjs
12576
12577 LTLIBOBJS=$ac_ltlibobjs
12578
12579
12580 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12581 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12582 Usually this means the macro was only invoked conditionally." >&5
12583 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
12584 Usually this means the macro was only invoked conditionally." >&2;}
12585 { (exit 1); exit 1; }; }
12586 fi
12587 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12588 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12589 Usually this means the macro was only invoked conditionally." >&5
12590 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12591 Usually this means the macro was only invoked conditionally." >&2;}
12592 { (exit 1); exit 1; }; }
12593 fi
12594 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
12595 { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
12596 Usually this means the macro was only invoked conditionally." >&5
12597 $as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
12598 Usually this means the macro was only invoked conditionally." >&2;}
12599 { (exit 1); exit 1; }; }
12600 fi
12601 if test -z "${PLATFORM_DARWIN_TRUE}" && test -z "${PLATFORM_DARWIN_FALSE}"; then
12602 { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_DARWIN\" was never defined.
12603 Usually this means the macro was only invoked conditionally." >&5
12604 $as_echo "$as_me: error: conditional \"PLATFORM_DARWIN\" was never defined.
12605 Usually this means the macro was only invoked conditionally." >&2;}
12606 { (exit 1); exit 1; }; }
12607 fi
12608 if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
12609 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW6\" was never defined.
12610 Usually this means the macro was only invoked conditionally." >&5
12611 $as_echo "$as_me: error: conditional \"BUILD_XAW6\" was never defined.
12612 Usually this means the macro was only invoked conditionally." >&2;}
12613 { (exit 1); exit 1; }; }
12614 fi
12615 if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
12616 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW7\" was never defined.
12617 Usually this means the macro was only invoked conditionally." >&5
12618 $as_echo "$as_me: error: conditional \"BUILD_XAW7\" was never defined.
12619 Usually this means the macro was only invoked conditionally." >&2;}
12620 { (exit 1); exit 1; }; }
12621 fi
12622
12623 : ${CONFIG_STATUS=./config.status}
12624 ac_write_fail=0
12625 ac_clean_files_save=$ac_clean_files
12626 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12627 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12628 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12629 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12630 #! $SHELL
12631 # Generated by $as_me.
12632 # Run this file to recreate the current configuration.
12633 # Compiler output produced by configure, useful for debugging
12634 # configure, is in config.log if it exists.
12635
12636 debug=false
12637 ac_cs_recheck=false
12638 ac_cs_silent=false
12639 SHELL=\${CONFIG_SHELL-$SHELL}
12640 _ACEOF
12641
12642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12643 ## --------------------- ##
12644 ## M4sh Initialization. ##
12645 ## --------------------- ##
12646
12647 # Be more Bourne compatible
12648 DUALCASE=1; export DUALCASE # for MKS sh
12649 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12650 emulate sh
12651 NULLCMD=:
12652 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12653 # is contrary to our usage. Disable this feature.
12654 alias -g '${1+"$@"}'='"$@"'
12655 setopt NO_GLOB_SUBST
12656 else
12657 case `(set -o) 2>/dev/null` in
12658 *posix*) set -o posix ;;
12659 esac
12660
12661 fi
12662
12663
12664
12665
12666 # PATH needs CR
12667 # Avoid depending upon Character Ranges.
12668 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12669 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12670 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12671 as_cr_digits='0123456789'
12672 as_cr_alnum=$as_cr_Letters$as_cr_digits
12673
12674 as_nl='
12675 '
12676 export as_nl
12677 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12678 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12679 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12680 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12681 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12682 as_echo='printf %s\n'
12683 as_echo_n='printf %s'
12684 else
12685 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12686 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12687 as_echo_n='/usr/ucb/echo -n'
12688 else
12689 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12690 as_echo_n_body='eval
12691 arg=$1;
12692 case $arg in
12693 *"$as_nl"*)
12694 expr "X$arg" : "X\\(.*\\)$as_nl";
12695 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12696 esac;
12697 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12698 '
12699 export as_echo_n_body
12700 as_echo_n='sh -c $as_echo_n_body as_echo'
12701 fi
12702 export as_echo_body
12703 as_echo='sh -c $as_echo_body as_echo'
12704 fi
12705
12706 # The user is always right.
12707 if test "${PATH_SEPARATOR+set}" != set; then
12708 PATH_SEPARATOR=:
12709 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12710 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12711 PATH_SEPARATOR=';'
12712 }
12713 fi
12714
12715 # Support unset when possible.
12716 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12717 as_unset=unset
12718 else
12719 as_unset=false
12720 fi
12721
12722
12723 # IFS
12724 # We need space, tab and new line, in precisely that order. Quoting is
12725 # there to prevent editors from complaining about space-tab.
12726 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12727 # splitting by setting IFS to empty value.)
12728 IFS=" "" $as_nl"
12729
12730 # Find who we are. Look in the path if we contain no directory separator.
12731 case $0 in
12732 *[\\/]* ) as_myself=$0 ;;
12733 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12734 for as_dir in $PATH
12735 do
12736 IFS=$as_save_IFS
12737 test -z "$as_dir" && as_dir=.
12738 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12739 done
12740 IFS=$as_save_IFS
12741
12742 ;;
12743 esac
12744 # We did not find ourselves, most probably we were run as `sh COMMAND'
12745 # in which case we are not to be found in the path.
12746 if test "x$as_myself" = x; then
12747 as_myself=$0
12748 fi
12749 if test ! -f "$as_myself"; then
12750 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12751 { (exit 1); exit 1; }
12752 fi
12753
12754 # Work around bugs in pre-3.0 UWIN ksh.
12755 for as_var in ENV MAIL MAILPATH
12756 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12757 done
12758 PS1='$ '
12759 PS2='> '
12760 PS4='+ '
12761
12762 # NLS nuisances.
12763 LC_ALL=C
12764 export LC_ALL
12765 LANGUAGE=C
12766 export LANGUAGE
12767
12768 # Required to use basename.
12769 if expr a : '\(a\)' >/dev/null 2>&1 &&
12770 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12771 as_expr=expr
12772 else
12773 as_expr=false
12774 fi
12775
12776 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12777 as_basename=basename
12778 else
12779 as_basename=false
12780 fi
12781
12782
12783 # Name of the executable.
12784 as_me=`$as_basename -- "$0" ||
12785 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12786 X"$0" : 'X\(//\)$' \| \
12787 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12788 $as_echo X/"$0" |
12789 sed '/^.*\/\([^/][^/]*\)\/*$/{
12790 s//\1/
12791 q
12792 }
12793 /^X\/\(\/\/\)$/{
12794 s//\1/
12795 q
12796 }
12797 /^X\/\(\/\).*/{
12798 s//\1/
12799 q
12800 }
12801 s/.*/./; q'`
12802
12803 # CDPATH.
12804 $as_unset CDPATH
12805
12806
12807
12808 as_lineno_1=$LINENO
12809 as_lineno_2=$LINENO
12810 test "x$as_lineno_1" != "x$as_lineno_2" &&
12811 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
12812
12813 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12814 # uniformly replaced by the line number. The first 'sed' inserts a
12815 # line-number line after each line using $LINENO; the second 'sed'
12816 # does the real work. The second script uses 'N' to pair each
12817 # line-number line with the line containing $LINENO, and appends
12818 # trailing '-' during substitution so that $LINENO is not a special
12819 # case at line end.
12820 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12821 # scripts with optimization help from Paolo Bonzini. Blame Lee
12822 # E. McMahon (1931-1989) for sed's syntax. :-)
12823 sed -n '
12824 p
12825 /[$]LINENO/=
12826 ' <$as_myself |
12827 sed '
12828 s/[$]LINENO.*/&-/
12829 t lineno
12830 b
12831 :lineno
12832 N
12833 :loop
12834 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12835 t loop
12836 s/-\n.*//
12837 ' >$as_me.lineno &&
12838 chmod +x "$as_me.lineno" ||
12839 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12840 { (exit 1); exit 1; }; }
12841
12842 # Don't try to exec as it changes $[0], causing all sort of problems
12843 # (the dirname of $[0] is not the place where we might find the
12844 # original and so on. Autoconf is especially sensitive to this).
12845 . "./$as_me.lineno"
12846 # Exit status is that of the last command.
12847 exit
12848 }
12849
12850
12851 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12852 as_dirname=dirname
12853 else
12854 as_dirname=false
12855 fi
12856
12857 ECHO_C= ECHO_N= ECHO_T=
12858 case `echo -n x` in
12859 -n*)
12860 case `echo 'x\c'` in
12861 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12862 *) ECHO_C='\c';;
12863 esac;;
12864 *)
12865 ECHO_N='-n';;
12866 esac
12867 if expr a : '\(a\)' >/dev/null 2>&1 &&
12868 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12869 as_expr=expr
12870 else
12871 as_expr=false
12872 fi
12873
12874 rm -f conf$$ conf$$.exe conf$$.file
12875 if test -d conf$$.dir; then
12876 rm -f conf$$.dir/conf$$.file
12877 else
12878 rm -f conf$$.dir
12879 mkdir conf$$.dir 2>/dev/null
12880 fi
12881 if (echo >conf$$.file) 2>/dev/null; then
12882 if ln -s conf$$.file conf$$ 2>/dev/null; then
12883 as_ln_s='ln -s'
12884 # ... but there are two gotchas:
12885 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12886 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12887 # In both cases, we have to default to `cp -p'.
12888 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12889 as_ln_s='cp -p'
12890 elif ln conf$$.file conf$$ 2>/dev/null; then
12891 as_ln_s=ln
12892 else
12893 as_ln_s='cp -p'
12894 fi
12895 else
12896 as_ln_s='cp -p'
12897 fi
12898 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12899 rmdir conf$$.dir 2>/dev/null
12900
12901 if mkdir -p . 2>/dev/null; then
12902 as_mkdir_p=:
12903 else
12904 test -d ./-p && rmdir ./-p
12905 as_mkdir_p=false
12906 fi
12907
12908 if test -x / >/dev/null 2>&1; then
12909 as_test_x='test -x'
12910 else
12911 if ls -dL / >/dev/null 2>&1; then
12912 as_ls_L_option=L
12913 else
12914 as_ls_L_option=
12915 fi
12916 as_test_x='
12917 eval sh -c '\''
12918 if test -d "$1"; then
12919 test -d "$1/.";
12920 else
12921 case $1 in
12922 -*)set "./$1";;
12923 esac;
12924 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12925 ???[sx]*):;;*)false;;esac;fi
12926 '\'' sh
12927 '
12928 fi
12929 as_executable_p=$as_test_x
12930
12931 # Sed expression to map a string onto a valid CPP name.
12932 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12933
12934 # Sed expression to map a string onto a valid variable name.
12935 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12936
12937
12938 exec 6>&1
12939
12940 # Save the log message, to keep $[0] and so on meaningful, and to
12941 # report actual input values of CONFIG_FILES etc. instead of their
12942 # values after options handling.
12943 ac_log="
12944 This file was extended by libXaw $as_me 1.0.6, which was
12945 generated by GNU Autoconf 2.63. Invocation command line was
12946
12947 CONFIG_FILES = $CONFIG_FILES
12948 CONFIG_HEADERS = $CONFIG_HEADERS
12949 CONFIG_LINKS = $CONFIG_LINKS
12950 CONFIG_COMMANDS = $CONFIG_COMMANDS
12951 $ $0 $@
12952
12953 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12954 "
12955
12956 _ACEOF
12957
12958 case $ac_config_files in *"
12959 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12960 esac
12961
12962 case $ac_config_headers in *"
12963 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12964 esac
12965
12966
12967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12968 # Files that config.status was made for.
12969 config_files="$ac_config_files"
12970 config_headers="$ac_config_headers"
12971 config_commands="$ac_config_commands"
12972
12973 _ACEOF
12974
12975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12976 ac_cs_usage="\
12977 \`$as_me' instantiates files from templates according to the
12978 current configuration.
12979
12980 Usage: $0 [OPTION]... [FILE]...
12981
12982 -h, --help print this help, then exit
12983 -V, --version print version number and configuration settings, then exit
12984 -q, --quiet, --silent
12985 do not print progress messages
12986 -d, --debug don't remove temporary files
12987 --recheck update $as_me by reconfiguring in the same conditions
12988 --file=FILE[:TEMPLATE]
12989 instantiate the configuration file FILE
12990 --header=FILE[:TEMPLATE]
12991 instantiate the configuration header FILE
12992
12993 Configuration files:
12994 $config_files
12995
12996 Configuration headers:
12997 $config_headers
12998
12999 Configuration commands:
13000 $config_commands
13001
13002 Report bugs to <bug-autoconf (at] gnu.org>."
13003
13004 _ACEOF
13005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13006 ac_cs_version="\\
13007 libXaw config.status 1.0.6
13008 configured by $0, generated by GNU Autoconf 2.63,
13009 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13010
13011 Copyright (C) 2008 Free Software Foundation, Inc.
13012 This config.status script is free software; the Free Software Foundation
13013 gives unlimited permission to copy, distribute and modify it."
13014
13015 ac_pwd='$ac_pwd'
13016 srcdir='$srcdir'
13017 INSTALL='$INSTALL'
13018 MKDIR_P='$MKDIR_P'
13019 AWK='$AWK'
13020 test -n "\$AWK" || AWK=awk
13021 _ACEOF
13022
13023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13024 # The default lists apply if the user does not specify any file.
13025 ac_need_defaults=:
13026 while test $# != 0
13027 do
13028 case $1 in
13029 --*=*)
13030 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13031 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13032 ac_shift=:
13033 ;;
13034 *)
13035 ac_option=$1
13036 ac_optarg=$2
13037 ac_shift=shift
13038 ;;
13039 esac
13040
13041 case $ac_option in
13042 # Handling of the options.
13043 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13044 ac_cs_recheck=: ;;
13045 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13046 $as_echo "$ac_cs_version"; exit ;;
13047 --debug | --debu | --deb | --de | --d | -d )
13048 debug=: ;;
13049 --file | --fil | --fi | --f )
13050 $ac_shift
13051 case $ac_optarg in
13052 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13053 esac
13054 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13055 ac_need_defaults=false;;
13056 --header | --heade | --head | --hea )
13057 $ac_shift
13058 case $ac_optarg in
13059 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13060 esac
13061 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
13062 ac_need_defaults=false;;
13063 --he | --h)
13064 # Conflict between --help and --header
13065 { $as_echo "$as_me: error: ambiguous option: $1
13066 Try \`$0 --help' for more information." >&2
13067 { (exit 1); exit 1; }; };;
13068 --help | --hel | -h )
13069 $as_echo "$ac_cs_usage"; exit ;;
13070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13071 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13072 ac_cs_silent=: ;;
13073
13074 # This is an error.
13075 -*) { $as_echo "$as_me: error: unrecognized option: $1
13076 Try \`$0 --help' for more information." >&2
13077 { (exit 1); exit 1; }; } ;;
13078
13079 *) ac_config_targets="$ac_config_targets $1"
13080 ac_need_defaults=false ;;
13081
13082 esac
13083 shift
13084 done
13085
13086 ac_configure_extra_args=
13087
13088 if $ac_cs_silent; then
13089 exec 6>/dev/null
13090 ac_configure_extra_args="$ac_configure_extra_args --silent"
13091 fi
13092
13093 _ACEOF
13094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13095 if \$ac_cs_recheck; then
13096 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13097 shift
13098 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13099 CONFIG_SHELL='$SHELL'
13100 export CONFIG_SHELL
13101 exec "\$@"
13102 fi
13103
13104 _ACEOF
13105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13106 exec 5>>config.log
13107 {
13108 echo
13109 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13110 ## Running $as_me. ##
13111 _ASBOX
13112 $as_echo "$ac_log"
13113 } >&5
13114
13115 _ACEOF
13116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13117 #
13118 # INIT-COMMANDS
13119 #
13120 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13121
13122
13123 # The HP-UX ksh and POSIX shell print the target directory to stdout
13124 # if CDPATH is set.
13125 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13126
13127 sed_quote_subst='$sed_quote_subst'
13128 double_quote_subst='$double_quote_subst'
13129 delay_variable_subst='$delay_variable_subst'
13130 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13131 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13132 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13133 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13134 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13135 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13136 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13137 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13138 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13139 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13140 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13141 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13142 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13143 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13144 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13145 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13146 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13147 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13148 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13149 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13150 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13151 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13152 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13153 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13154 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13155 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13156 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13157 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13158 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13159 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13160 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13161 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13162 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13163 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13164 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13165 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13166 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13167 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13168 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13169 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13170 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13171 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13172 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13173 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13174 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13175 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13176 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13177 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13178 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13179 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13180 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13181 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13182 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13183 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13184 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13185 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13186 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13187 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13188 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13189 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13190 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13191 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13192 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13193 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13194 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13195 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13196 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13197 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13198 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13199 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13200 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13201 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13202 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13203 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13204 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13205 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13206 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13207 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13208 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13209 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13210 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13211 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13212 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13213 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13214 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13215 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13216 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13217 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13218 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13219 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13220 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13221 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13222 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13223 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13224 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13225 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13226 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13227 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13228 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13229 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13230 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13231 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13232 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13233 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13234 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13235 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13236 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13237 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13238 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13239 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13240 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13241 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13242 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13243 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13244 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13245 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13246 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13247 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13248
13249 LTCC='$LTCC'
13250 LTCFLAGS='$LTCFLAGS'
13251 compiler='$compiler_DEFAULT'
13252
13253 # Quote evaled strings.
13254 for var in SED \
13255 GREP \
13256 EGREP \
13257 FGREP \
13258 LD \
13259 NM \
13260 LN_S \
13261 lt_SP2NL \
13262 lt_NL2SP \
13263 reload_flag \
13264 OBJDUMP \
13265 deplibs_check_method \
13266 file_magic_cmd \
13267 AR \
13268 AR_FLAGS \
13269 STRIP \
13270 RANLIB \
13271 CC \
13272 CFLAGS \
13273 compiler \
13274 lt_cv_sys_global_symbol_pipe \
13275 lt_cv_sys_global_symbol_to_cdecl \
13276 lt_cv_sys_global_symbol_to_c_name_address \
13277 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13278 SHELL \
13279 ECHO \
13280 lt_prog_compiler_no_builtin_flag \
13281 lt_prog_compiler_wl \
13282 lt_prog_compiler_pic \
13283 lt_prog_compiler_static \
13284 lt_cv_prog_compiler_c_o \
13285 need_locks \
13286 DSYMUTIL \
13287 NMEDIT \
13288 LIPO \
13289 OTOOL \
13290 OTOOL64 \
13291 shrext_cmds \
13292 export_dynamic_flag_spec \
13293 whole_archive_flag_spec \
13294 compiler_needs_object \
13295 with_gnu_ld \
13296 allow_undefined_flag \
13297 no_undefined_flag \
13298 hardcode_libdir_flag_spec \
13299 hardcode_libdir_flag_spec_ld \
13300 hardcode_libdir_separator \
13301 fix_srcfile_path \
13302 exclude_expsyms \
13303 include_expsyms \
13304 file_list_spec \
13305 variables_saved_for_relink \
13306 libname_spec \
13307 library_names_spec \
13308 soname_spec \
13309 finish_eval \
13310 old_striplib \
13311 striplib; do
13312 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13313 *[\\\\\\\`\\"\\\$]*)
13314 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13315 ;;
13316 *)
13317 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13318 ;;
13319 esac
13320 done
13321
13322 # Double-quote double-evaled strings.
13323 for var in reload_cmds \
13324 old_postinstall_cmds \
13325 old_postuninstall_cmds \
13326 old_archive_cmds \
13327 extract_expsyms_cmds \
13328 old_archive_from_new_cmds \
13329 old_archive_from_expsyms_cmds \
13330 archive_cmds \
13331 archive_expsym_cmds \
13332 module_cmds \
13333 module_expsym_cmds \
13334 export_symbols_cmds \
13335 prelink_cmds \
13336 postinstall_cmds \
13337 postuninstall_cmds \
13338 finish_cmds \
13339 sys_lib_search_path_spec \
13340 sys_lib_dlsearch_path_spec; do
13341 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13342 *[\\\\\\\`\\"\\\$]*)
13343 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13344 ;;
13345 *)
13346 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13347 ;;
13348 esac
13349 done
13350
13351 # Fix-up fallback echo if it was mangled by the above quoting rules.
13352 case \$lt_ECHO in
13353 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13354 ;;
13355 esac
13356
13357 ac_aux_dir='$ac_aux_dir'
13358 xsi_shell='$xsi_shell'
13359 lt_shell_append='$lt_shell_append'
13360
13361 # See if we are running on zsh, and set the options which allow our
13362 # commands through without removal of \ escapes INIT.
13363 if test -n "\${ZSH_VERSION+set}" ; then
13364 setopt NO_GLOB_SUBST
13365 fi
13366
13367
13368 PACKAGE='$PACKAGE'
13369 VERSION='$VERSION'
13370 TIMESTAMP='$TIMESTAMP'
13371 RM='$RM'
13372 ofile='$ofile'
13373
13374
13375
13376
13377 _ACEOF
13378
13379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13380
13381 # Handling of arguments.
13382 for ac_config_target in $ac_config_targets
13383 do
13384 case $ac_config_target in
13385 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13386 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13387 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13388 "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
13389 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13390 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13391 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
13392 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13393
13394 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13395 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13396 { (exit 1); exit 1; }; };;
13397 esac
13398 done
13399
13400
13401 # If the user did not use the arguments to specify the items to instantiate,
13402 # then the envvar interface is used. Set only those that are not.
13403 # We use the long form for the default assignment because of an extremely
13404 # bizarre bug on SunOS 4.1.3.
13405 if $ac_need_defaults; then
13406 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13407 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13408 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13409 fi
13410
13411 # Have a temporary directory for convenience. Make it in the build tree
13412 # simply because there is no reason against having it here, and in addition,
13413 # creating and moving files from /tmp can sometimes cause problems.
13414 # Hook for its removal unless debugging.
13415 # Note that there is a small window in which the directory will not be cleaned:
13416 # after its creation but before its name has been assigned to `$tmp'.
13417 $debug ||
13418 {
13419 tmp=
13420 trap 'exit_status=$?
13421 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13422 ' 0
13423 trap '{ (exit 1); exit 1; }' 1 2 13 15
13424 }
13425 # Create a (secure) tmp directory for tmp files.
13426
13427 {
13428 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13429 test -n "$tmp" && test -d "$tmp"
13430 } ||
13431 {
13432 tmp=./conf$$-$RANDOM
13433 (umask 077 && mkdir "$tmp")
13434 } ||
13435 {
13436 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13437 { (exit 1); exit 1; }
13438 }
13439
13440 # Set up the scripts for CONFIG_FILES section.
13441 # No need to generate them if there are no CONFIG_FILES.
13442 # This happens for instance with `./config.status config.h'.
13443 if test -n "$CONFIG_FILES"; then
13444
13445
13446 ac_cr='
'
13448 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13449 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13450 ac_cs_awk_cr='\\r'
13451 else
13452 ac_cs_awk_cr=$ac_cr
13453 fi
13454
13455 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13456 _ACEOF
13457
13458
13459 {
13460 echo "cat >conf$$subs.awk <<_ACEOF" &&
13461 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13462 echo "_ACEOF"
13463 } >conf$$subs.sh ||
13464 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13465 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13466 { (exit 1); exit 1; }; }
13467 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13468 ac_delim='%!_!# '
13469 for ac_last_try in false false false false false :; do
13470 . ./conf$$subs.sh ||
13471 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13472 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13473 { (exit 1); exit 1; }; }
13474
13475 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13476 if test $ac_delim_n = $ac_delim_num; then
13477 break
13478 elif $ac_last_try; then
13479 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13480 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13481 { (exit 1); exit 1; }; }
13482 else
13483 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13484 fi
13485 done
13486 rm -f conf$$subs.sh
13487
13488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13489 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13490 _ACEOF
13491 sed -n '
13492 h
13493 s/^/S["/; s/!.*/"]=/
13494 p
13495 g
13496 s/^[^!]*!//
13497 :repl
13498 t repl
13499 s/'"$ac_delim"'$//
13500 t delim
13501 :nl
13502 h
13503 s/\(.\{148\}\).*/\1/
13504 t more1
13505 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13506 p
13507 n
13508 b repl
13509 :more1
13510 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13511 p
13512 g
13513 s/.\{148\}//
13514 t nl
13515 :delim
13516 h
13517 s/\(.\{148\}\).*/\1/
13518 t more2
13519 s/["\\]/\\&/g; s/^/"/; s/$/"/
13520 p
13521 b
13522 :more2
13523 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13524 p
13525 g
13526 s/.\{148\}//
13527 t delim
13528 ' <conf$$subs.awk | sed '
13529 /^[^""]/{
13530 N
13531 s/\n//
13532 }
13533 ' >>$CONFIG_STATUS || ac_write_fail=1
13534 rm -f conf$$subs.awk
13535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13536 _ACAWK
13537 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13538 for (key in S) S_is_set[key] = 1
13539 FS = ""
13540
13541 }
13542 {
13543 line = $ 0
13544 nfields = split(line, field, "@")
13545 substed = 0
13546 len = length(field[1])
13547 for (i = 2; i < nfields; i++) {
13548 key = field[i]
13549 keylen = length(key)
13550 if (S_is_set[key]) {
13551 value = S[key]
13552 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13553 len += length(value) + length(field[++i])
13554 substed = 1
13555 } else
13556 len += 1 + keylen
13557 }
13558
13559 print line
13560 }
13561
13562 _ACAWK
13563 _ACEOF
13564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13565 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13566 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13567 else
13568 cat
13569 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13570 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
13571 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
13572 { (exit 1); exit 1; }; }
13573 _ACEOF
13574
13575 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13576 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13577 # trailing colons and then remove the whole line if VPATH becomes empty
13578 # (actually we leave an empty line to preserve line numbers).
13579 if test "x$srcdir" = x.; then
13580 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13581 s/:*\$(srcdir):*/:/
13582 s/:*\${srcdir}:*/:/
13583 s/:*@srcdir@:*/:/
13584 s/^\([^=]*=[ ]*\):*/\1/
13585 s/:*$//
13586 s/^[^=]*=[ ]*$//
13587 }'
13588 fi
13589
13590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13591 fi # test -n "$CONFIG_FILES"
13592
13593 # Set up the scripts for CONFIG_HEADERS section.
13594 # No need to generate them if there are no CONFIG_HEADERS.
13595 # This happens for instance with `./config.status Makefile'.
13596 if test -n "$CONFIG_HEADERS"; then
13597 cat >"$tmp/defines.awk" <<\_ACAWK ||
13598 BEGIN {
13599 _ACEOF
13600
13601 # Transform confdefs.h into an awk script `defines.awk', embedded as
13602 # here-document in config.status, that substitutes the proper values into
13603 # config.h.in to produce config.h.
13604
13605 # Create a delimiter string that does not exist in confdefs.h, to ease
13606 # handling of long lines.
13607 ac_delim='%!_!# '
13608 for ac_last_try in false false :; do
13609 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13610 if test -z "$ac_t"; then
13611 break
13612 elif $ac_last_try; then
13613 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
13614 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
13615 { (exit 1); exit 1; }; }
13616 else
13617 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13618 fi
13619 done
13620
13621 # For the awk script, D is an array of macro values keyed by name,
13622 # likewise P contains macro parameters if any. Preserve backslash
13623 # newline sequences.
13624
13625 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13626 sed -n '
13627 s/.\{148\}/&'"$ac_delim"'/g
13628 t rset
13629 :rset
13630 s/^[ ]*#[ ]*define[ ][ ]*/ /
13631 t def
13632 d
13633 :def
13634 s/\\$//
13635 t bsnl
13636 s/["\\]/\\&/g
13637 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13638 D["\1"]=" \3"/p
13639 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13640 d
13641 :bsnl
13642 s/["\\]/\\&/g
13643 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13644 D["\1"]=" \3\\\\\\n"\\/p
13645 t cont
13646 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13647 t cont
13648 d
13649 :cont
13650 n
13651 s/.\{148\}/&'"$ac_delim"'/g
13652 t clear
13653 :clear
13654 s/\\$//
13655 t bsnlc
13656 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13657 d
13658 :bsnlc
13659 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13660 b cont
13661 ' <confdefs.h | sed '
13662 s/'"$ac_delim"'/"\\\
13663 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13664
13665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13666 for (key in D) D_is_set[key] = 1
13667 FS = ""
13668 }
13669 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13670 line = \$ 0
13671 split(line, arg, " ")
13672 if (arg[1] == "#") {
13673 defundef = arg[2]
13674 mac1 = arg[3]
13675 } else {
13676 defundef = substr(arg[1], 2)
13677 mac1 = arg[2]
13678 }
13679 split(mac1, mac2, "(") #)
13680 macro = mac2[1]
13681 prefix = substr(line, 1, index(line, defundef) - 1)
13682 if (D_is_set[macro]) {
13683 # Preserve the white space surrounding the "#".
13684 print prefix "define", macro P[macro] D[macro]
13685 next
13686 } else {
13687 # Replace #undef with comments. This is necessary, for example,
13688 # in the case of _POSIX_SOURCE, which is predefined and required
13689 # on some systems where configure will not decide to define it.
13690 if (defundef == "undef") {
13691 print "/*", prefix defundef, macro, "*/"
13692 next
13693 }
13694 }
13695 }
13696 { print }
13697 _ACAWK
13698 _ACEOF
13699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13700 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
13701 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
13702 { (exit 1); exit 1; }; }
13703 fi # test -n "$CONFIG_HEADERS"
13704
13705
13706 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13707 shift
13708 for ac_tag
13709 do
13710 case $ac_tag in
13711 :[FHLC]) ac_mode=$ac_tag; continue;;
13712 esac
13713 case $ac_mode$ac_tag in
13714 :[FHL]*:*);;
13715 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13716 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13717 { (exit 1); exit 1; }; };;
13718 :[FH]-) ac_tag=-:-;;
13719 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13720 esac
13721 ac_save_IFS=$IFS
13722 IFS=:
13723 set x $ac_tag
13724 IFS=$ac_save_IFS
13725 shift
13726 ac_file=$1
13727 shift
13728
13729 case $ac_mode in
13730 :L) ac_source=$1;;
13731 :[FH])
13732 ac_file_inputs=
13733 for ac_f
13734 do
13735 case $ac_f in
13736 -) ac_f="$tmp/stdin";;
13737 *) # Look for the file first in the build tree, then in the source tree
13738 # (if the path is not absolute). The absolute path cannot be DOS-style,
13739 # because $ac_f cannot contain `:'.
13740 test -f "$ac_f" ||
13741 case $ac_f in
13742 [\\/$]*) false;;
13743 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13744 esac ||
13745 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13746 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13747 { (exit 1); exit 1; }; };;
13748 esac
13749 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13750 ac_file_inputs="$ac_file_inputs '$ac_f'"
13751 done
13752
13753 # Let's still pretend it is `configure' which instantiates (i.e., don't
13754 # use $as_me), people would be surprised to read:
13755 # /* config.h. Generated by config.status. */
13756 configure_input='Generated from '`
13757 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13758 `' by configure.'
13759 if test x"$ac_file" != x-; then
13760 configure_input="$ac_file. $configure_input"
13761 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13762 $as_echo "$as_me: creating $ac_file" >&6;}
13763 fi
13764 # Neutralize special characters interpreted by sed in replacement strings.
13765 case $configure_input in #(
13766 *\&* | *\|* | *\\* )
13767 ac_sed_conf_input=`$as_echo "$configure_input" |
13768 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13769 *) ac_sed_conf_input=$configure_input;;
13770 esac
13771
13772 case $ac_tag in
13773 *:-:* | *:-) cat >"$tmp/stdin" \
13774 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13775 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13776 { (exit 1); exit 1; }; } ;;
13777 esac
13778 ;;
13779 esac
13780
13781 ac_dir=`$as_dirname -- "$ac_file" ||
13782 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13783 X"$ac_file" : 'X\(//\)[^/]' \| \
13784 X"$ac_file" : 'X\(//\)$' \| \
13785 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13786 $as_echo X"$ac_file" |
13787 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13788 s//\1/
13789 q
13790 }
13791 /^X\(\/\/\)[^/].*/{
13792 s//\1/
13793 q
13794 }
13795 /^X\(\/\/\)$/{
13796 s//\1/
13797 q
13798 }
13799 /^X\(\/\).*/{
13800 s//\1/
13801 q
13802 }
13803 s/.*/./; q'`
13804 { as_dir="$ac_dir"
13805 case $as_dir in #(
13806 -*) as_dir=./$as_dir;;
13807 esac
13808 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13809 as_dirs=
13810 while :; do
13811 case $as_dir in #(
13812 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13813 *) as_qdir=$as_dir;;
13814 esac
13815 as_dirs="'$as_qdir' $as_dirs"
13816 as_dir=`$as_dirname -- "$as_dir" ||
13817 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13818 X"$as_dir" : 'X\(//\)[^/]' \| \
13819 X"$as_dir" : 'X\(//\)$' \| \
13820 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13821 $as_echo X"$as_dir" |
13822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13823 s//\1/
13824 q
13825 }
13826 /^X\(\/\/\)[^/].*/{
13827 s//\1/
13828 q
13829 }
13830 /^X\(\/\/\)$/{
13831 s//\1/
13832 q
13833 }
13834 /^X\(\/\).*/{
13835 s//\1/
13836 q
13837 }
13838 s/.*/./; q'`
13839 test -d "$as_dir" && break
13840 done
13841 test -z "$as_dirs" || eval "mkdir $as_dirs"
13842 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13843 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13844 { (exit 1); exit 1; }; }; }
13845 ac_builddir=.
13846
13847 case "$ac_dir" in
13848 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13849 *)
13850 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13851 # A ".." for each directory in $ac_dir_suffix.
13852 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13853 case $ac_top_builddir_sub in
13854 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13855 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13856 esac ;;
13857 esac
13858 ac_abs_top_builddir=$ac_pwd
13859 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13860 # for backward compatibility:
13861 ac_top_builddir=$ac_top_build_prefix
13862
13863 case $srcdir in
13864 .) # We are building in place.
13865 ac_srcdir=.
13866 ac_top_srcdir=$ac_top_builddir_sub
13867 ac_abs_top_srcdir=$ac_pwd ;;
13868 [\\/]* | ?:[\\/]* ) # Absolute name.
13869 ac_srcdir=$srcdir$ac_dir_suffix;
13870 ac_top_srcdir=$srcdir
13871 ac_abs_top_srcdir=$srcdir ;;
13872 *) # Relative name.
13873 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13874 ac_top_srcdir=$ac_top_build_prefix$srcdir
13875 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13876 esac
13877 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13878
13879
13880 case $ac_mode in
13881 :F)
13882 #
13883 # CONFIG_FILE
13884 #
13885
13886 case $INSTALL in
13887 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13888 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13889 esac
13890 ac_MKDIR_P=$MKDIR_P
13891 case $MKDIR_P in
13892 [\\/$]* | ?:[\\/]* ) ;;
13893 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13894 esac
13895 _ACEOF
13896
13897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13898 # If the template does not know about datarootdir, expand it.
13899 # FIXME: This hack should be removed a few years after 2.60.
13900 ac_datarootdir_hack=; ac_datarootdir_seen=
13901
13902 ac_sed_dataroot='
13903 /datarootdir/ {
13904 p
13905 q
13906 }
13907 /@datadir@/p
13908 /@docdir@/p
13909 /@infodir@/p
13910 /@localedir@/p
13911 /@mandir@/p
13912 '
13913 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13914 *datarootdir*) ac_datarootdir_seen=yes;;
13915 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13916 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13917 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13918 _ACEOF
13919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13920 ac_datarootdir_hack='
13921 s&@datadir@&$datadir&g
13922 s&@docdir@&$docdir&g
13923 s&@infodir@&$infodir&g
13924 s&@localedir@&$localedir&g
13925 s&@mandir@&$mandir&g
13926 s&\\\${datarootdir}&$datarootdir&g' ;;
13927 esac
13928 _ACEOF
13929
13930 # Neutralize VPATH when `$srcdir' = `.'.
13931 # Shell code in configure.ac might set extrasub.
13932 # FIXME: do we really want to maintain this feature?
13933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13934 ac_sed_extra="$ac_vpsub
13935 $extrasub
13936 _ACEOF
13937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13938 :t
13939 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13940 s|@configure_input@|$ac_sed_conf_input|;t t
13941 s&@top_builddir@&$ac_top_builddir_sub&;t t
13942 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13943 s&@srcdir@&$ac_srcdir&;t t
13944 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13945 s&@top_srcdir@&$ac_top_srcdir&;t t
13946 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13947 s&@builddir@&$ac_builddir&;t t
13948 s&@abs_builddir@&$ac_abs_builddir&;t t
13949 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13950 s&@INSTALL@&$ac_INSTALL&;t t
13951 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13952 $ac_datarootdir_hack
13953 "
13954 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13955 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13956 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13957 { (exit 1); exit 1; }; }
13958
13959 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13960 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13961 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13962 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13963 which seems to be undefined. Please make sure it is defined." >&5
13964 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13965 which seems to be undefined. Please make sure it is defined." >&2;}
13966
13967 rm -f "$tmp/stdin"
13968 case $ac_file in
13969 -) cat "$tmp/out" && rm -f "$tmp/out";;
13970 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13971 esac \
13972 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13973 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13974 { (exit 1); exit 1; }; }
13975 ;;
13976 :H)
13977 #
13978 # CONFIG_HEADER
13979 #
13980 if test x"$ac_file" != x-; then
13981 {
13982 $as_echo "/* $configure_input */" \
13983 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13984 } >"$tmp/config.h" \
13985 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13986 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13987 { (exit 1); exit 1; }; }
13988 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13989 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13990 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13991 else
13992 rm -f "$ac_file"
13993 mv "$tmp/config.h" "$ac_file" \
13994 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13995 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13996 { (exit 1); exit 1; }; }
13997 fi
13998 else
13999 $as_echo "/* $configure_input */" \
14000 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14001 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14002 $as_echo "$as_me: error: could not create -" >&2;}
14003 { (exit 1); exit 1; }; }
14004 fi
14005 # Compute "$ac_file"'s index in $config_headers.
14006 _am_arg="$ac_file"
14007 _am_stamp_count=1
14008 for _am_header in $config_headers :; do
14009 case $_am_header in
14010 $_am_arg | $_am_arg:* )
14011 break ;;
14012 * )
14013 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14014 esac
14015 done
14016 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14017 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14018 X"$_am_arg" : 'X\(//\)[^/]' \| \
14019 X"$_am_arg" : 'X\(//\)$' \| \
14020 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14021 $as_echo X"$_am_arg" |
14022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14023 s//\1/
14024 q
14025 }
14026 /^X\(\/\/\)[^/].*/{
14027 s//\1/
14028 q
14029 }
14030 /^X\(\/\/\)$/{
14031 s//\1/
14032 q
14033 }
14034 /^X\(\/\).*/{
14035 s//\1/
14036 q
14037 }
14038 s/.*/./; q'`/stamp-h$_am_stamp_count
14039 ;;
14040
14041 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14042 $as_echo "$as_me: executing $ac_file commands" >&6;}
14043 ;;
14044 esac
14045
14046
14047 case $ac_file$ac_mode in
14048 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
14049 # are listed without --file. Let's play safe and only enable the eval
14050 # if we detect the quoting.
14051 case $CONFIG_FILES in
14052 *\'*) eval set x "$CONFIG_FILES" ;;
14053 *) set x $CONFIG_FILES ;;
14054 esac
14055 shift
14056 for mf
14057 do
14058 # Strip MF so we end up with the name of the file.
14059 mf=`echo "$mf" | sed -e 's/:.*$//'`
14060 # Check whether this is an Automake generated Makefile or not.
14061 # We used to match only the files named `Makefile.in', but
14062 # some people rename them; so instead we look at the file content.
14063 # Grep'ing the first line is not enough: some people post-process
14064 # each Makefile.in and add a new line on top of each file to say so.
14065 # Grep'ing the whole file is not good either: AIX grep has a line
14066 # limit of 2048, but all sed's we know have understand at least 4000.
14067 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14068 dirpart=`$as_dirname -- "$mf" ||
14069 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14070 X"$mf" : 'X\(//\)[^/]' \| \
14071 X"$mf" : 'X\(//\)$' \| \
14072 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14073 $as_echo X"$mf" |
14074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14075 s//\1/
14076 q
14077 }
14078 /^X\(\/\/\)[^/].*/{
14079 s//\1/
14080 q
14081 }
14082 /^X\(\/\/\)$/{
14083 s//\1/
14084 q
14085 }
14086 /^X\(\/\).*/{
14087 s//\1/
14088 q
14089 }
14090 s/.*/./; q'`
14091 else
14092 continue
14093 fi
14094 # Extract the definition of DEPDIR, am__include, and am__quote
14095 # from the Makefile without running `make'.
14096 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14097 test -z "$DEPDIR" && continue
14098 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14099 test -z "am__include" && continue
14100 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14101 # When using ansi2knr, U may be empty or an underscore; expand it
14102 U=`sed -n 's/^U = //p' < "$mf"`
14103 # Find all dependency output files, they are included files with
14104 # $(DEPDIR) in their names. We invoke sed twice because it is the
14105 # simplest approach to changing $(DEPDIR) to its actual value in the
14106 # expansion.
14107 for file in `sed -n "
14108 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14109 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14110 # Make sure the directory exists.
14111 test -f "$dirpart/$file" && continue
14112 fdir=`$as_dirname -- "$file" ||
14113 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14114 X"$file" : 'X\(//\)[^/]' \| \
14115 X"$file" : 'X\(//\)$' \| \
14116 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14117 $as_echo X"$file" |
14118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14119 s//\1/
14120 q
14121 }
14122 /^X\(\/\/\)[^/].*/{
14123 s//\1/
14124 q
14125 }
14126 /^X\(\/\/\)$/{
14127 s//\1/
14128 q
14129 }
14130 /^X\(\/\).*/{
14131 s//\1/
14132 q
14133 }
14134 s/.*/./; q'`
14135 { as_dir=$dirpart/$fdir
14136 case $as_dir in #(
14137 -*) as_dir=./$as_dir;;
14138 esac
14139 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14140 as_dirs=
14141 while :; do
14142 case $as_dir in #(
14143 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14144 *) as_qdir=$as_dir;;
14145 esac
14146 as_dirs="'$as_qdir' $as_dirs"
14147 as_dir=`$as_dirname -- "$as_dir" ||
14148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14149 X"$as_dir" : 'X\(//\)[^/]' \| \
14150 X"$as_dir" : 'X\(//\)$' \| \
14151 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14152 $as_echo X"$as_dir" |
14153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14154 s//\1/
14155 q
14156 }
14157 /^X\(\/\/\)[^/].*/{
14158 s//\1/
14159 q
14160 }
14161 /^X\(\/\/\)$/{
14162 s//\1/
14163 q
14164 }
14165 /^X\(\/\).*/{
14166 s//\1/
14167 q
14168 }
14169 s/.*/./; q'`
14170 test -d "$as_dir" && break
14171 done
14172 test -z "$as_dirs" || eval "mkdir $as_dirs"
14173 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14174 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14175 { (exit 1); exit 1; }; }; }
14176 # echo "creating $dirpart/$file"
14177 echo '# dummy' > "$dirpart/$file"
14178 done
14179 done
14180 ;;
14181 "libtool":C)
14182
14183 # See if we are running on zsh, and set the options which allow our
14184 # commands through without removal of \ escapes.
14185 if test -n "${ZSH_VERSION+set}" ; then
14186 setopt NO_GLOB_SUBST
14187 fi
14188
14189 cfgfile="${ofile}T"
14190 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14191 $RM "$cfgfile"
14192
14193 cat <<_LT_EOF >> "$cfgfile"
14194 #! $SHELL
14195
14196 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14197 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14198 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14199 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14200 #
14201 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14202 # 2006, 2007, 2008 Free Software Foundation, Inc.
14203 # Written by Gordon Matzigkeit, 1996
14204 #
14205 # This file is part of GNU Libtool.
14206 #
14207 # GNU Libtool is free software; you can redistribute it and/or
14208 # modify it under the terms of the GNU General Public License as
14209 # published by the Free Software Foundation; either version 2 of
14210 # the License, or (at your option) any later version.
14211 #
14212 # As a special exception to the GNU General Public License,
14213 # if you distribute this file as part of a program or library that
14214 # is built using GNU Libtool, you may include this file under the
14215 # same distribution terms that you use for the rest of that program.
14216 #
14217 # GNU Libtool is distributed in the hope that it will be useful,
14218 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14219 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14220 # GNU General Public License for more details.
14221 #
14222 # You should have received a copy of the GNU General Public License
14223 # along with GNU Libtool; see the file COPYING. If not, a copy
14224 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14225 # obtained by writing to the Free Software Foundation, Inc.,
14226 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14227
14228
14229 # The names of the tagged configurations supported by this script.
14230 available_tags=""
14231
14232 # ### BEGIN LIBTOOL CONFIG
14233
14234 # Which release of libtool.m4 was used?
14235 macro_version=$macro_version
14236 macro_revision=$macro_revision
14237
14238 # Whether or not to build shared libraries.
14239 build_libtool_libs=$enable_shared
14240
14241 # Whether or not to build static libraries.
14242 build_old_libs=$enable_static
14243
14244 # What type of objects to build.
14245 pic_mode=$pic_mode
14246
14247 # Whether or not to optimize for fast installation.
14248 fast_install=$enable_fast_install
14249
14250 # The host system.
14251 host_alias=$host_alias
14252 host=$host
14253 host_os=$host_os
14254
14255 # The build system.
14256 build_alias=$build_alias
14257 build=$build
14258 build_os=$build_os
14259
14260 # A sed program that does not truncate output.
14261 SED=$lt_SED
14262
14263 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14264 Xsed="\$SED -e 1s/^X//"
14265
14266 # A grep program that handles long lines.
14267 GREP=$lt_GREP
14268
14269 # An ERE matcher.
14270 EGREP=$lt_EGREP
14271
14272 # A literal string matcher.
14273 FGREP=$lt_FGREP
14274
14275 # A BSD- or MS-compatible name lister.
14276 NM=$lt_NM
14277
14278 # Whether we need soft or hard links.
14279 LN_S=$lt_LN_S
14280
14281 # What is the maximum length of a command?
14282 max_cmd_len=$max_cmd_len
14283
14284 # Object file suffix (normally "o").
14285 objext=$ac_objext
14286
14287 # Executable file suffix (normally "").
14288 exeext=$exeext
14289
14290 # whether the shell understands "unset".
14291 lt_unset=$lt_unset
14292
14293 # turn spaces into newlines.
14294 SP2NL=$lt_lt_SP2NL
14295
14296 # turn newlines into spaces.
14297 NL2SP=$lt_lt_NL2SP
14298
14299 # How to create reloadable object files.
14300 reload_flag=$lt_reload_flag
14301 reload_cmds=$lt_reload_cmds
14302
14303 # An object symbol dumper.
14304 OBJDUMP=$lt_OBJDUMP
14305
14306 # Method to check whether dependent libraries are shared objects.
14307 deplibs_check_method=$lt_deplibs_check_method
14308
14309 # Command to use when deplibs_check_method == "file_magic".
14310 file_magic_cmd=$lt_file_magic_cmd
14311
14312 # The archiver.
14313 AR=$lt_AR
14314 AR_FLAGS=$lt_AR_FLAGS
14315
14316 # A symbol stripping program.
14317 STRIP=$lt_STRIP
14318
14319 # Commands used to install an old-style archive.
14320 RANLIB=$lt_RANLIB
14321 old_postinstall_cmds=$lt_old_postinstall_cmds
14322 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14323
14324 # A C compiler.
14325 LTCC=$lt_CC
14326
14327 # LTCC compiler flags.
14328 LTCFLAGS=$lt_CFLAGS
14329
14330 # Take the output of nm and produce a listing of raw symbols and C names.
14331 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14332
14333 # Transform the output of nm in a proper C declaration.
14334 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14335
14336 # Transform the output of nm in a C name address pair.
14337 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14338
14339 # Transform the output of nm in a C name address pair when lib prefix is needed.
14340 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14341
14342 # The name of the directory that contains temporary libtool files.
14343 objdir=$objdir
14344
14345 # Shell to use when invoking shell scripts.
14346 SHELL=$lt_SHELL
14347
14348 # An echo program that does not interpret backslashes.
14349 ECHO=$lt_ECHO
14350
14351 # Used to examine libraries when file_magic_cmd begins with "file".
14352 MAGIC_CMD=$MAGIC_CMD
14353
14354 # Must we lock files when doing compilation?
14355 need_locks=$lt_need_locks
14356
14357 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14358 DSYMUTIL=$lt_DSYMUTIL
14359
14360 # Tool to change global to local symbols on Mac OS X.
14361 NMEDIT=$lt_NMEDIT
14362
14363 # Tool to manipulate fat objects and archives on Mac OS X.
14364 LIPO=$lt_LIPO
14365
14366 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14367 OTOOL=$lt_OTOOL
14368
14369 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14370 OTOOL64=$lt_OTOOL64
14371
14372 # Old archive suffix (normally "a").
14373 libext=$libext
14374
14375 # Shared library suffix (normally ".so").
14376 shrext_cmds=$lt_shrext_cmds
14377
14378 # The commands to extract the exported symbol list from a shared archive.
14379 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14380
14381 # Variables whose values should be saved in libtool wrapper scripts and
14382 # restored at link time.
14383 variables_saved_for_relink=$lt_variables_saved_for_relink
14384
14385 # Do we need the "lib" prefix for modules?
14386 need_lib_prefix=$need_lib_prefix
14387
14388 # Do we need a version for libraries?
14389 need_version=$need_version
14390
14391 # Library versioning type.
14392 version_type=$version_type
14393
14394 # Shared library runtime path variable.
14395 runpath_var=$runpath_var
14396
14397 # Shared library path variable.
14398 shlibpath_var=$shlibpath_var
14399
14400 # Is shlibpath searched before the hard-coded library search path?
14401 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14402
14403 # Format of library name prefix.
14404 libname_spec=$lt_libname_spec
14405
14406 # List of archive names. First name is the real one, the rest are links.
14407 # The last name is the one that the linker finds with -lNAME
14408 library_names_spec=$lt_library_names_spec
14409
14410 # The coded name of the library, if different from the real name.
14411 soname_spec=$lt_soname_spec
14412
14413 # Command to use after installation of a shared archive.
14414 postinstall_cmds=$lt_postinstall_cmds
14415
14416 # Command to use after uninstallation of a shared archive.
14417 postuninstall_cmds=$lt_postuninstall_cmds
14418
14419 # Commands used to finish a libtool library installation in a directory.
14420 finish_cmds=$lt_finish_cmds
14421
14422 # As "finish_cmds", except a single script fragment to be evaled but
14423 # not shown.
14424 finish_eval=$lt_finish_eval
14425
14426 # Whether we should hardcode library paths into libraries.
14427 hardcode_into_libs=$hardcode_into_libs
14428
14429 # Compile-time system search path for libraries.
14430 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14431
14432 # Run-time system search path for libraries.
14433 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14434
14435 # Whether dlopen is supported.
14436 dlopen_support=$enable_dlopen
14437
14438 # Whether dlopen of programs is supported.
14439 dlopen_self=$enable_dlopen_self
14440
14441 # Whether dlopen of statically linked programs is supported.
14442 dlopen_self_static=$enable_dlopen_self_static
14443
14444 # Commands to strip libraries.
14445 old_striplib=$lt_old_striplib
14446 striplib=$lt_striplib
14447
14448
14449 # The linker used to build libraries.
14450 LD=$lt_LD
14451
14452 # Commands used to build an old-style archive.
14453 old_archive_cmds=$lt_old_archive_cmds
14454
14455 # A language specific compiler.
14456 CC=$lt_compiler
14457
14458 # Is the compiler the GNU compiler?
14459 with_gcc=$GCC
14460
14461 # Compiler flag to turn off builtin functions.
14462 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14463
14464 # How to pass a linker flag through the compiler.
14465 wl=$lt_lt_prog_compiler_wl
14466
14467 # Additional compiler flags for building library objects.
14468 pic_flag=$lt_lt_prog_compiler_pic
14469
14470 # Compiler flag to prevent dynamic linking.
14471 link_static_flag=$lt_lt_prog_compiler_static
14472
14473 # Does compiler simultaneously support -c and -o options?
14474 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14475
14476 # Whether or not to add -lc for building shared libraries.
14477 build_libtool_need_lc=$archive_cmds_need_lc
14478
14479 # Whether or not to disallow shared libs when runtime libs are static.
14480 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14481
14482 # Compiler flag to allow reflexive dlopens.
14483 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14484
14485 # Compiler flag to generate shared objects directly from archives.
14486 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14487
14488 # Whether the compiler copes with passing no objects directly.
14489 compiler_needs_object=$lt_compiler_needs_object
14490
14491 # Create an old-style archive from a shared archive.
14492 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14493
14494 # Create a temporary old-style archive to link instead of a shared archive.
14495 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14496
14497 # Commands used to build a shared archive.
14498 archive_cmds=$lt_archive_cmds
14499 archive_expsym_cmds=$lt_archive_expsym_cmds
14500
14501 # Commands used to build a loadable module if different from building
14502 # a shared archive.
14503 module_cmds=$lt_module_cmds
14504 module_expsym_cmds=$lt_module_expsym_cmds
14505
14506 # Whether we are building with GNU ld or not.
14507 with_gnu_ld=$lt_with_gnu_ld
14508
14509 # Flag that allows shared libraries with undefined symbols to be built.
14510 allow_undefined_flag=$lt_allow_undefined_flag
14511
14512 # Flag that enforces no undefined symbols.
14513 no_undefined_flag=$lt_no_undefined_flag
14514
14515 # Flag to hardcode \$libdir into a binary during linking.
14516 # This must work even if \$libdir does not exist
14517 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14518
14519 # If ld is used when linking, flag to hardcode \$libdir into a binary
14520 # during linking. This must work even if \$libdir does not exist.
14521 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14522
14523 # Whether we need a single "-rpath" flag with a separated argument.
14524 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14525
14526 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14527 # DIR into the resulting binary.
14528 hardcode_direct=$hardcode_direct
14529
14530 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14531 # DIR into the resulting binary and the resulting library dependency is
14532 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14533 # library is relocated.
14534 hardcode_direct_absolute=$hardcode_direct_absolute
14535
14536 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14537 # into the resulting binary.
14538 hardcode_minus_L=$hardcode_minus_L
14539
14540 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14541 # into the resulting binary.
14542 hardcode_shlibpath_var=$hardcode_shlibpath_var
14543
14544 # Set to "yes" if building a shared library automatically hardcodes DIR
14545 # into the library and all subsequent libraries and executables linked
14546 # against it.
14547 hardcode_automatic=$hardcode_automatic
14548
14549 # Set to yes if linker adds runtime paths of dependent libraries
14550 # to runtime path list.
14551 inherit_rpath=$inherit_rpath
14552
14553 # Whether libtool must link a program against all its dependency libraries.
14554 link_all_deplibs=$link_all_deplibs
14555
14556 # Fix the shell variable \$srcfile for the compiler.
14557 fix_srcfile_path=$lt_fix_srcfile_path
14558
14559 # Set to "yes" if exported symbols are required.
14560 always_export_symbols=$always_export_symbols
14561
14562 # The commands to list exported symbols.
14563 export_symbols_cmds=$lt_export_symbols_cmds
14564
14565 # Symbols that should not be listed in the preloaded symbols.
14566 exclude_expsyms=$lt_exclude_expsyms
14567
14568 # Symbols that must always be exported.
14569 include_expsyms=$lt_include_expsyms
14570
14571 # Commands necessary for linking programs (against libraries) with templates.
14572 prelink_cmds=$lt_prelink_cmds
14573
14574 # Specify filename containing input files.
14575 file_list_spec=$lt_file_list_spec
14576
14577 # How to hardcode a shared library path into an executable.
14578 hardcode_action=$hardcode_action
14579
14580 # ### END LIBTOOL CONFIG
14581
14582 _LT_EOF
14583
14584 case $host_os in
14585 aix3*)
14586 cat <<\_LT_EOF >> "$cfgfile"
14587 # AIX sometimes has problems with the GCC collect2 program. For some
14588 # reason, if we set the COLLECT_NAMES environment variable, the problems
14589 # vanish in a puff of smoke.
14590 if test "X${COLLECT_NAMES+set}" != Xset; then
14591 COLLECT_NAMES=
14592 export COLLECT_NAMES
14593 fi
14594 _LT_EOF
14595 ;;
14596 esac
14597
14598
14599 ltmain="$ac_aux_dir/ltmain.sh"
14600
14601
14602 # We use sed instead of cat because bash on DJGPP gets confused if
14603 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14604 # text mode, it properly converts lines to CR/LF. This bash problem
14605 # is reportedly fixed, but why not run on old versions too?
14606 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14607 || (rm -f "$cfgfile"; exit 1)
14608
14609 case $xsi_shell in
14610 yes)
14611 cat << \_LT_EOF >> "$cfgfile"
14612
14613 # func_dirname file append nondir_replacement
14614 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14615 # otherwise set result to NONDIR_REPLACEMENT.
14616 func_dirname ()
14617 {
14618 case ${1} in
14619 */*) func_dirname_result="${1%/*}${2}" ;;
14620 * ) func_dirname_result="${3}" ;;
14621 esac
14622 }
14623
14624 # func_basename file
14625 func_basename ()
14626 {
14627 func_basename_result="${1##*/}"
14628 }
14629
14630 # func_dirname_and_basename file append nondir_replacement
14631 # perform func_basename and func_dirname in a single function
14632 # call:
14633 # dirname: Compute the dirname of FILE. If nonempty,
14634 # add APPEND to the result, otherwise set result
14635 # to NONDIR_REPLACEMENT.
14636 # value returned in "$func_dirname_result"
14637 # basename: Compute filename of FILE.
14638 # value retuned in "$func_basename_result"
14639 # Implementation must be kept synchronized with func_dirname
14640 # and func_basename. For efficiency, we do not delegate to
14641 # those functions but instead duplicate the functionality here.
14642 func_dirname_and_basename ()
14643 {
14644 case ${1} in
14645 */*) func_dirname_result="${1%/*}${2}" ;;
14646 * ) func_dirname_result="${3}" ;;
14647 esac
14648 func_basename_result="${1##*/}"
14649 }
14650
14651 # func_stripname prefix suffix name
14652 # strip PREFIX and SUFFIX off of NAME.
14653 # PREFIX and SUFFIX must not contain globbing or regex special
14654 # characters, hashes, percent signs, but SUFFIX may contain a leading
14655 # dot (in which case that matches only a dot).
14656 func_stripname ()
14657 {
14658 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14659 # positional parameters, so assign one to ordinary parameter first.
14660 func_stripname_result=${3}
14661 func_stripname_result=${func_stripname_result#"${1}"}
14662 func_stripname_result=${func_stripname_result%"${2}"}
14663 }
14664
14665 # func_opt_split
14666 func_opt_split ()
14667 {
14668 func_opt_split_opt=${1%%=*}
14669 func_opt_split_arg=${1#*=}
14670 }
14671
14672 # func_lo2o object
14673 func_lo2o ()
14674 {
14675 case ${1} in
14676 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14677 *) func_lo2o_result=${1} ;;
14678 esac
14679 }
14680
14681 # func_xform libobj-or-source
14682 func_xform ()
14683 {
14684 func_xform_result=${1%.*}.lo
14685 }
14686
14687 # func_arith arithmetic-term...
14688 func_arith ()
14689 {
14690 func_arith_result=$(( $* ))
14691 }
14692
14693 # func_len string
14694 # STRING may not start with a hyphen.
14695 func_len ()
14696 {
14697 func_len_result=${#1}
14698 }
14699
14700 _LT_EOF
14701 ;;
14702 *) # Bourne compatible functions.
14703 cat << \_LT_EOF >> "$cfgfile"
14704
14705 # func_dirname file append nondir_replacement
14706 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14707 # otherwise set result to NONDIR_REPLACEMENT.
14708 func_dirname ()
14709 {
14710 # Extract subdirectory from the argument.
14711 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14712 if test "X$func_dirname_result" = "X${1}"; then
14713 func_dirname_result="${3}"
14714 else
14715 func_dirname_result="$func_dirname_result${2}"
14716 fi
14717 }
14718
14719 # func_basename file
14720 func_basename ()
14721 {
14722 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14723 }
14724
14725
14726 # func_stripname prefix suffix name
14727 # strip PREFIX and SUFFIX off of NAME.
14728 # PREFIX and SUFFIX must not contain globbing or regex special
14729 # characters, hashes, percent signs, but SUFFIX may contain a leading
14730 # dot (in which case that matches only a dot).
14731 # func_strip_suffix prefix name
14732 func_stripname ()
14733 {
14734 case ${2} in
14735 .*) func_stripname_result=`$ECHO "X${3}" \
14736 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14737 *) func_stripname_result=`$ECHO "X${3}" \
14738 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14739 esac
14740 }
14741
14742 # sed scripts:
14743 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14744 my_sed_long_arg='1s/^-[^=]*=//'
14745
14746 # func_opt_split
14747 func_opt_split ()
14748 {
14749 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14750 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14751 }
14752
14753 # func_lo2o object
14754 func_lo2o ()
14755 {
14756 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14757 }
14758
14759 # func_xform libobj-or-source
14760 func_xform ()
14761 {
14762 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14763 }
14764
14765 # func_arith arithmetic-term...
14766 func_arith ()
14767 {
14768 func_arith_result=`expr "$@"`
14769 }
14770
14771 # func_len string
14772 # STRING may not start with a hyphen.
14773 func_len ()
14774 {
14775 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14776 }
14777
14778 _LT_EOF
14779 esac
14780
14781 case $lt_shell_append in
14782 yes)
14783 cat << \_LT_EOF >> "$cfgfile"
14784
14785 # func_append var value
14786 # Append VALUE to the end of shell variable VAR.
14787 func_append ()
14788 {
14789 eval "$1+=\$2"
14790 }
14791 _LT_EOF
14792 ;;
14793 *)
14794 cat << \_LT_EOF >> "$cfgfile"
14795
14796 # func_append var value
14797 # Append VALUE to the end of shell variable VAR.
14798 func_append ()
14799 {
14800 eval "$1=\$$1\$2"
14801 }
14802
14803 _LT_EOF
14804 ;;
14805 esac
14806
14807
14808 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14809 || (rm -f "$cfgfile"; exit 1)
14810
14811 mv -f "$cfgfile" "$ofile" ||
14812 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14813 chmod +x "$ofile"
14814
14815 ;;
14816 "libtool_hack":C)
14817 cp -f libtool libtool_
14818 test -z "$SED" && SED=sed
14819 $SED '1,/^soname_spec/{
14820 /^soname_spec/i\
14821 # X.Org hack to match monolithic Xaw SONAME\
14822 xorglibxawname="libXaw"
14823 /^soname_spec/s/libname/xorglibxawname/
14824 }' libtool_ > libtool
14825 rm -f libtool_
14826 ;;
14827
14828 esac
14829 done # for ac_tag
14830
14831
14832 { (exit 0); exit 0; }
14833 _ACEOF
14834 chmod +x $CONFIG_STATUS
14835 ac_clean_files=$ac_clean_files_save
14836
14837 test $ac_write_fail = 0 ||
14838 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14839 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14840 { (exit 1); exit 1; }; }
14841
14842
14843 # configure is writing to config.log, and then calls config.status.
14844 # config.status does its own redirection, appending to config.log.
14845 # Unfortunately, on DOS this fails, as config.log is still kept open
14846 # by configure, so config.status won't be able to write to it; its
14847 # output is simply discarded. So we exec the FD to /dev/null,
14848 # effectively closing config.log, so it can be properly (re)opened and
14849 # appended to by config.status. When coming back to configure, we
14850 # need to make the FD available again.
14851 if test "$no_create" != yes; then
14852 ac_cs_success=:
14853 ac_config_status_args=
14854 test "$silent" = yes &&
14855 ac_config_status_args="$ac_config_status_args --quiet"
14856 exec 5>/dev/null
14857 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14858 exec 5>>config.log
14859 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14860 # would make configure fail if this is the last instruction.
14861 $ac_cs_success || { (exit 1); exit 1; }
14862 fi
14863 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14864 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14865 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14866 fi
14867
14868
14869 if test "x$build_v6" = xyes; then
14870 ac_config_files="$ac_config_files xaw6.pc"
14871
14872 cat >confcache <<\_ACEOF
14873 # This file is a shell script that caches the results of configure
14874 # tests run on this system so they can be shared between configure
14875 # scripts and configure runs, see configure's option --config-cache.
14876 # It is not useful on other systems. If it contains results you don't
14877 # want to keep, you may remove or edit it.
14878 #
14879 # config.status only pays attention to the cache file if you give it
14880 # the --recheck option to rerun configure.
14881 #
14882 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14883 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14884 # following values.
14885
14886 _ACEOF
14887
14888 # The following way of writing the cache mishandles newlines in values,
14889 # but we know of no workaround that is simple, portable, and efficient.
14890 # So, we kill variables containing newlines.
14891 # Ultrix sh set writes to stderr and can't be redirected directly,
14892 # and sets the high bit in the cache file unless we assign to the vars.
14893 (
14894 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14895 eval ac_val=\$$ac_var
14896 case $ac_val in #(
14897 *${as_nl}*)
14898 case $ac_var in #(
14899 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
14900 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14901 esac
14902 case $ac_var in #(
14903 _ | IFS | as_nl) ;; #(
14904 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14905 *) $as_unset $ac_var ;;
14906 esac ;;
14907 esac
14908 done
14909
14910 (set) 2>&1 |
14911 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14912 *${as_nl}ac_space=\ *)
14913 # `set' does not quote correctly, so add quotes (double-quote
14914 # substitution turns \\\\ into \\, and sed turns \\ into \).
14915 sed -n \
14916 "s/'/'\\\\''/g;
14917 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14918 ;; #(
14919 *)
14920 # `set' quotes correctly as required by POSIX, so do not add quotes.
14921 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14922 ;;
14923 esac |
14924 sort
14925 ) |
14926 sed '
14927 /^ac_cv_env_/b end
14928 t clear
14929 :clear
14930 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14931 t end
14932 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14933 :end' >>confcache
14934 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14935 if test -w "$cache_file"; then
14936 test "x$cache_file" != "x/dev/null" &&
14937 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
14938 $as_echo "$as_me: updating cache $cache_file" >&6;}
14939 cat confcache >$cache_file
14940 else
14941 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14942 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14943 fi
14944 fi
14945 rm -f confcache
14946
14947 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14948 # Let make expand exec_prefix.
14949 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14950
14951 DEFS=-DHAVE_CONFIG_H
14952
14953 ac_libobjs=
14954 ac_ltlibobjs=
14955 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14956 # 1. Remove the extension, and $U if already installed.
14957 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14958 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14959 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14960 # will be set to the directory where LIBOBJS objects are built.
14961 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14962 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14963 done
14964 LIBOBJS=$ac_libobjs
14965
14966 LTLIBOBJS=$ac_ltlibobjs
14967
14968
14969 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14970 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14971 Usually this means the macro was only invoked conditionally." >&5
14972 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
14973 Usually this means the macro was only invoked conditionally." >&2;}
14974 { (exit 1); exit 1; }; }
14975 fi
14976 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14977 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14978 Usually this means the macro was only invoked conditionally." >&5
14979 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14980 Usually this means the macro was only invoked conditionally." >&2;}
14981 { (exit 1); exit 1; }; }
14982 fi
14983 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
14984 { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
14985 Usually this means the macro was only invoked conditionally." >&5
14986 $as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
14987 Usually this means the macro was only invoked conditionally." >&2;}
14988 { (exit 1); exit 1; }; }
14989 fi
14990 if test -z "${PLATFORM_DARWIN_TRUE}" && test -z "${PLATFORM_DARWIN_FALSE}"; then
14991 { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_DARWIN\" was never defined.
14992 Usually this means the macro was only invoked conditionally." >&5
14993 $as_echo "$as_me: error: conditional \"PLATFORM_DARWIN\" was never defined.
14994 Usually this means the macro was only invoked conditionally." >&2;}
14995 { (exit 1); exit 1; }; }
14996 fi
14997 if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
14998 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW6\" was never defined.
14999 Usually this means the macro was only invoked conditionally." >&5
15000 $as_echo "$as_me: error: conditional \"BUILD_XAW6\" was never defined.
15001 Usually this means the macro was only invoked conditionally." >&2;}
15002 { (exit 1); exit 1; }; }
15003 fi
15004 if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
15005 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW7\" was never defined.
15006 Usually this means the macro was only invoked conditionally." >&5
15007 $as_echo "$as_me: error: conditional \"BUILD_XAW7\" was never defined.
15008 Usually this means the macro was only invoked conditionally." >&2;}
15009 { (exit 1); exit 1; }; }
15010 fi
15011
15012 : ${CONFIG_STATUS=./config.status}
15013 ac_write_fail=0
15014 ac_clean_files_save=$ac_clean_files
15015 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15016 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15017 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15018 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15019 #! $SHELL
15020 # Generated by $as_me.
15021 # Run this file to recreate the current configuration.
15022 # Compiler output produced by configure, useful for debugging
15023 # configure, is in config.log if it exists.
15024
15025 debug=false
15026 ac_cs_recheck=false
15027 ac_cs_silent=false
15028 SHELL=\${CONFIG_SHELL-$SHELL}
15029 _ACEOF
15030
15031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15032 ## --------------------- ##
15033 ## M4sh Initialization. ##
15034 ## --------------------- ##
15035
15036 # Be more Bourne compatible
15037 DUALCASE=1; export DUALCASE # for MKS sh
15038 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15039 emulate sh
15040 NULLCMD=:
15041 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15042 # is contrary to our usage. Disable this feature.
15043 alias -g '${1+"$@"}'='"$@"'
15044 setopt NO_GLOB_SUBST
15045 else
15046 case `(set -o) 2>/dev/null` in
15047 *posix*) set -o posix ;;
15048 esac
15049
15050 fi
15051
15052
15053
15054
15055 # PATH needs CR
15056 # Avoid depending upon Character Ranges.
15057 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15058 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15059 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15060 as_cr_digits='0123456789'
15061 as_cr_alnum=$as_cr_Letters$as_cr_digits
15062
15063 as_nl='
15064 '
15065 export as_nl
15066 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15067 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15068 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15069 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15070 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15071 as_echo='printf %s\n'
15072 as_echo_n='printf %s'
15073 else
15074 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15075 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15076 as_echo_n='/usr/ucb/echo -n'
15077 else
15078 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15079 as_echo_n_body='eval
15080 arg=$1;
15081 case $arg in
15082 *"$as_nl"*)
15083 expr "X$arg" : "X\\(.*\\)$as_nl";
15084 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15085 esac;
15086 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15087 '
15088 export as_echo_n_body
15089 as_echo_n='sh -c $as_echo_n_body as_echo'
15090 fi
15091 export as_echo_body
15092 as_echo='sh -c $as_echo_body as_echo'
15093 fi
15094
15095 # The user is always right.
15096 if test "${PATH_SEPARATOR+set}" != set; then
15097 PATH_SEPARATOR=:
15098 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15099 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15100 PATH_SEPARATOR=';'
15101 }
15102 fi
15103
15104 # Support unset when possible.
15105 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15106 as_unset=unset
15107 else
15108 as_unset=false
15109 fi
15110
15111
15112 # IFS
15113 # We need space, tab and new line, in precisely that order. Quoting is
15114 # there to prevent editors from complaining about space-tab.
15115 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15116 # splitting by setting IFS to empty value.)
15117 IFS=" "" $as_nl"
15118
15119 # Find who we are. Look in the path if we contain no directory separator.
15120 case $0 in
15121 *[\\/]* ) as_myself=$0 ;;
15122 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15123 for as_dir in $PATH
15124 do
15125 IFS=$as_save_IFS
15126 test -z "$as_dir" && as_dir=.
15127 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15128 done
15129 IFS=$as_save_IFS
15130
15131 ;;
15132 esac
15133 # We did not find ourselves, most probably we were run as `sh COMMAND'
15134 # in which case we are not to be found in the path.
15135 if test "x$as_myself" = x; then
15136 as_myself=$0
15137 fi
15138 if test ! -f "$as_myself"; then
15139 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15140 { (exit 1); exit 1; }
15141 fi
15142
15143 # Work around bugs in pre-3.0 UWIN ksh.
15144 for as_var in ENV MAIL MAILPATH
15145 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15146 done
15147 PS1='$ '
15148 PS2='> '
15149 PS4='+ '
15150
15151 # NLS nuisances.
15152 LC_ALL=C
15153 export LC_ALL
15154 LANGUAGE=C
15155 export LANGUAGE
15156
15157 # Required to use basename.
15158 if expr a : '\(a\)' >/dev/null 2>&1 &&
15159 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15160 as_expr=expr
15161 else
15162 as_expr=false
15163 fi
15164
15165 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15166 as_basename=basename
15167 else
15168 as_basename=false
15169 fi
15170
15171
15172 # Name of the executable.
15173 as_me=`$as_basename -- "$0" ||
15174 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15175 X"$0" : 'X\(//\)$' \| \
15176 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15177 $as_echo X/"$0" |
15178 sed '/^.*\/\([^/][^/]*\)\/*$/{
15179 s//\1/
15180 q
15181 }
15182 /^X\/\(\/\/\)$/{
15183 s//\1/
15184 q
15185 }
15186 /^X\/\(\/\).*/{
15187 s//\1/
15188 q
15189 }
15190 s/.*/./; q'`
15191
15192 # CDPATH.
15193 $as_unset CDPATH
15194
15195
15196
15197 as_lineno_1=$LINENO
15198 as_lineno_2=$LINENO
15199 test "x$as_lineno_1" != "x$as_lineno_2" &&
15200 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15201
15202 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15203 # uniformly replaced by the line number. The first 'sed' inserts a
15204 # line-number line after each line using $LINENO; the second 'sed'
15205 # does the real work. The second script uses 'N' to pair each
15206 # line-number line with the line containing $LINENO, and appends
15207 # trailing '-' during substitution so that $LINENO is not a special
15208 # case at line end.
15209 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15210 # scripts with optimization help from Paolo Bonzini. Blame Lee
15211 # E. McMahon (1931-1989) for sed's syntax. :-)
15212 sed -n '
15213 p
15214 /[$]LINENO/=
15215 ' <$as_myself |
15216 sed '
15217 s/[$]LINENO.*/&-/
15218 t lineno
15219 b
15220 :lineno
15221 N
15222 :loop
15223 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15224 t loop
15225 s/-\n.*//
15226 ' >$as_me.lineno &&
15227 chmod +x "$as_me.lineno" ||
15228 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15229 { (exit 1); exit 1; }; }
15230
15231 # Don't try to exec as it changes $[0], causing all sort of problems
15232 # (the dirname of $[0] is not the place where we might find the
15233 # original and so on. Autoconf is especially sensitive to this).
15234 . "./$as_me.lineno"
15235 # Exit status is that of the last command.
15236 exit
15237 }
15238
15239
15240 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15241 as_dirname=dirname
15242 else
15243 as_dirname=false
15244 fi
15245
15246 ECHO_C= ECHO_N= ECHO_T=
15247 case `echo -n x` in
15248 -n*)
15249 case `echo 'x\c'` in
15250 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15251 *) ECHO_C='\c';;
15252 esac;;
15253 *)
15254 ECHO_N='-n';;
15255 esac
15256 if expr a : '\(a\)' >/dev/null 2>&1 &&
15257 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15258 as_expr=expr
15259 else
15260 as_expr=false
15261 fi
15262
15263 rm -f conf$$ conf$$.exe conf$$.file
15264 if test -d conf$$.dir; then
15265 rm -f conf$$.dir/conf$$.file
15266 else
15267 rm -f conf$$.dir
15268 mkdir conf$$.dir 2>/dev/null
15269 fi
15270 if (echo >conf$$.file) 2>/dev/null; then
15271 if ln -s conf$$.file conf$$ 2>/dev/null; then
15272 as_ln_s='ln -s'
15273 # ... but there are two gotchas:
15274 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15275 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15276 # In both cases, we have to default to `cp -p'.
15277 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15278 as_ln_s='cp -p'
15279 elif ln conf$$.file conf$$ 2>/dev/null; then
15280 as_ln_s=ln
15281 else
15282 as_ln_s='cp -p'
15283 fi
15284 else
15285 as_ln_s='cp -p'
15286 fi
15287 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15288 rmdir conf$$.dir 2>/dev/null
15289
15290 if mkdir -p . 2>/dev/null; then
15291 as_mkdir_p=:
15292 else
15293 test -d ./-p && rmdir ./-p
15294 as_mkdir_p=false
15295 fi
15296
15297 if test -x / >/dev/null 2>&1; then
15298 as_test_x='test -x'
15299 else
15300 if ls -dL / >/dev/null 2>&1; then
15301 as_ls_L_option=L
15302 else
15303 as_ls_L_option=
15304 fi
15305 as_test_x='
15306 eval sh -c '\''
15307 if test -d "$1"; then
15308 test -d "$1/.";
15309 else
15310 case $1 in
15311 -*)set "./$1";;
15312 esac;
15313 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15314 ???[sx]*):;;*)false;;esac;fi
15315 '\'' sh
15316 '
15317 fi
15318 as_executable_p=$as_test_x
15319
15320 # Sed expression to map a string onto a valid CPP name.
15321 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15322
15323 # Sed expression to map a string onto a valid variable name.
15324 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15325
15326
15327 exec 6>&1
15328
15329 # Save the log message, to keep $[0] and so on meaningful, and to
15330 # report actual input values of CONFIG_FILES etc. instead of their
15331 # values after options handling.
15332 ac_log="
15333 This file was extended by libXaw $as_me 1.0.6, which was
15334 generated by GNU Autoconf 2.63. Invocation command line was
15335
15336 CONFIG_FILES = $CONFIG_FILES
15337 CONFIG_HEADERS = $CONFIG_HEADERS
15338 CONFIG_LINKS = $CONFIG_LINKS
15339 CONFIG_COMMANDS = $CONFIG_COMMANDS
15340 $ $0 $@
15341
15342 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15343 "
15344
15345 _ACEOF
15346
15347 case $ac_config_files in *"
15348 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15349 esac
15350
15351 case $ac_config_headers in *"
15352 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15353 esac
15354
15355
15356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15357 # Files that config.status was made for.
15358 config_files="$ac_config_files"
15359 config_headers="$ac_config_headers"
15360 config_commands="$ac_config_commands"
15361
15362 _ACEOF
15363
15364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15365 ac_cs_usage="\
15366 \`$as_me' instantiates files from templates according to the
15367 current configuration.
15368
15369 Usage: $0 [OPTION]... [FILE]...
15370
15371 -h, --help print this help, then exit
15372 -V, --version print version number and configuration settings, then exit
15373 -q, --quiet, --silent
15374 do not print progress messages
15375 -d, --debug don't remove temporary files
15376 --recheck update $as_me by reconfiguring in the same conditions
15377 --file=FILE[:TEMPLATE]
15378 instantiate the configuration file FILE
15379 --header=FILE[:TEMPLATE]
15380 instantiate the configuration header FILE
15381
15382 Configuration files:
15383 $config_files
15384
15385 Configuration headers:
15386 $config_headers
15387
15388 Configuration commands:
15389 $config_commands
15390
15391 Report bugs to <bug-autoconf (at] gnu.org>."
15392
15393 _ACEOF
15394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15395 ac_cs_version="\\
15396 libXaw config.status 1.0.6
15397 configured by $0, generated by GNU Autoconf 2.63,
15398 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15399
15400 Copyright (C) 2008 Free Software Foundation, Inc.
15401 This config.status script is free software; the Free Software Foundation
15402 gives unlimited permission to copy, distribute and modify it."
15403
15404 ac_pwd='$ac_pwd'
15405 srcdir='$srcdir'
15406 INSTALL='$INSTALL'
15407 MKDIR_P='$MKDIR_P'
15408 AWK='$AWK'
15409 test -n "\$AWK" || AWK=awk
15410 _ACEOF
15411
15412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15413 # The default lists apply if the user does not specify any file.
15414 ac_need_defaults=:
15415 while test $# != 0
15416 do
15417 case $1 in
15418 --*=*)
15419 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15420 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15421 ac_shift=:
15422 ;;
15423 *)
15424 ac_option=$1
15425 ac_optarg=$2
15426 ac_shift=shift
15427 ;;
15428 esac
15429
15430 case $ac_option in
15431 # Handling of the options.
15432 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15433 ac_cs_recheck=: ;;
15434 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15435 $as_echo "$ac_cs_version"; exit ;;
15436 --debug | --debu | --deb | --de | --d | -d )
15437 debug=: ;;
15438 --file | --fil | --fi | --f )
15439 $ac_shift
15440 case $ac_optarg in
15441 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15442 esac
15443 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
15444 ac_need_defaults=false;;
15445 --header | --heade | --head | --hea )
15446 $ac_shift
15447 case $ac_optarg in
15448 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15449 esac
15450 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
15451 ac_need_defaults=false;;
15452 --he | --h)
15453 # Conflict between --help and --header
15454 { $as_echo "$as_me: error: ambiguous option: $1
15455 Try \`$0 --help' for more information." >&2
15456 { (exit 1); exit 1; }; };;
15457 --help | --hel | -h )
15458 $as_echo "$ac_cs_usage"; exit ;;
15459 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15460 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15461 ac_cs_silent=: ;;
15462
15463 # This is an error.
15464 -*) { $as_echo "$as_me: error: unrecognized option: $1
15465 Try \`$0 --help' for more information." >&2
15466 { (exit 1); exit 1; }; } ;;
15467
15468 *) ac_config_targets="$ac_config_targets $1"
15469 ac_need_defaults=false ;;
15470
15471 esac
15472 shift
15473 done
15474
15475 ac_configure_extra_args=
15476
15477 if $ac_cs_silent; then
15478 exec 6>/dev/null
15479 ac_configure_extra_args="$ac_configure_extra_args --silent"
15480 fi
15481
15482 _ACEOF
15483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15484 if \$ac_cs_recheck; then
15485 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15486 shift
15487 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15488 CONFIG_SHELL='$SHELL'
15489 export CONFIG_SHELL
15490 exec "\$@"
15491 fi
15492
15493 _ACEOF
15494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15495 exec 5>>config.log
15496 {
15497 echo
15498 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15499 ## Running $as_me. ##
15500 _ASBOX
15501 $as_echo "$ac_log"
15502 } >&5
15503
15504 _ACEOF
15505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15506 #
15507 # INIT-COMMANDS
15508 #
15509 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15510
15511
15512 # The HP-UX ksh and POSIX shell print the target directory to stdout
15513 # if CDPATH is set.
15514 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15515
15516 sed_quote_subst='$sed_quote_subst'
15517 double_quote_subst='$double_quote_subst'
15518 delay_variable_subst='$delay_variable_subst'
15519 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15520 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15521 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15522 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15523 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15524 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15525 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15526 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15527 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15528 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15529 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15530 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15531 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15532 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15533 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15534 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15535 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15536 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15537 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15538 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15539 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15540 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15541 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15542 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15543 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15544 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15545 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15546 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15547 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15548 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15549 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15550 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15551 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15552 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15553 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15554 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15555 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15556 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15557 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15558 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15559 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15560 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15561 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15562 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15563 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15564 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15565 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15566 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15567 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15568 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15569 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15570 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15571 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15572 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15573 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15574 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15575 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15576 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15577 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15578 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15579 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15580 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15581 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15582 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15583 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15584 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15585 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15586 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15587 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15588 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15589 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15590 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15591 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15592 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15593 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15594 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15595 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15596 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15597 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15598 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15599 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15600 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15601 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15602 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15603 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15604 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15605 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15606 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15607 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15608 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15609 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15610 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15611 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15612 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15613 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15614 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15615 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15616 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15617 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15618 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15619 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15620 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15621 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15622 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15623 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15624 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15625 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15626 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15627 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15628 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15629 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15630 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15631 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15632 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15633 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15634 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15635 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15636 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15637
15638 LTCC='$LTCC'
15639 LTCFLAGS='$LTCFLAGS'
15640 compiler='$compiler_DEFAULT'
15641
15642 # Quote evaled strings.
15643 for var in SED \
15644 GREP \
15645 EGREP \
15646 FGREP \
15647 LD \
15648 NM \
15649 LN_S \
15650 lt_SP2NL \
15651 lt_NL2SP \
15652 reload_flag \
15653 OBJDUMP \
15654 deplibs_check_method \
15655 file_magic_cmd \
15656 AR \
15657 AR_FLAGS \
15658 STRIP \
15659 RANLIB \
15660 CC \
15661 CFLAGS \
15662 compiler \
15663 lt_cv_sys_global_symbol_pipe \
15664 lt_cv_sys_global_symbol_to_cdecl \
15665 lt_cv_sys_global_symbol_to_c_name_address \
15666 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15667 SHELL \
15668 ECHO \
15669 lt_prog_compiler_no_builtin_flag \
15670 lt_prog_compiler_wl \
15671 lt_prog_compiler_pic \
15672 lt_prog_compiler_static \
15673 lt_cv_prog_compiler_c_o \
15674 need_locks \
15675 DSYMUTIL \
15676 NMEDIT \
15677 LIPO \
15678 OTOOL \
15679 OTOOL64 \
15680 shrext_cmds \
15681 export_dynamic_flag_spec \
15682 whole_archive_flag_spec \
15683 compiler_needs_object \
15684 with_gnu_ld \
15685 allow_undefined_flag \
15686 no_undefined_flag \
15687 hardcode_libdir_flag_spec \
15688 hardcode_libdir_flag_spec_ld \
15689 hardcode_libdir_separator \
15690 fix_srcfile_path \
15691 exclude_expsyms \
15692 include_expsyms \
15693 file_list_spec \
15694 variables_saved_for_relink \
15695 libname_spec \
15696 library_names_spec \
15697 soname_spec \
15698 finish_eval \
15699 old_striplib \
15700 striplib; do
15701 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15702 *[\\\\\\\`\\"\\\$]*)
15703 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15704 ;;
15705 *)
15706 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15707 ;;
15708 esac
15709 done
15710
15711 # Double-quote double-evaled strings.
15712 for var in reload_cmds \
15713 old_postinstall_cmds \
15714 old_postuninstall_cmds \
15715 old_archive_cmds \
15716 extract_expsyms_cmds \
15717 old_archive_from_new_cmds \
15718 old_archive_from_expsyms_cmds \
15719 archive_cmds \
15720 archive_expsym_cmds \
15721 module_cmds \
15722 module_expsym_cmds \
15723 export_symbols_cmds \
15724 prelink_cmds \
15725 postinstall_cmds \
15726 postuninstall_cmds \
15727 finish_cmds \
15728 sys_lib_search_path_spec \
15729 sys_lib_dlsearch_path_spec; do
15730 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15731 *[\\\\\\\`\\"\\\$]*)
15732 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15733 ;;
15734 *)
15735 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15736 ;;
15737 esac
15738 done
15739
15740 # Fix-up fallback echo if it was mangled by the above quoting rules.
15741 case \$lt_ECHO in
15742 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15743 ;;
15744 esac
15745
15746 ac_aux_dir='$ac_aux_dir'
15747 xsi_shell='$xsi_shell'
15748 lt_shell_append='$lt_shell_append'
15749
15750 # See if we are running on zsh, and set the options which allow our
15751 # commands through without removal of \ escapes INIT.
15752 if test -n "\${ZSH_VERSION+set}" ; then
15753 setopt NO_GLOB_SUBST
15754 fi
15755
15756
15757 PACKAGE='$PACKAGE'
15758 VERSION='$VERSION'
15759 TIMESTAMP='$TIMESTAMP'
15760 RM='$RM'
15761 ofile='$ofile'
15762
15763 ac_aux_dir='$ac_aux_dir'
15764
15765
15766
15767 _ACEOF
15768
15769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15770
15771 # Handling of arguments.
15772 for ac_config_target in $ac_config_targets
15773 do
15774 case $ac_config_target in
15775 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15776 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15777 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15778 "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
15779 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15780 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
15781 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
15782 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15783 "xaw6.pc") CONFIG_FILES="$CONFIG_FILES xaw6.pc" ;;
15784
15785 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15786 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15787 { (exit 1); exit 1; }; };;
15788 esac
15789 done
15790
15791
15792 # If the user did not use the arguments to specify the items to instantiate,
15793 # then the envvar interface is used. Set only those that are not.
15794 # We use the long form for the default assignment because of an extremely
15795 # bizarre bug on SunOS 4.1.3.
15796 if $ac_need_defaults; then
15797 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15798 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15799 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15800 fi
15801
15802 # Have a temporary directory for convenience. Make it in the build tree
15803 # simply because there is no reason against having it here, and in addition,
15804 # creating and moving files from /tmp can sometimes cause problems.
15805 # Hook for its removal unless debugging.
15806 # Note that there is a small window in which the directory will not be cleaned:
15807 # after its creation but before its name has been assigned to `$tmp'.
15808 $debug ||
15809 {
15810 tmp=
15811 trap 'exit_status=$?
15812 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15813 ' 0
15814 trap '{ (exit 1); exit 1; }' 1 2 13 15
15815 }
15816 # Create a (secure) tmp directory for tmp files.
15817
15818 {
15819 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15820 test -n "$tmp" && test -d "$tmp"
15821 } ||
15822 {
15823 tmp=./conf$$-$RANDOM
15824 (umask 077 && mkdir "$tmp")
15825 } ||
15826 {
15827 $as_echo "$as_me: cannot create a temporary directory in ." >&2
15828 { (exit 1); exit 1; }
15829 }
15830
15831 # Set up the scripts for CONFIG_FILES section.
15832 # No need to generate them if there are no CONFIG_FILES.
15833 # This happens for instance with `./config.status config.h'.
15834 if test -n "$CONFIG_FILES"; then
15835
15836
15837 ac_cr='
'
15839 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15840 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15841 ac_cs_awk_cr='\\r'
15842 else
15843 ac_cs_awk_cr=$ac_cr
15844 fi
15845
15846 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15847 _ACEOF
15848
15849
15850 {
15851 echo "cat >conf$$subs.awk <<_ACEOF" &&
15852 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15853 echo "_ACEOF"
15854 } >conf$$subs.sh ||
15855 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15856 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15857 { (exit 1); exit 1; }; }
15858 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15859 ac_delim='%!_!# '
15860 for ac_last_try in false false false false false :; do
15861 . ./conf$$subs.sh ||
15862 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15863 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15864 { (exit 1); exit 1; }; }
15865
15866 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15867 if test $ac_delim_n = $ac_delim_num; then
15868 break
15869 elif $ac_last_try; then
15870 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15871 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15872 { (exit 1); exit 1; }; }
15873 else
15874 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15875 fi
15876 done
15877 rm -f conf$$subs.sh
15878
15879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15880 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15881 _ACEOF
15882 sed -n '
15883 h
15884 s/^/S["/; s/!.*/"]=/
15885 p
15886 g
15887 s/^[^!]*!//
15888 :repl
15889 t repl
15890 s/'"$ac_delim"'$//
15891 t delim
15892 :nl
15893 h
15894 s/\(.\{148\}\).*/\1/
15895 t more1
15896 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15897 p
15898 n
15899 b repl
15900 :more1
15901 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15902 p
15903 g
15904 s/.\{148\}//
15905 t nl
15906 :delim
15907 h
15908 s/\(.\{148\}\).*/\1/
15909 t more2
15910 s/["\\]/\\&/g; s/^/"/; s/$/"/
15911 p
15912 b
15913 :more2
15914 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15915 p
15916 g
15917 s/.\{148\}//
15918 t delim
15919 ' <conf$$subs.awk | sed '
15920 /^[^""]/{
15921 N
15922 s/\n//
15923 }
15924 ' >>$CONFIG_STATUS || ac_write_fail=1
15925 rm -f conf$$subs.awk
15926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15927 _ACAWK
15928 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15929 for (key in S) S_is_set[key] = 1
15930 FS = ""
15931
15932 }
15933 {
15934 line = $ 0
15935 nfields = split(line, field, "@")
15936 substed = 0
15937 len = length(field[1])
15938 for (i = 2; i < nfields; i++) {
15939 key = field[i]
15940 keylen = length(key)
15941 if (S_is_set[key]) {
15942 value = S[key]
15943 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15944 len += length(value) + length(field[++i])
15945 substed = 1
15946 } else
15947 len += 1 + keylen
15948 }
15949
15950 print line
15951 }
15952
15953 _ACAWK
15954 _ACEOF
15955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15956 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15957 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15958 else
15959 cat
15960 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15961 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
15962 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
15963 { (exit 1); exit 1; }; }
15964 _ACEOF
15965
15966 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15967 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15968 # trailing colons and then remove the whole line if VPATH becomes empty
15969 # (actually we leave an empty line to preserve line numbers).
15970 if test "x$srcdir" = x.; then
15971 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15972 s/:*\$(srcdir):*/:/
15973 s/:*\${srcdir}:*/:/
15974 s/:*@srcdir@:*/:/
15975 s/^\([^=]*=[ ]*\):*/\1/
15976 s/:*$//
15977 s/^[^=]*=[ ]*$//
15978 }'
15979 fi
15980
15981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15982 fi # test -n "$CONFIG_FILES"
15983
15984 # Set up the scripts for CONFIG_HEADERS section.
15985 # No need to generate them if there are no CONFIG_HEADERS.
15986 # This happens for instance with `./config.status Makefile'.
15987 if test -n "$CONFIG_HEADERS"; then
15988 cat >"$tmp/defines.awk" <<\_ACAWK ||
15989 BEGIN {
15990 _ACEOF
15991
15992 # Transform confdefs.h into an awk script `defines.awk', embedded as
15993 # here-document in config.status, that substitutes the proper values into
15994 # config.h.in to produce config.h.
15995
15996 # Create a delimiter string that does not exist in confdefs.h, to ease
15997 # handling of long lines.
15998 ac_delim='%!_!# '
15999 for ac_last_try in false false :; do
16000 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16001 if test -z "$ac_t"; then
16002 break
16003 elif $ac_last_try; then
16004 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
16005 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
16006 { (exit 1); exit 1; }; }
16007 else
16008 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16009 fi
16010 done
16011
16012 # For the awk script, D is an array of macro values keyed by name,
16013 # likewise P contains macro parameters if any. Preserve backslash
16014 # newline sequences.
16015
16016 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16017 sed -n '
16018 s/.\{148\}/&'"$ac_delim"'/g
16019 t rset
16020 :rset
16021 s/^[ ]*#[ ]*define[ ][ ]*/ /
16022 t def
16023 d
16024 :def
16025 s/\\$//
16026 t bsnl
16027 s/["\\]/\\&/g
16028 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16029 D["\1"]=" \3"/p
16030 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16031 d
16032 :bsnl
16033 s/["\\]/\\&/g
16034 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16035 D["\1"]=" \3\\\\\\n"\\/p
16036 t cont
16037 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16038 t cont
16039 d
16040 :cont
16041 n
16042 s/.\{148\}/&'"$ac_delim"'/g
16043 t clear
16044 :clear
16045 s/\\$//
16046 t bsnlc
16047 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16048 d
16049 :bsnlc
16050 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16051 b cont
16052 ' <confdefs.h | sed '
16053 s/'"$ac_delim"'/"\\\
16054 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16055
16056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16057 for (key in D) D_is_set[key] = 1
16058 FS = ""
16059 }
16060 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16061 line = \$ 0
16062 split(line, arg, " ")
16063 if (arg[1] == "#") {
16064 defundef = arg[2]
16065 mac1 = arg[3]
16066 } else {
16067 defundef = substr(arg[1], 2)
16068 mac1 = arg[2]
16069 }
16070 split(mac1, mac2, "(") #)
16071 macro = mac2[1]
16072 prefix = substr(line, 1, index(line, defundef) - 1)
16073 if (D_is_set[macro]) {
16074 # Preserve the white space surrounding the "#".
16075 print prefix "define", macro P[macro] D[macro]
16076 next
16077 } else {
16078 # Replace #undef with comments. This is necessary, for example,
16079 # in the case of _POSIX_SOURCE, which is predefined and required
16080 # on some systems where configure will not decide to define it.
16081 if (defundef == "undef") {
16082 print "/*", prefix defundef, macro, "*/"
16083 next
16084 }
16085 }
16086 }
16087 { print }
16088 _ACAWK
16089 _ACEOF
16090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16091 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16092 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16093 { (exit 1); exit 1; }; }
16094 fi # test -n "$CONFIG_HEADERS"
16095
16096
16097 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16098 shift
16099 for ac_tag
16100 do
16101 case $ac_tag in
16102 :[FHLC]) ac_mode=$ac_tag; continue;;
16103 esac
16104 case $ac_mode$ac_tag in
16105 :[FHL]*:*);;
16106 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16107 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16108 { (exit 1); exit 1; }; };;
16109 :[FH]-) ac_tag=-:-;;
16110 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16111 esac
16112 ac_save_IFS=$IFS
16113 IFS=:
16114 set x $ac_tag
16115 IFS=$ac_save_IFS
16116 shift
16117 ac_file=$1
16118 shift
16119
16120 case $ac_mode in
16121 :L) ac_source=$1;;
16122 :[FH])
16123 ac_file_inputs=
16124 for ac_f
16125 do
16126 case $ac_f in
16127 -) ac_f="$tmp/stdin";;
16128 *) # Look for the file first in the build tree, then in the source tree
16129 # (if the path is not absolute). The absolute path cannot be DOS-style,
16130 # because $ac_f cannot contain `:'.
16131 test -f "$ac_f" ||
16132 case $ac_f in
16133 [\\/$]*) false;;
16134 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16135 esac ||
16136 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16137 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16138 { (exit 1); exit 1; }; };;
16139 esac
16140 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16141 ac_file_inputs="$ac_file_inputs '$ac_f'"
16142 done
16143
16144 # Let's still pretend it is `configure' which instantiates (i.e., don't
16145 # use $as_me), people would be surprised to read:
16146 # /* config.h. Generated by config.status. */
16147 configure_input='Generated from '`
16148 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16149 `' by configure.'
16150 if test x"$ac_file" != x-; then
16151 configure_input="$ac_file. $configure_input"
16152 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
16153 $as_echo "$as_me: creating $ac_file" >&6;}
16154 fi
16155 # Neutralize special characters interpreted by sed in replacement strings.
16156 case $configure_input in #(
16157 *\&* | *\|* | *\\* )
16158 ac_sed_conf_input=`$as_echo "$configure_input" |
16159 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16160 *) ac_sed_conf_input=$configure_input;;
16161 esac
16162
16163 case $ac_tag in
16164 *:-:* | *:-) cat >"$tmp/stdin" \
16165 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16166 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16167 { (exit 1); exit 1; }; } ;;
16168 esac
16169 ;;
16170 esac
16171
16172 ac_dir=`$as_dirname -- "$ac_file" ||
16173 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16174 X"$ac_file" : 'X\(//\)[^/]' \| \
16175 X"$ac_file" : 'X\(//\)$' \| \
16176 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16177 $as_echo X"$ac_file" |
16178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16179 s//\1/
16180 q
16181 }
16182 /^X\(\/\/\)[^/].*/{
16183 s//\1/
16184 q
16185 }
16186 /^X\(\/\/\)$/{
16187 s//\1/
16188 q
16189 }
16190 /^X\(\/\).*/{
16191 s//\1/
16192 q
16193 }
16194 s/.*/./; q'`
16195 { as_dir="$ac_dir"
16196 case $as_dir in #(
16197 -*) as_dir=./$as_dir;;
16198 esac
16199 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16200 as_dirs=
16201 while :; do
16202 case $as_dir in #(
16203 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16204 *) as_qdir=$as_dir;;
16205 esac
16206 as_dirs="'$as_qdir' $as_dirs"
16207 as_dir=`$as_dirname -- "$as_dir" ||
16208 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16209 X"$as_dir" : 'X\(//\)[^/]' \| \
16210 X"$as_dir" : 'X\(//\)$' \| \
16211 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16212 $as_echo X"$as_dir" |
16213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16214 s//\1/
16215 q
16216 }
16217 /^X\(\/\/\)[^/].*/{
16218 s//\1/
16219 q
16220 }
16221 /^X\(\/\/\)$/{
16222 s//\1/
16223 q
16224 }
16225 /^X\(\/\).*/{
16226 s//\1/
16227 q
16228 }
16229 s/.*/./; q'`
16230 test -d "$as_dir" && break
16231 done
16232 test -z "$as_dirs" || eval "mkdir $as_dirs"
16233 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16234 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16235 { (exit 1); exit 1; }; }; }
16236 ac_builddir=.
16237
16238 case "$ac_dir" in
16239 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16240 *)
16241 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16242 # A ".." for each directory in $ac_dir_suffix.
16243 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16244 case $ac_top_builddir_sub in
16245 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16246 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16247 esac ;;
16248 esac
16249 ac_abs_top_builddir=$ac_pwd
16250 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16251 # for backward compatibility:
16252 ac_top_builddir=$ac_top_build_prefix
16253
16254 case $srcdir in
16255 .) # We are building in place.
16256 ac_srcdir=.
16257 ac_top_srcdir=$ac_top_builddir_sub
16258 ac_abs_top_srcdir=$ac_pwd ;;
16259 [\\/]* | ?:[\\/]* ) # Absolute name.
16260 ac_srcdir=$srcdir$ac_dir_suffix;
16261 ac_top_srcdir=$srcdir
16262 ac_abs_top_srcdir=$srcdir ;;
16263 *) # Relative name.
16264 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16265 ac_top_srcdir=$ac_top_build_prefix$srcdir
16266 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16267 esac
16268 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16269
16270
16271 case $ac_mode in
16272 :F)
16273 #
16274 # CONFIG_FILE
16275 #
16276
16277 case $INSTALL in
16278 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16279 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16280 esac
16281 ac_MKDIR_P=$MKDIR_P
16282 case $MKDIR_P in
16283 [\\/$]* | ?:[\\/]* ) ;;
16284 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16285 esac
16286 _ACEOF
16287
16288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16289 # If the template does not know about datarootdir, expand it.
16290 # FIXME: This hack should be removed a few years after 2.60.
16291 ac_datarootdir_hack=; ac_datarootdir_seen=
16292
16293 ac_sed_dataroot='
16294 /datarootdir/ {
16295 p
16296 q
16297 }
16298 /@datadir@/p
16299 /@docdir@/p
16300 /@infodir@/p
16301 /@localedir@/p
16302 /@mandir@/p
16303 '
16304 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16305 *datarootdir*) ac_datarootdir_seen=yes;;
16306 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16307 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16308 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16309 _ACEOF
16310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16311 ac_datarootdir_hack='
16312 s&@datadir@&$datadir&g
16313 s&@docdir@&$docdir&g
16314 s&@infodir@&$infodir&g
16315 s&@localedir@&$localedir&g
16316 s&@mandir@&$mandir&g
16317 s&\\\${datarootdir}&$datarootdir&g' ;;
16318 esac
16319 _ACEOF
16320
16321 # Neutralize VPATH when `$srcdir' = `.'.
16322 # Shell code in configure.ac might set extrasub.
16323 # FIXME: do we really want to maintain this feature?
16324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16325 ac_sed_extra="$ac_vpsub
16326 $extrasub
16327 _ACEOF
16328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16329 :t
16330 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16331 s|@configure_input@|$ac_sed_conf_input|;t t
16332 s&@top_builddir@&$ac_top_builddir_sub&;t t
16333 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16334 s&@srcdir@&$ac_srcdir&;t t
16335 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16336 s&@top_srcdir@&$ac_top_srcdir&;t t
16337 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16338 s&@builddir@&$ac_builddir&;t t
16339 s&@abs_builddir@&$ac_abs_builddir&;t t
16340 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16341 s&@INSTALL@&$ac_INSTALL&;t t
16342 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16343 $ac_datarootdir_hack
16344 "
16345 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16346 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16347 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16348 { (exit 1); exit 1; }; }
16349
16350 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16351 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16352 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16353 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16354 which seems to be undefined. Please make sure it is defined." >&5
16355 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16356 which seems to be undefined. Please make sure it is defined." >&2;}
16357
16358 rm -f "$tmp/stdin"
16359 case $ac_file in
16360 -) cat "$tmp/out" && rm -f "$tmp/out";;
16361 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16362 esac \
16363 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16364 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16365 { (exit 1); exit 1; }; }
16366 ;;
16367 :H)
16368 #
16369 # CONFIG_HEADER
16370 #
16371 if test x"$ac_file" != x-; then
16372 {
16373 $as_echo "/* $configure_input */" \
16374 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16375 } >"$tmp/config.h" \
16376 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16377 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16378 { (exit 1); exit 1; }; }
16379 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16380 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16381 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16382 else
16383 rm -f "$ac_file"
16384 mv "$tmp/config.h" "$ac_file" \
16385 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16386 $as_echo "$as_me: error: could not create $ac_file" >&2;}
16387 { (exit 1); exit 1; }; }
16388 fi
16389 else
16390 $as_echo "/* $configure_input */" \
16391 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16392 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16393 $as_echo "$as_me: error: could not create -" >&2;}
16394 { (exit 1); exit 1; }; }
16395 fi
16396 # Compute "$ac_file"'s index in $config_headers.
16397 _am_arg="$ac_file"
16398 _am_stamp_count=1
16399 for _am_header in $config_headers :; do
16400 case $_am_header in
16401 $_am_arg | $_am_arg:* )
16402 break ;;
16403 * )
16404 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16405 esac
16406 done
16407 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16408 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16409 X"$_am_arg" : 'X\(//\)[^/]' \| \
16410 X"$_am_arg" : 'X\(//\)$' \| \
16411 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16412 $as_echo X"$_am_arg" |
16413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16414 s//\1/
16415 q
16416 }
16417 /^X\(\/\/\)[^/].*/{
16418 s//\1/
16419 q
16420 }
16421 /^X\(\/\/\)$/{
16422 s//\1/
16423 q
16424 }
16425 /^X\(\/\).*/{
16426 s//\1/
16427 q
16428 }
16429 s/.*/./; q'`/stamp-h$_am_stamp_count
16430 ;;
16431
16432 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
16433 $as_echo "$as_me: executing $ac_file commands" >&6;}
16434 ;;
16435 esac
16436
16437
16438 case $ac_file$ac_mode in
16439 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
16440 # are listed without --file. Let's play safe and only enable the eval
16441 # if we detect the quoting.
16442 case $CONFIG_FILES in
16443 *\'*) eval set x "$CONFIG_FILES" ;;
16444 *) set x $CONFIG_FILES ;;
16445 esac
16446 shift
16447 for mf
16448 do
16449 # Strip MF so we end up with the name of the file.
16450 mf=`echo "$mf" | sed -e 's/:.*$//'`
16451 # Check whether this is an Automake generated Makefile or not.
16452 # We used to match only the files named `Makefile.in', but
16453 # some people rename them; so instead we look at the file content.
16454 # Grep'ing the first line is not enough: some people post-process
16455 # each Makefile.in and add a new line on top of each file to say so.
16456 # Grep'ing the whole file is not good either: AIX grep has a line
16457 # limit of 2048, but all sed's we know have understand at least 4000.
16458 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16459 dirpart=`$as_dirname -- "$mf" ||
16460 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16461 X"$mf" : 'X\(//\)[^/]' \| \
16462 X"$mf" : 'X\(//\)$' \| \
16463 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16464 $as_echo X"$mf" |
16465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16466 s//\1/
16467 q
16468 }
16469 /^X\(\/\/\)[^/].*/{
16470 s//\1/
16471 q
16472 }
16473 /^X\(\/\/\)$/{
16474 s//\1/
16475 q
16476 }
16477 /^X\(\/\).*/{
16478 s//\1/
16479 q
16480 }
16481 s/.*/./; q'`
16482 else
16483 continue
16484 fi
16485 # Extract the definition of DEPDIR, am__include, and am__quote
16486 # from the Makefile without running `make'.
16487 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16488 test -z "$DEPDIR" && continue
16489 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16490 test -z "am__include" && continue
16491 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16492 # When using ansi2knr, U may be empty or an underscore; expand it
16493 U=`sed -n 's/^U = //p' < "$mf"`
16494 # Find all dependency output files, they are included files with
16495 # $(DEPDIR) in their names. We invoke sed twice because it is the
16496 # simplest approach to changing $(DEPDIR) to its actual value in the
16497 # expansion.
16498 for file in `sed -n "
16499 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16500 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16501 # Make sure the directory exists.
16502 test -f "$dirpart/$file" && continue
16503 fdir=`$as_dirname -- "$file" ||
16504 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16505 X"$file" : 'X\(//\)[^/]' \| \
16506 X"$file" : 'X\(//\)$' \| \
16507 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16508 $as_echo X"$file" |
16509 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16510 s//\1/
16511 q
16512 }
16513 /^X\(\/\/\)[^/].*/{
16514 s//\1/
16515 q
16516 }
16517 /^X\(\/\/\)$/{
16518 s//\1/
16519 q
16520 }
16521 /^X\(\/\).*/{
16522 s//\1/
16523 q
16524 }
16525 s/.*/./; q'`
16526 { as_dir=$dirpart/$fdir
16527 case $as_dir in #(
16528 -*) as_dir=./$as_dir;;
16529 esac
16530 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16531 as_dirs=
16532 while :; do
16533 case $as_dir in #(
16534 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16535 *) as_qdir=$as_dir;;
16536 esac
16537 as_dirs="'$as_qdir' $as_dirs"
16538 as_dir=`$as_dirname -- "$as_dir" ||
16539 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16540 X"$as_dir" : 'X\(//\)[^/]' \| \
16541 X"$as_dir" : 'X\(//\)$' \| \
16542 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16543 $as_echo X"$as_dir" |
16544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16545 s//\1/
16546 q
16547 }
16548 /^X\(\/\/\)[^/].*/{
16549 s//\1/
16550 q
16551 }
16552 /^X\(\/\/\)$/{
16553 s//\1/
16554 q
16555 }
16556 /^X\(\/\).*/{
16557 s//\1/
16558 q
16559 }
16560 s/.*/./; q'`
16561 test -d "$as_dir" && break
16562 done
16563 test -z "$as_dirs" || eval "mkdir $as_dirs"
16564 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16565 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16566 { (exit 1); exit 1; }; }; }
16567 # echo "creating $dirpart/$file"
16568 echo '# dummy' > "$dirpart/$file"
16569 done
16570 done
16571 ;;
16572 "libtool":C)
16573
16574 # See if we are running on zsh, and set the options which allow our
16575 # commands through without removal of \ escapes.
16576 if test -n "${ZSH_VERSION+set}" ; then
16577 setopt NO_GLOB_SUBST
16578 fi
16579
16580 cfgfile="${ofile}T"
16581 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16582 $RM "$cfgfile"
16583
16584 cat <<_LT_EOF >> "$cfgfile"
16585 #! $SHELL
16586
16587 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16588 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16589 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16590 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16591 #
16592 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16593 # 2006, 2007, 2008 Free Software Foundation, Inc.
16594 # Written by Gordon Matzigkeit, 1996
16595 #
16596 # This file is part of GNU Libtool.
16597 #
16598 # GNU Libtool is free software; you can redistribute it and/or
16599 # modify it under the terms of the GNU General Public License as
16600 # published by the Free Software Foundation; either version 2 of
16601 # the License, or (at your option) any later version.
16602 #
16603 # As a special exception to the GNU General Public License,
16604 # if you distribute this file as part of a program or library that
16605 # is built using GNU Libtool, you may include this file under the
16606 # same distribution terms that you use for the rest of that program.
16607 #
16608 # GNU Libtool is distributed in the hope that it will be useful,
16609 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16610 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16611 # GNU General Public License for more details.
16612 #
16613 # You should have received a copy of the GNU General Public License
16614 # along with GNU Libtool; see the file COPYING. If not, a copy
16615 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16616 # obtained by writing to the Free Software Foundation, Inc.,
16617 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16618
16619
16620 # The names of the tagged configurations supported by this script.
16621 available_tags=""
16622
16623 # ### BEGIN LIBTOOL CONFIG
16624
16625 # Which release of libtool.m4 was used?
16626 macro_version=$macro_version
16627 macro_revision=$macro_revision
16628
16629 # Whether or not to build shared libraries.
16630 build_libtool_libs=$enable_shared
16631
16632 # Whether or not to build static libraries.
16633 build_old_libs=$enable_static
16634
16635 # What type of objects to build.
16636 pic_mode=$pic_mode
16637
16638 # Whether or not to optimize for fast installation.
16639 fast_install=$enable_fast_install
16640
16641 # The host system.
16642 host_alias=$host_alias
16643 host=$host
16644 host_os=$host_os
16645
16646 # The build system.
16647 build_alias=$build_alias
16648 build=$build
16649 build_os=$build_os
16650
16651 # A sed program that does not truncate output.
16652 SED=$lt_SED
16653
16654 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16655 Xsed="\$SED -e 1s/^X//"
16656
16657 # A grep program that handles long lines.
16658 GREP=$lt_GREP
16659
16660 # An ERE matcher.
16661 EGREP=$lt_EGREP
16662
16663 # A literal string matcher.
16664 FGREP=$lt_FGREP
16665
16666 # A BSD- or MS-compatible name lister.
16667 NM=$lt_NM
16668
16669 # Whether we need soft or hard links.
16670 LN_S=$lt_LN_S
16671
16672 # What is the maximum length of a command?
16673 max_cmd_len=$max_cmd_len
16674
16675 # Object file suffix (normally "o").
16676 objext=$ac_objext
16677
16678 # Executable file suffix (normally "").
16679 exeext=$exeext
16680
16681 # whether the shell understands "unset".
16682 lt_unset=$lt_unset
16683
16684 # turn spaces into newlines.
16685 SP2NL=$lt_lt_SP2NL
16686
16687 # turn newlines into spaces.
16688 NL2SP=$lt_lt_NL2SP
16689
16690 # How to create reloadable object files.
16691 reload_flag=$lt_reload_flag
16692 reload_cmds=$lt_reload_cmds
16693
16694 # An object symbol dumper.
16695 OBJDUMP=$lt_OBJDUMP
16696
16697 # Method to check whether dependent libraries are shared objects.
16698 deplibs_check_method=$lt_deplibs_check_method
16699
16700 # Command to use when deplibs_check_method == "file_magic".
16701 file_magic_cmd=$lt_file_magic_cmd
16702
16703 # The archiver.
16704 AR=$lt_AR
16705 AR_FLAGS=$lt_AR_FLAGS
16706
16707 # A symbol stripping program.
16708 STRIP=$lt_STRIP
16709
16710 # Commands used to install an old-style archive.
16711 RANLIB=$lt_RANLIB
16712 old_postinstall_cmds=$lt_old_postinstall_cmds
16713 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16714
16715 # A C compiler.
16716 LTCC=$lt_CC
16717
16718 # LTCC compiler flags.
16719 LTCFLAGS=$lt_CFLAGS
16720
16721 # Take the output of nm and produce a listing of raw symbols and C names.
16722 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16723
16724 # Transform the output of nm in a proper C declaration.
16725 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16726
16727 # Transform the output of nm in a C name address pair.
16728 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16729
16730 # Transform the output of nm in a C name address pair when lib prefix is needed.
16731 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16732
16733 # The name of the directory that contains temporary libtool files.
16734 objdir=$objdir
16735
16736 # Shell to use when invoking shell scripts.
16737 SHELL=$lt_SHELL
16738
16739 # An echo program that does not interpret backslashes.
16740 ECHO=$lt_ECHO
16741
16742 # Used to examine libraries when file_magic_cmd begins with "file".
16743 MAGIC_CMD=$MAGIC_CMD
16744
16745 # Must we lock files when doing compilation?
16746 need_locks=$lt_need_locks
16747
16748 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16749 DSYMUTIL=$lt_DSYMUTIL
16750
16751 # Tool to change global to local symbols on Mac OS X.
16752 NMEDIT=$lt_NMEDIT
16753
16754 # Tool to manipulate fat objects and archives on Mac OS X.
16755 LIPO=$lt_LIPO
16756
16757 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16758 OTOOL=$lt_OTOOL
16759
16760 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16761 OTOOL64=$lt_OTOOL64
16762
16763 # Old archive suffix (normally "a").
16764 libext=$libext
16765
16766 # Shared library suffix (normally ".so").
16767 shrext_cmds=$lt_shrext_cmds
16768
16769 # The commands to extract the exported symbol list from a shared archive.
16770 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16771
16772 # Variables whose values should be saved in libtool wrapper scripts and
16773 # restored at link time.
16774 variables_saved_for_relink=$lt_variables_saved_for_relink
16775
16776 # Do we need the "lib" prefix for modules?
16777 need_lib_prefix=$need_lib_prefix
16778
16779 # Do we need a version for libraries?
16780 need_version=$need_version
16781
16782 # Library versioning type.
16783 version_type=$version_type
16784
16785 # Shared library runtime path variable.
16786 runpath_var=$runpath_var
16787
16788 # Shared library path variable.
16789 shlibpath_var=$shlibpath_var
16790
16791 # Is shlibpath searched before the hard-coded library search path?
16792 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16793
16794 # Format of library name prefix.
16795 libname_spec=$lt_libname_spec
16796
16797 # List of archive names. First name is the real one, the rest are links.
16798 # The last name is the one that the linker finds with -lNAME
16799 library_names_spec=$lt_library_names_spec
16800
16801 # The coded name of the library, if different from the real name.
16802 soname_spec=$lt_soname_spec
16803
16804 # Command to use after installation of a shared archive.
16805 postinstall_cmds=$lt_postinstall_cmds
16806
16807 # Command to use after uninstallation of a shared archive.
16808 postuninstall_cmds=$lt_postuninstall_cmds
16809
16810 # Commands used to finish a libtool library installation in a directory.
16811 finish_cmds=$lt_finish_cmds
16812
16813 # As "finish_cmds", except a single script fragment to be evaled but
16814 # not shown.
16815 finish_eval=$lt_finish_eval
16816
16817 # Whether we should hardcode library paths into libraries.
16818 hardcode_into_libs=$hardcode_into_libs
16819
16820 # Compile-time system search path for libraries.
16821 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16822
16823 # Run-time system search path for libraries.
16824 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16825
16826 # Whether dlopen is supported.
16827 dlopen_support=$enable_dlopen
16828
16829 # Whether dlopen of programs is supported.
16830 dlopen_self=$enable_dlopen_self
16831
16832 # Whether dlopen of statically linked programs is supported.
16833 dlopen_self_static=$enable_dlopen_self_static
16834
16835 # Commands to strip libraries.
16836 old_striplib=$lt_old_striplib
16837 striplib=$lt_striplib
16838
16839
16840 # The linker used to build libraries.
16841 LD=$lt_LD
16842
16843 # Commands used to build an old-style archive.
16844 old_archive_cmds=$lt_old_archive_cmds
16845
16846 # A language specific compiler.
16847 CC=$lt_compiler
16848
16849 # Is the compiler the GNU compiler?
16850 with_gcc=$GCC
16851
16852 # Compiler flag to turn off builtin functions.
16853 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16854
16855 # How to pass a linker flag through the compiler.
16856 wl=$lt_lt_prog_compiler_wl
16857
16858 # Additional compiler flags for building library objects.
16859 pic_flag=$lt_lt_prog_compiler_pic
16860
16861 # Compiler flag to prevent dynamic linking.
16862 link_static_flag=$lt_lt_prog_compiler_static
16863
16864 # Does compiler simultaneously support -c and -o options?
16865 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16866
16867 # Whether or not to add -lc for building shared libraries.
16868 build_libtool_need_lc=$archive_cmds_need_lc
16869
16870 # Whether or not to disallow shared libs when runtime libs are static.
16871 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16872
16873 # Compiler flag to allow reflexive dlopens.
16874 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16875
16876 # Compiler flag to generate shared objects directly from archives.
16877 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16878
16879 # Whether the compiler copes with passing no objects directly.
16880 compiler_needs_object=$lt_compiler_needs_object
16881
16882 # Create an old-style archive from a shared archive.
16883 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16884
16885 # Create a temporary old-style archive to link instead of a shared archive.
16886 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16887
16888 # Commands used to build a shared archive.
16889 archive_cmds=$lt_archive_cmds
16890 archive_expsym_cmds=$lt_archive_expsym_cmds
16891
16892 # Commands used to build a loadable module if different from building
16893 # a shared archive.
16894 module_cmds=$lt_module_cmds
16895 module_expsym_cmds=$lt_module_expsym_cmds
16896
16897 # Whether we are building with GNU ld or not.
16898 with_gnu_ld=$lt_with_gnu_ld
16899
16900 # Flag that allows shared libraries with undefined symbols to be built.
16901 allow_undefined_flag=$lt_allow_undefined_flag
16902
16903 # Flag that enforces no undefined symbols.
16904 no_undefined_flag=$lt_no_undefined_flag
16905
16906 # Flag to hardcode \$libdir into a binary during linking.
16907 # This must work even if \$libdir does not exist
16908 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16909
16910 # If ld is used when linking, flag to hardcode \$libdir into a binary
16911 # during linking. This must work even if \$libdir does not exist.
16912 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16913
16914 # Whether we need a single "-rpath" flag with a separated argument.
16915 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16916
16917 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16918 # DIR into the resulting binary.
16919 hardcode_direct=$hardcode_direct
16920
16921 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16922 # DIR into the resulting binary and the resulting library dependency is
16923 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16924 # library is relocated.
16925 hardcode_direct_absolute=$hardcode_direct_absolute
16926
16927 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16928 # into the resulting binary.
16929 hardcode_minus_L=$hardcode_minus_L
16930
16931 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16932 # into the resulting binary.
16933 hardcode_shlibpath_var=$hardcode_shlibpath_var
16934
16935 # Set to "yes" if building a shared library automatically hardcodes DIR
16936 # into the library and all subsequent libraries and executables linked
16937 # against it.
16938 hardcode_automatic=$hardcode_automatic
16939
16940 # Set to yes if linker adds runtime paths of dependent libraries
16941 # to runtime path list.
16942 inherit_rpath=$inherit_rpath
16943
16944 # Whether libtool must link a program against all its dependency libraries.
16945 link_all_deplibs=$link_all_deplibs
16946
16947 # Fix the shell variable \$srcfile for the compiler.
16948 fix_srcfile_path=$lt_fix_srcfile_path
16949
16950 # Set to "yes" if exported symbols are required.
16951 always_export_symbols=$always_export_symbols
16952
16953 # The commands to list exported symbols.
16954 export_symbols_cmds=$lt_export_symbols_cmds
16955
16956 # Symbols that should not be listed in the preloaded symbols.
16957 exclude_expsyms=$lt_exclude_expsyms
16958
16959 # Symbols that must always be exported.
16960 include_expsyms=$lt_include_expsyms
16961
16962 # Commands necessary for linking programs (against libraries) with templates.
16963 prelink_cmds=$lt_prelink_cmds
16964
16965 # Specify filename containing input files.
16966 file_list_spec=$lt_file_list_spec
16967
16968 # How to hardcode a shared library path into an executable.
16969 hardcode_action=$hardcode_action
16970
16971 # ### END LIBTOOL CONFIG
16972
16973 _LT_EOF
16974
16975 case $host_os in
16976 aix3*)
16977 cat <<\_LT_EOF >> "$cfgfile"
16978 # AIX sometimes has problems with the GCC collect2 program. For some
16979 # reason, if we set the COLLECT_NAMES environment variable, the problems
16980 # vanish in a puff of smoke.
16981 if test "X${COLLECT_NAMES+set}" != Xset; then
16982 COLLECT_NAMES=
16983 export COLLECT_NAMES
16984 fi
16985 _LT_EOF
16986 ;;
16987 esac
16988
16989
16990 ltmain="$ac_aux_dir/ltmain.sh"
16991
16992
16993 # We use sed instead of cat because bash on DJGPP gets confused if
16994 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16995 # text mode, it properly converts lines to CR/LF. This bash problem
16996 # is reportedly fixed, but why not run on old versions too?
16997 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16998 || (rm -f "$cfgfile"; exit 1)
16999
17000 case $xsi_shell in
17001 yes)
17002 cat << \_LT_EOF >> "$cfgfile"
17003
17004 # func_dirname file append nondir_replacement
17005 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17006 # otherwise set result to NONDIR_REPLACEMENT.
17007 func_dirname ()
17008 {
17009 case ${1} in
17010 */*) func_dirname_result="${1%/*}${2}" ;;
17011 * ) func_dirname_result="${3}" ;;
17012 esac
17013 }
17014
17015 # func_basename file
17016 func_basename ()
17017 {
17018 func_basename_result="${1##*/}"
17019 }
17020
17021 # func_dirname_and_basename file append nondir_replacement
17022 # perform func_basename and func_dirname in a single function
17023 # call:
17024 # dirname: Compute the dirname of FILE. If nonempty,
17025 # add APPEND to the result, otherwise set result
17026 # to NONDIR_REPLACEMENT.
17027 # value returned in "$func_dirname_result"
17028 # basename: Compute filename of FILE.
17029 # value retuned in "$func_basename_result"
17030 # Implementation must be kept synchronized with func_dirname
17031 # and func_basename. For efficiency, we do not delegate to
17032 # those functions but instead duplicate the functionality here.
17033 func_dirname_and_basename ()
17034 {
17035 case ${1} in
17036 */*) func_dirname_result="${1%/*}${2}" ;;
17037 * ) func_dirname_result="${3}" ;;
17038 esac
17039 func_basename_result="${1##*/}"
17040 }
17041
17042 # func_stripname prefix suffix name
17043 # strip PREFIX and SUFFIX off of NAME.
17044 # PREFIX and SUFFIX must not contain globbing or regex special
17045 # characters, hashes, percent signs, but SUFFIX may contain a leading
17046 # dot (in which case that matches only a dot).
17047 func_stripname ()
17048 {
17049 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17050 # positional parameters, so assign one to ordinary parameter first.
17051 func_stripname_result=${3}
17052 func_stripname_result=${func_stripname_result#"${1}"}
17053 func_stripname_result=${func_stripname_result%"${2}"}
17054 }
17055
17056 # func_opt_split
17057 func_opt_split ()
17058 {
17059 func_opt_split_opt=${1%%=*}
17060 func_opt_split_arg=${1#*=}
17061 }
17062
17063 # func_lo2o object
17064 func_lo2o ()
17065 {
17066 case ${1} in
17067 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17068 *) func_lo2o_result=${1} ;;
17069 esac
17070 }
17071
17072 # func_xform libobj-or-source
17073 func_xform ()
17074 {
17075 func_xform_result=${1%.*}.lo
17076 }
17077
17078 # func_arith arithmetic-term...
17079 func_arith ()
17080 {
17081 func_arith_result=$(( $* ))
17082 }
17083
17084 # func_len string
17085 # STRING may not start with a hyphen.
17086 func_len ()
17087 {
17088 func_len_result=${#1}
17089 }
17090
17091 _LT_EOF
17092 ;;
17093 *) # Bourne compatible functions.
17094 cat << \_LT_EOF >> "$cfgfile"
17095
17096 # func_dirname file append nondir_replacement
17097 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
17098 # otherwise set result to NONDIR_REPLACEMENT.
17099 func_dirname ()
17100 {
17101 # Extract subdirectory from the argument.
17102 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17103 if test "X$func_dirname_result" = "X${1}"; then
17104 func_dirname_result="${3}"
17105 else
17106 func_dirname_result="$func_dirname_result${2}"
17107 fi
17108 }
17109
17110 # func_basename file
17111 func_basename ()
17112 {
17113 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17114 }
17115
17116
17117 # func_stripname prefix suffix name
17118 # strip PREFIX and SUFFIX off of NAME.
17119 # PREFIX and SUFFIX must not contain globbing or regex special
17120 # characters, hashes, percent signs, but SUFFIX may contain a leading
17121 # dot (in which case that matches only a dot).
17122 # func_strip_suffix prefix name
17123 func_stripname ()
17124 {
17125 case ${2} in
17126 .*) func_stripname_result=`$ECHO "X${3}" \
17127 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17128 *) func_stripname_result=`$ECHO "X${3}" \
17129 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17130 esac
17131 }
17132
17133 # sed scripts:
17134 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17135 my_sed_long_arg='1s/^-[^=]*=//'
17136
17137 # func_opt_split
17138 func_opt_split ()
17139 {
17140 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17141 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17142 }
17143
17144 # func_lo2o object
17145 func_lo2o ()
17146 {
17147 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17148 }
17149
17150 # func_xform libobj-or-source
17151 func_xform ()
17152 {
17153 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17154 }
17155
17156 # func_arith arithmetic-term...
17157 func_arith ()
17158 {
17159 func_arith_result=`expr "$@"`
17160 }
17161
17162 # func_len string
17163 # STRING may not start with a hyphen.
17164 func_len ()
17165 {
17166 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17167 }
17168
17169 _LT_EOF
17170 esac
17171
17172 case $lt_shell_append in
17173 yes)
17174 cat << \_LT_EOF >> "$cfgfile"
17175
17176 # func_append var value
17177 # Append VALUE to the end of shell variable VAR.
17178 func_append ()
17179 {
17180 eval "$1+=\$2"
17181 }
17182 _LT_EOF
17183 ;;
17184 *)
17185 cat << \_LT_EOF >> "$cfgfile"
17186
17187 # func_append var value
17188 # Append VALUE to the end of shell variable VAR.
17189 func_append ()
17190 {
17191 eval "$1=\$$1\$2"
17192 }
17193
17194 _LT_EOF
17195 ;;
17196 esac
17197
17198
17199 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17200 || (rm -f "$cfgfile"; exit 1)
17201
17202 mv -f "$cfgfile" "$ofile" ||
17203 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17204 chmod +x "$ofile"
17205
17206 ;;
17207 "libtool_hack":C)
17208 cp -f libtool libtool_
17209 test -z "$SED" && SED=sed
17210 $SED '1,/^soname_spec/{
17211 /^soname_spec/i\
17212 # X.Org hack to match monolithic Xaw SONAME\
17213 xorglibxawname="libXaw"
17214 /^soname_spec/s/libname/xorglibxawname/
17215 }' libtool_ > libtool
17216 rm -f libtool_
17217 ;;
17218
17219 esac
17220 done # for ac_tag
17221
17222
17223 { (exit 0); exit 0; }
17224 _ACEOF
17225 chmod +x $CONFIG_STATUS
17226 ac_clean_files=$ac_clean_files_save
17227
17228 test $ac_write_fail = 0 ||
17229 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
17230 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
17231 { (exit 1); exit 1; }; }
17232
17233
17234 # configure is writing to config.log, and then calls config.status.
17235 # config.status does its own redirection, appending to config.log.
17236 # Unfortunately, on DOS this fails, as config.log is still kept open
17237 # by configure, so config.status won't be able to write to it; its
17238 # output is simply discarded. So we exec the FD to /dev/null,
17239 # effectively closing config.log, so it can be properly (re)opened and
17240 # appended to by config.status. When coming back to configure, we
17241 # need to make the FD available again.
17242 if test "$no_create" != yes; then
17243 ac_cs_success=:
17244 ac_config_status_args=
17245 test "$silent" = yes &&
17246 ac_config_status_args="$ac_config_status_args --quiet"
17247 exec 5>/dev/null
17248 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17249 exec 5>>config.log
17250 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17251 # would make configure fail if this is the last instruction.
17252 $ac_cs_success || { (exit 1); exit 1; }
17253 fi
17254 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17255 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17256 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17257 fi
17258
17259 fi
17260
17261 if test "x$build_v7" = xyes; then
17262 ac_config_files="$ac_config_files xaw7.pc"
17263
17264 cat >confcache <<\_ACEOF
17265 # This file is a shell script that caches the results of configure
17266 # tests run on this system so they can be shared between configure
17267 # scripts and configure runs, see configure's option --config-cache.
17268 # It is not useful on other systems. If it contains results you don't
17269 # want to keep, you may remove or edit it.
17270 #
17271 # config.status only pays attention to the cache file if you give it
17272 # the --recheck option to rerun configure.
17273 #
17274 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17275 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17276 # following values.
17277
17278 _ACEOF
17279
17280 # The following way of writing the cache mishandles newlines in values,
17281 # but we know of no workaround that is simple, portable, and efficient.
17282 # So, we kill variables containing newlines.
17283 # Ultrix sh set writes to stderr and can't be redirected directly,
17284 # and sets the high bit in the cache file unless we assign to the vars.
17285 (
17286 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17287 eval ac_val=\$$ac_var
17288 case $ac_val in #(
17289 *${as_nl}*)
17290 case $ac_var in #(
17291 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
17292 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17293 esac
17294 case $ac_var in #(
17295 _ | IFS | as_nl) ;; #(
17296 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17297 *) $as_unset $ac_var ;;
17298 esac ;;
17299 esac
17300 done
17301
17302 (set) 2>&1 |
17303 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17304 *${as_nl}ac_space=\ *)
17305 # `set' does not quote correctly, so add quotes (double-quote
17306 # substitution turns \\\\ into \\, and sed turns \\ into \).
17307 sed -n \
17308 "s/'/'\\\\''/g;
17309 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17310 ;; #(
17311 *)
17312 # `set' quotes correctly as required by POSIX, so do not add quotes.
17313 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17314 ;;
17315 esac |
17316 sort
17317 ) |
17318 sed '
17319 /^ac_cv_env_/b end
17320 t clear
17321 :clear
17322 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17323 t end
17324 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17325 :end' >>confcache
17326 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17327 if test -w "$cache_file"; then
17328 test "x$cache_file" != "x/dev/null" &&
17329 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
17330 $as_echo "$as_me: updating cache $cache_file" >&6;}
17331 cat confcache >$cache_file
17332 else
17333 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
17334 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17335 fi
17336 fi
17337 rm -f confcache
17338
17339 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17340 # Let make expand exec_prefix.
17341 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17342
17343 DEFS=-DHAVE_CONFIG_H
17344
17345 ac_libobjs=
17346 ac_ltlibobjs=
17347 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17348 # 1. Remove the extension, and $U if already installed.
17349 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17350 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17351 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17352 # will be set to the directory where LIBOBJS objects are built.
17353 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17354 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
17355 done
17356 LIBOBJS=$ac_libobjs
17357
17358 LTLIBOBJS=$ac_ltlibobjs
17359
17360
17361 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17362 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17363 Usually this means the macro was only invoked conditionally." >&5
17364 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
17365 Usually this means the macro was only invoked conditionally." >&2;}
17366 { (exit 1); exit 1; }; }
17367 fi
17368 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17369 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17370 Usually this means the macro was only invoked conditionally." >&5
17371 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17372 Usually this means the macro was only invoked conditionally." >&2;}
17373 { (exit 1); exit 1; }; }
17374 fi
17375 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
17376 { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
17377 Usually this means the macro was only invoked conditionally." >&5
17378 $as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
17379 Usually this means the macro was only invoked conditionally." >&2;}
17380 { (exit 1); exit 1; }; }
17381 fi
17382 if test -z "${PLATFORM_DARWIN_TRUE}" && test -z "${PLATFORM_DARWIN_FALSE}"; then
17383 { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_DARWIN\" was never defined.
17384 Usually this means the macro was only invoked conditionally." >&5
17385 $as_echo "$as_me: error: conditional \"PLATFORM_DARWIN\" was never defined.
17386 Usually this means the macro was only invoked conditionally." >&2;}
17387 { (exit 1); exit 1; }; }
17388 fi
17389 if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
17390 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW6\" was never defined.
17391 Usually this means the macro was only invoked conditionally." >&5
17392 $as_echo "$as_me: error: conditional \"BUILD_XAW6\" was never defined.
17393 Usually this means the macro was only invoked conditionally." >&2;}
17394 { (exit 1); exit 1; }; }
17395 fi
17396 if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
17397 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW7\" was never defined.
17398 Usually this means the macro was only invoked conditionally." >&5
17399 $as_echo "$as_me: error: conditional \"BUILD_XAW7\" was never defined.
17400 Usually this means the macro was only invoked conditionally." >&2;}
17401 { (exit 1); exit 1; }; }
17402 fi
17403
17404 : ${CONFIG_STATUS=./config.status}
17405 ac_write_fail=0
17406 ac_clean_files_save=$ac_clean_files
17407 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17408 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17409 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17410 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17411 #! $SHELL
17412 # Generated by $as_me.
17413 # Run this file to recreate the current configuration.
17414 # Compiler output produced by configure, useful for debugging
17415 # configure, is in config.log if it exists.
17416
17417 debug=false
17418 ac_cs_recheck=false
17419 ac_cs_silent=false
17420 SHELL=\${CONFIG_SHELL-$SHELL}
17421 _ACEOF
17422
17423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17424 ## --------------------- ##
17425 ## M4sh Initialization. ##
17426 ## --------------------- ##
17427
17428 # Be more Bourne compatible
17429 DUALCASE=1; export DUALCASE # for MKS sh
17430 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17431 emulate sh
17432 NULLCMD=:
17433 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17434 # is contrary to our usage. Disable this feature.
17435 alias -g '${1+"$@"}'='"$@"'
17436 setopt NO_GLOB_SUBST
17437 else
17438 case `(set -o) 2>/dev/null` in
17439 *posix*) set -o posix ;;
17440 esac
17441
17442 fi
17443
17444
17445
17446
17447 # PATH needs CR
17448 # Avoid depending upon Character Ranges.
17449 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17450 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17451 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17452 as_cr_digits='0123456789'
17453 as_cr_alnum=$as_cr_Letters$as_cr_digits
17454
17455 as_nl='
17456 '
17457 export as_nl
17458 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17459 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17460 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17461 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17462 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17463 as_echo='printf %s\n'
17464 as_echo_n='printf %s'
17465 else
17466 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17467 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17468 as_echo_n='/usr/ucb/echo -n'
17469 else
17470 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17471 as_echo_n_body='eval
17472 arg=$1;
17473 case $arg in
17474 *"$as_nl"*)
17475 expr "X$arg" : "X\\(.*\\)$as_nl";
17476 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17477 esac;
17478 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17479 '
17480 export as_echo_n_body
17481 as_echo_n='sh -c $as_echo_n_body as_echo'
17482 fi
17483 export as_echo_body
17484 as_echo='sh -c $as_echo_body as_echo'
17485 fi
17486
17487 # The user is always right.
17488 if test "${PATH_SEPARATOR+set}" != set; then
17489 PATH_SEPARATOR=:
17490 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17491 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17492 PATH_SEPARATOR=';'
17493 }
17494 fi
17495
17496 # Support unset when possible.
17497 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
17498 as_unset=unset
17499 else
17500 as_unset=false
17501 fi
17502
17503
17504 # IFS
17505 # We need space, tab and new line, in precisely that order. Quoting is
17506 # there to prevent editors from complaining about space-tab.
17507 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17508 # splitting by setting IFS to empty value.)
17509 IFS=" "" $as_nl"
17510
17511 # Find who we are. Look in the path if we contain no directory separator.
17512 case $0 in
17513 *[\\/]* ) as_myself=$0 ;;
17514 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17515 for as_dir in $PATH
17516 do
17517 IFS=$as_save_IFS
17518 test -z "$as_dir" && as_dir=.
17519 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17520 done
17521 IFS=$as_save_IFS
17522
17523 ;;
17524 esac
17525 # We did not find ourselves, most probably we were run as `sh COMMAND'
17526 # in which case we are not to be found in the path.
17527 if test "x$as_myself" = x; then
17528 as_myself=$0
17529 fi
17530 if test ! -f "$as_myself"; then
17531 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17532 { (exit 1); exit 1; }
17533 fi
17534
17535 # Work around bugs in pre-3.0 UWIN ksh.
17536 for as_var in ENV MAIL MAILPATH
17537 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
17538 done
17539 PS1='$ '
17540 PS2='> '
17541 PS4='+ '
17542
17543 # NLS nuisances.
17544 LC_ALL=C
17545 export LC_ALL
17546 LANGUAGE=C
17547 export LANGUAGE
17548
17549 # Required to use basename.
17550 if expr a : '\(a\)' >/dev/null 2>&1 &&
17551 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17552 as_expr=expr
17553 else
17554 as_expr=false
17555 fi
17556
17557 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17558 as_basename=basename
17559 else
17560 as_basename=false
17561 fi
17562
17563
17564 # Name of the executable.
17565 as_me=`$as_basename -- "$0" ||
17566 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17567 X"$0" : 'X\(//\)$' \| \
17568 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17569 $as_echo X/"$0" |
17570 sed '/^.*\/\([^/][^/]*\)\/*$/{
17571 s//\1/
17572 q
17573 }
17574 /^X\/\(\/\/\)$/{
17575 s//\1/
17576 q
17577 }
17578 /^X\/\(\/\).*/{
17579 s//\1/
17580 q
17581 }
17582 s/.*/./; q'`
17583
17584 # CDPATH.
17585 $as_unset CDPATH
17586
17587
17588
17589 as_lineno_1=$LINENO
17590 as_lineno_2=$LINENO
17591 test "x$as_lineno_1" != "x$as_lineno_2" &&
17592 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
17593
17594 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17595 # uniformly replaced by the line number. The first 'sed' inserts a
17596 # line-number line after each line using $LINENO; the second 'sed'
17597 # does the real work. The second script uses 'N' to pair each
17598 # line-number line with the line containing $LINENO, and appends
17599 # trailing '-' during substitution so that $LINENO is not a special
17600 # case at line end.
17601 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17602 # scripts with optimization help from Paolo Bonzini. Blame Lee
17603 # E. McMahon (1931-1989) for sed's syntax. :-)
17604 sed -n '
17605 p
17606 /[$]LINENO/=
17607 ' <$as_myself |
17608 sed '
17609 s/[$]LINENO.*/&-/
17610 t lineno
17611 b
17612 :lineno
17613 N
17614 :loop
17615 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
17616 t loop
17617 s/-\n.*//
17618 ' >$as_me.lineno &&
17619 chmod +x "$as_me.lineno" ||
17620 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17621 { (exit 1); exit 1; }; }
17622
17623 # Don't try to exec as it changes $[0], causing all sort of problems
17624 # (the dirname of $[0] is not the place where we might find the
17625 # original and so on. Autoconf is especially sensitive to this).
17626 . "./$as_me.lineno"
17627 # Exit status is that of the last command.
17628 exit
17629 }
17630
17631
17632 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17633 as_dirname=dirname
17634 else
17635 as_dirname=false
17636 fi
17637
17638 ECHO_C= ECHO_N= ECHO_T=
17639 case `echo -n x` in
17640 -n*)
17641 case `echo 'x\c'` in
17642 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17643 *) ECHO_C='\c';;
17644 esac;;
17645 *)
17646 ECHO_N='-n';;
17647 esac
17648 if expr a : '\(a\)' >/dev/null 2>&1 &&
17649 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17650 as_expr=expr
17651 else
17652 as_expr=false
17653 fi
17654
17655 rm -f conf$$ conf$$.exe conf$$.file
17656 if test -d conf$$.dir; then
17657 rm -f conf$$.dir/conf$$.file
17658 else
17659 rm -f conf$$.dir
17660 mkdir conf$$.dir 2>/dev/null
17661 fi
17662 if (echo >conf$$.file) 2>/dev/null; then
17663 if ln -s conf$$.file conf$$ 2>/dev/null; then
17664 as_ln_s='ln -s'
17665 # ... but there are two gotchas:
17666 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17667 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17668 # In both cases, we have to default to `cp -p'.
17669 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17670 as_ln_s='cp -p'
17671 elif ln conf$$.file conf$$ 2>/dev/null; then
17672 as_ln_s=ln
17673 else
17674 as_ln_s='cp -p'
17675 fi
17676 else
17677 as_ln_s='cp -p'
17678 fi
17679 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17680 rmdir conf$$.dir 2>/dev/null
17681
17682 if mkdir -p . 2>/dev/null; then
17683 as_mkdir_p=:
17684 else
17685 test -d ./-p && rmdir ./-p
17686 as_mkdir_p=false
17687 fi
17688
17689 if test -x / >/dev/null 2>&1; then
17690 as_test_x='test -x'
17691 else
17692 if ls -dL / >/dev/null 2>&1; then
17693 as_ls_L_option=L
17694 else
17695 as_ls_L_option=
17696 fi
17697 as_test_x='
17698 eval sh -c '\''
17699 if test -d "$1"; then
17700 test -d "$1/.";
17701 else
17702 case $1 in
17703 -*)set "./$1";;
17704 esac;
17705 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
17706 ???[sx]*):;;*)false;;esac;fi
17707 '\'' sh
17708 '
17709 fi
17710 as_executable_p=$as_test_x
17711
17712 # Sed expression to map a string onto a valid CPP name.
17713 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17714
17715 # Sed expression to map a string onto a valid variable name.
17716 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17717
17718
17719 exec 6>&1
17720
17721 # Save the log message, to keep $[0] and so on meaningful, and to
17722 # report actual input values of CONFIG_FILES etc. instead of their
17723 # values after options handling.
17724 ac_log="
17725 This file was extended by libXaw $as_me 1.0.6, which was
17726 generated by GNU Autoconf 2.63. Invocation command line was
17727
17728 CONFIG_FILES = $CONFIG_FILES
17729 CONFIG_HEADERS = $CONFIG_HEADERS
17730 CONFIG_LINKS = $CONFIG_LINKS
17731 CONFIG_COMMANDS = $CONFIG_COMMANDS
17732 $ $0 $@
17733
17734 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17735 "
17736
17737 _ACEOF
17738
17739 case $ac_config_files in *"
17740 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17741 esac
17742
17743 case $ac_config_headers in *"
17744 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17745 esac
17746
17747
17748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17749 # Files that config.status was made for.
17750 config_files="$ac_config_files"
17751 config_headers="$ac_config_headers"
17752 config_commands="$ac_config_commands"
17753
17754 _ACEOF
17755
17756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17757 ac_cs_usage="\
17758 \`$as_me' instantiates files from templates according to the
17759 current configuration.
17760
17761 Usage: $0 [OPTION]... [FILE]...
17762
17763 -h, --help print this help, then exit
17764 -V, --version print version number and configuration settings, then exit
17765 -q, --quiet, --silent
17766 do not print progress messages
17767 -d, --debug don't remove temporary files
17768 --recheck update $as_me by reconfiguring in the same conditions
17769 --file=FILE[:TEMPLATE]
17770 instantiate the configuration file FILE
17771 --header=FILE[:TEMPLATE]
17772 instantiate the configuration header FILE
17773
17774 Configuration files:
17775 $config_files
17776
17777 Configuration headers:
17778 $config_headers
17779
17780 Configuration commands:
17781 $config_commands
17782
17783 Report bugs to <bug-autoconf (at] gnu.org>."
17784
17785 _ACEOF
17786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17787 ac_cs_version="\\
17788 libXaw config.status 1.0.6
17789 configured by $0, generated by GNU Autoconf 2.63,
17790 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17791
17792 Copyright (C) 2008 Free Software Foundation, Inc.
17793 This config.status script is free software; the Free Software Foundation
17794 gives unlimited permission to copy, distribute and modify it."
17795
17796 ac_pwd='$ac_pwd'
17797 srcdir='$srcdir'
17798 INSTALL='$INSTALL'
17799 MKDIR_P='$MKDIR_P'
17800 AWK='$AWK'
17801 test -n "\$AWK" || AWK=awk
17802 _ACEOF
17803
17804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17805 # The default lists apply if the user does not specify any file.
17806 ac_need_defaults=:
17807 while test $# != 0
17808 do
17809 case $1 in
17810 --*=*)
17811 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17812 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17813 ac_shift=:
17814 ;;
17815 *)
17816 ac_option=$1
17817 ac_optarg=$2
17818 ac_shift=shift
17819 ;;
17820 esac
17821
17822 case $ac_option in
17823 # Handling of the options.
17824 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17825 ac_cs_recheck=: ;;
17826 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17827 $as_echo "$ac_cs_version"; exit ;;
17828 --debug | --debu | --deb | --de | --d | -d )
17829 debug=: ;;
17830 --file | --fil | --fi | --f )
17831 $ac_shift
17832 case $ac_optarg in
17833 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17834 esac
17835 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
17836 ac_need_defaults=false;;
17837 --header | --heade | --head | --hea )
17838 $ac_shift
17839 case $ac_optarg in
17840 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17841 esac
17842 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
17843 ac_need_defaults=false;;
17844 --he | --h)
17845 # Conflict between --help and --header
17846 { $as_echo "$as_me: error: ambiguous option: $1
17847 Try \`$0 --help' for more information." >&2
17848 { (exit 1); exit 1; }; };;
17849 --help | --hel | -h )
17850 $as_echo "$ac_cs_usage"; exit ;;
17851 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17852 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17853 ac_cs_silent=: ;;
17854
17855 # This is an error.
17856 -*) { $as_echo "$as_me: error: unrecognized option: $1
17857 Try \`$0 --help' for more information." >&2
17858 { (exit 1); exit 1; }; } ;;
17859
17860 *) ac_config_targets="$ac_config_targets $1"
17861 ac_need_defaults=false ;;
17862
17863 esac
17864 shift
17865 done
17866
17867 ac_configure_extra_args=
17868
17869 if $ac_cs_silent; then
17870 exec 6>/dev/null
17871 ac_configure_extra_args="$ac_configure_extra_args --silent"
17872 fi
17873
17874 _ACEOF
17875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17876 if \$ac_cs_recheck; then
17877 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17878 shift
17879 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17880 CONFIG_SHELL='$SHELL'
17881 export CONFIG_SHELL
17882 exec "\$@"
17883 fi
17884
17885 _ACEOF
17886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17887 exec 5>>config.log
17888 {
17889 echo
17890 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17891 ## Running $as_me. ##
17892 _ASBOX
17893 $as_echo "$ac_log"
17894 } >&5
17895
17896 _ACEOF
17897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17898 #
17899 # INIT-COMMANDS
17900 #
17901 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17902
17903
17904 # The HP-UX ksh and POSIX shell print the target directory to stdout
17905 # if CDPATH is set.
17906 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17907
17908 sed_quote_subst='$sed_quote_subst'
17909 double_quote_subst='$double_quote_subst'
17910 delay_variable_subst='$delay_variable_subst'
17911 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17912 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17913 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17914 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17915 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17916 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17917 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17918 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17919 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17920 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17921 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17922 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17923 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17924 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17925 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17926 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17927 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17928 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17929 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17930 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17931 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17932 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17933 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17934 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17935 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17936 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17937 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17938 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17939 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17940 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17941 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17942 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17943 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17944 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17945 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17946 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17947 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17948 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17949 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17950 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17951 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17952 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17953 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17954 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17955 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
17956 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17957 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17958 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17959 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17960 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17961 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17962 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17963 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17964 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17965 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17966 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17967 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17968 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17969 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17970 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17971 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17972 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17973 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17974 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17975 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17976 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17977 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17978 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17979 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17980 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17981 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17982 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17983 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17984 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17985 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17986 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17987 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17988 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17989 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17990 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17991 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17992 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17993 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17994 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17995 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17996 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17997 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17998 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17999 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
18000 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
18001 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18002 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18003 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18004 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18005 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
18006 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
18007 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18008 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
18009 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
18010 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18011 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18012 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
18013 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18014 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
18015 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18016 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18017 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18018 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18019 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
18020 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
18021 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18022 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18023 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
18024 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
18025 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
18026 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
18027 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
18028 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
18029
18030 LTCC='$LTCC'
18031 LTCFLAGS='$LTCFLAGS'
18032 compiler='$compiler_DEFAULT'
18033
18034 # Quote evaled strings.
18035 for var in SED \
18036 GREP \
18037 EGREP \
18038 FGREP \
18039 LD \
18040 NM \
18041 LN_S \
18042 lt_SP2NL \
18043 lt_NL2SP \
18044 reload_flag \
18045 OBJDUMP \
18046 deplibs_check_method \
18047 file_magic_cmd \
18048 AR \
18049 AR_FLAGS \
18050 STRIP \
18051 RANLIB \
18052 CC \
18053 CFLAGS \
18054 compiler \
18055 lt_cv_sys_global_symbol_pipe \
18056 lt_cv_sys_global_symbol_to_cdecl \
18057 lt_cv_sys_global_symbol_to_c_name_address \
18058 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18059 SHELL \
18060 ECHO \
18061 lt_prog_compiler_no_builtin_flag \
18062 lt_prog_compiler_wl \
18063 lt_prog_compiler_pic \
18064 lt_prog_compiler_static \
18065 lt_cv_prog_compiler_c_o \
18066 need_locks \
18067 DSYMUTIL \
18068 NMEDIT \
18069 LIPO \
18070 OTOOL \
18071 OTOOL64 \
18072 shrext_cmds \
18073 export_dynamic_flag_spec \
18074 whole_archive_flag_spec \
18075 compiler_needs_object \
18076 with_gnu_ld \
18077 allow_undefined_flag \
18078 no_undefined_flag \
18079 hardcode_libdir_flag_spec \
18080 hardcode_libdir_flag_spec_ld \
18081 hardcode_libdir_separator \
18082 fix_srcfile_path \
18083 exclude_expsyms \
18084 include_expsyms \
18085 file_list_spec \
18086 variables_saved_for_relink \
18087 libname_spec \
18088 library_names_spec \
18089 soname_spec \
18090 finish_eval \
18091 old_striplib \
18092 striplib; do
18093 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18094 *[\\\\\\\`\\"\\\$]*)
18095 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18096 ;;
18097 *)
18098 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18099 ;;
18100 esac
18101 done
18102
18103 # Double-quote double-evaled strings.
18104 for var in reload_cmds \
18105 old_postinstall_cmds \
18106 old_postuninstall_cmds \
18107 old_archive_cmds \
18108 extract_expsyms_cmds \
18109 old_archive_from_new_cmds \
18110 old_archive_from_expsyms_cmds \
18111 archive_cmds \
18112 archive_expsym_cmds \
18113 module_cmds \
18114 module_expsym_cmds \
18115 export_symbols_cmds \
18116 prelink_cmds \
18117 postinstall_cmds \
18118 postuninstall_cmds \
18119 finish_cmds \
18120 sys_lib_search_path_spec \
18121 sys_lib_dlsearch_path_spec; do
18122 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
18123 *[\\\\\\\`\\"\\\$]*)
18124 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18125 ;;
18126 *)
18127 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18128 ;;
18129 esac
18130 done
18131
18132 # Fix-up fallback echo if it was mangled by the above quoting rules.
18133 case \$lt_ECHO in
18134 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
18135 ;;
18136 esac
18137
18138 ac_aux_dir='$ac_aux_dir'
18139 xsi_shell='$xsi_shell'
18140 lt_shell_append='$lt_shell_append'
18141
18142 # See if we are running on zsh, and set the options which allow our
18143 # commands through without removal of \ escapes INIT.
18144 if test -n "\${ZSH_VERSION+set}" ; then
18145 setopt NO_GLOB_SUBST
18146 fi
18147
18148
18149 PACKAGE='$PACKAGE'
18150 VERSION='$VERSION'
18151 TIMESTAMP='$TIMESTAMP'
18152 RM='$RM'
18153 ofile='$ofile'
18154
18155 ac_aux_dir='$ac_aux_dir'
18156 ac_aux_dir='$ac_aux_dir'
18157
18158
18159
18160 _ACEOF
18161
18162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18163
18164 # Handling of arguments.
18165 for ac_config_target in $ac_config_targets
18166 do
18167 case $ac_config_target in
18168 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18169 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18170 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18171 "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
18172 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18173 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
18174 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
18175 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18176 "xaw6.pc") CONFIG_FILES="$CONFIG_FILES xaw6.pc" ;;
18177 "xaw7.pc") CONFIG_FILES="$CONFIG_FILES xaw7.pc" ;;
18178
18179 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18180 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18181 { (exit 1); exit 1; }; };;
18182 esac
18183 done
18184
18185
18186 # If the user did not use the arguments to specify the items to instantiate,
18187 # then the envvar interface is used. Set only those that are not.
18188 # We use the long form for the default assignment because of an extremely
18189 # bizarre bug on SunOS 4.1.3.
18190 if $ac_need_defaults; then
18191 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18192 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18193 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18194 fi
18195
18196 # Have a temporary directory for convenience. Make it in the build tree
18197 # simply because there is no reason against having it here, and in addition,
18198 # creating and moving files from /tmp can sometimes cause problems.
18199 # Hook for its removal unless debugging.
18200 # Note that there is a small window in which the directory will not be cleaned:
18201 # after its creation but before its name has been assigned to `$tmp'.
18202 $debug ||
18203 {
18204 tmp=
18205 trap 'exit_status=$?
18206 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18207 ' 0
18208 trap '{ (exit 1); exit 1; }' 1 2 13 15
18209 }
18210 # Create a (secure) tmp directory for tmp files.
18211
18212 {
18213 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18214 test -n "$tmp" && test -d "$tmp"
18215 } ||
18216 {
18217 tmp=./conf$$-$RANDOM
18218 (umask 077 && mkdir "$tmp")
18219 } ||
18220 {
18221 $as_echo "$as_me: cannot create a temporary directory in ." >&2
18222 { (exit 1); exit 1; }
18223 }
18224
18225 # Set up the scripts for CONFIG_FILES section.
18226 # No need to generate them if there are no CONFIG_FILES.
18227 # This happens for instance with `./config.status config.h'.
18228 if test -n "$CONFIG_FILES"; then
18229
18230
18231 ac_cr='
'
18233 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18234 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18235 ac_cs_awk_cr='\\r'
18236 else
18237 ac_cs_awk_cr=$ac_cr
18238 fi
18239
18240 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18241 _ACEOF
18242
18243
18244 {
18245 echo "cat >conf$$subs.awk <<_ACEOF" &&
18246 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18247 echo "_ACEOF"
18248 } >conf$$subs.sh ||
18249 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18250 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18251 { (exit 1); exit 1; }; }
18252 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18253 ac_delim='%!_!# '
18254 for ac_last_try in false false false false false :; do
18255 . ./conf$$subs.sh ||
18256 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18257 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18258 { (exit 1); exit 1; }; }
18259
18260 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18261 if test $ac_delim_n = $ac_delim_num; then
18262 break
18263 elif $ac_last_try; then
18264 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18265 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18266 { (exit 1); exit 1; }; }
18267 else
18268 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18269 fi
18270 done
18271 rm -f conf$$subs.sh
18272
18273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18274 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
18275 _ACEOF
18276 sed -n '
18277 h
18278 s/^/S["/; s/!.*/"]=/
18279 p
18280 g
18281 s/^[^!]*!//
18282 :repl
18283 t repl
18284 s/'"$ac_delim"'$//
18285 t delim
18286 :nl
18287 h
18288 s/\(.\{148\}\).*/\1/
18289 t more1
18290 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18291 p
18292 n
18293 b repl
18294 :more1
18295 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18296 p
18297 g
18298 s/.\{148\}//
18299 t nl
18300 :delim
18301 h
18302 s/\(.\{148\}\).*/\1/
18303 t more2
18304 s/["\\]/\\&/g; s/^/"/; s/$/"/
18305 p
18306 b
18307 :more2
18308 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18309 p
18310 g
18311 s/.\{148\}//
18312 t delim
18313 ' <conf$$subs.awk | sed '
18314 /^[^""]/{
18315 N
18316 s/\n//
18317 }
18318 ' >>$CONFIG_STATUS || ac_write_fail=1
18319 rm -f conf$$subs.awk
18320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18321 _ACAWK
18322 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
18323 for (key in S) S_is_set[key] = 1
18324 FS = ""
18325
18326 }
18327 {
18328 line = $ 0
18329 nfields = split(line, field, "@")
18330 substed = 0
18331 len = length(field[1])
18332 for (i = 2; i < nfields; i++) {
18333 key = field[i]
18334 keylen = length(key)
18335 if (S_is_set[key]) {
18336 value = S[key]
18337 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18338 len += length(value) + length(field[++i])
18339 substed = 1
18340 } else
18341 len += 1 + keylen
18342 }
18343
18344 print line
18345 }
18346
18347 _ACAWK
18348 _ACEOF
18349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18350 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18351 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18352 else
18353 cat
18354 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18355 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
18356 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
18357 { (exit 1); exit 1; }; }
18358 _ACEOF
18359
18360 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18361 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18362 # trailing colons and then remove the whole line if VPATH becomes empty
18363 # (actually we leave an empty line to preserve line numbers).
18364 if test "x$srcdir" = x.; then
18365 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18366 s/:*\$(srcdir):*/:/
18367 s/:*\${srcdir}:*/:/
18368 s/:*@srcdir@:*/:/
18369 s/^\([^=]*=[ ]*\):*/\1/
18370 s/:*$//
18371 s/^[^=]*=[ ]*$//
18372 }'
18373 fi
18374
18375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18376 fi # test -n "$CONFIG_FILES"
18377
18378 # Set up the scripts for CONFIG_HEADERS section.
18379 # No need to generate them if there are no CONFIG_HEADERS.
18380 # This happens for instance with `./config.status Makefile'.
18381 if test -n "$CONFIG_HEADERS"; then
18382 cat >"$tmp/defines.awk" <<\_ACAWK ||
18383 BEGIN {
18384 _ACEOF
18385
18386 # Transform confdefs.h into an awk script `defines.awk', embedded as
18387 # here-document in config.status, that substitutes the proper values into
18388 # config.h.in to produce config.h.
18389
18390 # Create a delimiter string that does not exist in confdefs.h, to ease
18391 # handling of long lines.
18392 ac_delim='%!_!# '
18393 for ac_last_try in false false :; do
18394 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
18395 if test -z "$ac_t"; then
18396 break
18397 elif $ac_last_try; then
18398 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
18399 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
18400 { (exit 1); exit 1; }; }
18401 else
18402 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18403 fi
18404 done
18405
18406 # For the awk script, D is an array of macro values keyed by name,
18407 # likewise P contains macro parameters if any. Preserve backslash
18408 # newline sequences.
18409
18410 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18411 sed -n '
18412 s/.\{148\}/&'"$ac_delim"'/g
18413 t rset
18414 :rset
18415 s/^[ ]*#[ ]*define[ ][ ]*/ /
18416 t def
18417 d
18418 :def
18419 s/\\$//
18420 t bsnl
18421 s/["\\]/\\&/g
18422 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18423 D["\1"]=" \3"/p
18424 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18425 d
18426 :bsnl
18427 s/["\\]/\\&/g
18428 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18429 D["\1"]=" \3\\\\\\n"\\/p
18430 t cont
18431 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18432 t cont
18433 d
18434 :cont
18435 n
18436 s/.\{148\}/&'"$ac_delim"'/g
18437 t clear
18438 :clear
18439 s/\\$//
18440 t bsnlc
18441 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18442 d
18443 :bsnlc
18444 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18445 b cont
18446 ' <confdefs.h | sed '
18447 s/'"$ac_delim"'/"\\\
18448 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18449
18450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18451 for (key in D) D_is_set[key] = 1
18452 FS = ""
18453 }
18454 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18455 line = \$ 0
18456 split(line, arg, " ")
18457 if (arg[1] == "#") {
18458 defundef = arg[2]
18459 mac1 = arg[3]
18460 } else {
18461 defundef = substr(arg[1], 2)
18462 mac1 = arg[2]
18463 }
18464 split(mac1, mac2, "(") #)
18465 macro = mac2[1]
18466 prefix = substr(line, 1, index(line, defundef) - 1)
18467 if (D_is_set[macro]) {
18468 # Preserve the white space surrounding the "#".
18469 print prefix "define", macro P[macro] D[macro]
18470 next
18471 } else {
18472 # Replace #undef with comments. This is necessary, for example,
18473 # in the case of _POSIX_SOURCE, which is predefined and required
18474 # on some systems where configure will not decide to define it.
18475 if (defundef == "undef") {
18476 print "/*", prefix defundef, macro, "*/"
18477 next
18478 }
18479 }
18480 }
18481 { print }
18482 _ACAWK
18483 _ACEOF
18484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18485 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
18486 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
18487 { (exit 1); exit 1; }; }
18488 fi # test -n "$CONFIG_HEADERS"
18489
18490
18491 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18492 shift
18493 for ac_tag
18494 do
18495 case $ac_tag in
18496 :[FHLC]) ac_mode=$ac_tag; continue;;
18497 esac
18498 case $ac_mode$ac_tag in
18499 :[FHL]*:*);;
18500 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
18501 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
18502 { (exit 1); exit 1; }; };;
18503 :[FH]-) ac_tag=-:-;;
18504 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18505 esac
18506 ac_save_IFS=$IFS
18507 IFS=:
18508 set x $ac_tag
18509 IFS=$ac_save_IFS
18510 shift
18511 ac_file=$1
18512 shift
18513
18514 case $ac_mode in
18515 :L) ac_source=$1;;
18516 :[FH])
18517 ac_file_inputs=
18518 for ac_f
18519 do
18520 case $ac_f in
18521 -) ac_f="$tmp/stdin";;
18522 *) # Look for the file first in the build tree, then in the source tree
18523 # (if the path is not absolute). The absolute path cannot be DOS-style,
18524 # because $ac_f cannot contain `:'.
18525 test -f "$ac_f" ||
18526 case $ac_f in
18527 [\\/$]*) false;;
18528 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18529 esac ||
18530 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
18531 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
18532 { (exit 1); exit 1; }; };;
18533 esac
18534 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18535 ac_file_inputs="$ac_file_inputs '$ac_f'"
18536 done
18537
18538 # Let's still pretend it is `configure' which instantiates (i.e., don't
18539 # use $as_me), people would be surprised to read:
18540 # /* config.h. Generated by config.status. */
18541 configure_input='Generated from '`
18542 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18543 `' by configure.'
18544 if test x"$ac_file" != x-; then
18545 configure_input="$ac_file. $configure_input"
18546 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
18547 $as_echo "$as_me: creating $ac_file" >&6;}
18548 fi
18549 # Neutralize special characters interpreted by sed in replacement strings.
18550 case $configure_input in #(
18551 *\&* | *\|* | *\\* )
18552 ac_sed_conf_input=`$as_echo "$configure_input" |
18553 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18554 *) ac_sed_conf_input=$configure_input;;
18555 esac
18556
18557 case $ac_tag in
18558 *:-:* | *:-) cat >"$tmp/stdin" \
18559 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18560 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18561 { (exit 1); exit 1; }; } ;;
18562 esac
18563 ;;
18564 esac
18565
18566 ac_dir=`$as_dirname -- "$ac_file" ||
18567 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18568 X"$ac_file" : 'X\(//\)[^/]' \| \
18569 X"$ac_file" : 'X\(//\)$' \| \
18570 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18571 $as_echo X"$ac_file" |
18572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18573 s//\1/
18574 q
18575 }
18576 /^X\(\/\/\)[^/].*/{
18577 s//\1/
18578 q
18579 }
18580 /^X\(\/\/\)$/{
18581 s//\1/
18582 q
18583 }
18584 /^X\(\/\).*/{
18585 s//\1/
18586 q
18587 }
18588 s/.*/./; q'`
18589 { as_dir="$ac_dir"
18590 case $as_dir in #(
18591 -*) as_dir=./$as_dir;;
18592 esac
18593 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18594 as_dirs=
18595 while :; do
18596 case $as_dir in #(
18597 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18598 *) as_qdir=$as_dir;;
18599 esac
18600 as_dirs="'$as_qdir' $as_dirs"
18601 as_dir=`$as_dirname -- "$as_dir" ||
18602 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18603 X"$as_dir" : 'X\(//\)[^/]' \| \
18604 X"$as_dir" : 'X\(//\)$' \| \
18605 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18606 $as_echo X"$as_dir" |
18607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18608 s//\1/
18609 q
18610 }
18611 /^X\(\/\/\)[^/].*/{
18612 s//\1/
18613 q
18614 }
18615 /^X\(\/\/\)$/{
18616 s//\1/
18617 q
18618 }
18619 /^X\(\/\).*/{
18620 s//\1/
18621 q
18622 }
18623 s/.*/./; q'`
18624 test -d "$as_dir" && break
18625 done
18626 test -z "$as_dirs" || eval "mkdir $as_dirs"
18627 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18628 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18629 { (exit 1); exit 1; }; }; }
18630 ac_builddir=.
18631
18632 case "$ac_dir" in
18633 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18634 *)
18635 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18636 # A ".." for each directory in $ac_dir_suffix.
18637 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18638 case $ac_top_builddir_sub in
18639 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18640 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18641 esac ;;
18642 esac
18643 ac_abs_top_builddir=$ac_pwd
18644 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18645 # for backward compatibility:
18646 ac_top_builddir=$ac_top_build_prefix
18647
18648 case $srcdir in
18649 .) # We are building in place.
18650 ac_srcdir=.
18651 ac_top_srcdir=$ac_top_builddir_sub
18652 ac_abs_top_srcdir=$ac_pwd ;;
18653 [\\/]* | ?:[\\/]* ) # Absolute name.
18654 ac_srcdir=$srcdir$ac_dir_suffix;
18655 ac_top_srcdir=$srcdir
18656 ac_abs_top_srcdir=$srcdir ;;
18657 *) # Relative name.
18658 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18659 ac_top_srcdir=$ac_top_build_prefix$srcdir
18660 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18661 esac
18662 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18663
18664
18665 case $ac_mode in
18666 :F)
18667 #
18668 # CONFIG_FILE
18669 #
18670
18671 case $INSTALL in
18672 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18673 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18674 esac
18675 ac_MKDIR_P=$MKDIR_P
18676 case $MKDIR_P in
18677 [\\/$]* | ?:[\\/]* ) ;;
18678 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18679 esac
18680 _ACEOF
18681
18682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18683 # If the template does not know about datarootdir, expand it.
18684 # FIXME: This hack should be removed a few years after 2.60.
18685 ac_datarootdir_hack=; ac_datarootdir_seen=
18686
18687 ac_sed_dataroot='
18688 /datarootdir/ {
18689 p
18690 q
18691 }
18692 /@datadir@/p
18693 /@docdir@/p
18694 /@infodir@/p
18695 /@localedir@/p
18696 /@mandir@/p
18697 '
18698 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18699 *datarootdir*) ac_datarootdir_seen=yes;;
18700 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18701 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18702 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18703 _ACEOF
18704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18705 ac_datarootdir_hack='
18706 s&@datadir@&$datadir&g
18707 s&@docdir@&$docdir&g
18708 s&@infodir@&$infodir&g
18709 s&@localedir@&$localedir&g
18710 s&@mandir@&$mandir&g
18711 s&\\\${datarootdir}&$datarootdir&g' ;;
18712 esac
18713 _ACEOF
18714
18715 # Neutralize VPATH when `$srcdir' = `.'.
18716 # Shell code in configure.ac might set extrasub.
18717 # FIXME: do we really want to maintain this feature?
18718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18719 ac_sed_extra="$ac_vpsub
18720 $extrasub
18721 _ACEOF
18722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18723 :t
18724 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18725 s|@configure_input@|$ac_sed_conf_input|;t t
18726 s&@top_builddir@&$ac_top_builddir_sub&;t t
18727 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18728 s&@srcdir@&$ac_srcdir&;t t
18729 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18730 s&@top_srcdir@&$ac_top_srcdir&;t t
18731 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18732 s&@builddir@&$ac_builddir&;t t
18733 s&@abs_builddir@&$ac_abs_builddir&;t t
18734 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18735 s&@INSTALL@&$ac_INSTALL&;t t
18736 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18737 $ac_datarootdir_hack
18738 "
18739 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18740 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18741 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18742 { (exit 1); exit 1; }; }
18743
18744 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18745 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18746 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18747 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18748 which seems to be undefined. Please make sure it is defined." >&5
18749 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18750 which seems to be undefined. Please make sure it is defined." >&2;}
18751
18752 rm -f "$tmp/stdin"
18753 case $ac_file in
18754 -) cat "$tmp/out" && rm -f "$tmp/out";;
18755 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18756 esac \
18757 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18758 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18759 { (exit 1); exit 1; }; }
18760 ;;
18761 :H)
18762 #
18763 # CONFIG_HEADER
18764 #
18765 if test x"$ac_file" != x-; then
18766 {
18767 $as_echo "/* $configure_input */" \
18768 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18769 } >"$tmp/config.h" \
18770 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18771 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18772 { (exit 1); exit 1; }; }
18773 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18774 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18775 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18776 else
18777 rm -f "$ac_file"
18778 mv "$tmp/config.h" "$ac_file" \
18779 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18780 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18781 { (exit 1); exit 1; }; }
18782 fi
18783 else
18784 $as_echo "/* $configure_input */" \
18785 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18786 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
18787 $as_echo "$as_me: error: could not create -" >&2;}
18788 { (exit 1); exit 1; }; }
18789 fi
18790 # Compute "$ac_file"'s index in $config_headers.
18791 _am_arg="$ac_file"
18792 _am_stamp_count=1
18793 for _am_header in $config_headers :; do
18794 case $_am_header in
18795 $_am_arg | $_am_arg:* )
18796 break ;;
18797 * )
18798 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18799 esac
18800 done
18801 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18802 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18803 X"$_am_arg" : 'X\(//\)[^/]' \| \
18804 X"$_am_arg" : 'X\(//\)$' \| \
18805 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18806 $as_echo X"$_am_arg" |
18807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18808 s//\1/
18809 q
18810 }
18811 /^X\(\/\/\)[^/].*/{
18812 s//\1/
18813 q
18814 }
18815 /^X\(\/\/\)$/{
18816 s//\1/
18817 q
18818 }
18819 /^X\(\/\).*/{
18820 s//\1/
18821 q
18822 }
18823 s/.*/./; q'`/stamp-h$_am_stamp_count
18824 ;;
18825
18826 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
18827 $as_echo "$as_me: executing $ac_file commands" >&6;}
18828 ;;
18829 esac
18830
18831
18832 case $ac_file$ac_mode in
18833 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
18834 # are listed without --file. Let's play safe and only enable the eval
18835 # if we detect the quoting.
18836 case $CONFIG_FILES in
18837 *\'*) eval set x "$CONFIG_FILES" ;;
18838 *) set x $CONFIG_FILES ;;
18839 esac
18840 shift
18841 for mf
18842 do
18843 # Strip MF so we end up with the name of the file.
18844 mf=`echo "$mf" | sed -e 's/:.*$//'`
18845 # Check whether this is an Automake generated Makefile or not.
18846 # We used to match only the files named `Makefile.in', but
18847 # some people rename them; so instead we look at the file content.
18848 # Grep'ing the first line is not enough: some people post-process
18849 # each Makefile.in and add a new line on top of each file to say so.
18850 # Grep'ing the whole file is not good either: AIX grep has a line
18851 # limit of 2048, but all sed's we know have understand at least 4000.
18852 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18853 dirpart=`$as_dirname -- "$mf" ||
18854 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18855 X"$mf" : 'X\(//\)[^/]' \| \
18856 X"$mf" : 'X\(//\)$' \| \
18857 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18858 $as_echo X"$mf" |
18859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18860 s//\1/
18861 q
18862 }
18863 /^X\(\/\/\)[^/].*/{
18864 s//\1/
18865 q
18866 }
18867 /^X\(\/\/\)$/{
18868 s//\1/
18869 q
18870 }
18871 /^X\(\/\).*/{
18872 s//\1/
18873 q
18874 }
18875 s/.*/./; q'`
18876 else
18877 continue
18878 fi
18879 # Extract the definition of DEPDIR, am__include, and am__quote
18880 # from the Makefile without running `make'.
18881 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18882 test -z "$DEPDIR" && continue
18883 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18884 test -z "am__include" && continue
18885 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18886 # When using ansi2knr, U may be empty or an underscore; expand it
18887 U=`sed -n 's/^U = //p' < "$mf"`
18888 # Find all dependency output files, they are included files with
18889 # $(DEPDIR) in their names. We invoke sed twice because it is the
18890 # simplest approach to changing $(DEPDIR) to its actual value in the
18891 # expansion.
18892 for file in `sed -n "
18893 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18894 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18895 # Make sure the directory exists.
18896 test -f "$dirpart/$file" && continue
18897 fdir=`$as_dirname -- "$file" ||
18898 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18899 X"$file" : 'X\(//\)[^/]' \| \
18900 X"$file" : 'X\(//\)$' \| \
18901 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18902 $as_echo X"$file" |
18903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18904 s//\1/
18905 q
18906 }
18907 /^X\(\/\/\)[^/].*/{
18908 s//\1/
18909 q
18910 }
18911 /^X\(\/\/\)$/{
18912 s//\1/
18913 q
18914 }
18915 /^X\(\/\).*/{
18916 s//\1/
18917 q
18918 }
18919 s/.*/./; q'`
18920 { as_dir=$dirpart/$fdir
18921 case $as_dir in #(
18922 -*) as_dir=./$as_dir;;
18923 esac
18924 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18925 as_dirs=
18926 while :; do
18927 case $as_dir in #(
18928 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18929 *) as_qdir=$as_dir;;
18930 esac
18931 as_dirs="'$as_qdir' $as_dirs"
18932 as_dir=`$as_dirname -- "$as_dir" ||
18933 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18934 X"$as_dir" : 'X\(//\)[^/]' \| \
18935 X"$as_dir" : 'X\(//\)$' \| \
18936 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18937 $as_echo X"$as_dir" |
18938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18939 s//\1/
18940 q
18941 }
18942 /^X\(\/\/\)[^/].*/{
18943 s//\1/
18944 q
18945 }
18946 /^X\(\/\/\)$/{
18947 s//\1/
18948 q
18949 }
18950 /^X\(\/\).*/{
18951 s//\1/
18952 q
18953 }
18954 s/.*/./; q'`
18955 test -d "$as_dir" && break
18956 done
18957 test -z "$as_dirs" || eval "mkdir $as_dirs"
18958 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18959 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18960 { (exit 1); exit 1; }; }; }
18961 # echo "creating $dirpart/$file"
18962 echo '# dummy' > "$dirpart/$file"
18963 done
18964 done
18965 ;;
18966 "libtool":C)
18967
18968 # See if we are running on zsh, and set the options which allow our
18969 # commands through without removal of \ escapes.
18970 if test -n "${ZSH_VERSION+set}" ; then
18971 setopt NO_GLOB_SUBST
18972 fi
18973
18974 cfgfile="${ofile}T"
18975 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18976 $RM "$cfgfile"
18977
18978 cat <<_LT_EOF >> "$cfgfile"
18979 #! $SHELL
18980
18981 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18982 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18983 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18984 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18985 #
18986 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18987 # 2006, 2007, 2008 Free Software Foundation, Inc.
18988 # Written by Gordon Matzigkeit, 1996
18989 #
18990 # This file is part of GNU Libtool.
18991 #
18992 # GNU Libtool is free software; you can redistribute it and/or
18993 # modify it under the terms of the GNU General Public License as
18994 # published by the Free Software Foundation; either version 2 of
18995 # the License, or (at your option) any later version.
18996 #
18997 # As a special exception to the GNU General Public License,
18998 # if you distribute this file as part of a program or library that
18999 # is built using GNU Libtool, you may include this file under the
19000 # same distribution terms that you use for the rest of that program.
19001 #
19002 # GNU Libtool is distributed in the hope that it will be useful,
19003 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19004 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19005 # GNU General Public License for more details.
19006 #
19007 # You should have received a copy of the GNU General Public License
19008 # along with GNU Libtool; see the file COPYING. If not, a copy
19009 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19010 # obtained by writing to the Free Software Foundation, Inc.,
19011 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19012
19013
19014 # The names of the tagged configurations supported by this script.
19015 available_tags=""
19016
19017 # ### BEGIN LIBTOOL CONFIG
19018
19019 # Which release of libtool.m4 was used?
19020 macro_version=$macro_version
19021 macro_revision=$macro_revision
19022
19023 # Whether or not to build shared libraries.
19024 build_libtool_libs=$enable_shared
19025
19026 # Whether or not to build static libraries.
19027 build_old_libs=$enable_static
19028
19029 # What type of objects to build.
19030 pic_mode=$pic_mode
19031
19032 # Whether or not to optimize for fast installation.
19033 fast_install=$enable_fast_install
19034
19035 # The host system.
19036 host_alias=$host_alias
19037 host=$host
19038 host_os=$host_os
19039
19040 # The build system.
19041 build_alias=$build_alias
19042 build=$build
19043 build_os=$build_os
19044
19045 # A sed program that does not truncate output.
19046 SED=$lt_SED
19047
19048 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19049 Xsed="\$SED -e 1s/^X//"
19050
19051 # A grep program that handles long lines.
19052 GREP=$lt_GREP
19053
19054 # An ERE matcher.
19055 EGREP=$lt_EGREP
19056
19057 # A literal string matcher.
19058 FGREP=$lt_FGREP
19059
19060 # A BSD- or MS-compatible name lister.
19061 NM=$lt_NM
19062
19063 # Whether we need soft or hard links.
19064 LN_S=$lt_LN_S
19065
19066 # What is the maximum length of a command?
19067 max_cmd_len=$max_cmd_len
19068
19069 # Object file suffix (normally "o").
19070 objext=$ac_objext
19071
19072 # Executable file suffix (normally "").
19073 exeext=$exeext
19074
19075 # whether the shell understands "unset".
19076 lt_unset=$lt_unset
19077
19078 # turn spaces into newlines.
19079 SP2NL=$lt_lt_SP2NL
19080
19081 # turn newlines into spaces.
19082 NL2SP=$lt_lt_NL2SP
19083
19084 # How to create reloadable object files.
19085 reload_flag=$lt_reload_flag
19086 reload_cmds=$lt_reload_cmds
19087
19088 # An object symbol dumper.
19089 OBJDUMP=$lt_OBJDUMP
19090
19091 # Method to check whether dependent libraries are shared objects.
19092 deplibs_check_method=$lt_deplibs_check_method
19093
19094 # Command to use when deplibs_check_method == "file_magic".
19095 file_magic_cmd=$lt_file_magic_cmd
19096
19097 # The archiver.
19098 AR=$lt_AR
19099 AR_FLAGS=$lt_AR_FLAGS
19100
19101 # A symbol stripping program.
19102 STRIP=$lt_STRIP
19103
19104 # Commands used to install an old-style archive.
19105 RANLIB=$lt_RANLIB
19106 old_postinstall_cmds=$lt_old_postinstall_cmds
19107 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19108
19109 # A C compiler.
19110 LTCC=$lt_CC
19111
19112 # LTCC compiler flags.
19113 LTCFLAGS=$lt_CFLAGS
19114
19115 # Take the output of nm and produce a listing of raw symbols and C names.
19116 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19117
19118 # Transform the output of nm in a proper C declaration.
19119 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19120
19121 # Transform the output of nm in a C name address pair.
19122 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19123
19124 # Transform the output of nm in a C name address pair when lib prefix is needed.
19125 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19126
19127 # The name of the directory that contains temporary libtool files.
19128 objdir=$objdir
19129
19130 # Shell to use when invoking shell scripts.
19131 SHELL=$lt_SHELL
19132
19133 # An echo program that does not interpret backslashes.
19134 ECHO=$lt_ECHO
19135
19136 # Used to examine libraries when file_magic_cmd begins with "file".
19137 MAGIC_CMD=$MAGIC_CMD
19138
19139 # Must we lock files when doing compilation?
19140 need_locks=$lt_need_locks
19141
19142 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19143 DSYMUTIL=$lt_DSYMUTIL
19144
19145 # Tool to change global to local symbols on Mac OS X.
19146 NMEDIT=$lt_NMEDIT
19147
19148 # Tool to manipulate fat objects and archives on Mac OS X.
19149 LIPO=$lt_LIPO
19150
19151 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19152 OTOOL=$lt_OTOOL
19153
19154 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19155 OTOOL64=$lt_OTOOL64
19156
19157 # Old archive suffix (normally "a").
19158 libext=$libext
19159
19160 # Shared library suffix (normally ".so").
19161 shrext_cmds=$lt_shrext_cmds
19162
19163 # The commands to extract the exported symbol list from a shared archive.
19164 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19165
19166 # Variables whose values should be saved in libtool wrapper scripts and
19167 # restored at link time.
19168 variables_saved_for_relink=$lt_variables_saved_for_relink
19169
19170 # Do we need the "lib" prefix for modules?
19171 need_lib_prefix=$need_lib_prefix
19172
19173 # Do we need a version for libraries?
19174 need_version=$need_version
19175
19176 # Library versioning type.
19177 version_type=$version_type
19178
19179 # Shared library runtime path variable.
19180 runpath_var=$runpath_var
19181
19182 # Shared library path variable.
19183 shlibpath_var=$shlibpath_var
19184
19185 # Is shlibpath searched before the hard-coded library search path?
19186 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19187
19188 # Format of library name prefix.
19189 libname_spec=$lt_libname_spec
19190
19191 # List of archive names. First name is the real one, the rest are links.
19192 # The last name is the one that the linker finds with -lNAME
19193 library_names_spec=$lt_library_names_spec
19194
19195 # The coded name of the library, if different from the real name.
19196 soname_spec=$lt_soname_spec
19197
19198 # Command to use after installation of a shared archive.
19199 postinstall_cmds=$lt_postinstall_cmds
19200
19201 # Command to use after uninstallation of a shared archive.
19202 postuninstall_cmds=$lt_postuninstall_cmds
19203
19204 # Commands used to finish a libtool library installation in a directory.
19205 finish_cmds=$lt_finish_cmds
19206
19207 # As "finish_cmds", except a single script fragment to be evaled but
19208 # not shown.
19209 finish_eval=$lt_finish_eval
19210
19211 # Whether we should hardcode library paths into libraries.
19212 hardcode_into_libs=$hardcode_into_libs
19213
19214 # Compile-time system search path for libraries.
19215 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19216
19217 # Run-time system search path for libraries.
19218 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19219
19220 # Whether dlopen is supported.
19221 dlopen_support=$enable_dlopen
19222
19223 # Whether dlopen of programs is supported.
19224 dlopen_self=$enable_dlopen_self
19225
19226 # Whether dlopen of statically linked programs is supported.
19227 dlopen_self_static=$enable_dlopen_self_static
19228
19229 # Commands to strip libraries.
19230 old_striplib=$lt_old_striplib
19231 striplib=$lt_striplib
19232
19233
19234 # The linker used to build libraries.
19235 LD=$lt_LD
19236
19237 # Commands used to build an old-style archive.
19238 old_archive_cmds=$lt_old_archive_cmds
19239
19240 # A language specific compiler.
19241 CC=$lt_compiler
19242
19243 # Is the compiler the GNU compiler?
19244 with_gcc=$GCC
19245
19246 # Compiler flag to turn off builtin functions.
19247 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19248
19249 # How to pass a linker flag through the compiler.
19250 wl=$lt_lt_prog_compiler_wl
19251
19252 # Additional compiler flags for building library objects.
19253 pic_flag=$lt_lt_prog_compiler_pic
19254
19255 # Compiler flag to prevent dynamic linking.
19256 link_static_flag=$lt_lt_prog_compiler_static
19257
19258 # Does compiler simultaneously support -c and -o options?
19259 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19260
19261 # Whether or not to add -lc for building shared libraries.
19262 build_libtool_need_lc=$archive_cmds_need_lc
19263
19264 # Whether or not to disallow shared libs when runtime libs are static.
19265 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19266
19267 # Compiler flag to allow reflexive dlopens.
19268 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19269
19270 # Compiler flag to generate shared objects directly from archives.
19271 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19272
19273 # Whether the compiler copes with passing no objects directly.
19274 compiler_needs_object=$lt_compiler_needs_object
19275
19276 # Create an old-style archive from a shared archive.
19277 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19278
19279 # Create a temporary old-style archive to link instead of a shared archive.
19280 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19281
19282 # Commands used to build a shared archive.
19283 archive_cmds=$lt_archive_cmds
19284 archive_expsym_cmds=$lt_archive_expsym_cmds
19285
19286 # Commands used to build a loadable module if different from building
19287 # a shared archive.
19288 module_cmds=$lt_module_cmds
19289 module_expsym_cmds=$lt_module_expsym_cmds
19290
19291 # Whether we are building with GNU ld or not.
19292 with_gnu_ld=$lt_with_gnu_ld
19293
19294 # Flag that allows shared libraries with undefined symbols to be built.
19295 allow_undefined_flag=$lt_allow_undefined_flag
19296
19297 # Flag that enforces no undefined symbols.
19298 no_undefined_flag=$lt_no_undefined_flag
19299
19300 # Flag to hardcode \$libdir into a binary during linking.
19301 # This must work even if \$libdir does not exist
19302 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19303
19304 # If ld is used when linking, flag to hardcode \$libdir into a binary
19305 # during linking. This must work even if \$libdir does not exist.
19306 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19307
19308 # Whether we need a single "-rpath" flag with a separated argument.
19309 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19310
19311 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19312 # DIR into the resulting binary.
19313 hardcode_direct=$hardcode_direct
19314
19315 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19316 # DIR into the resulting binary and the resulting library dependency is
19317 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19318 # library is relocated.
19319 hardcode_direct_absolute=$hardcode_direct_absolute
19320
19321 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19322 # into the resulting binary.
19323 hardcode_minus_L=$hardcode_minus_L
19324
19325 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19326 # into the resulting binary.
19327 hardcode_shlibpath_var=$hardcode_shlibpath_var
19328
19329 # Set to "yes" if building a shared library automatically hardcodes DIR
19330 # into the library and all subsequent libraries and executables linked
19331 # against it.
19332 hardcode_automatic=$hardcode_automatic
19333
19334 # Set to yes if linker adds runtime paths of dependent libraries
19335 # to runtime path list.
19336 inherit_rpath=$inherit_rpath
19337
19338 # Whether libtool must link a program against all its dependency libraries.
19339 link_all_deplibs=$link_all_deplibs
19340
19341 # Fix the shell variable \$srcfile for the compiler.
19342 fix_srcfile_path=$lt_fix_srcfile_path
19343
19344 # Set to "yes" if exported symbols are required.
19345 always_export_symbols=$always_export_symbols
19346
19347 # The commands to list exported symbols.
19348 export_symbols_cmds=$lt_export_symbols_cmds
19349
19350 # Symbols that should not be listed in the preloaded symbols.
19351 exclude_expsyms=$lt_exclude_expsyms
19352
19353 # Symbols that must always be exported.
19354 include_expsyms=$lt_include_expsyms
19355
19356 # Commands necessary for linking programs (against libraries) with templates.
19357 prelink_cmds=$lt_prelink_cmds
19358
19359 # Specify filename containing input files.
19360 file_list_spec=$lt_file_list_spec
19361
19362 # How to hardcode a shared library path into an executable.
19363 hardcode_action=$hardcode_action
19364
19365 # ### END LIBTOOL CONFIG
19366
19367 _LT_EOF
19368
19369 case $host_os in
19370 aix3*)
19371 cat <<\_LT_EOF >> "$cfgfile"
19372 # AIX sometimes has problems with the GCC collect2 program. For some
19373 # reason, if we set the COLLECT_NAMES environment variable, the problems
19374 # vanish in a puff of smoke.
19375 if test "X${COLLECT_NAMES+set}" != Xset; then
19376 COLLECT_NAMES=
19377 export COLLECT_NAMES
19378 fi
19379 _LT_EOF
19380 ;;
19381 esac
19382
19383
19384 ltmain="$ac_aux_dir/ltmain.sh"
19385
19386
19387 # We use sed instead of cat because bash on DJGPP gets confused if
19388 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19389 # text mode, it properly converts lines to CR/LF. This bash problem
19390 # is reportedly fixed, but why not run on old versions too?
19391 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19392 || (rm -f "$cfgfile"; exit 1)
19393
19394 case $xsi_shell in
19395 yes)
19396 cat << \_LT_EOF >> "$cfgfile"
19397
19398 # func_dirname file append nondir_replacement
19399 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19400 # otherwise set result to NONDIR_REPLACEMENT.
19401 func_dirname ()
19402 {
19403 case ${1} in
19404 */*) func_dirname_result="${1%/*}${2}" ;;
19405 * ) func_dirname_result="${3}" ;;
19406 esac
19407 }
19408
19409 # func_basename file
19410 func_basename ()
19411 {
19412 func_basename_result="${1##*/}"
19413 }
19414
19415 # func_dirname_and_basename file append nondir_replacement
19416 # perform func_basename and func_dirname in a single function
19417 # call:
19418 # dirname: Compute the dirname of FILE. If nonempty,
19419 # add APPEND to the result, otherwise set result
19420 # to NONDIR_REPLACEMENT.
19421 # value returned in "$func_dirname_result"
19422 # basename: Compute filename of FILE.
19423 # value retuned in "$func_basename_result"
19424 # Implementation must be kept synchronized with func_dirname
19425 # and func_basename. For efficiency, we do not delegate to
19426 # those functions but instead duplicate the functionality here.
19427 func_dirname_and_basename ()
19428 {
19429 case ${1} in
19430 */*) func_dirname_result="${1%/*}${2}" ;;
19431 * ) func_dirname_result="${3}" ;;
19432 esac
19433 func_basename_result="${1##*/}"
19434 }
19435
19436 # func_stripname prefix suffix name
19437 # strip PREFIX and SUFFIX off of NAME.
19438 # PREFIX and SUFFIX must not contain globbing or regex special
19439 # characters, hashes, percent signs, but SUFFIX may contain a leading
19440 # dot (in which case that matches only a dot).
19441 func_stripname ()
19442 {
19443 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19444 # positional parameters, so assign one to ordinary parameter first.
19445 func_stripname_result=${3}
19446 func_stripname_result=${func_stripname_result#"${1}"}
19447 func_stripname_result=${func_stripname_result%"${2}"}
19448 }
19449
19450 # func_opt_split
19451 func_opt_split ()
19452 {
19453 func_opt_split_opt=${1%%=*}
19454 func_opt_split_arg=${1#*=}
19455 }
19456
19457 # func_lo2o object
19458 func_lo2o ()
19459 {
19460 case ${1} in
19461 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
19462 *) func_lo2o_result=${1} ;;
19463 esac
19464 }
19465
19466 # func_xform libobj-or-source
19467 func_xform ()
19468 {
19469 func_xform_result=${1%.*}.lo
19470 }
19471
19472 # func_arith arithmetic-term...
19473 func_arith ()
19474 {
19475 func_arith_result=$(( $* ))
19476 }
19477
19478 # func_len string
19479 # STRING may not start with a hyphen.
19480 func_len ()
19481 {
19482 func_len_result=${#1}
19483 }
19484
19485 _LT_EOF
19486 ;;
19487 *) # Bourne compatible functions.
19488 cat << \_LT_EOF >> "$cfgfile"
19489
19490 # func_dirname file append nondir_replacement
19491 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19492 # otherwise set result to NONDIR_REPLACEMENT.
19493 func_dirname ()
19494 {
19495 # Extract subdirectory from the argument.
19496 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19497 if test "X$func_dirname_result" = "X${1}"; then
19498 func_dirname_result="${3}"
19499 else
19500 func_dirname_result="$func_dirname_result${2}"
19501 fi
19502 }
19503
19504 # func_basename file
19505 func_basename ()
19506 {
19507 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
19508 }
19509
19510
19511 # func_stripname prefix suffix name
19512 # strip PREFIX and SUFFIX off of NAME.
19513 # PREFIX and SUFFIX must not contain globbing or regex special
19514 # characters, hashes, percent signs, but SUFFIX may contain a leading
19515 # dot (in which case that matches only a dot).
19516 # func_strip_suffix prefix name
19517 func_stripname ()
19518 {
19519 case ${2} in
19520 .*) func_stripname_result=`$ECHO "X${3}" \
19521 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19522 *) func_stripname_result=`$ECHO "X${3}" \
19523 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19524 esac
19525 }
19526
19527 # sed scripts:
19528 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
19529 my_sed_long_arg='1s/^-[^=]*=//'
19530
19531 # func_opt_split
19532 func_opt_split ()
19533 {
19534 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19535 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19536 }
19537
19538 # func_lo2o object
19539 func_lo2o ()
19540 {
19541 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19542 }
19543
19544 # func_xform libobj-or-source
19545 func_xform ()
19546 {
19547 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19548 }
19549
19550 # func_arith arithmetic-term...
19551 func_arith ()
19552 {
19553 func_arith_result=`expr "$@"`
19554 }
19555
19556 # func_len string
19557 # STRING may not start with a hyphen.
19558 func_len ()
19559 {
19560 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19561 }
19562
19563 _LT_EOF
19564 esac
19565
19566 case $lt_shell_append in
19567 yes)
19568 cat << \_LT_EOF >> "$cfgfile"
19569
19570 # func_append var value
19571 # Append VALUE to the end of shell variable VAR.
19572 func_append ()
19573 {
19574 eval "$1+=\$2"
19575 }
19576 _LT_EOF
19577 ;;
19578 *)
19579 cat << \_LT_EOF >> "$cfgfile"
19580
19581 # func_append var value
19582 # Append VALUE to the end of shell variable VAR.
19583 func_append ()
19584 {
19585 eval "$1=\$$1\$2"
19586 }
19587
19588 _LT_EOF
19589 ;;
19590 esac
19591
19592
19593 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19594 || (rm -f "$cfgfile"; exit 1)
19595
19596 mv -f "$cfgfile" "$ofile" ||
19597 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19598 chmod +x "$ofile"
19599
19600 ;;
19601 "libtool_hack":C)
19602 cp -f libtool libtool_
19603 test -z "$SED" && SED=sed
19604 $SED '1,/^soname_spec/{
19605 /^soname_spec/i\
19606 # X.Org hack to match monolithic Xaw SONAME\
19607 xorglibxawname="libXaw"
19608 /^soname_spec/s/libname/xorglibxawname/
19609 }' libtool_ > libtool
19610 rm -f libtool_
19611 ;;
19612
19613 esac
19614 done # for ac_tag
19615
19616
19617 { (exit 0); exit 0; }
19618 _ACEOF
19619 chmod +x $CONFIG_STATUS
19620 ac_clean_files=$ac_clean_files_save
19621
19622 test $ac_write_fail = 0 ||
19623 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
19624 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
19625 { (exit 1); exit 1; }; }
19626
19627
19628 # configure is writing to config.log, and then calls config.status.
19629 # config.status does its own redirection, appending to config.log.
19630 # Unfortunately, on DOS this fails, as config.log is still kept open
19631 # by configure, so config.status won't be able to write to it; its
19632 # output is simply discarded. So we exec the FD to /dev/null,
19633 # effectively closing config.log, so it can be properly (re)opened and
19634 # appended to by config.status. When coming back to configure, we
19635 # need to make the FD available again.
19636 if test "$no_create" != yes; then
19637 ac_cs_success=:
19638 ac_config_status_args=
19639 test "$silent" = yes &&
19640 ac_config_status_args="$ac_config_status_args --quiet"
19641 exec 5>/dev/null
19642 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19643 exec 5>>config.log
19644 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19645 # would make configure fail if this is the last instruction.
19646 $ac_cs_success || { (exit 1); exit 1; }
19647 fi
19648 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19649 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19650 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19651 fi
19652
19653 fi
19654