configure revision 1.1.1.5 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for libXaw 1.0.8.
4 #
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" "" $as_nl"
92
93 # Find who we are. Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104 IFS=$as_save_IFS
105
106 ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111 as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && 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 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147 else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153 esac
154 fi
155 "
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170 exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
187 as_have_required=yes
188 else
189 as_have_required=no
190 fi
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198 IFS=$as_save_IFS
199 test -z "$as_dir" && as_dir=.
200 as_found=:
201 case $as_dir in #(
202 /*)
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210 break 2
211 fi
212 fi
213 done;;
214 esac
215 as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
229 BASH_ENV=/dev/null
230 ENV=/dev/null
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 export CONFIG_SHELL
233 case $- in # ((((
234 *v*x* | *x*v* ) as_opts=-vx ;;
235 *v* ) as_opts=-v ;;
236 *x* ) as_opts=-x ;;
237 * ) as_opts= ;;
238 esac
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248 else
249 $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
254 $0: have one."
255 fi
256 exit 1
257 fi
258 fi
259 fi
260 SHELL=${CONFIG_SHELL-/bin/sh}
261 export SHELL
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
265
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
269 # as_fn_unset VAR
270 # ---------------
271 # Portably unset VAR.
272 as_fn_unset ()
273 {
274 { eval $1=; unset $1;}
275 }
276 as_unset=as_fn_unset
277
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
281 as_fn_set_status ()
282 {
283 return $1
284 } # as_fn_set_status
285
286 # as_fn_exit STATUS
287 # -----------------
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 as_fn_exit ()
290 {
291 set +e
292 as_fn_set_status $1
293 exit $1
294 } # as_fn_exit
295
296 # as_fn_mkdir_p
297 # -------------
298 # Create "$as_dir" as a directory, including parents if necessary.
299 as_fn_mkdir_p ()
300 {
301
302 case $as_dir in #(
303 -*) as_dir=./$as_dir;;
304 esac
305 test -d "$as_dir" || eval $as_mkdir_p || {
306 as_dirs=
307 while :; do
308 case $as_dir in #(
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310 *) as_qdir=$as_dir;;
311 esac
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 s//\1/
321 q
322 }
323 /^X\(\/\/\)[^/].*/{
324 s//\1/
325 q
326 }
327 /^X\(\/\/\)$/{
328 s//\1/
329 q
330 }
331 /^X\(\/\).*/{
332 s//\1/
333 q
334 }
335 s/.*/./; q'`
336 test -d "$as_dir" && break
337 done
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
341
342 } # as_fn_mkdir_p
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
348 # implementations.
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
351 {
352 eval $1+=\$2
353 }'
354 else
355 as_fn_append ()
356 {
357 eval $1=\$$1\$2
358 }
359 fi # as_fn_append
360
361 # as_fn_arith ARG...
362 # ------------------
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367 eval 'as_fn_arith ()
368 {
369 as_val=$(( $* ))
370 }'
371 else
372 as_fn_arith ()
373 {
374 as_val=`expr "$@" || test $? -eq 1`
375 }
376 fi # as_fn_arith
377
378
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
384 as_fn_error ()
385 {
386 as_status=$1; test $as_status -eq 0 && as_status=1
387 if test "$4"; then
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 fi
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
393 } # as_fn_error
394
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
397 as_expr=expr
398 else
399 as_expr=false
400 fi
401
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403 as_basename=basename
404 else
405 as_basename=false
406 fi
407
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409 as_dirname=dirname
410 else
411 as_dirname=false
412 fi
413
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 $as_echo X/"$0" |
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
420 s//\1/
421 q
422 }
423 /^X\/\(\/\/\)$/{
424 s//\1/
425 q
426 }
427 /^X\/\(\/\).*/{
428 s//\1/
429 q
430 }
431 s/.*/./; q'`
432
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
446 sed -n '
447 p
448 /[$]LINENO/=
449 ' <$as_myself |
450 sed '
451 s/[$]LINENO.*/&-/
452 t lineno
453 b
454 :lineno
455 N
456 :loop
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458 t loop
459 s/-\n.*//
460 ' >$as_me.lineno &&
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
467 . "./$as_me.lineno"
468 # Exit status is that of the last command.
469 exit
470 }
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
474 -n*)
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 xy) ECHO_C='\c';;
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
479 ECHO_T=' ';;
480 esac;;
481 *)
482 ECHO_N='-n';;
483 esac
484
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
488 else
489 rm -f conf$$.dir
490 mkdir conf$$.dir 2>/dev/null
491 fi
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 as_ln_s='ln -s'
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 as_ln_s='cp -p'
501 elif ln conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s=ln
503 else
504 as_ln_s='cp -p'
505 fi
506 else
507 as_ln_s='cp -p'
508 fi
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
511
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
514 else
515 test -d ./-p && rmdir ./-p
516 as_mkdir_p=false
517 fi
518
519 if test -x / >/dev/null 2>&1; then
520 as_test_x='test -x'
521 else
522 if ls -dL / >/dev/null 2>&1; then
523 as_ls_L_option=L
524 else
525 as_ls_L_option=
526 fi
527 as_test_x='
528 eval sh -c '\''
529 if test -d "$1"; then
530 test -d "$1/.";
531 else
532 case $1 in #(
533 -*)set "./$1";;
534 esac;
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
537 '\'' sh
538 '
539 fi
540 as_executable_p=$as_test_x
541
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548 SHELL=${CONFIG_SHELL-/bin/sh}
549
550 as_awk_strverscmp='
551 # Use only awk features that work with 7th edition Unix awk (1978).
552 # My, what an old awk you have, Mr. Solaris!
553 END {
554 while (length(v1) && length(v2)) {
555 # Set d1 to be the next thing to compare from v1, and likewise for d2.
556 # Normally this is a single character, but if v1 and v2 contain digits,
557 # compare them as integers and fractions as strverscmp does.
558 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
559 # Split v1 and v2 into their leading digit string components d1 and d2,
560 # and advance v1 and v2 past the leading digit strings.
561 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
562 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
563 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
564 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
565 if (d1 ~ /^0/) {
566 if (d2 ~ /^0/) {
567 # Compare two fractions.
568 while (d1 ~ /^0/ && d2 ~ /^0/) {
569 d1 = substr(d1, 2); len1--
570 d2 = substr(d2, 2); len2--
571 }
572 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
573 # The two components differ in length, and the common prefix
574 # contains only leading zeros. Consider the longer to be less.
575 d1 = -len1
576 d2 = -len2
577 } else {
578 # Otherwise, compare as strings.
579 d1 = "x" d1
580 d2 = "x" d2
581 }
582 } else {
583 # A fraction is less than an integer.
584 exit 1
585 }
586 } else {
587 if (d2 ~ /^0/) {
588 # An integer is greater than a fraction.
589 exit 2
590 } else {
591 # Compare two integers.
592 d1 += 0
593 d2 += 0
594 }
595 }
596 } else {
597 # The normal case, without worrying about digits.
598 d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
599 d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
600 }
601 if (d1 < d2) exit 1
602 if (d1 > d2) exit 2
603 }
604 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
605 # which mishandles some comparisons of empty strings to integers.
606 if (length(v2)) exit 1
607 if (length(v1)) exit 2
608 }
609 '
610
611 test -n "$DJDIR" || exec 7<&0 </dev/null
612 exec 6>&1
613
614 # Name of the host.
615 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
616 # so uname gets run too.
617 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
618
619 #
620 # Initializations.
621 #
622 ac_default_prefix=/usr/local
623 ac_clean_files=
624 ac_config_libobj_dir=.
625 LIBOBJS=
626 cross_compiling=no
627 subdirs=
628 MFLAGS=
629 MAKEFLAGS=
630
631 # Identity of this package.
632 PACKAGE_NAME='libXaw'
633 PACKAGE_TARNAME='libXaw'
634 PACKAGE_VERSION='1.0.8'
635 PACKAGE_STRING='libXaw 1.0.8'
636 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
637 PACKAGE_URL=''
638
639 # Factoring default headers for most tests.
640 ac_includes_default="\
641 #include <stdio.h>
642 #ifdef HAVE_SYS_TYPES_H
643 # include <sys/types.h>
644 #endif
645 #ifdef HAVE_SYS_STAT_H
646 # include <sys/stat.h>
647 #endif
648 #ifdef STDC_HEADERS
649 # include <stdlib.h>
650 # include <stddef.h>
651 #else
652 # ifdef HAVE_STDLIB_H
653 # include <stdlib.h>
654 # endif
655 #endif
656 #ifdef HAVE_STRING_H
657 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
658 # include <memory.h>
659 # endif
660 # include <string.h>
661 #endif
662 #ifdef HAVE_STRINGS_H
663 # include <strings.h>
664 #endif
665 #ifdef HAVE_INTTYPES_H
666 # include <inttypes.h>
667 #endif
668 #ifdef HAVE_STDINT_H
669 # include <stdint.h>
670 #endif
671 #ifdef HAVE_UNISTD_H
672 # include <unistd.h>
673 #endif"
674
675 ac_subst_vars='am__EXEEXT_FALSE
676 am__EXEEXT_TRUE
677 LTLIBOBJS
678 LIBOBJS
679 BUILD_XAW7_FALSE
680 BUILD_XAW7_TRUE
681 BUILD_XAW6_FALSE
682 BUILD_XAW6_TRUE
683 XAW7_LIBS
684 XAW7_CFLAGS
685 XAW6_LIBS
686 XAW6_CFLAGS
687 PLATFORM_DARWIN_FALSE
688 PLATFORM_DARWIN_TRUE
689 PLATFORM_WIN32_FALSE
690 PLATFORM_WIN32_TRUE
691 LIBEXT
692 HAVE_STYLESHEETS_FALSE
693 HAVE_STYLESHEETS_TRUE
694 XSL_STYLESHEET
695 STYLESHEET_SRCDIR
696 XORG_SGML_PATH
697 HAVE_FOP_FALSE
698 HAVE_FOP_TRUE
699 FOP
700 HAVE_XMLTO_FALSE
701 HAVE_XMLTO_TRUE
702 HAVE_XMLTO_TEXT_FALSE
703 HAVE_XMLTO_TEXT_TRUE
704 XMLTO
705 ENABLE_SPECS_FALSE
706 ENABLE_SPECS_TRUE
707 AM_BACKSLASH
708 AM_DEFAULT_VERBOSITY
709 MAN_SUBSTS
710 XORG_MAN_PAGE
711 ADMIN_MAN_DIR
712 DRIVER_MAN_DIR
713 MISC_MAN_DIR
714 FILE_MAN_DIR
715 LIB_MAN_DIR
716 APP_MAN_DIR
717 ADMIN_MAN_SUFFIX
718 DRIVER_MAN_SUFFIX
719 MISC_MAN_SUFFIX
720 FILE_MAN_SUFFIX
721 LIB_MAN_SUFFIX
722 APP_MAN_SUFFIX
723 INSTALL_CMD
724 CHANGELOG_CMD
725 CWARNFLAGS
726 PKG_CONFIG
727 CPP
728 OTOOL64
729 OTOOL
730 LIPO
731 NMEDIT
732 DSYMUTIL
733 RANLIB
734 AR
735 OBJDUMP
736 LN_S
737 NM
738 ac_ct_DUMPBIN
739 DUMPBIN
740 LD
741 FGREP
742 EGREP
743 GREP
744 SED
745 host_os
746 host_vendor
747 host_cpu
748 host
749 build_os
750 build_vendor
751 build_cpu
752 build
753 LIBTOOL
754 am__fastdepCC_FALSE
755 am__fastdepCC_TRUE
756 CCDEPMODE
757 AMDEPBACKSLASH
758 AMDEP_FALSE
759 AMDEP_TRUE
760 am__quote
761 am__include
762 DEPDIR
763 OBJEXT
764 EXEEXT
765 ac_ct_CC
766 CPPFLAGS
767 LDFLAGS
768 CFLAGS
769 CC
770 MAINT
771 MAINTAINER_MODE_FALSE
772 MAINTAINER_MODE_TRUE
773 am__untar
774 am__tar
775 AMTAR
776 am__leading_dot
777 SET_MAKE
778 AWK
779 mkdir_p
780 MKDIR_P
781 INSTALL_STRIP_PROGRAM
782 STRIP
783 install_sh
784 MAKEINFO
785 AUTOHEADER
786 AUTOMAKE
787 AUTOCONF
788 ACLOCAL
789 VERSION
790 PACKAGE
791 CYGPATH_W
792 am__isrc
793 INSTALL_DATA
794 INSTALL_SCRIPT
795 INSTALL_PROGRAM
796 target_alias
797 host_alias
798 build_alias
799 LIBS
800 ECHO_T
801 ECHO_N
802 ECHO_C
803 DEFS
804 mandir
805 localedir
806 libdir
807 psdir
808 pdfdir
809 dvidir
810 htmldir
811 infodir
812 docdir
813 oldincludedir
814 includedir
815 localstatedir
816 sharedstatedir
817 sysconfdir
818 datadir
819 datarootdir
820 libexecdir
821 sbindir
822 bindir
823 program_transform_name
824 prefix
825 exec_prefix
826 PACKAGE_URL
827 PACKAGE_BUGREPORT
828 PACKAGE_STRING
829 PACKAGE_VERSION
830 PACKAGE_TARNAME
831 PACKAGE_NAME
832 PATH_SEPARATOR
833 SHELL'
834 ac_subst_files=''
835 ac_user_opts='
836 enable_option_checking
837 enable_maintainer_mode
838 enable_dependency_tracking
839 enable_shared
840 enable_static
841 with_pic
842 enable_fast_install
843 with_gnu_ld
844 enable_libtool_lock
845 enable_strict_compilation
846 enable_silent_rules
847 enable_specs
848 with_xmlto
849 with_fop
850 enable_xaw6
851 enable_xaw7
852 '
853 ac_precious_vars='build_alias
854 host_alias
855 target_alias
856 CC
857 CFLAGS
858 LDFLAGS
859 LIBS
860 CPPFLAGS
861 CPP
862 PKG_CONFIG
863 XMLTO
864 FOP
865 XAW6_CFLAGS
866 XAW6_LIBS
867 XAW7_CFLAGS
868 XAW7_LIBS'
869
870
871 # Initialize some variables set by options.
872 ac_init_help=
873 ac_init_version=false
874 ac_unrecognized_opts=
875 ac_unrecognized_sep=
876 # The variables have the same names as the options, with
877 # dashes changed to underlines.
878 cache_file=/dev/null
879 exec_prefix=NONE
880 no_create=
881 no_recursion=
882 prefix=NONE
883 program_prefix=NONE
884 program_suffix=NONE
885 program_transform_name=s,x,x,
886 silent=
887 site=
888 srcdir=
889 verbose=
890 x_includes=NONE
891 x_libraries=NONE
892
893 # Installation directory options.
894 # These are left unexpanded so users can "make install exec_prefix=/foo"
895 # and all the variables that are supposed to be based on exec_prefix
896 # by default will actually change.
897 # Use braces instead of parens because sh, perl, etc. also accept them.
898 # (The list follows the same order as the GNU Coding Standards.)
899 bindir='${exec_prefix}/bin'
900 sbindir='${exec_prefix}/sbin'
901 libexecdir='${exec_prefix}/libexec'
902 datarootdir='${prefix}/share'
903 datadir='${datarootdir}'
904 sysconfdir='${prefix}/etc'
905 sharedstatedir='${prefix}/com'
906 localstatedir='${prefix}/var'
907 includedir='${prefix}/include'
908 oldincludedir='/usr/include'
909 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
910 infodir='${datarootdir}/info'
911 htmldir='${docdir}'
912 dvidir='${docdir}'
913 pdfdir='${docdir}'
914 psdir='${docdir}'
915 libdir='${exec_prefix}/lib'
916 localedir='${datarootdir}/locale'
917 mandir='${datarootdir}/man'
918
919 ac_prev=
920 ac_dashdash=
921 for ac_option
922 do
923 # If the previous option needs an argument, assign it.
924 if test -n "$ac_prev"; then
925 eval $ac_prev=\$ac_option
926 ac_prev=
927 continue
928 fi
929
930 case $ac_option in
931 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
932 *=) ac_optarg= ;;
933 *) ac_optarg=yes ;;
934 esac
935
936 # Accept the important Cygnus configure options, so we can diagnose typos.
937
938 case $ac_dashdash$ac_option in
939 --)
940 ac_dashdash=yes ;;
941
942 -bindir | --bindir | --bindi | --bind | --bin | --bi)
943 ac_prev=bindir ;;
944 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
945 bindir=$ac_optarg ;;
946
947 -build | --build | --buil | --bui | --bu)
948 ac_prev=build_alias ;;
949 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
950 build_alias=$ac_optarg ;;
951
952 -cache-file | --cache-file | --cache-fil | --cache-fi \
953 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
954 ac_prev=cache_file ;;
955 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
956 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
957 cache_file=$ac_optarg ;;
958
959 --config-cache | -C)
960 cache_file=config.cache ;;
961
962 -datadir | --datadir | --datadi | --datad)
963 ac_prev=datadir ;;
964 -datadir=* | --datadir=* | --datadi=* | --datad=*)
965 datadir=$ac_optarg ;;
966
967 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
968 | --dataroo | --dataro | --datar)
969 ac_prev=datarootdir ;;
970 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
971 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
972 datarootdir=$ac_optarg ;;
973
974 -disable-* | --disable-*)
975 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
978 as_fn_error $? "invalid feature name: $ac_useropt"
979 ac_useropt_orig=$ac_useropt
980 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981 case $ac_user_opts in
982 *"
983 "enable_$ac_useropt"
984 "*) ;;
985 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
986 ac_unrecognized_sep=', ';;
987 esac
988 eval enable_$ac_useropt=no ;;
989
990 -docdir | --docdir | --docdi | --doc | --do)
991 ac_prev=docdir ;;
992 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
993 docdir=$ac_optarg ;;
994
995 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
996 ac_prev=dvidir ;;
997 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
998 dvidir=$ac_optarg ;;
999
1000 -enable-* | --enable-*)
1001 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1004 as_fn_error $? "invalid feature name: $ac_useropt"
1005 ac_useropt_orig=$ac_useropt
1006 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1007 case $ac_user_opts in
1008 *"
1009 "enable_$ac_useropt"
1010 "*) ;;
1011 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1012 ac_unrecognized_sep=', ';;
1013 esac
1014 eval enable_$ac_useropt=\$ac_optarg ;;
1015
1016 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1017 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1018 | --exec | --exe | --ex)
1019 ac_prev=exec_prefix ;;
1020 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1021 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1022 | --exec=* | --exe=* | --ex=*)
1023 exec_prefix=$ac_optarg ;;
1024
1025 -gas | --gas | --ga | --g)
1026 # Obsolete; use --with-gas.
1027 with_gas=yes ;;
1028
1029 -help | --help | --hel | --he | -h)
1030 ac_init_help=long ;;
1031 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1032 ac_init_help=recursive ;;
1033 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1034 ac_init_help=short ;;
1035
1036 -host | --host | --hos | --ho)
1037 ac_prev=host_alias ;;
1038 -host=* | --host=* | --hos=* | --ho=*)
1039 host_alias=$ac_optarg ;;
1040
1041 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1042 ac_prev=htmldir ;;
1043 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1044 | --ht=*)
1045 htmldir=$ac_optarg ;;
1046
1047 -includedir | --includedir | --includedi | --included | --include \
1048 | --includ | --inclu | --incl | --inc)
1049 ac_prev=includedir ;;
1050 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1051 | --includ=* | --inclu=* | --incl=* | --inc=*)
1052 includedir=$ac_optarg ;;
1053
1054 -infodir | --infodir | --infodi | --infod | --info | --inf)
1055 ac_prev=infodir ;;
1056 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1057 infodir=$ac_optarg ;;
1058
1059 -libdir | --libdir | --libdi | --libd)
1060 ac_prev=libdir ;;
1061 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1062 libdir=$ac_optarg ;;
1063
1064 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1065 | --libexe | --libex | --libe)
1066 ac_prev=libexecdir ;;
1067 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1068 | --libexe=* | --libex=* | --libe=*)
1069 libexecdir=$ac_optarg ;;
1070
1071 -localedir | --localedir | --localedi | --localed | --locale)
1072 ac_prev=localedir ;;
1073 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1074 localedir=$ac_optarg ;;
1075
1076 -localstatedir | --localstatedir | --localstatedi | --localstated \
1077 | --localstate | --localstat | --localsta | --localst | --locals)
1078 ac_prev=localstatedir ;;
1079 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1080 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1081 localstatedir=$ac_optarg ;;
1082
1083 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1084 ac_prev=mandir ;;
1085 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1086 mandir=$ac_optarg ;;
1087
1088 -nfp | --nfp | --nf)
1089 # Obsolete; use --without-fp.
1090 with_fp=no ;;
1091
1092 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1093 | --no-cr | --no-c | -n)
1094 no_create=yes ;;
1095
1096 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1097 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1098 no_recursion=yes ;;
1099
1100 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1101 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1102 | --oldin | --oldi | --old | --ol | --o)
1103 ac_prev=oldincludedir ;;
1104 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1105 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1106 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1107 oldincludedir=$ac_optarg ;;
1108
1109 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1110 ac_prev=prefix ;;
1111 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1112 prefix=$ac_optarg ;;
1113
1114 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1115 | --program-pre | --program-pr | --program-p)
1116 ac_prev=program_prefix ;;
1117 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1118 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1119 program_prefix=$ac_optarg ;;
1120
1121 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1122 | --program-suf | --program-su | --program-s)
1123 ac_prev=program_suffix ;;
1124 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1125 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1126 program_suffix=$ac_optarg ;;
1127
1128 -program-transform-name | --program-transform-name \
1129 | --program-transform-nam | --program-transform-na \
1130 | --program-transform-n | --program-transform- \
1131 | --program-transform | --program-transfor \
1132 | --program-transfo | --program-transf \
1133 | --program-trans | --program-tran \
1134 | --progr-tra | --program-tr | --program-t)
1135 ac_prev=program_transform_name ;;
1136 -program-transform-name=* | --program-transform-name=* \
1137 | --program-transform-nam=* | --program-transform-na=* \
1138 | --program-transform-n=* | --program-transform-=* \
1139 | --program-transform=* | --program-transfor=* \
1140 | --program-transfo=* | --program-transf=* \
1141 | --program-trans=* | --program-tran=* \
1142 | --progr-tra=* | --program-tr=* | --program-t=*)
1143 program_transform_name=$ac_optarg ;;
1144
1145 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1146 ac_prev=pdfdir ;;
1147 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1148 pdfdir=$ac_optarg ;;
1149
1150 -psdir | --psdir | --psdi | --psd | --ps)
1151 ac_prev=psdir ;;
1152 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1153 psdir=$ac_optarg ;;
1154
1155 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1156 | -silent | --silent | --silen | --sile | --sil)
1157 silent=yes ;;
1158
1159 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1160 ac_prev=sbindir ;;
1161 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1162 | --sbi=* | --sb=*)
1163 sbindir=$ac_optarg ;;
1164
1165 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1166 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1167 | --sharedst | --shareds | --shared | --share | --shar \
1168 | --sha | --sh)
1169 ac_prev=sharedstatedir ;;
1170 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1171 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1172 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1173 | --sha=* | --sh=*)
1174 sharedstatedir=$ac_optarg ;;
1175
1176 -site | --site | --sit)
1177 ac_prev=site ;;
1178 -site=* | --site=* | --sit=*)
1179 site=$ac_optarg ;;
1180
1181 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1182 ac_prev=srcdir ;;
1183 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1184 srcdir=$ac_optarg ;;
1185
1186 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1187 | --syscon | --sysco | --sysc | --sys | --sy)
1188 ac_prev=sysconfdir ;;
1189 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1190 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1191 sysconfdir=$ac_optarg ;;
1192
1193 -target | --target | --targe | --targ | --tar | --ta | --t)
1194 ac_prev=target_alias ;;
1195 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1196 target_alias=$ac_optarg ;;
1197
1198 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1199 verbose=yes ;;
1200
1201 -version | --version | --versio | --versi | --vers | -V)
1202 ac_init_version=: ;;
1203
1204 -with-* | --with-*)
1205 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1206 # Reject names that are not valid shell variable names.
1207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1208 as_fn_error $? "invalid package name: $ac_useropt"
1209 ac_useropt_orig=$ac_useropt
1210 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1211 case $ac_user_opts in
1212 *"
1213 "with_$ac_useropt"
1214 "*) ;;
1215 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1216 ac_unrecognized_sep=', ';;
1217 esac
1218 eval with_$ac_useropt=\$ac_optarg ;;
1219
1220 -without-* | --without-*)
1221 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224 as_fn_error $? "invalid package name: $ac_useropt"
1225 ac_useropt_orig=$ac_useropt
1226 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1228 *"
1229 "with_$ac_useropt"
1230 "*) ;;
1231 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1232 ac_unrecognized_sep=', ';;
1233 esac
1234 eval with_$ac_useropt=no ;;
1235
1236 --x)
1237 # Obsolete; use --with-x.
1238 with_x=yes ;;
1239
1240 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1241 | --x-incl | --x-inc | --x-in | --x-i)
1242 ac_prev=x_includes ;;
1243 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1244 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1245 x_includes=$ac_optarg ;;
1246
1247 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1248 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1249 ac_prev=x_libraries ;;
1250 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1251 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1252 x_libraries=$ac_optarg ;;
1253
1254 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1255 Try \`$0 --help' for more information"
1256 ;;
1257
1258 *=*)
1259 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1260 # Reject names that are not valid shell variable names.
1261 case $ac_envvar in #(
1262 '' | [0-9]* | *[!_$as_cr_alnum]* )
1263 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1264 esac
1265 eval $ac_envvar=\$ac_optarg
1266 export $ac_envvar ;;
1267
1268 *)
1269 # FIXME: should be removed in autoconf 3.0.
1270 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1271 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1272 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1273 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1274 ;;
1275
1276 esac
1277 done
1278
1279 if test -n "$ac_prev"; then
1280 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1281 as_fn_error $? "missing argument to $ac_option"
1282 fi
1283
1284 if test -n "$ac_unrecognized_opts"; then
1285 case $enable_option_checking in
1286 no) ;;
1287 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1288 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1289 esac
1290 fi
1291
1292 # Check all directory arguments for consistency.
1293 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1294 datadir sysconfdir sharedstatedir localstatedir includedir \
1295 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1296 libdir localedir mandir
1297 do
1298 eval ac_val=\$$ac_var
1299 # Remove trailing slashes.
1300 case $ac_val in
1301 */ )
1302 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1303 eval $ac_var=\$ac_val;;
1304 esac
1305 # Be sure to have absolute directory names.
1306 case $ac_val in
1307 [\\/$]* | ?:[\\/]* ) continue;;
1308 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1309 esac
1310 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1311 done
1312
1313 # There might be people who depend on the old broken behavior: `$host'
1314 # used to hold the argument of --host etc.
1315 # FIXME: To remove some day.
1316 build=$build_alias
1317 host=$host_alias
1318 target=$target_alias
1319
1320 # FIXME: To remove some day.
1321 if test "x$host_alias" != x; then
1322 if test "x$build_alias" = x; then
1323 cross_compiling=maybe
1324 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1325 If a cross compiler is detected then cross compile mode will be used" >&2
1326 elif test "x$build_alias" != "x$host_alias"; then
1327 cross_compiling=yes
1328 fi
1329 fi
1330
1331 ac_tool_prefix=
1332 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1333
1334 test "$silent" = yes && exec 6>/dev/null
1335
1336
1337 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1338 ac_ls_di=`ls -di .` &&
1339 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1340 as_fn_error $? "working directory cannot be determined"
1341 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1342 as_fn_error $? "pwd does not report name of working directory"
1343
1344
1345 # Find the source files, if location was not specified.
1346 if test -z "$srcdir"; then
1347 ac_srcdir_defaulted=yes
1348 # Try the directory containing this script, then the parent directory.
1349 ac_confdir=`$as_dirname -- "$as_myself" ||
1350 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1351 X"$as_myself" : 'X\(//\)[^/]' \| \
1352 X"$as_myself" : 'X\(//\)$' \| \
1353 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1354 $as_echo X"$as_myself" |
1355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1356 s//\1/
1357 q
1358 }
1359 /^X\(\/\/\)[^/].*/{
1360 s//\1/
1361 q
1362 }
1363 /^X\(\/\/\)$/{
1364 s//\1/
1365 q
1366 }
1367 /^X\(\/\).*/{
1368 s//\1/
1369 q
1370 }
1371 s/.*/./; q'`
1372 srcdir=$ac_confdir
1373 if test ! -r "$srcdir/$ac_unique_file"; then
1374 srcdir=..
1375 fi
1376 else
1377 ac_srcdir_defaulted=no
1378 fi
1379 if test ! -r "$srcdir/$ac_unique_file"; then
1380 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1381 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1382 fi
1383 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1384 ac_abs_confdir=`(
1385 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1386 pwd)`
1387 # When building in place, set srcdir=.
1388 if test "$ac_abs_confdir" = "$ac_pwd"; then
1389 srcdir=.
1390 fi
1391 # Remove unnecessary trailing slashes from srcdir.
1392 # Double slashes in file names in object file debugging info
1393 # mess up M-x gdb in Emacs.
1394 case $srcdir in
1395 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1396 esac
1397 for ac_var in $ac_precious_vars; do
1398 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1399 eval ac_env_${ac_var}_value=\$${ac_var}
1400 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1401 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1402 done
1403
1404 #
1405 # Report the --help message.
1406 #
1407 if test "$ac_init_help" = "long"; then
1408 # Omit some internal or obsolete options to make the list less imposing.
1409 # This message is too long to be a string in the A/UX 3.1 sh.
1410 cat <<_ACEOF
1411 \`configure' configures libXaw 1.0.8 to adapt to many kinds of systems.
1412
1413 Usage: $0 [OPTION]... [VAR=VALUE]...
1414
1415 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1416 VAR=VALUE. See below for descriptions of some of the useful variables.
1417
1418 Defaults for the options are specified in brackets.
1419
1420 Configuration:
1421 -h, --help display this help and exit
1422 --help=short display options specific to this package
1423 --help=recursive display the short help of all the included packages
1424 -V, --version display version information and exit
1425 -q, --quiet, --silent do not print \`checking ...' messages
1426 --cache-file=FILE cache test results in FILE [disabled]
1427 -C, --config-cache alias for \`--cache-file=config.cache'
1428 -n, --no-create do not create output files
1429 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1430
1431 Installation directories:
1432 --prefix=PREFIX install architecture-independent files in PREFIX
1433 [$ac_default_prefix]
1434 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1435 [PREFIX]
1436
1437 By default, \`make install' will install all the files in
1438 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1439 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1440 for instance \`--prefix=\$HOME'.
1441
1442 For better control, use the options below.
1443
1444 Fine tuning of the installation directories:
1445 --bindir=DIR user executables [EPREFIX/bin]
1446 --sbindir=DIR system admin executables [EPREFIX/sbin]
1447 --libexecdir=DIR program executables [EPREFIX/libexec]
1448 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1449 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1450 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1451 --libdir=DIR object code libraries [EPREFIX/lib]
1452 --includedir=DIR C header files [PREFIX/include]
1453 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1454 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1455 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1456 --infodir=DIR info documentation [DATAROOTDIR/info]
1457 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1458 --mandir=DIR man documentation [DATAROOTDIR/man]
1459 --docdir=DIR documentation root [DATAROOTDIR/doc/libXaw]
1460 --htmldir=DIR html documentation [DOCDIR]
1461 --dvidir=DIR dvi documentation [DOCDIR]
1462 --pdfdir=DIR pdf documentation [DOCDIR]
1463 --psdir=DIR ps documentation [DOCDIR]
1464 _ACEOF
1465
1466 cat <<\_ACEOF
1467
1468 Program names:
1469 --program-prefix=PREFIX prepend PREFIX to installed program names
1470 --program-suffix=SUFFIX append SUFFIX to installed program names
1471 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1472
1473 System types:
1474 --build=BUILD configure for building on BUILD [guessed]
1475 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1476 _ACEOF
1477 fi
1478
1479 if test -n "$ac_init_help"; then
1480 case $ac_init_help in
1481 short | recursive ) echo "Configuration of libXaw 1.0.8:";;
1482 esac
1483 cat <<\_ACEOF
1484
1485 Optional Features:
1486 --disable-option-checking ignore unrecognized --enable/--with options
1487 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1488 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1489 --enable-maintainer-mode enable make rules and dependencies not useful
1490 (and sometimes confusing) to the casual installer
1491 --disable-dependency-tracking speeds up one-time build
1492 --enable-dependency-tracking do not reject slow dependency extractors
1493 --enable-shared[=PKGS] build shared libraries [default=yes]
1494 --enable-static[=PKGS] build static libraries [default=yes]
1495 --enable-fast-install[=PKGS]
1496 optimize for fast installation [default=yes]
1497 --disable-libtool-lock avoid locking (might break parallel builds)
1498 --enable-strict-compilation
1499 Enable all warnings from compiler and make them
1500 errors (default: disabled)
1501 --enable-silent-rules less verbose build output (undo: `make V=1')
1502 --disable-silent-rules verbose build output (undo: `make V=0')
1503 --enable-specs Enable building the specs (default: yes)
1504 --disable-xaw6 Disable building of libXaw.so.6
1505 --disable-xaw7 Disable building of libXaw.so.7
1506
1507 Optional Packages:
1508 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1509 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1510 --with-pic try to use only PIC/non-PIC objects [default=use
1511 both]
1512 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1513 --with-xmlto Use xmlto to regenerate documentation (default: yes,
1514 if installed)
1515 --with-fop Use fop to regenerate documentation (default: yes,
1516 if installed)
1517
1518 Some influential environment variables:
1519 CC C compiler command
1520 CFLAGS C compiler flags
1521 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1522 nonstandard directory <lib dir>
1523 LIBS libraries to pass to the linker, e.g. -l<library>
1524 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1525 you have headers in a nonstandard directory <include dir>
1526 CPP C preprocessor
1527 PKG_CONFIG path to pkg-config utility
1528 XMLTO Path to xmlto command
1529 FOP Path to fop command
1530 XAW6_CFLAGS C compiler flags for XAW6, overriding pkg-config
1531 XAW6_LIBS linker flags for XAW6, overriding pkg-config
1532 XAW7_CFLAGS C compiler flags for XAW7, overriding pkg-config
1533 XAW7_LIBS linker flags for XAW7, overriding pkg-config
1534
1535 Use these variables to override the choices made by `configure' or to help
1536 it to find libraries and programs with nonstandard names/locations.
1537
1538 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1539 _ACEOF
1540 ac_status=$?
1541 fi
1542
1543 if test "$ac_init_help" = "recursive"; then
1544 # If there are subdirs, report their specific --help.
1545 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1546 test -d "$ac_dir" ||
1547 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1548 continue
1549 ac_builddir=.
1550
1551 case "$ac_dir" in
1552 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1553 *)
1554 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1555 # A ".." for each directory in $ac_dir_suffix.
1556 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1557 case $ac_top_builddir_sub in
1558 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1559 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1560 esac ;;
1561 esac
1562 ac_abs_top_builddir=$ac_pwd
1563 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1564 # for backward compatibility:
1565 ac_top_builddir=$ac_top_build_prefix
1566
1567 case $srcdir in
1568 .) # We are building in place.
1569 ac_srcdir=.
1570 ac_top_srcdir=$ac_top_builddir_sub
1571 ac_abs_top_srcdir=$ac_pwd ;;
1572 [\\/]* | ?:[\\/]* ) # Absolute name.
1573 ac_srcdir=$srcdir$ac_dir_suffix;
1574 ac_top_srcdir=$srcdir
1575 ac_abs_top_srcdir=$srcdir ;;
1576 *) # Relative name.
1577 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1578 ac_top_srcdir=$ac_top_build_prefix$srcdir
1579 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1580 esac
1581 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1582
1583 cd "$ac_dir" || { ac_status=$?; continue; }
1584 # Check for guested configure.
1585 if test -f "$ac_srcdir/configure.gnu"; then
1586 echo &&
1587 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1588 elif test -f "$ac_srcdir/configure"; then
1589 echo &&
1590 $SHELL "$ac_srcdir/configure" --help=recursive
1591 else
1592 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1593 fi || ac_status=$?
1594 cd "$ac_pwd" || { ac_status=$?; break; }
1595 done
1596 fi
1597
1598 test -n "$ac_init_help" && exit $ac_status
1599 if $ac_init_version; then
1600 cat <<\_ACEOF
1601 libXaw configure 1.0.8
1602 generated by GNU Autoconf 2.68
1603
1604 Copyright (C) 2010 Free Software Foundation, Inc.
1605 This configure script is free software; the Free Software Foundation
1606 gives unlimited permission to copy, distribute and modify it.
1607 _ACEOF
1608 exit
1609 fi
1610
1611 ## ------------------------ ##
1612 ## Autoconf initialization. ##
1613 ## ------------------------ ##
1614
1615 # ac_fn_c_try_compile LINENO
1616 # --------------------------
1617 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1618 ac_fn_c_try_compile ()
1619 {
1620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621 rm -f conftest.$ac_objext
1622 if { { ac_try="$ac_compile"
1623 case "(($ac_try" in
1624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1625 *) ac_try_echo=$ac_try;;
1626 esac
1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629 (eval "$ac_compile") 2>conftest.err
1630 ac_status=$?
1631 if test -s conftest.err; then
1632 grep -v '^ *+' conftest.err >conftest.er1
1633 cat conftest.er1 >&5
1634 mv -f conftest.er1 conftest.err
1635 fi
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } && {
1638 test -z "$ac_c_werror_flag" ||
1639 test ! -s conftest.err
1640 } && test -s conftest.$ac_objext; then :
1641 ac_retval=0
1642 else
1643 $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.$ac_ext >&5
1645
1646 ac_retval=1
1647 fi
1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1649 as_fn_set_status $ac_retval
1650
1651 } # ac_fn_c_try_compile
1652
1653 # ac_fn_c_try_link LINENO
1654 # -----------------------
1655 # Try to link conftest.$ac_ext, and return whether this succeeded.
1656 ac_fn_c_try_link ()
1657 {
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659 rm -f conftest.$ac_objext conftest$ac_exeext
1660 if { { ac_try="$ac_link"
1661 case "(($ac_try" in
1662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663 *) ac_try_echo=$ac_try;;
1664 esac
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667 (eval "$ac_link") 2>conftest.err
1668 ac_status=$?
1669 if test -s conftest.err; then
1670 grep -v '^ *+' conftest.err >conftest.er1
1671 cat conftest.er1 >&5
1672 mv -f conftest.er1 conftest.err
1673 fi
1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675 test $ac_status = 0; } && {
1676 test -z "$ac_c_werror_flag" ||
1677 test ! -s conftest.err
1678 } && test -s conftest$ac_exeext && {
1679 test "$cross_compiling" = yes ||
1680 $as_test_x conftest$ac_exeext
1681 }; then :
1682 ac_retval=0
1683 else
1684 $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1686
1687 ac_retval=1
1688 fi
1689 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1690 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1691 # interfere with the next link command; also delete a directory that is
1692 # left behind by Apple's compiler. We do this before executing the actions.
1693 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695 as_fn_set_status $ac_retval
1696
1697 } # ac_fn_c_try_link
1698
1699 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1700 # -------------------------------------------------------
1701 # Tests whether HEADER exists and can be compiled using the include files in
1702 # INCLUDES, setting the cache variable VAR accordingly.
1703 ac_fn_c_check_header_compile ()
1704 {
1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707 $as_echo_n "checking for $2... " >&6; }
1708 if eval \${$3+:} false; then :
1709 $as_echo_n "(cached) " >&6
1710 else
1711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1713 $4
1714 #include <$2>
1715 _ACEOF
1716 if ac_fn_c_try_compile "$LINENO"; then :
1717 eval "$3=yes"
1718 else
1719 eval "$3=no"
1720 fi
1721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1722 fi
1723 eval ac_res=\$$3
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1725 $as_echo "$ac_res" >&6; }
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727
1728 } # ac_fn_c_check_header_compile
1729
1730 # ac_fn_c_try_cpp LINENO
1731 # ----------------------
1732 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1733 ac_fn_c_try_cpp ()
1734 {
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 if { { ac_try="$ac_cpp conftest.$ac_ext"
1737 case "(($ac_try" in
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1740 esac
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1744 ac_status=$?
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1749 fi
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } > conftest.i && {
1752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1753 test ! -s conftest.err
1754 }; then :
1755 ac_retval=0
1756 else
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1759
1760 ac_retval=1
1761 fi
1762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763 as_fn_set_status $ac_retval
1764
1765 } # ac_fn_c_try_cpp
1766
1767 # ac_fn_c_try_run LINENO
1768 # ----------------------
1769 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1770 # that executables *can* be run.
1771 ac_fn_c_try_run ()
1772 {
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 if { { ac_try="$ac_link"
1775 case "(($ac_try" in
1776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1778 esac
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_link") 2>&5
1782 ac_status=$?
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1785 { { case "(($ac_try" in
1786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1787 *) ac_try_echo=$ac_try;;
1788 esac
1789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790 $as_echo "$ac_try_echo"; } >&5
1791 (eval "$ac_try") 2>&5
1792 ac_status=$?
1793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794 test $ac_status = 0; }; }; then :
1795 ac_retval=0
1796 else
1797 $as_echo "$as_me: program exited with status $ac_status" >&5
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.$ac_ext >&5
1800
1801 ac_retval=$ac_status
1802 fi
1803 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 as_fn_set_status $ac_retval
1806
1807 } # ac_fn_c_try_run
1808
1809 # ac_fn_c_check_func LINENO FUNC VAR
1810 # ----------------------------------
1811 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1812 ac_fn_c_check_func ()
1813 {
1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816 $as_echo_n "checking for $2... " >&6; }
1817 if eval \${$3+:} false; then :
1818 $as_echo_n "(cached) " >&6
1819 else
1820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1821 /* end confdefs.h. */
1822 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1824 #define $2 innocuous_$2
1825
1826 /* System header to define __stub macros and hopefully few prototypes,
1827 which can conflict with char $2 (); below.
1828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1829 <limits.h> exists even on freestanding compilers. */
1830
1831 #ifdef __STDC__
1832 # include <limits.h>
1833 #else
1834 # include <assert.h>
1835 #endif
1836
1837 #undef $2
1838
1839 /* Override any GCC internal prototype to avoid an error.
1840 Use char because int might match the return type of a GCC
1841 builtin and then its argument prototype would still apply. */
1842 #ifdef __cplusplus
1843 extern "C"
1844 #endif
1845 char $2 ();
1846 /* The GNU C library defines this for functions which it implements
1847 to always fail with ENOSYS. Some functions are actually named
1848 something starting with __ and the normal name is an alias. */
1849 #if defined __stub_$2 || defined __stub___$2
1850 choke me
1851 #endif
1852
1853 int
1854 main ()
1855 {
1856 return $2 ();
1857 ;
1858 return 0;
1859 }
1860 _ACEOF
1861 if ac_fn_c_try_link "$LINENO"; then :
1862 eval "$3=yes"
1863 else
1864 eval "$3=no"
1865 fi
1866 rm -f core conftest.err conftest.$ac_objext \
1867 conftest$ac_exeext conftest.$ac_ext
1868 fi
1869 eval ac_res=\$$3
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 $as_echo "$ac_res" >&6; }
1872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873
1874 } # ac_fn_c_check_func
1875
1876 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1877 # ---------------------------------------------
1878 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1879 # accordingly.
1880 ac_fn_c_check_decl ()
1881 {
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 as_decl_name=`echo $2|sed 's/ *(.*//'`
1884 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1886 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1887 if eval \${$3+:} false; then :
1888 $as_echo_n "(cached) " >&6
1889 else
1890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1891 /* end confdefs.h. */
1892 $4
1893 int
1894 main ()
1895 {
1896 #ifndef $as_decl_name
1897 #ifdef __cplusplus
1898 (void) $as_decl_use;
1899 #else
1900 (void) $as_decl_name;
1901 #endif
1902 #endif
1903
1904 ;
1905 return 0;
1906 }
1907 _ACEOF
1908 if ac_fn_c_try_compile "$LINENO"; then :
1909 eval "$3=yes"
1910 else
1911 eval "$3=no"
1912 fi
1913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1914 fi
1915 eval ac_res=\$$3
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1917 $as_echo "$ac_res" >&6; }
1918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1919
1920 } # ac_fn_c_check_decl
1921
1922 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1923 # -------------------------------------------------------
1924 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1925 # the include files in INCLUDES and setting the cache variable VAR
1926 # accordingly.
1927 ac_fn_c_check_header_mongrel ()
1928 {
1929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930 if eval \${$3+:} false; then :
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1932 $as_echo_n "checking for $2... " >&6; }
1933 if eval \${$3+:} false; then :
1934 $as_echo_n "(cached) " >&6
1935 fi
1936 eval ac_res=\$$3
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1938 $as_echo "$ac_res" >&6; }
1939 else
1940 # Is the header compilable?
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1942 $as_echo_n "checking $2 usability... " >&6; }
1943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1944 /* end confdefs.h. */
1945 $4
1946 #include <$2>
1947 _ACEOF
1948 if ac_fn_c_try_compile "$LINENO"; then :
1949 ac_header_compiler=yes
1950 else
1951 ac_header_compiler=no
1952 fi
1953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1955 $as_echo "$ac_header_compiler" >&6; }
1956
1957 # Is the header present?
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1959 $as_echo_n "checking $2 presence... " >&6; }
1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1961 /* end confdefs.h. */
1962 #include <$2>
1963 _ACEOF
1964 if ac_fn_c_try_cpp "$LINENO"; then :
1965 ac_header_preproc=yes
1966 else
1967 ac_header_preproc=no
1968 fi
1969 rm -f conftest.err conftest.i conftest.$ac_ext
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1971 $as_echo "$ac_header_preproc" >&6; }
1972
1973 # So? What about this header?
1974 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1975 yes:no: )
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1977 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1979 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1980 ;;
1981 no:yes:* )
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1983 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1985 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1987 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1989 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1991 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1992 ( $as_echo "## ---------------------------------------------------------------------- ##
1993 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
1994 ## ---------------------------------------------------------------------- ##"
1995 ) | sed "s/^/$as_me: WARNING: /" >&2
1996 ;;
1997 esac
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1999 $as_echo_n "checking for $2... " >&6; }
2000 if eval \${$3+:} false; then :
2001 $as_echo_n "(cached) " >&6
2002 else
2003 eval "$3=\$ac_header_compiler"
2004 fi
2005 eval ac_res=\$$3
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2007 $as_echo "$ac_res" >&6; }
2008 fi
2009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2010
2011 } # ac_fn_c_check_header_mongrel
2012 cat >config.log <<_ACEOF
2013 This file contains any messages produced by compilers while
2014 running configure, to aid debugging if configure makes a mistake.
2015
2016 It was created by libXaw $as_me 1.0.8, which was
2017 generated by GNU Autoconf 2.68. Invocation command line was
2018
2019 $ $0 $@
2020
2021 _ACEOF
2022 exec 5>>config.log
2023 {
2024 cat <<_ASUNAME
2025 ## --------- ##
2026 ## Platform. ##
2027 ## --------- ##
2028
2029 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2030 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2031 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2032 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2033 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2034
2035 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2036 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2037
2038 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2039 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2040 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2041 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2042 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2043 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2044 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2045
2046 _ASUNAME
2047
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 for as_dir in $PATH
2050 do
2051 IFS=$as_save_IFS
2052 test -z "$as_dir" && as_dir=.
2053 $as_echo "PATH: $as_dir"
2054 done
2055 IFS=$as_save_IFS
2056
2057 } >&5
2058
2059 cat >&5 <<_ACEOF
2060
2061
2062 ## ----------- ##
2063 ## Core tests. ##
2064 ## ----------- ##
2065
2066 _ACEOF
2067
2068
2069 # Keep a trace of the command line.
2070 # Strip out --no-create and --no-recursion so they do not pile up.
2071 # Strip out --silent because we don't want to record it for future runs.
2072 # Also quote any args containing shell meta-characters.
2073 # Make two passes to allow for proper duplicate-argument suppression.
2074 ac_configure_args=
2075 ac_configure_args0=
2076 ac_configure_args1=
2077 ac_must_keep_next=false
2078 for ac_pass in 1 2
2079 do
2080 for ac_arg
2081 do
2082 case $ac_arg in
2083 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2085 | -silent | --silent | --silen | --sile | --sil)
2086 continue ;;
2087 *\'*)
2088 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2089 esac
2090 case $ac_pass in
2091 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2092 2)
2093 as_fn_append ac_configure_args1 " '$ac_arg'"
2094 if test $ac_must_keep_next = true; then
2095 ac_must_keep_next=false # Got value, back to normal.
2096 else
2097 case $ac_arg in
2098 *=* | --config-cache | -C | -disable-* | --disable-* \
2099 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2100 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2101 | -with-* | --with-* | -without-* | --without-* | --x)
2102 case "$ac_configure_args0 " in
2103 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2104 esac
2105 ;;
2106 -* ) ac_must_keep_next=true ;;
2107 esac
2108 fi
2109 as_fn_append ac_configure_args " '$ac_arg'"
2110 ;;
2111 esac
2112 done
2113 done
2114 { ac_configure_args0=; unset ac_configure_args0;}
2115 { ac_configure_args1=; unset ac_configure_args1;}
2116
2117 # When interrupted or exit'd, cleanup temporary files, and complete
2118 # config.log. We remove comments because anyway the quotes in there
2119 # would cause problems or look ugly.
2120 # WARNING: Use '\'' to represent an apostrophe within the trap.
2121 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2122 trap 'exit_status=$?
2123 # Save into config.log some information that might help in debugging.
2124 {
2125 echo
2126
2127 $as_echo "## ---------------- ##
2128 ## Cache variables. ##
2129 ## ---------------- ##"
2130 echo
2131 # The following way of writing the cache mishandles newlines in values,
2132 (
2133 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2134 eval ac_val=\$$ac_var
2135 case $ac_val in #(
2136 *${as_nl}*)
2137 case $ac_var in #(
2138 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2139 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2140 esac
2141 case $ac_var in #(
2142 _ | IFS | as_nl) ;; #(
2143 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2144 *) { eval $ac_var=; unset $ac_var;} ;;
2145 esac ;;
2146 esac
2147 done
2148 (set) 2>&1 |
2149 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2150 *${as_nl}ac_space=\ *)
2151 sed -n \
2152 "s/'\''/'\''\\\\'\'''\''/g;
2153 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2154 ;; #(
2155 *)
2156 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2157 ;;
2158 esac |
2159 sort
2160 )
2161 echo
2162
2163 $as_echo "## ----------------- ##
2164 ## Output variables. ##
2165 ## ----------------- ##"
2166 echo
2167 for ac_var in $ac_subst_vars
2168 do
2169 eval ac_val=\$$ac_var
2170 case $ac_val in
2171 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2172 esac
2173 $as_echo "$ac_var='\''$ac_val'\''"
2174 done | sort
2175 echo
2176
2177 if test -n "$ac_subst_files"; then
2178 $as_echo "## ------------------- ##
2179 ## File substitutions. ##
2180 ## ------------------- ##"
2181 echo
2182 for ac_var in $ac_subst_files
2183 do
2184 eval ac_val=\$$ac_var
2185 case $ac_val in
2186 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2187 esac
2188 $as_echo "$ac_var='\''$ac_val'\''"
2189 done | sort
2190 echo
2191 fi
2192
2193 if test -s confdefs.h; then
2194 $as_echo "## ----------- ##
2195 ## confdefs.h. ##
2196 ## ----------- ##"
2197 echo
2198 cat confdefs.h
2199 echo
2200 fi
2201 test "$ac_signal" != 0 &&
2202 $as_echo "$as_me: caught signal $ac_signal"
2203 $as_echo "$as_me: exit $exit_status"
2204 } >&5
2205 rm -f core *.core core.conftest.* &&
2206 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2207 exit $exit_status
2208 ' 0
2209 for ac_signal in 1 2 13 15; do
2210 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2211 done
2212 ac_signal=0
2213
2214 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2215 rm -f -r conftest* confdefs.h
2216
2217 $as_echo "/* confdefs.h */" > confdefs.h
2218
2219 # Predefined preprocessor variables.
2220
2221 cat >>confdefs.h <<_ACEOF
2222 #define PACKAGE_NAME "$PACKAGE_NAME"
2223 _ACEOF
2224
2225 cat >>confdefs.h <<_ACEOF
2226 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2227 _ACEOF
2228
2229 cat >>confdefs.h <<_ACEOF
2230 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2231 _ACEOF
2232
2233 cat >>confdefs.h <<_ACEOF
2234 #define PACKAGE_STRING "$PACKAGE_STRING"
2235 _ACEOF
2236
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2239 _ACEOF
2240
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_URL "$PACKAGE_URL"
2243 _ACEOF
2244
2245
2246 # Let the site file select an alternate cache file if it wants to.
2247 # Prefer an explicitly selected file to automatically selected ones.
2248 ac_site_file1=NONE
2249 ac_site_file2=NONE
2250 if test -n "$CONFIG_SITE"; then
2251 # We do not want a PATH search for config.site.
2252 case $CONFIG_SITE in #((
2253 -*) ac_site_file1=./$CONFIG_SITE;;
2254 */*) ac_site_file1=$CONFIG_SITE;;
2255 *) ac_site_file1=./$CONFIG_SITE;;
2256 esac
2257 elif test "x$prefix" != xNONE; then
2258 ac_site_file1=$prefix/share/config.site
2259 ac_site_file2=$prefix/etc/config.site
2260 else
2261 ac_site_file1=$ac_default_prefix/share/config.site
2262 ac_site_file2=$ac_default_prefix/etc/config.site
2263 fi
2264 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2265 do
2266 test "x$ac_site_file" = xNONE && continue
2267 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2269 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2270 sed 's/^/| /' "$ac_site_file" >&5
2271 . "$ac_site_file" \
2272 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2274 as_fn_error $? "failed to load site script $ac_site_file
2275 See \`config.log' for more details" "$LINENO" 5; }
2276 fi
2277 done
2278
2279 if test -r "$cache_file"; then
2280 # Some versions of bash will fail to source /dev/null (special files
2281 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2282 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2284 $as_echo "$as_me: loading cache $cache_file" >&6;}
2285 case $cache_file in
2286 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2287 *) . "./$cache_file";;
2288 esac
2289 fi
2290 else
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2292 $as_echo "$as_me: creating cache $cache_file" >&6;}
2293 >$cache_file
2294 fi
2295
2296 # Check that the precious variables saved in the cache have kept the same
2297 # value.
2298 ac_cache_corrupted=false
2299 for ac_var in $ac_precious_vars; do
2300 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2301 eval ac_new_set=\$ac_env_${ac_var}_set
2302 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2303 eval ac_new_val=\$ac_env_${ac_var}_value
2304 case $ac_old_set,$ac_new_set in
2305 set,)
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2307 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2308 ac_cache_corrupted=: ;;
2309 ,set)
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2311 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2312 ac_cache_corrupted=: ;;
2313 ,);;
2314 *)
2315 if test "x$ac_old_val" != "x$ac_new_val"; then
2316 # differences in whitespace do not lead to failure.
2317 ac_old_val_w=`echo x $ac_old_val`
2318 ac_new_val_w=`echo x $ac_new_val`
2319 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2321 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2322 ac_cache_corrupted=:
2323 else
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2325 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2326 eval $ac_var=\$ac_old_val
2327 fi
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2329 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2331 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2332 fi;;
2333 esac
2334 # Pass precious variables to config.status.
2335 if test "$ac_new_set" = set; then
2336 case $ac_new_val in
2337 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2338 *) ac_arg=$ac_var=$ac_new_val ;;
2339 esac
2340 case " $ac_configure_args " in
2341 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2342 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2343 esac
2344 fi
2345 done
2346 if $ac_cache_corrupted; then
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2350 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2351 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2352 fi
2353 ## -------------------- ##
2354 ## Main body of script. ##
2355 ## -------------------- ##
2356
2357 ac_ext=c
2358 ac_cpp='$CPP $CPPFLAGS'
2359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2362
2363
2364
2365 am__api_version='1.11'
2366
2367 ac_aux_dir=
2368 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2369 if test -f "$ac_dir/install-sh"; then
2370 ac_aux_dir=$ac_dir
2371 ac_install_sh="$ac_aux_dir/install-sh -c"
2372 break
2373 elif test -f "$ac_dir/install.sh"; then
2374 ac_aux_dir=$ac_dir
2375 ac_install_sh="$ac_aux_dir/install.sh -c"
2376 break
2377 elif test -f "$ac_dir/shtool"; then
2378 ac_aux_dir=$ac_dir
2379 ac_install_sh="$ac_aux_dir/shtool install -c"
2380 break
2381 fi
2382 done
2383 if test -z "$ac_aux_dir"; then
2384 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2385 fi
2386
2387 # These three variables are undocumented and unsupported,
2388 # and are intended to be withdrawn in a future Autoconf release.
2389 # They can cause serious problems if a builder's source tree is in a directory
2390 # whose full name contains unusual characters.
2391 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2392 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2393 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2394
2395
2396 # Find a good install program. We prefer a C program (faster),
2397 # so one script is as good as another. But avoid the broken or
2398 # incompatible versions:
2399 # SysV /etc/install, /usr/sbin/install
2400 # SunOS /usr/etc/install
2401 # IRIX /sbin/install
2402 # AIX /bin/install
2403 # AmigaOS /C/install, which installs bootblocks on floppy discs
2404 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2405 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2406 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2407 # OS/2's system install, which has a completely different semantic
2408 # ./install, which can be erroneously created by make from ./install.sh.
2409 # Reject install programs that cannot install multiple files.
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2411 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2412 if test -z "$INSTALL"; then
2413 if ${ac_cv_path_install+:} false; then :
2414 $as_echo_n "(cached) " >&6
2415 else
2416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417 for as_dir in $PATH
2418 do
2419 IFS=$as_save_IFS
2420 test -z "$as_dir" && as_dir=.
2421 # Account for people who put trailing slashes in PATH elements.
2422 case $as_dir/ in #((
2423 ./ | .// | /[cC]/* | \
2424 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2425 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2426 /usr/ucb/* ) ;;
2427 *)
2428 # OSF1 and SCO ODT 3.0 have their own names for install.
2429 # Don't use installbsd from OSF since it installs stuff as root
2430 # by default.
2431 for ac_prog in ginstall scoinst install; do
2432 for ac_exec_ext in '' $ac_executable_extensions; do
2433 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2434 if test $ac_prog = install &&
2435 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2436 # AIX install. It has an incompatible calling convention.
2437 :
2438 elif test $ac_prog = install &&
2439 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2440 # program-specific install script used by HP pwplus--don't use.
2441 :
2442 else
2443 rm -rf conftest.one conftest.two conftest.dir
2444 echo one > conftest.one
2445 echo two > conftest.two
2446 mkdir conftest.dir
2447 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2448 test -s conftest.one && test -s conftest.two &&
2449 test -s conftest.dir/conftest.one &&
2450 test -s conftest.dir/conftest.two
2451 then
2452 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2453 break 3
2454 fi
2455 fi
2456 fi
2457 done
2458 done
2459 ;;
2460 esac
2461
2462 done
2463 IFS=$as_save_IFS
2464
2465 rm -rf conftest.one conftest.two conftest.dir
2466
2467 fi
2468 if test "${ac_cv_path_install+set}" = set; then
2469 INSTALL=$ac_cv_path_install
2470 else
2471 # As a last resort, use the slow shell script. Don't cache a
2472 # value for INSTALL within a source directory, because that will
2473 # break other packages using the cache if that directory is
2474 # removed, or if the value is a relative name.
2475 INSTALL=$ac_install_sh
2476 fi
2477 fi
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2479 $as_echo "$INSTALL" >&6; }
2480
2481 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2482 # It thinks the first close brace ends the variable substitution.
2483 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2484
2485 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2486
2487 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2488
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2490 $as_echo_n "checking whether build environment is sane... " >&6; }
2491 # Just in case
2492 sleep 1
2493 echo timestamp > conftest.file
2494 # Reject unsafe characters in $srcdir or the absolute working directory
2495 # name. Accept space and tab only in the latter.
2496 am_lf='
2497 '
2498 case `pwd` in
2499 *[\\\"\#\$\&\'\`$am_lf]*)
2500 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2501 esac
2502 case $srcdir in
2503 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2504 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2505 esac
2506
2507 # Do `set' in a subshell so we don't clobber the current shell's
2508 # arguments. Must try -L first in case configure is actually a
2509 # symlink; some systems play weird games with the mod time of symlinks
2510 # (eg FreeBSD returns the mod time of the symlink's containing
2511 # directory).
2512 if (
2513 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2514 if test "$*" = "X"; then
2515 # -L didn't work.
2516 set X `ls -t "$srcdir/configure" conftest.file`
2517 fi
2518 rm -f conftest.file
2519 if test "$*" != "X $srcdir/configure conftest.file" \
2520 && test "$*" != "X conftest.file $srcdir/configure"; then
2521
2522 # If neither matched, then we have a broken ls. This can happen
2523 # if, for instance, CONFIG_SHELL is bash and it inherits a
2524 # broken ls alias from the environment. This has actually
2525 # happened. Such a system could not be considered "sane".
2526 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2527 alias in your environment" "$LINENO" 5
2528 fi
2529
2530 test "$2" = conftest.file
2531 )
2532 then
2533 # Ok.
2534 :
2535 else
2536 as_fn_error $? "newly created file is older than distributed files!
2537 Check your system clock" "$LINENO" 5
2538 fi
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2540 $as_echo "yes" >&6; }
2541 test "$program_prefix" != NONE &&
2542 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2543 # Use a double $ so make ignores it.
2544 test "$program_suffix" != NONE &&
2545 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2546 # Double any \ or $.
2547 # By default was `s,x,x', remove it if useless.
2548 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2549 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2550
2551 # expand $ac_aux_dir to an absolute path
2552 am_aux_dir=`cd $ac_aux_dir && pwd`
2553
2554 if test x"${MISSING+set}" != xset; then
2555 case $am_aux_dir in
2556 *\ * | *\ *)
2557 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2558 *)
2559 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2560 esac
2561 fi
2562 # Use eval to expand $SHELL
2563 if eval "$MISSING --run true"; then
2564 am_missing_run="$MISSING --run "
2565 else
2566 am_missing_run=
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2568 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2569 fi
2570
2571 if test x"${install_sh}" != xset; then
2572 case $am_aux_dir in
2573 *\ * | *\ *)
2574 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2575 *)
2576 install_sh="\${SHELL} $am_aux_dir/install-sh"
2577 esac
2578 fi
2579
2580 # Installed binaries are usually stripped using `strip' when the user
2581 # run `make install-strip'. However `strip' might not be the right
2582 # tool to use in cross-compilation environments, therefore Automake
2583 # will honor the `STRIP' environment variable to overrule this program.
2584 if test "$cross_compiling" != no; then
2585 if test -n "$ac_tool_prefix"; then
2586 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2587 set dummy ${ac_tool_prefix}strip; ac_word=$2
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2589 $as_echo_n "checking for $ac_word... " >&6; }
2590 if ${ac_cv_prog_STRIP+:} false; then :
2591 $as_echo_n "(cached) " >&6
2592 else
2593 if test -n "$STRIP"; then
2594 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2595 else
2596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2597 for as_dir in $PATH
2598 do
2599 IFS=$as_save_IFS
2600 test -z "$as_dir" && as_dir=.
2601 for ac_exec_ext in '' $ac_executable_extensions; do
2602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2603 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2605 break 2
2606 fi
2607 done
2608 done
2609 IFS=$as_save_IFS
2610
2611 fi
2612 fi
2613 STRIP=$ac_cv_prog_STRIP
2614 if test -n "$STRIP"; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2616 $as_echo "$STRIP" >&6; }
2617 else
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2619 $as_echo "no" >&6; }
2620 fi
2621
2622
2623 fi
2624 if test -z "$ac_cv_prog_STRIP"; then
2625 ac_ct_STRIP=$STRIP
2626 # Extract the first word of "strip", so it can be a program name with args.
2627 set dummy strip; ac_word=$2
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2629 $as_echo_n "checking for $ac_word... " >&6; }
2630 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2631 $as_echo_n "(cached) " >&6
2632 else
2633 if test -n "$ac_ct_STRIP"; then
2634 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2635 else
2636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2637 for as_dir in $PATH
2638 do
2639 IFS=$as_save_IFS
2640 test -z "$as_dir" && as_dir=.
2641 for ac_exec_ext in '' $ac_executable_extensions; do
2642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2643 ac_cv_prog_ac_ct_STRIP="strip"
2644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2645 break 2
2646 fi
2647 done
2648 done
2649 IFS=$as_save_IFS
2650
2651 fi
2652 fi
2653 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2654 if test -n "$ac_ct_STRIP"; then
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2656 $as_echo "$ac_ct_STRIP" >&6; }
2657 else
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2659 $as_echo "no" >&6; }
2660 fi
2661
2662 if test "x$ac_ct_STRIP" = x; then
2663 STRIP=":"
2664 else
2665 case $cross_compiling:$ac_tool_warned in
2666 yes:)
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2669 ac_tool_warned=yes ;;
2670 esac
2671 STRIP=$ac_ct_STRIP
2672 fi
2673 else
2674 STRIP="$ac_cv_prog_STRIP"
2675 fi
2676
2677 fi
2678 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2679
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2681 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2682 if test -z "$MKDIR_P"; then
2683 if ${ac_cv_path_mkdir+:} false; then :
2684 $as_echo_n "(cached) " >&6
2685 else
2686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2687 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2688 do
2689 IFS=$as_save_IFS
2690 test -z "$as_dir" && as_dir=.
2691 for ac_prog in mkdir gmkdir; do
2692 for ac_exec_ext in '' $ac_executable_extensions; do
2693 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2694 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2695 'mkdir (GNU coreutils) '* | \
2696 'mkdir (coreutils) '* | \
2697 'mkdir (fileutils) '4.1*)
2698 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2699 break 3;;
2700 esac
2701 done
2702 done
2703 done
2704 IFS=$as_save_IFS
2705
2706 fi
2707
2708 test -d ./--version && rmdir ./--version
2709 if test "${ac_cv_path_mkdir+set}" = set; then
2710 MKDIR_P="$ac_cv_path_mkdir -p"
2711 else
2712 # As a last resort, use the slow shell script. Don't cache a
2713 # value for MKDIR_P within a source directory, because that will
2714 # break other packages using the cache if that directory is
2715 # removed, or if the value is a relative name.
2716 MKDIR_P="$ac_install_sh -d"
2717 fi
2718 fi
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2720 $as_echo "$MKDIR_P" >&6; }
2721
2722 mkdir_p="$MKDIR_P"
2723 case $mkdir_p in
2724 [\\/$]* | ?:[\\/]*) ;;
2725 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2726 esac
2727
2728 for ac_prog in gawk mawk nawk awk
2729 do
2730 # Extract the first word of "$ac_prog", so it can be a program name with args.
2731 set dummy $ac_prog; ac_word=$2
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733 $as_echo_n "checking for $ac_word... " >&6; }
2734 if ${ac_cv_prog_AWK+:} false; then :
2735 $as_echo_n "(cached) " >&6
2736 else
2737 if test -n "$AWK"; then
2738 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2739 else
2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2741 for as_dir in $PATH
2742 do
2743 IFS=$as_save_IFS
2744 test -z "$as_dir" && as_dir=.
2745 for ac_exec_ext in '' $ac_executable_extensions; do
2746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2747 ac_cv_prog_AWK="$ac_prog"
2748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2749 break 2
2750 fi
2751 done
2752 done
2753 IFS=$as_save_IFS
2754
2755 fi
2756 fi
2757 AWK=$ac_cv_prog_AWK
2758 if test -n "$AWK"; then
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2760 $as_echo "$AWK" >&6; }
2761 else
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763 $as_echo "no" >&6; }
2764 fi
2765
2766
2767 test -n "$AWK" && break
2768 done
2769
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2771 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2772 set x ${MAKE-make}
2773 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2774 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2775 $as_echo_n "(cached) " >&6
2776 else
2777 cat >conftest.make <<\_ACEOF
2778 SHELL = /bin/sh
2779 all:
2780 @echo '@@@%%%=$(MAKE)=@@@%%%'
2781 _ACEOF
2782 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2783 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2784 *@@@%%%=?*=@@@%%%*)
2785 eval ac_cv_prog_make_${ac_make}_set=yes;;
2786 *)
2787 eval ac_cv_prog_make_${ac_make}_set=no;;
2788 esac
2789 rm -f conftest.make
2790 fi
2791 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2793 $as_echo "yes" >&6; }
2794 SET_MAKE=
2795 else
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2798 SET_MAKE="MAKE=${MAKE-make}"
2799 fi
2800
2801 rm -rf .tst 2>/dev/null
2802 mkdir .tst 2>/dev/null
2803 if test -d .tst; then
2804 am__leading_dot=.
2805 else
2806 am__leading_dot=_
2807 fi
2808 rmdir .tst 2>/dev/null
2809
2810 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2811 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2812 # is not polluted with repeated "-I."
2813 am__isrc=' -I$(srcdir)'
2814 # test to see if srcdir already configured
2815 if test -f $srcdir/config.status; then
2816 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2817 fi
2818 fi
2819
2820 # test whether we have cygpath
2821 if test -z "$CYGPATH_W"; then
2822 if (cygpath --version) >/dev/null 2>/dev/null; then
2823 CYGPATH_W='cygpath -w'
2824 else
2825 CYGPATH_W=echo
2826 fi
2827 fi
2828
2829
2830 # Define the identity of the package.
2831 PACKAGE='libXaw'
2832 VERSION='1.0.8'
2833
2834
2835 cat >>confdefs.h <<_ACEOF
2836 #define PACKAGE "$PACKAGE"
2837 _ACEOF
2838
2839
2840 cat >>confdefs.h <<_ACEOF
2841 #define VERSION "$VERSION"
2842 _ACEOF
2843
2844 # Some tools Automake needs.
2845
2846 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2847
2848
2849 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2850
2851
2852 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2853
2854
2855 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2856
2857
2858 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2859
2860 # We need awk for the "check" target. The system "awk" is bad on
2861 # some platforms.
2862 # Always define AMTAR for backward compatibility.
2863
2864 AMTAR=${AMTAR-"${am_missing_run}tar"}
2865
2866 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2867
2868
2869
2870
2871
2872
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2874 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2875 # Check whether --enable-maintainer-mode was given.
2876 if test "${enable_maintainer_mode+set}" = set; then :
2877 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2878 else
2879 USE_MAINTAINER_MODE=no
2880 fi
2881
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2883 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2884 if test $USE_MAINTAINER_MODE = yes; then
2885 MAINTAINER_MODE_TRUE=
2886 MAINTAINER_MODE_FALSE='#'
2887 else
2888 MAINTAINER_MODE_TRUE='#'
2889 MAINTAINER_MODE_FALSE=
2890 fi
2891
2892 MAINT=$MAINTAINER_MODE_TRUE
2893
2894
2895 ac_config_headers="$ac_config_headers config.h"
2896
2897
2898 # Require xorg-macros minimum of 1.10 for HAVE_STYLESHEETS in XORG_CHECK_SGML_DOCTOOLS
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911 # Check for progs
2912 ac_ext=c
2913 ac_cpp='$CPP $CPPFLAGS'
2914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2917 if test -n "$ac_tool_prefix"; then
2918 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2919 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921 $as_echo_n "checking for $ac_word... " >&6; }
2922 if ${ac_cv_prog_CC+:} false; then :
2923 $as_echo_n "(cached) " >&6
2924 else
2925 if test -n "$CC"; then
2926 ac_cv_prog_CC="$CC" # Let the user override the test.
2927 else
2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929 for as_dir in $PATH
2930 do
2931 IFS=$as_save_IFS
2932 test -z "$as_dir" && as_dir=.
2933 for ac_exec_ext in '' $ac_executable_extensions; do
2934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 break 2
2938 fi
2939 done
2940 done
2941 IFS=$as_save_IFS
2942
2943 fi
2944 fi
2945 CC=$ac_cv_prog_CC
2946 if test -n "$CC"; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2948 $as_echo "$CC" >&6; }
2949 else
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2952 fi
2953
2954
2955 fi
2956 if test -z "$ac_cv_prog_CC"; then
2957 ac_ct_CC=$CC
2958 # Extract the first word of "gcc", so it can be a program name with args.
2959 set dummy gcc; ac_word=$2
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2961 $as_echo_n "checking for $ac_word... " >&6; }
2962 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2963 $as_echo_n "(cached) " >&6
2964 else
2965 if test -n "$ac_ct_CC"; then
2966 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2967 else
2968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969 for as_dir in $PATH
2970 do
2971 IFS=$as_save_IFS
2972 test -z "$as_dir" && as_dir=.
2973 for ac_exec_ext in '' $ac_executable_extensions; do
2974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2975 ac_cv_prog_ac_ct_CC="gcc"
2976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2977 break 2
2978 fi
2979 done
2980 done
2981 IFS=$as_save_IFS
2982
2983 fi
2984 fi
2985 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2986 if test -n "$ac_ct_CC"; then
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2988 $as_echo "$ac_ct_CC" >&6; }
2989 else
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 $as_echo "no" >&6; }
2992 fi
2993
2994 if test "x$ac_ct_CC" = x; then
2995 CC=""
2996 else
2997 case $cross_compiling:$ac_tool_warned in
2998 yes:)
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3001 ac_tool_warned=yes ;;
3002 esac
3003 CC=$ac_ct_CC
3004 fi
3005 else
3006 CC="$ac_cv_prog_CC"
3007 fi
3008
3009 if test -z "$CC"; then
3010 if test -n "$ac_tool_prefix"; then
3011 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3012 set dummy ${ac_tool_prefix}cc; ac_word=$2
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3014 $as_echo_n "checking for $ac_word... " >&6; }
3015 if ${ac_cv_prog_CC+:} false; then :
3016 $as_echo_n "(cached) " >&6
3017 else
3018 if test -n "$CC"; then
3019 ac_cv_prog_CC="$CC" # Let the user override the test.
3020 else
3021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3022 for as_dir in $PATH
3023 do
3024 IFS=$as_save_IFS
3025 test -z "$as_dir" && as_dir=.
3026 for ac_exec_ext in '' $ac_executable_extensions; do
3027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3028 ac_cv_prog_CC="${ac_tool_prefix}cc"
3029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3030 break 2
3031 fi
3032 done
3033 done
3034 IFS=$as_save_IFS
3035
3036 fi
3037 fi
3038 CC=$ac_cv_prog_CC
3039 if test -n "$CC"; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3041 $as_echo "$CC" >&6; }
3042 else
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3044 $as_echo "no" >&6; }
3045 fi
3046
3047
3048 fi
3049 fi
3050 if test -z "$CC"; then
3051 # Extract the first word of "cc", so it can be a program name with args.
3052 set dummy cc; ac_word=$2
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3054 $as_echo_n "checking for $ac_word... " >&6; }
3055 if ${ac_cv_prog_CC+:} false; then :
3056 $as_echo_n "(cached) " >&6
3057 else
3058 if test -n "$CC"; then
3059 ac_cv_prog_CC="$CC" # Let the user override the test.
3060 else
3061 ac_prog_rejected=no
3062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3063 for as_dir in $PATH
3064 do
3065 IFS=$as_save_IFS
3066 test -z "$as_dir" && as_dir=.
3067 for ac_exec_ext in '' $ac_executable_extensions; do
3068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3069 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3070 ac_prog_rejected=yes
3071 continue
3072 fi
3073 ac_cv_prog_CC="cc"
3074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3075 break 2
3076 fi
3077 done
3078 done
3079 IFS=$as_save_IFS
3080
3081 if test $ac_prog_rejected = yes; then
3082 # We found a bogon in the path, so make sure we never use it.
3083 set dummy $ac_cv_prog_CC
3084 shift
3085 if test $# != 0; then
3086 # We chose a different compiler from the bogus one.
3087 # However, it has the same basename, so the bogon will be chosen
3088 # first if we set CC to just the basename; use the full file name.
3089 shift
3090 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3091 fi
3092 fi
3093 fi
3094 fi
3095 CC=$ac_cv_prog_CC
3096 if test -n "$CC"; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3098 $as_echo "$CC" >&6; }
3099 else
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 $as_echo "no" >&6; }
3102 fi
3103
3104
3105 fi
3106 if test -z "$CC"; then
3107 if test -n "$ac_tool_prefix"; then
3108 for ac_prog in cl.exe
3109 do
3110 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3111 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3113 $as_echo_n "checking for $ac_word... " >&6; }
3114 if ${ac_cv_prog_CC+:} false; then :
3115 $as_echo_n "(cached) " >&6
3116 else
3117 if test -n "$CC"; then
3118 ac_cv_prog_CC="$CC" # Let the user override the test.
3119 else
3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121 for as_dir in $PATH
3122 do
3123 IFS=$as_save_IFS
3124 test -z "$as_dir" && as_dir=.
3125 for ac_exec_ext in '' $ac_executable_extensions; do
3126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3127 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 break 2
3130 fi
3131 done
3132 done
3133 IFS=$as_save_IFS
3134
3135 fi
3136 fi
3137 CC=$ac_cv_prog_CC
3138 if test -n "$CC"; then
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3140 $as_echo "$CC" >&6; }
3141 else
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3143 $as_echo "no" >&6; }
3144 fi
3145
3146
3147 test -n "$CC" && break
3148 done
3149 fi
3150 if test -z "$CC"; then
3151 ac_ct_CC=$CC
3152 for ac_prog in cl.exe
3153 do
3154 # Extract the first word of "$ac_prog", so it can be a program name with args.
3155 set dummy $ac_prog; ac_word=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3159 $as_echo_n "(cached) " >&6
3160 else
3161 if test -n "$ac_ct_CC"; then
3162 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3163 else
3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165 for as_dir in $PATH
3166 do
3167 IFS=$as_save_IFS
3168 test -z "$as_dir" && as_dir=.
3169 for ac_exec_ext in '' $ac_executable_extensions; do
3170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3171 ac_cv_prog_ac_ct_CC="$ac_prog"
3172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 break 2
3174 fi
3175 done
3176 done
3177 IFS=$as_save_IFS
3178
3179 fi
3180 fi
3181 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3182 if test -n "$ac_ct_CC"; then
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3184 $as_echo "$ac_ct_CC" >&6; }
3185 else
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3188 fi
3189
3190
3191 test -n "$ac_ct_CC" && break
3192 done
3193
3194 if test "x$ac_ct_CC" = x; then
3195 CC=""
3196 else
3197 case $cross_compiling:$ac_tool_warned in
3198 yes:)
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3201 ac_tool_warned=yes ;;
3202 esac
3203 CC=$ac_ct_CC
3204 fi
3205 fi
3206
3207 fi
3208
3209
3210 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3212 as_fn_error $? "no acceptable C compiler found in \$PATH
3213 See \`config.log' for more details" "$LINENO" 5; }
3214
3215 # Provide some information about the compiler.
3216 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3217 set X $ac_compile
3218 ac_compiler=$2
3219 for ac_option in --version -v -V -qversion; do
3220 { { ac_try="$ac_compiler $ac_option >&5"
3221 case "(($ac_try" in
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3224 esac
3225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226 $as_echo "$ac_try_echo"; } >&5
3227 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3228 ac_status=$?
3229 if test -s conftest.err; then
3230 sed '10a\
3231 ... rest of stderr output deleted ...
3232 10q' conftest.err >conftest.er1
3233 cat conftest.er1 >&5
3234 fi
3235 rm -f conftest.er1 conftest.err
3236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3237 test $ac_status = 0; }
3238 done
3239
3240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3241 /* end confdefs.h. */
3242
3243 int
3244 main ()
3245 {
3246
3247 ;
3248 return 0;
3249 }
3250 _ACEOF
3251 ac_clean_files_save=$ac_clean_files
3252 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3253 # Try to create an executable without -o first, disregard a.out.
3254 # It will help us diagnose broken compilers, and finding out an intuition
3255 # of exeext.
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3257 $as_echo_n "checking whether the C compiler works... " >&6; }
3258 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3259
3260 # The possible output files:
3261 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3262
3263 ac_rmfiles=
3264 for ac_file in $ac_files
3265 do
3266 case $ac_file in
3267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3268 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3269 esac
3270 done
3271 rm -f $ac_rmfiles
3272
3273 if { { ac_try="$ac_link_default"
3274 case "(($ac_try" in
3275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3276 *) ac_try_echo=$ac_try;;
3277 esac
3278 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3279 $as_echo "$ac_try_echo"; } >&5
3280 (eval "$ac_link_default") 2>&5
3281 ac_status=$?
3282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3283 test $ac_status = 0; }; then :
3284 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3285 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3286 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3287 # so that the user can short-circuit this test for compilers unknown to
3288 # Autoconf.
3289 for ac_file in $ac_files ''
3290 do
3291 test -f "$ac_file" || continue
3292 case $ac_file in
3293 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3294 ;;
3295 [ab].out )
3296 # We found the default executable, but exeext='' is most
3297 # certainly right.
3298 break;;
3299 *.* )
3300 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3301 then :; else
3302 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3303 fi
3304 # We set ac_cv_exeext here because the later test for it is not
3305 # safe: cross compilers may not add the suffix if given an `-o'
3306 # argument, so we may need to know it at that point already.
3307 # Even if this section looks crufty: it has the advantage of
3308 # actually working.
3309 break;;
3310 * )
3311 break;;
3312 esac
3313 done
3314 test "$ac_cv_exeext" = no && ac_cv_exeext=
3315
3316 else
3317 ac_file=''
3318 fi
3319 if test -z "$ac_file"; then :
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3321 $as_echo "no" >&6; }
3322 $as_echo "$as_me: failed program was:" >&5
3323 sed 's/^/| /' conftest.$ac_ext >&5
3324
3325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3327 as_fn_error 77 "C compiler cannot create executables
3328 See \`config.log' for more details" "$LINENO" 5; }
3329 else
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3331 $as_echo "yes" >&6; }
3332 fi
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3334 $as_echo_n "checking for C compiler default output file name... " >&6; }
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3336 $as_echo "$ac_file" >&6; }
3337 ac_exeext=$ac_cv_exeext
3338
3339 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3340 ac_clean_files=$ac_clean_files_save
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3342 $as_echo_n "checking for suffix of executables... " >&6; }
3343 if { { ac_try="$ac_link"
3344 case "(($ac_try" in
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3347 esac
3348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3349 $as_echo "$ac_try_echo"; } >&5
3350 (eval "$ac_link") 2>&5
3351 ac_status=$?
3352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3353 test $ac_status = 0; }; then :
3354 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3355 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3356 # work properly (i.e., refer to `conftest.exe'), while it won't with
3357 # `rm'.
3358 for ac_file in conftest.exe conftest conftest.*; do
3359 test -f "$ac_file" || continue
3360 case $ac_file in
3361 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3362 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3363 break;;
3364 * ) break;;
3365 esac
3366 done
3367 else
3368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3370 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3371 See \`config.log' for more details" "$LINENO" 5; }
3372 fi
3373 rm -f conftest conftest$ac_cv_exeext
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3375 $as_echo "$ac_cv_exeext" >&6; }
3376
3377 rm -f conftest.$ac_ext
3378 EXEEXT=$ac_cv_exeext
3379 ac_exeext=$EXEEXT
3380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 /* end confdefs.h. */
3382 #include <stdio.h>
3383 int
3384 main ()
3385 {
3386 FILE *f = fopen ("conftest.out", "w");
3387 return ferror (f) || fclose (f) != 0;
3388
3389 ;
3390 return 0;
3391 }
3392 _ACEOF
3393 ac_clean_files="$ac_clean_files conftest.out"
3394 # Check that the compiler produces executables we can run. If not, either
3395 # the compiler is broken, or we cross compile.
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3397 $as_echo_n "checking whether we are cross compiling... " >&6; }
3398 if test "$cross_compiling" != yes; then
3399 { { ac_try="$ac_link"
3400 case "(($ac_try" in
3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402 *) ac_try_echo=$ac_try;;
3403 esac
3404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3405 $as_echo "$ac_try_echo"; } >&5
3406 (eval "$ac_link") 2>&5
3407 ac_status=$?
3408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3409 test $ac_status = 0; }
3410 if { ac_try='./conftest$ac_cv_exeext'
3411 { { case "(($ac_try" in
3412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3413 *) ac_try_echo=$ac_try;;
3414 esac
3415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3416 $as_echo "$ac_try_echo"; } >&5
3417 (eval "$ac_try") 2>&5
3418 ac_status=$?
3419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3420 test $ac_status = 0; }; }; then
3421 cross_compiling=no
3422 else
3423 if test "$cross_compiling" = maybe; then
3424 cross_compiling=yes
3425 else
3426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3428 as_fn_error $? "cannot run C compiled programs.
3429 If you meant to cross compile, use \`--host'.
3430 See \`config.log' for more details" "$LINENO" 5; }
3431 fi
3432 fi
3433 fi
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3435 $as_echo "$cross_compiling" >&6; }
3436
3437 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3438 ac_clean_files=$ac_clean_files_save
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3440 $as_echo_n "checking for suffix of object files... " >&6; }
3441 if ${ac_cv_objext+:} false; then :
3442 $as_echo_n "(cached) " >&6
3443 else
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3446
3447 int
3448 main ()
3449 {
3450
3451 ;
3452 return 0;
3453 }
3454 _ACEOF
3455 rm -f conftest.o conftest.obj
3456 if { { ac_try="$ac_compile"
3457 case "(($ac_try" in
3458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3459 *) ac_try_echo=$ac_try;;
3460 esac
3461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3462 $as_echo "$ac_try_echo"; } >&5
3463 (eval "$ac_compile") 2>&5
3464 ac_status=$?
3465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3466 test $ac_status = 0; }; then :
3467 for ac_file in conftest.o conftest.obj conftest.*; do
3468 test -f "$ac_file" || continue;
3469 case $ac_file in
3470 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3471 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3472 break;;
3473 esac
3474 done
3475 else
3476 $as_echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.$ac_ext >&5
3478
3479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3481 as_fn_error $? "cannot compute suffix of object files: cannot compile
3482 See \`config.log' for more details" "$LINENO" 5; }
3483 fi
3484 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3485 fi
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3487 $as_echo "$ac_cv_objext" >&6; }
3488 OBJEXT=$ac_cv_objext
3489 ac_objext=$OBJEXT
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3491 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3492 if ${ac_cv_c_compiler_gnu+:} false; then :
3493 $as_echo_n "(cached) " >&6
3494 else
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3497
3498 int
3499 main ()
3500 {
3501 #ifndef __GNUC__
3502 choke me
3503 #endif
3504
3505 ;
3506 return 0;
3507 }
3508 _ACEOF
3509 if ac_fn_c_try_compile "$LINENO"; then :
3510 ac_compiler_gnu=yes
3511 else
3512 ac_compiler_gnu=no
3513 fi
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3516
3517 fi
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3519 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3520 if test $ac_compiler_gnu = yes; then
3521 GCC=yes
3522 else
3523 GCC=
3524 fi
3525 ac_test_CFLAGS=${CFLAGS+set}
3526 ac_save_CFLAGS=$CFLAGS
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3528 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3529 if ${ac_cv_prog_cc_g+:} false; then :
3530 $as_echo_n "(cached) " >&6
3531 else
3532 ac_save_c_werror_flag=$ac_c_werror_flag
3533 ac_c_werror_flag=yes
3534 ac_cv_prog_cc_g=no
3535 CFLAGS="-g"
3536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3537 /* end confdefs.h. */
3538
3539 int
3540 main ()
3541 {
3542
3543 ;
3544 return 0;
3545 }
3546 _ACEOF
3547 if ac_fn_c_try_compile "$LINENO"; then :
3548 ac_cv_prog_cc_g=yes
3549 else
3550 CFLAGS=""
3551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3552 /* end confdefs.h. */
3553
3554 int
3555 main ()
3556 {
3557
3558 ;
3559 return 0;
3560 }
3561 _ACEOF
3562 if ac_fn_c_try_compile "$LINENO"; then :
3563
3564 else
3565 ac_c_werror_flag=$ac_save_c_werror_flag
3566 CFLAGS="-g"
3567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3568 /* end confdefs.h. */
3569
3570 int
3571 main ()
3572 {
3573
3574 ;
3575 return 0;
3576 }
3577 _ACEOF
3578 if ac_fn_c_try_compile "$LINENO"; then :
3579 ac_cv_prog_cc_g=yes
3580 fi
3581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3582 fi
3583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3584 fi
3585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3586 ac_c_werror_flag=$ac_save_c_werror_flag
3587 fi
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3589 $as_echo "$ac_cv_prog_cc_g" >&6; }
3590 if test "$ac_test_CFLAGS" = set; then
3591 CFLAGS=$ac_save_CFLAGS
3592 elif test $ac_cv_prog_cc_g = yes; then
3593 if test "$GCC" = yes; then
3594 CFLAGS="-g -O2"
3595 else
3596 CFLAGS="-g"
3597 fi
3598 else
3599 if test "$GCC" = yes; then
3600 CFLAGS="-O2"
3601 else
3602 CFLAGS=
3603 fi
3604 fi
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3606 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3607 if ${ac_cv_prog_cc_c89+:} false; then :
3608 $as_echo_n "(cached) " >&6
3609 else
3610 ac_cv_prog_cc_c89=no
3611 ac_save_CC=$CC
3612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3613 /* end confdefs.h. */
3614 #include <stdarg.h>
3615 #include <stdio.h>
3616 #include <sys/types.h>
3617 #include <sys/stat.h>
3618 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3619 struct buf { int x; };
3620 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3621 static char *e (p, i)
3622 char **p;
3623 int i;
3624 {
3625 return p[i];
3626 }
3627 static char *f (char * (*g) (char **, int), char **p, ...)
3628 {
3629 char *s;
3630 va_list v;
3631 va_start (v,p);
3632 s = g (p, va_arg (v,int));
3633 va_end (v);
3634 return s;
3635 }
3636
3637 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3638 function prototypes and stuff, but not '\xHH' hex character constants.
3639 These don't provoke an error unfortunately, instead are silently treated
3640 as 'x'. The following induces an error, until -std is added to get
3641 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3642 array size at least. It's necessary to write '\x00'==0 to get something
3643 that's true only with -std. */
3644 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3645
3646 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3647 inside strings and character constants. */
3648 #define FOO(x) 'x'
3649 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3650
3651 int test (int i, double x);
3652 struct s1 {int (*f) (int a);};
3653 struct s2 {int (*f) (double a);};
3654 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3655 int argc;
3656 char **argv;
3657 int
3658 main ()
3659 {
3660 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3661 ;
3662 return 0;
3663 }
3664 _ACEOF
3665 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3666 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3667 do
3668 CC="$ac_save_CC $ac_arg"
3669 if ac_fn_c_try_compile "$LINENO"; then :
3670 ac_cv_prog_cc_c89=$ac_arg
3671 fi
3672 rm -f core conftest.err conftest.$ac_objext
3673 test "x$ac_cv_prog_cc_c89" != "xno" && break
3674 done
3675 rm -f conftest.$ac_ext
3676 CC=$ac_save_CC
3677
3678 fi
3679 # AC_CACHE_VAL
3680 case "x$ac_cv_prog_cc_c89" in
3681 x)
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3683 $as_echo "none needed" >&6; } ;;
3684 xno)
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3686 $as_echo "unsupported" >&6; } ;;
3687 *)
3688 CC="$CC $ac_cv_prog_cc_c89"
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3690 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3691 esac
3692 if test "x$ac_cv_prog_cc_c89" != xno; then :
3693
3694 fi
3695
3696 ac_ext=c
3697 ac_cpp='$CPP $CPPFLAGS'
3698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 DEPDIR="${am__leading_dot}deps"
3702
3703 ac_config_commands="$ac_config_commands depfiles"
3704
3705
3706 am_make=${MAKE-make}
3707 cat > confinc << 'END'
3708 am__doit:
3709 @echo this is the am__doit target
3710 .PHONY: am__doit
3711 END
3712 # If we don't find an include directive, just comment out the code.
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3714 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3715 am__include="#"
3716 am__quote=
3717 _am_result=none
3718 # First try GNU make style include.
3719 echo "include confinc" > confmf
3720 # Ignore all kinds of additional output from `make'.
3721 case `$am_make -s -f confmf 2> /dev/null` in #(
3722 *the\ am__doit\ target*)
3723 am__include=include
3724 am__quote=
3725 _am_result=GNU
3726 ;;
3727 esac
3728 # Now try BSD make style include.
3729 if test "$am__include" = "#"; then
3730 echo '.include "confinc"' > confmf
3731 case `$am_make -s -f confmf 2> /dev/null` in #(
3732 *the\ am__doit\ target*)
3733 am__include=.include
3734 am__quote="\""
3735 _am_result=BSD
3736 ;;
3737 esac
3738 fi
3739
3740
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3742 $as_echo "$_am_result" >&6; }
3743 rm -f confinc confmf
3744
3745 # Check whether --enable-dependency-tracking was given.
3746 if test "${enable_dependency_tracking+set}" = set; then :
3747 enableval=$enable_dependency_tracking;
3748 fi
3749
3750 if test "x$enable_dependency_tracking" != xno; then
3751 am_depcomp="$ac_aux_dir/depcomp"
3752 AMDEPBACKSLASH='\'
3753 fi
3754 if test "x$enable_dependency_tracking" != xno; then
3755 AMDEP_TRUE=
3756 AMDEP_FALSE='#'
3757 else
3758 AMDEP_TRUE='#'
3759 AMDEP_FALSE=
3760 fi
3761
3762
3763
3764 depcc="$CC" am_compiler_list=
3765
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3767 $as_echo_n "checking dependency style of $depcc... " >&6; }
3768 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3769 $as_echo_n "(cached) " >&6
3770 else
3771 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3772 # We make a subdir and do the tests there. Otherwise we can end up
3773 # making bogus files that we don't know about and never remove. For
3774 # instance it was reported that on HP-UX the gcc test will end up
3775 # making a dummy file named `D' -- because `-MD' means `put the output
3776 # in D'.
3777 mkdir conftest.dir
3778 # Copy depcomp to subdir because otherwise we won't find it if we're
3779 # using a relative directory.
3780 cp "$am_depcomp" conftest.dir
3781 cd conftest.dir
3782 # We will build objects and dependencies in a subdirectory because
3783 # it helps to detect inapplicable dependency modes. For instance
3784 # both Tru64's cc and ICC support -MD to output dependencies as a
3785 # side effect of compilation, but ICC will put the dependencies in
3786 # the current directory while Tru64 will put them in the object
3787 # directory.
3788 mkdir sub
3789
3790 am_cv_CC_dependencies_compiler_type=none
3791 if test "$am_compiler_list" = ""; then
3792 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3793 fi
3794 am__universal=false
3795 case " $depcc " in #(
3796 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3797 esac
3798
3799 for depmode in $am_compiler_list; do
3800 # Setup a source with many dependencies, because some compilers
3801 # like to wrap large dependency lists on column 80 (with \), and
3802 # we should not choose a depcomp mode which is confused by this.
3803 #
3804 # We need to recreate these files for each test, as the compiler may
3805 # overwrite some of them when testing with obscure command lines.
3806 # This happens at least with the AIX C compiler.
3807 : > sub/conftest.c
3808 for i in 1 2 3 4 5 6; do
3809 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3810 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3811 # Solaris 8's {/usr,}/bin/sh.
3812 touch sub/conftst$i.h
3813 done
3814 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3815
3816 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3817 # mode. It turns out that the SunPro C++ compiler does not properly
3818 # handle `-M -o', and we need to detect this. Also, some Intel
3819 # versions had trouble with output in subdirs
3820 am__obj=sub/conftest.${OBJEXT-o}
3821 am__minus_obj="-o $am__obj"
3822 case $depmode in
3823 gcc)
3824 # This depmode causes a compiler race in universal mode.
3825 test "$am__universal" = false || continue
3826 ;;
3827 nosideeffect)
3828 # after this tag, mechanisms are not by side-effect, so they'll
3829 # only be used when explicitly requested
3830 if test "x$enable_dependency_tracking" = xyes; then
3831 continue
3832 else
3833 break
3834 fi
3835 ;;
3836 msvisualcpp | msvcmsys)
3837 # This compiler won't grok `-c -o', but also, the minuso test has
3838 # not run yet. These depmodes are late enough in the game, and
3839 # so weak that their functioning should not be impacted.
3840 am__obj=conftest.${OBJEXT-o}
3841 am__minus_obj=
3842 ;;
3843 none) break ;;
3844 esac
3845 if depmode=$depmode \
3846 source=sub/conftest.c object=$am__obj \
3847 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3848 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3849 >/dev/null 2>conftest.err &&
3850 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3851 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3852 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3853 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3854 # icc doesn't choke on unknown options, it will just issue warnings
3855 # or remarks (even with -Werror). So we grep stderr for any message
3856 # that says an option was ignored or not supported.
3857 # When given -MP, icc 7.0 and 7.1 complain thusly:
3858 # icc: Command line warning: ignoring option '-M'; no argument required
3859 # The diagnosis changed in icc 8.0:
3860 # icc: Command line remark: option '-MP' not supported
3861 if (grep 'ignoring option' conftest.err ||
3862 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3863 am_cv_CC_dependencies_compiler_type=$depmode
3864 break
3865 fi
3866 fi
3867 done
3868
3869 cd ..
3870 rm -rf conftest.dir
3871 else
3872 am_cv_CC_dependencies_compiler_type=none
3873 fi
3874
3875 fi
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3877 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3878 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3879
3880 if
3881 test "x$enable_dependency_tracking" != xno \
3882 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3883 am__fastdepCC_TRUE=
3884 am__fastdepCC_FALSE='#'
3885 else
3886 am__fastdepCC_TRUE='#'
3887 am__fastdepCC_FALSE=
3888 fi
3889
3890
3891 case `pwd` in
3892 *\ * | *\ *)
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3894 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3895 esac
3896
3897
3898
3899 macro_version='2.2.10'
3900 macro_revision='1.3175'
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914 ltmain="$ac_aux_dir/ltmain.sh"
3915
3916 # Make sure we can run config.sub.
3917 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3918 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3919
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3921 $as_echo_n "checking build system type... " >&6; }
3922 if ${ac_cv_build+:} false; then :
3923 $as_echo_n "(cached) " >&6
3924 else
3925 ac_build_alias=$build_alias
3926 test "x$ac_build_alias" = x &&
3927 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3928 test "x$ac_build_alias" = x &&
3929 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3930 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3931 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3932
3933 fi
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3935 $as_echo "$ac_cv_build" >&6; }
3936 case $ac_cv_build in
3937 *-*-*) ;;
3938 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3939 esac
3940 build=$ac_cv_build
3941 ac_save_IFS=$IFS; IFS='-'
3942 set x $ac_cv_build
3943 shift
3944 build_cpu=$1
3945 build_vendor=$2
3946 shift; shift
3947 # Remember, the first character of IFS is used to create $*,
3948 # except with old shells:
3949 build_os=$*
3950 IFS=$ac_save_IFS
3951 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3952
3953
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3955 $as_echo_n "checking host system type... " >&6; }
3956 if ${ac_cv_host+:} false; then :
3957 $as_echo_n "(cached) " >&6
3958 else
3959 if test "x$host_alias" = x; then
3960 ac_cv_host=$ac_cv_build
3961 else
3962 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3963 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3964 fi
3965
3966 fi
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3968 $as_echo "$ac_cv_host" >&6; }
3969 case $ac_cv_host in
3970 *-*-*) ;;
3971 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3972 esac
3973 host=$ac_cv_host
3974 ac_save_IFS=$IFS; IFS='-'
3975 set x $ac_cv_host
3976 shift
3977 host_cpu=$1
3978 host_vendor=$2
3979 shift; shift
3980 # Remember, the first character of IFS is used to create $*,
3981 # except with old shells:
3982 host_os=$*
3983 IFS=$ac_save_IFS
3984 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3985
3986
3987 # Backslashify metacharacters that are still active within
3988 # double-quoted strings.
3989 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3990
3991 # Same as above, but do not quote variable references.
3992 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3993
3994 # Sed substitution to delay expansion of an escaped shell variable in a
3995 # double_quote_subst'ed string.
3996 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3997
3998 # Sed substitution to delay expansion of an escaped single quote.
3999 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4000
4001 # Sed substitution to avoid accidental globbing in evaled expressions
4002 no_glob_subst='s/\*/\\\*/g'
4003
4004 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4005 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4006 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4007
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4009 $as_echo_n "checking how to print strings... " >&6; }
4010 # Test print first, because it will be a builtin if present.
4011 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4012 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4013 ECHO='print -r --'
4014 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4015 ECHO='printf %s\n'
4016 else
4017 # Use this function as a fallback that always works.
4018 func_fallback_echo ()
4019 {
4020 eval 'cat <<_LTECHO_EOF
4021 $1
4022 _LTECHO_EOF'
4023 }
4024 ECHO='func_fallback_echo'
4025 fi
4026
4027 # func_echo_all arg...
4028 # Invoke $ECHO with all args, space-separated.
4029 func_echo_all ()
4030 {
4031 $ECHO ""
4032 }
4033
4034 case "$ECHO" in
4035 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4036 $as_echo "printf" >&6; } ;;
4037 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4038 $as_echo "print -r" >&6; } ;;
4039 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4040 $as_echo "cat" >&6; } ;;
4041 esac
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4057 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4058 if ${ac_cv_path_SED+:} false; then :
4059 $as_echo_n "(cached) " >&6
4060 else
4061 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4062 for ac_i in 1 2 3 4 5 6 7; do
4063 ac_script="$ac_script$as_nl$ac_script"
4064 done
4065 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4066 { ac_script=; unset ac_script;}
4067 if test -z "$SED"; then
4068 ac_path_SED_found=false
4069 # Loop through the user's path and test for each of PROGNAME-LIST
4070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4071 for as_dir in $PATH
4072 do
4073 IFS=$as_save_IFS
4074 test -z "$as_dir" && as_dir=.
4075 for ac_prog in sed gsed; do
4076 for ac_exec_ext in '' $ac_executable_extensions; do
4077 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4078 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4079 # Check for GNU ac_path_SED and select it if it is found.
4080 # Check for GNU $ac_path_SED
4081 case `"$ac_path_SED" --version 2>&1` in
4082 *GNU*)
4083 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4084 *)
4085 ac_count=0
4086 $as_echo_n 0123456789 >"conftest.in"
4087 while :
4088 do
4089 cat "conftest.in" "conftest.in" >"conftest.tmp"
4090 mv "conftest.tmp" "conftest.in"
4091 cp "conftest.in" "conftest.nl"
4092 $as_echo '' >> "conftest.nl"
4093 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4094 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4095 as_fn_arith $ac_count + 1 && ac_count=$as_val
4096 if test $ac_count -gt ${ac_path_SED_max-0}; then
4097 # Best one so far, save it but keep looking for a better one
4098 ac_cv_path_SED="$ac_path_SED"
4099 ac_path_SED_max=$ac_count
4100 fi
4101 # 10*(2^10) chars as input seems more than enough
4102 test $ac_count -gt 10 && break
4103 done
4104 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4105 esac
4106
4107 $ac_path_SED_found && break 3
4108 done
4109 done
4110 done
4111 IFS=$as_save_IFS
4112 if test -z "$ac_cv_path_SED"; then
4113 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4114 fi
4115 else
4116 ac_cv_path_SED=$SED
4117 fi
4118
4119 fi
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4121 $as_echo "$ac_cv_path_SED" >&6; }
4122 SED="$ac_cv_path_SED"
4123 rm -f conftest.sed
4124
4125 test -z "$SED" && SED=sed
4126 Xsed="$SED -e 1s/^X//"
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4139 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4140 if ${ac_cv_path_GREP+:} false; then :
4141 $as_echo_n "(cached) " >&6
4142 else
4143 if test -z "$GREP"; then
4144 ac_path_GREP_found=false
4145 # Loop through the user's path and test for each of PROGNAME-LIST
4146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4147 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4148 do
4149 IFS=$as_save_IFS
4150 test -z "$as_dir" && as_dir=.
4151 for ac_prog in grep ggrep; do
4152 for ac_exec_ext in '' $ac_executable_extensions; do
4153 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4154 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4155 # Check for GNU ac_path_GREP and select it if it is found.
4156 # Check for GNU $ac_path_GREP
4157 case `"$ac_path_GREP" --version 2>&1` in
4158 *GNU*)
4159 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4160 *)
4161 ac_count=0
4162 $as_echo_n 0123456789 >"conftest.in"
4163 while :
4164 do
4165 cat "conftest.in" "conftest.in" >"conftest.tmp"
4166 mv "conftest.tmp" "conftest.in"
4167 cp "conftest.in" "conftest.nl"
4168 $as_echo 'GREP' >> "conftest.nl"
4169 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4170 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4171 as_fn_arith $ac_count + 1 && ac_count=$as_val
4172 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4173 # Best one so far, save it but keep looking for a better one
4174 ac_cv_path_GREP="$ac_path_GREP"
4175 ac_path_GREP_max=$ac_count
4176 fi
4177 # 10*(2^10) chars as input seems more than enough
4178 test $ac_count -gt 10 && break
4179 done
4180 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4181 esac
4182
4183 $ac_path_GREP_found && break 3
4184 done
4185 done
4186 done
4187 IFS=$as_save_IFS
4188 if test -z "$ac_cv_path_GREP"; then
4189 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4190 fi
4191 else
4192 ac_cv_path_GREP=$GREP
4193 fi
4194
4195 fi
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4197 $as_echo "$ac_cv_path_GREP" >&6; }
4198 GREP="$ac_cv_path_GREP"
4199
4200
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4202 $as_echo_n "checking for egrep... " >&6; }
4203 if ${ac_cv_path_EGREP+:} false; then :
4204 $as_echo_n "(cached) " >&6
4205 else
4206 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4207 then ac_cv_path_EGREP="$GREP -E"
4208 else
4209 if test -z "$EGREP"; then
4210 ac_path_EGREP_found=false
4211 # Loop through the user's path and test for each of PROGNAME-LIST
4212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4213 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4214 do
4215 IFS=$as_save_IFS
4216 test -z "$as_dir" && as_dir=.
4217 for ac_prog in egrep; do
4218 for ac_exec_ext in '' $ac_executable_extensions; do
4219 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4220 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4221 # Check for GNU ac_path_EGREP and select it if it is found.
4222 # Check for GNU $ac_path_EGREP
4223 case `"$ac_path_EGREP" --version 2>&1` in
4224 *GNU*)
4225 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4226 *)
4227 ac_count=0
4228 $as_echo_n 0123456789 >"conftest.in"
4229 while :
4230 do
4231 cat "conftest.in" "conftest.in" >"conftest.tmp"
4232 mv "conftest.tmp" "conftest.in"
4233 cp "conftest.in" "conftest.nl"
4234 $as_echo 'EGREP' >> "conftest.nl"
4235 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4236 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4237 as_fn_arith $ac_count + 1 && ac_count=$as_val
4238 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4239 # Best one so far, save it but keep looking for a better one
4240 ac_cv_path_EGREP="$ac_path_EGREP"
4241 ac_path_EGREP_max=$ac_count
4242 fi
4243 # 10*(2^10) chars as input seems more than enough
4244 test $ac_count -gt 10 && break
4245 done
4246 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4247 esac
4248
4249 $ac_path_EGREP_found && break 3
4250 done
4251 done
4252 done
4253 IFS=$as_save_IFS
4254 if test -z "$ac_cv_path_EGREP"; then
4255 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4256 fi
4257 else
4258 ac_cv_path_EGREP=$EGREP
4259 fi
4260
4261 fi
4262 fi
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4264 $as_echo "$ac_cv_path_EGREP" >&6; }
4265 EGREP="$ac_cv_path_EGREP"
4266
4267
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4269 $as_echo_n "checking for fgrep... " >&6; }
4270 if ${ac_cv_path_FGREP+:} false; then :
4271 $as_echo_n "(cached) " >&6
4272 else
4273 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4274 then ac_cv_path_FGREP="$GREP -F"
4275 else
4276 if test -z "$FGREP"; then
4277 ac_path_FGREP_found=false
4278 # Loop through the user's path and test for each of PROGNAME-LIST
4279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4281 do
4282 IFS=$as_save_IFS
4283 test -z "$as_dir" && as_dir=.
4284 for ac_prog in fgrep; do
4285 for ac_exec_ext in '' $ac_executable_extensions; do
4286 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4287 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4288 # Check for GNU ac_path_FGREP and select it if it is found.
4289 # Check for GNU $ac_path_FGREP
4290 case `"$ac_path_FGREP" --version 2>&1` in
4291 *GNU*)
4292 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4293 *)
4294 ac_count=0
4295 $as_echo_n 0123456789 >"conftest.in"
4296 while :
4297 do
4298 cat "conftest.in" "conftest.in" >"conftest.tmp"
4299 mv "conftest.tmp" "conftest.in"
4300 cp "conftest.in" "conftest.nl"
4301 $as_echo 'FGREP' >> "conftest.nl"
4302 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4303 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4304 as_fn_arith $ac_count + 1 && ac_count=$as_val
4305 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4306 # Best one so far, save it but keep looking for a better one
4307 ac_cv_path_FGREP="$ac_path_FGREP"
4308 ac_path_FGREP_max=$ac_count
4309 fi
4310 # 10*(2^10) chars as input seems more than enough
4311 test $ac_count -gt 10 && break
4312 done
4313 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4314 esac
4315
4316 $ac_path_FGREP_found && break 3
4317 done
4318 done
4319 done
4320 IFS=$as_save_IFS
4321 if test -z "$ac_cv_path_FGREP"; then
4322 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4323 fi
4324 else
4325 ac_cv_path_FGREP=$FGREP
4326 fi
4327
4328 fi
4329 fi
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4331 $as_echo "$ac_cv_path_FGREP" >&6; }
4332 FGREP="$ac_cv_path_FGREP"
4333
4334
4335 test -z "$GREP" && GREP=grep
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355 # Check whether --with-gnu-ld was given.
4356 if test "${with_gnu_ld+set}" = set; then :
4357 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4358 else
4359 with_gnu_ld=no
4360 fi
4361
4362 ac_prog=ld
4363 if test "$GCC" = yes; then
4364 # Check if gcc -print-prog-name=ld gives a path.
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4366 $as_echo_n "checking for ld used by $CC... " >&6; }
4367 case $host in
4368 *-*-mingw*)
4369 # gcc leaves a trailing carriage return which upsets mingw
4370 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4371 *)
4372 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4373 esac
4374 case $ac_prog in
4375 # Accept absolute paths.
4376 [\\/]* | ?:[\\/]*)
4377 re_direlt='/[^/][^/]*/\.\./'
4378 # Canonicalize the pathname of ld
4379 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4380 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4381 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4382 done
4383 test -z "$LD" && LD="$ac_prog"
4384 ;;
4385 "")
4386 # If it fails, then pretend we aren't using GCC.
4387 ac_prog=ld
4388 ;;
4389 *)
4390 # If it is relative, then search for the first ld in PATH.
4391 with_gnu_ld=unknown
4392 ;;
4393 esac
4394 elif test "$with_gnu_ld" = yes; then
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4396 $as_echo_n "checking for GNU ld... " >&6; }
4397 else
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4399 $as_echo_n "checking for non-GNU ld... " >&6; }
4400 fi
4401 if ${lt_cv_path_LD+:} false; then :
4402 $as_echo_n "(cached) " >&6
4403 else
4404 if test -z "$LD"; then
4405 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4406 for ac_dir in $PATH; do
4407 IFS="$lt_save_ifs"
4408 test -z "$ac_dir" && ac_dir=.
4409 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4410 lt_cv_path_LD="$ac_dir/$ac_prog"
4411 # Check to see if the program is GNU ld. I'd rather use --version,
4412 # but apparently some variants of GNU ld only accept -v.
4413 # Break only if it was the GNU/non-GNU ld that we prefer.
4414 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4415 *GNU* | *'with BFD'*)
4416 test "$with_gnu_ld" != no && break
4417 ;;
4418 *)
4419 test "$with_gnu_ld" != yes && break
4420 ;;
4421 esac
4422 fi
4423 done
4424 IFS="$lt_save_ifs"
4425 else
4426 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4427 fi
4428 fi
4429
4430 LD="$lt_cv_path_LD"
4431 if test -n "$LD"; then
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4433 $as_echo "$LD" >&6; }
4434 else
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4436 $as_echo "no" >&6; }
4437 fi
4438 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4440 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4441 if ${lt_cv_prog_gnu_ld+:} false; then :
4442 $as_echo_n "(cached) " >&6
4443 else
4444 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4445 case `$LD -v 2>&1 </dev/null` in
4446 *GNU* | *'with BFD'*)
4447 lt_cv_prog_gnu_ld=yes
4448 ;;
4449 *)
4450 lt_cv_prog_gnu_ld=no
4451 ;;
4452 esac
4453 fi
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4455 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4456 with_gnu_ld=$lt_cv_prog_gnu_ld
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4467 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4468 if ${lt_cv_path_NM+:} false; then :
4469 $as_echo_n "(cached) " >&6
4470 else
4471 if test -n "$NM"; then
4472 # Let the user override the test.
4473 lt_cv_path_NM="$NM"
4474 else
4475 lt_nm_to_check="${ac_tool_prefix}nm"
4476 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4477 lt_nm_to_check="$lt_nm_to_check nm"
4478 fi
4479 for lt_tmp_nm in $lt_nm_to_check; do
4480 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4481 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4482 IFS="$lt_save_ifs"
4483 test -z "$ac_dir" && ac_dir=.
4484 tmp_nm="$ac_dir/$lt_tmp_nm"
4485 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4486 # Check to see if the nm accepts a BSD-compat flag.
4487 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4488 # nm: unknown option "B" ignored
4489 # Tru64's nm complains that /dev/null is an invalid object file
4490 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4491 */dev/null* | *'Invalid file or object type'*)
4492 lt_cv_path_NM="$tmp_nm -B"
4493 break
4494 ;;
4495 *)
4496 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4497 */dev/null*)
4498 lt_cv_path_NM="$tmp_nm -p"
4499 break
4500 ;;
4501 *)
4502 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4503 continue # so that we can try to find one that supports BSD flags
4504 ;;
4505 esac
4506 ;;
4507 esac
4508 fi
4509 done
4510 IFS="$lt_save_ifs"
4511 done
4512 : ${lt_cv_path_NM=no}
4513 fi
4514 fi
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4516 $as_echo "$lt_cv_path_NM" >&6; }
4517 if test "$lt_cv_path_NM" != "no"; then
4518 NM="$lt_cv_path_NM"
4519 else
4520 # Didn't find any BSD compatible name lister, look for dumpbin.
4521 if test -n "$DUMPBIN"; then :
4522 # Let the user override the test.
4523 else
4524 if test -n "$ac_tool_prefix"; then
4525 for ac_prog in dumpbin "link -dump"
4526 do
4527 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4528 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4530 $as_echo_n "checking for $ac_word... " >&6; }
4531 if ${ac_cv_prog_DUMPBIN+:} false; then :
4532 $as_echo_n "(cached) " >&6
4533 else
4534 if test -n "$DUMPBIN"; then
4535 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4536 else
4537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4538 for as_dir in $PATH
4539 do
4540 IFS=$as_save_IFS
4541 test -z "$as_dir" && as_dir=.
4542 for ac_exec_ext in '' $ac_executable_extensions; do
4543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4544 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4546 break 2
4547 fi
4548 done
4549 done
4550 IFS=$as_save_IFS
4551
4552 fi
4553 fi
4554 DUMPBIN=$ac_cv_prog_DUMPBIN
4555 if test -n "$DUMPBIN"; then
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4557 $as_echo "$DUMPBIN" >&6; }
4558 else
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4560 $as_echo "no" >&6; }
4561 fi
4562
4563
4564 test -n "$DUMPBIN" && break
4565 done
4566 fi
4567 if test -z "$DUMPBIN"; then
4568 ac_ct_DUMPBIN=$DUMPBIN
4569 for ac_prog in dumpbin "link -dump"
4570 do
4571 # Extract the first word of "$ac_prog", so it can be a program name with args.
4572 set dummy $ac_prog; ac_word=$2
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4574 $as_echo_n "checking for $ac_word... " >&6; }
4575 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4576 $as_echo_n "(cached) " >&6
4577 else
4578 if test -n "$ac_ct_DUMPBIN"; then
4579 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4580 else
4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 for as_dir in $PATH
4583 do
4584 IFS=$as_save_IFS
4585 test -z "$as_dir" && as_dir=.
4586 for ac_exec_ext in '' $ac_executable_extensions; do
4587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4588 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4590 break 2
4591 fi
4592 done
4593 done
4594 IFS=$as_save_IFS
4595
4596 fi
4597 fi
4598 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4599 if test -n "$ac_ct_DUMPBIN"; then
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4601 $as_echo "$ac_ct_DUMPBIN" >&6; }
4602 else
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604 $as_echo "no" >&6; }
4605 fi
4606
4607
4608 test -n "$ac_ct_DUMPBIN" && break
4609 done
4610
4611 if test "x$ac_ct_DUMPBIN" = x; then
4612 DUMPBIN=":"
4613 else
4614 case $cross_compiling:$ac_tool_warned in
4615 yes:)
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4618 ac_tool_warned=yes ;;
4619 esac
4620 DUMPBIN=$ac_ct_DUMPBIN
4621 fi
4622 fi
4623
4624 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4625 *COFF*)
4626 DUMPBIN="$DUMPBIN -symbols"
4627 ;;
4628 *)
4629 DUMPBIN=:
4630 ;;
4631 esac
4632 fi
4633
4634 if test "$DUMPBIN" != ":"; then
4635 NM="$DUMPBIN"
4636 fi
4637 fi
4638 test -z "$NM" && NM=nm
4639
4640
4641
4642
4643
4644
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4646 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4647 if ${lt_cv_nm_interface+:} false; then :
4648 $as_echo_n "(cached) " >&6
4649 else
4650 lt_cv_nm_interface="BSD nm"
4651 echo "int some_variable = 0;" > conftest.$ac_ext
4652 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4653 (eval "$ac_compile" 2>conftest.err)
4654 cat conftest.err >&5
4655 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4656 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4657 cat conftest.err >&5
4658 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4659 cat conftest.out >&5
4660 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4661 lt_cv_nm_interface="MS dumpbin"
4662 fi
4663 rm -f conftest*
4664 fi
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4666 $as_echo "$lt_cv_nm_interface" >&6; }
4667
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4669 $as_echo_n "checking whether ln -s works... " >&6; }
4670 LN_S=$as_ln_s
4671 if test "$LN_S" = "ln -s"; then
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4673 $as_echo "yes" >&6; }
4674 else
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4676 $as_echo "no, using $LN_S" >&6; }
4677 fi
4678
4679 # find the maximum length of command line arguments
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4681 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4682 if ${lt_cv_sys_max_cmd_len+:} false; then :
4683 $as_echo_n "(cached) " >&6
4684 else
4685 i=0
4686 teststring="ABCD"
4687
4688 case $build_os in
4689 msdosdjgpp*)
4690 # On DJGPP, this test can blow up pretty badly due to problems in libc
4691 # (any single argument exceeding 2000 bytes causes a buffer overrun
4692 # during glob expansion). Even if it were fixed, the result of this
4693 # check would be larger than it should be.
4694 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4695 ;;
4696
4697 gnu*)
4698 # Under GNU Hurd, this test is not required because there is
4699 # no limit to the length of command line arguments.
4700 # Libtool will interpret -1 as no limit whatsoever
4701 lt_cv_sys_max_cmd_len=-1;
4702 ;;
4703
4704 cygwin* | mingw* | cegcc*)
4705 # On Win9x/ME, this test blows up -- it succeeds, but takes
4706 # about 5 minutes as the teststring grows exponentially.
4707 # Worse, since 9x/ME are not pre-emptively multitasking,
4708 # you end up with a "frozen" computer, even though with patience
4709 # the test eventually succeeds (with a max line length of 256k).
4710 # Instead, let's just punt: use the minimum linelength reported by
4711 # all of the supported platforms: 8192 (on NT/2K/XP).
4712 lt_cv_sys_max_cmd_len=8192;
4713 ;;
4714
4715 mint*)
4716 # On MiNT this can take a long time and run out of memory.
4717 lt_cv_sys_max_cmd_len=8192;
4718 ;;
4719
4720 amigaos*)
4721 # On AmigaOS with pdksh, this test takes hours, literally.
4722 # So we just punt and use a minimum line length of 8192.
4723 lt_cv_sys_max_cmd_len=8192;
4724 ;;
4725
4726 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4727 # This has been around since 386BSD, at least. Likely further.
4728 if test -x /sbin/sysctl; then
4729 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4730 elif test -x /usr/sbin/sysctl; then
4731 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4732 else
4733 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4734 fi
4735 # And add a safety zone
4736 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4737 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4738 ;;
4739
4740 interix*)
4741 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4742 lt_cv_sys_max_cmd_len=196608
4743 ;;
4744
4745 osf*)
4746 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4747 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4748 # nice to cause kernel panics so lets avoid the loop below.
4749 # First set a reasonable default.
4750 lt_cv_sys_max_cmd_len=16384
4751 #
4752 if test -x /sbin/sysconfig; then
4753 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4754 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4755 esac
4756 fi
4757 ;;
4758 sco3.2v5*)
4759 lt_cv_sys_max_cmd_len=102400
4760 ;;
4761 sysv5* | sco5v6* | sysv4.2uw2*)
4762 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4763 if test -n "$kargmax"; then
4764 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4765 else
4766 lt_cv_sys_max_cmd_len=32768
4767 fi
4768 ;;
4769 *)
4770 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4771 if test -n "$lt_cv_sys_max_cmd_len"; then
4772 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4773 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4774 else
4775 # Make teststring a little bigger before we do anything with it.
4776 # a 1K string should be a reasonable start.
4777 for i in 1 2 3 4 5 6 7 8 ; do
4778 teststring=$teststring$teststring
4779 done
4780 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4781 # If test is not a shell built-in, we'll probably end up computing a
4782 # maximum length that is only half of the actual maximum length, but
4783 # we can't tell.
4784 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4785 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4786 test $i != 17 # 1/2 MB should be enough
4787 do
4788 i=`expr $i + 1`
4789 teststring=$teststring$teststring
4790 done
4791 # Only check the string length outside the loop.
4792 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4793 teststring=
4794 # Add a significant safety factor because C++ compilers can tack on
4795 # massive amounts of additional arguments before passing them to the
4796 # linker. It appears as though 1/2 is a usable value.
4797 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4798 fi
4799 ;;
4800 esac
4801
4802 fi
4803
4804 if test -n $lt_cv_sys_max_cmd_len ; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4806 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4807 else
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4809 $as_echo "none" >&6; }
4810 fi
4811 max_cmd_len=$lt_cv_sys_max_cmd_len
4812
4813
4814
4815
4816
4817
4818 : ${CP="cp -f"}
4819 : ${MV="mv -f"}
4820 : ${RM="rm -f"}
4821
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4823 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4824 # Try some XSI features
4825 xsi_shell=no
4826 ( _lt_dummy="a/b/c"
4827 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4828 = c,a/b,, \
4829 && eval 'test $(( 1 + 1 )) -eq 2 \
4830 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4831 && xsi_shell=yes
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4833 $as_echo "$xsi_shell" >&6; }
4834
4835
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4837 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4838 lt_shell_append=no
4839 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4840 >/dev/null 2>&1 \
4841 && lt_shell_append=yes
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4843 $as_echo "$lt_shell_append" >&6; }
4844
4845
4846 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4847 lt_unset=unset
4848 else
4849 lt_unset=false
4850 fi
4851
4852
4853
4854
4855
4856 # test EBCDIC or ASCII
4857 case `echo X|tr X '\101'` in
4858 A) # ASCII based system
4859 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4860 lt_SP2NL='tr \040 \012'
4861 lt_NL2SP='tr \015\012 \040\040'
4862 ;;
4863 *) # EBCDIC based system
4864 lt_SP2NL='tr \100 \n'
4865 lt_NL2SP='tr \r\n \100\100'
4866 ;;
4867 esac
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4878 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4879 if ${lt_cv_ld_reload_flag+:} false; then :
4880 $as_echo_n "(cached) " >&6
4881 else
4882 lt_cv_ld_reload_flag='-r'
4883 fi
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4885 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4886 reload_flag=$lt_cv_ld_reload_flag
4887 case $reload_flag in
4888 "" | " "*) ;;
4889 *) reload_flag=" $reload_flag" ;;
4890 esac
4891 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4892 case $host_os in
4893 darwin*)
4894 if test "$GCC" = yes; then
4895 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4896 else
4897 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4898 fi
4899 ;;
4900 esac
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910 if test -n "$ac_tool_prefix"; then
4911 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4912 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4914 $as_echo_n "checking for $ac_word... " >&6; }
4915 if ${ac_cv_prog_OBJDUMP+:} false; then :
4916 $as_echo_n "(cached) " >&6
4917 else
4918 if test -n "$OBJDUMP"; then
4919 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4920 else
4921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4922 for as_dir in $PATH
4923 do
4924 IFS=$as_save_IFS
4925 test -z "$as_dir" && as_dir=.
4926 for ac_exec_ext in '' $ac_executable_extensions; do
4927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4928 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 break 2
4931 fi
4932 done
4933 done
4934 IFS=$as_save_IFS
4935
4936 fi
4937 fi
4938 OBJDUMP=$ac_cv_prog_OBJDUMP
4939 if test -n "$OBJDUMP"; then
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4941 $as_echo "$OBJDUMP" >&6; }
4942 else
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4944 $as_echo "no" >&6; }
4945 fi
4946
4947
4948 fi
4949 if test -z "$ac_cv_prog_OBJDUMP"; then
4950 ac_ct_OBJDUMP=$OBJDUMP
4951 # Extract the first word of "objdump", so it can be a program name with args.
4952 set dummy objdump; ac_word=$2
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4954 $as_echo_n "checking for $ac_word... " >&6; }
4955 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4956 $as_echo_n "(cached) " >&6
4957 else
4958 if test -n "$ac_ct_OBJDUMP"; then
4959 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4960 else
4961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4962 for as_dir in $PATH
4963 do
4964 IFS=$as_save_IFS
4965 test -z "$as_dir" && as_dir=.
4966 for ac_exec_ext in '' $ac_executable_extensions; do
4967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4968 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4970 break 2
4971 fi
4972 done
4973 done
4974 IFS=$as_save_IFS
4975
4976 fi
4977 fi
4978 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4979 if test -n "$ac_ct_OBJDUMP"; then
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4981 $as_echo "$ac_ct_OBJDUMP" >&6; }
4982 else
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 $as_echo "no" >&6; }
4985 fi
4986
4987 if test "x$ac_ct_OBJDUMP" = x; then
4988 OBJDUMP="false"
4989 else
4990 case $cross_compiling:$ac_tool_warned in
4991 yes:)
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4994 ac_tool_warned=yes ;;
4995 esac
4996 OBJDUMP=$ac_ct_OBJDUMP
4997 fi
4998 else
4999 OBJDUMP="$ac_cv_prog_OBJDUMP"
5000 fi
5001
5002 test -z "$OBJDUMP" && OBJDUMP=objdump
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5013 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5014 if ${lt_cv_deplibs_check_method+:} false; then :
5015 $as_echo_n "(cached) " >&6
5016 else
5017 lt_cv_file_magic_cmd='$MAGIC_CMD'
5018 lt_cv_file_magic_test_file=
5019 lt_cv_deplibs_check_method='unknown'
5020 # Need to set the preceding variable on all platforms that support
5021 # interlibrary dependencies.
5022 # 'none' -- dependencies not supported.
5023 # `unknown' -- same as none, but documents that we really don't know.
5024 # 'pass_all' -- all dependencies passed with no checks.
5025 # 'test_compile' -- check by making test program.
5026 # 'file_magic [[regex]]' -- check by looking for files in library path
5027 # which responds to the $file_magic_cmd with a given extended regex.
5028 # If you have `file' or equivalent on your system and you're not sure
5029 # whether `pass_all' will *always* work, you probably want this one.
5030
5031 case $host_os in
5032 aix[4-9]*)
5033 lt_cv_deplibs_check_method=pass_all
5034 ;;
5035
5036 beos*)
5037 lt_cv_deplibs_check_method=pass_all
5038 ;;
5039
5040 bsdi[45]*)
5041 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5042 lt_cv_file_magic_cmd='/usr/bin/file -L'
5043 lt_cv_file_magic_test_file=/shlib/libc.so
5044 ;;
5045
5046 cygwin*)
5047 # func_win32_libid is a shell function defined in ltmain.sh
5048 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5049 lt_cv_file_magic_cmd='func_win32_libid'
5050 ;;
5051
5052 mingw* | pw32*)
5053 # Base MSYS/MinGW do not provide the 'file' command needed by
5054 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5055 # unless we find 'file', for example because we are cross-compiling.
5056 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5057 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5058 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5059 lt_cv_file_magic_cmd='func_win32_libid'
5060 else
5061 # Keep this pattern in sync with the one in func_win32_libid.
5062 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5063 lt_cv_file_magic_cmd='$OBJDUMP -f'
5064 fi
5065 ;;
5066
5067 cegcc*)
5068 # use the weaker test based on 'objdump'. See mingw*.
5069 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5070 lt_cv_file_magic_cmd='$OBJDUMP -f'
5071 ;;
5072
5073 darwin* | rhapsody*)
5074 lt_cv_deplibs_check_method=pass_all
5075 ;;
5076
5077 freebsd* | dragonfly*)
5078 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5079 case $host_cpu in
5080 i*86 )
5081 # Not sure whether the presence of OpenBSD here was a mistake.
5082 # Let's accept both of them until this is cleared up.
5083 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5084 lt_cv_file_magic_cmd=/usr/bin/file
5085 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5086 ;;
5087 esac
5088 else
5089 lt_cv_deplibs_check_method=pass_all
5090 fi
5091 ;;
5092
5093 gnu*)
5094 lt_cv_deplibs_check_method=pass_all
5095 ;;
5096
5097 haiku*)
5098 lt_cv_deplibs_check_method=pass_all
5099 ;;
5100
5101 hpux10.20* | hpux11*)
5102 lt_cv_file_magic_cmd=/usr/bin/file
5103 case $host_cpu in
5104 ia64*)
5105 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5106 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5107 ;;
5108 hppa*64*)
5109 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5110 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5111 ;;
5112 *)
5113 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5114 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5115 ;;
5116 esac
5117 ;;
5118
5119 interix[3-9]*)
5120 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5121 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5122 ;;
5123
5124 irix5* | irix6* | nonstopux*)
5125 case $LD in
5126 *-32|*"-32 ") libmagic=32-bit;;
5127 *-n32|*"-n32 ") libmagic=N32;;
5128 *-64|*"-64 ") libmagic=64-bit;;
5129 *) libmagic=never-match;;
5130 esac
5131 lt_cv_deplibs_check_method=pass_all
5132 ;;
5133
5134 # This must be Linux ELF.
5135 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5136 lt_cv_deplibs_check_method=pass_all
5137 ;;
5138
5139 netbsd*)
5140 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5141 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5142 else
5143 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5144 fi
5145 ;;
5146
5147 newos6*)
5148 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5149 lt_cv_file_magic_cmd=/usr/bin/file
5150 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5151 ;;
5152
5153 *nto* | *qnx*)
5154 lt_cv_deplibs_check_method=pass_all
5155 ;;
5156
5157 openbsd*)
5158 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5159 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5160 else
5161 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5162 fi
5163 ;;
5164
5165 osf3* | osf4* | osf5*)
5166 lt_cv_deplibs_check_method=pass_all
5167 ;;
5168
5169 rdos*)
5170 lt_cv_deplibs_check_method=pass_all
5171 ;;
5172
5173 solaris*)
5174 lt_cv_deplibs_check_method=pass_all
5175 ;;
5176
5177 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5178 lt_cv_deplibs_check_method=pass_all
5179 ;;
5180
5181 sysv4 | sysv4.3*)
5182 case $host_vendor in
5183 motorola)
5184 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]'
5185 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5186 ;;
5187 ncr)
5188 lt_cv_deplibs_check_method=pass_all
5189 ;;
5190 sequent)
5191 lt_cv_file_magic_cmd='/bin/file'
5192 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5193 ;;
5194 sni)
5195 lt_cv_file_magic_cmd='/bin/file'
5196 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5197 lt_cv_file_magic_test_file=/lib/libc.so
5198 ;;
5199 siemens)
5200 lt_cv_deplibs_check_method=pass_all
5201 ;;
5202 pc)
5203 lt_cv_deplibs_check_method=pass_all
5204 ;;
5205 esac
5206 ;;
5207
5208 tpf*)
5209 lt_cv_deplibs_check_method=pass_all
5210 ;;
5211 esac
5212
5213 fi
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5215 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5216 file_magic_cmd=$lt_cv_file_magic_cmd
5217 deplibs_check_method=$lt_cv_deplibs_check_method
5218 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231 if test -n "$ac_tool_prefix"; then
5232 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5233 set dummy ${ac_tool_prefix}ar; ac_word=$2
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5235 $as_echo_n "checking for $ac_word... " >&6; }
5236 if ${ac_cv_prog_AR+:} false; then :
5237 $as_echo_n "(cached) " >&6
5238 else
5239 if test -n "$AR"; then
5240 ac_cv_prog_AR="$AR" # Let the user override the test.
5241 else
5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 for as_dir in $PATH
5244 do
5245 IFS=$as_save_IFS
5246 test -z "$as_dir" && as_dir=.
5247 for ac_exec_ext in '' $ac_executable_extensions; do
5248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5249 ac_cv_prog_AR="${ac_tool_prefix}ar"
5250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 break 2
5252 fi
5253 done
5254 done
5255 IFS=$as_save_IFS
5256
5257 fi
5258 fi
5259 AR=$ac_cv_prog_AR
5260 if test -n "$AR"; then
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5262 $as_echo "$AR" >&6; }
5263 else
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5265 $as_echo "no" >&6; }
5266 fi
5267
5268
5269 fi
5270 if test -z "$ac_cv_prog_AR"; then
5271 ac_ct_AR=$AR
5272 # Extract the first word of "ar", so it can be a program name with args.
5273 set dummy ar; ac_word=$2
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5275 $as_echo_n "checking for $ac_word... " >&6; }
5276 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5277 $as_echo_n "(cached) " >&6
5278 else
5279 if test -n "$ac_ct_AR"; then
5280 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5281 else
5282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5283 for as_dir in $PATH
5284 do
5285 IFS=$as_save_IFS
5286 test -z "$as_dir" && as_dir=.
5287 for ac_exec_ext in '' $ac_executable_extensions; do
5288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5289 ac_cv_prog_ac_ct_AR="ar"
5290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5291 break 2
5292 fi
5293 done
5294 done
5295 IFS=$as_save_IFS
5296
5297 fi
5298 fi
5299 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5300 if test -n "$ac_ct_AR"; then
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5302 $as_echo "$ac_ct_AR" >&6; }
5303 else
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5305 $as_echo "no" >&6; }
5306 fi
5307
5308 if test "x$ac_ct_AR" = x; then
5309 AR="false"
5310 else
5311 case $cross_compiling:$ac_tool_warned in
5312 yes:)
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5315 ac_tool_warned=yes ;;
5316 esac
5317 AR=$ac_ct_AR
5318 fi
5319 else
5320 AR="$ac_cv_prog_AR"
5321 fi
5322
5323 test -z "$AR" && AR=ar
5324 test -z "$AR_FLAGS" && AR_FLAGS=cru
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336 if test -n "$ac_tool_prefix"; then
5337 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5338 set dummy ${ac_tool_prefix}strip; ac_word=$2
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5340 $as_echo_n "checking for $ac_word... " >&6; }
5341 if ${ac_cv_prog_STRIP+:} false; then :
5342 $as_echo_n "(cached) " >&6
5343 else
5344 if test -n "$STRIP"; then
5345 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5346 else
5347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5348 for as_dir in $PATH
5349 do
5350 IFS=$as_save_IFS
5351 test -z "$as_dir" && as_dir=.
5352 for ac_exec_ext in '' $ac_executable_extensions; do
5353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5354 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5356 break 2
5357 fi
5358 done
5359 done
5360 IFS=$as_save_IFS
5361
5362 fi
5363 fi
5364 STRIP=$ac_cv_prog_STRIP
5365 if test -n "$STRIP"; then
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5367 $as_echo "$STRIP" >&6; }
5368 else
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5370 $as_echo "no" >&6; }
5371 fi
5372
5373
5374 fi
5375 if test -z "$ac_cv_prog_STRIP"; then
5376 ac_ct_STRIP=$STRIP
5377 # Extract the first word of "strip", so it can be a program name with args.
5378 set dummy strip; ac_word=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5382 $as_echo_n "(cached) " >&6
5383 else
5384 if test -n "$ac_ct_STRIP"; then
5385 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5386 else
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH
5389 do
5390 IFS=$as_save_IFS
5391 test -z "$as_dir" && as_dir=.
5392 for ac_exec_ext in '' $ac_executable_extensions; do
5393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5394 ac_cv_prog_ac_ct_STRIP="strip"
5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 break 2
5397 fi
5398 done
5399 done
5400 IFS=$as_save_IFS
5401
5402 fi
5403 fi
5404 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5405 if test -n "$ac_ct_STRIP"; then
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5407 $as_echo "$ac_ct_STRIP" >&6; }
5408 else
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5411 fi
5412
5413 if test "x$ac_ct_STRIP" = x; then
5414 STRIP=":"
5415 else
5416 case $cross_compiling:$ac_tool_warned in
5417 yes:)
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5420 ac_tool_warned=yes ;;
5421 esac
5422 STRIP=$ac_ct_STRIP
5423 fi
5424 else
5425 STRIP="$ac_cv_prog_STRIP"
5426 fi
5427
5428 test -z "$STRIP" && STRIP=:
5429
5430
5431
5432
5433
5434
5435 if test -n "$ac_tool_prefix"; then
5436 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5437 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5439 $as_echo_n "checking for $ac_word... " >&6; }
5440 if ${ac_cv_prog_RANLIB+:} false; then :
5441 $as_echo_n "(cached) " >&6
5442 else
5443 if test -n "$RANLIB"; then
5444 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5445 else
5446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5447 for as_dir in $PATH
5448 do
5449 IFS=$as_save_IFS
5450 test -z "$as_dir" && as_dir=.
5451 for ac_exec_ext in '' $ac_executable_extensions; do
5452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5453 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5455 break 2
5456 fi
5457 done
5458 done
5459 IFS=$as_save_IFS
5460
5461 fi
5462 fi
5463 RANLIB=$ac_cv_prog_RANLIB
5464 if test -n "$RANLIB"; then
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5466 $as_echo "$RANLIB" >&6; }
5467 else
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5469 $as_echo "no" >&6; }
5470 fi
5471
5472
5473 fi
5474 if test -z "$ac_cv_prog_RANLIB"; then
5475 ac_ct_RANLIB=$RANLIB
5476 # Extract the first word of "ranlib", so it can be a program name with args.
5477 set dummy ranlib; ac_word=$2
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5479 $as_echo_n "checking for $ac_word... " >&6; }
5480 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5481 $as_echo_n "(cached) " >&6
5482 else
5483 if test -n "$ac_ct_RANLIB"; then
5484 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5485 else
5486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5487 for as_dir in $PATH
5488 do
5489 IFS=$as_save_IFS
5490 test -z "$as_dir" && as_dir=.
5491 for ac_exec_ext in '' $ac_executable_extensions; do
5492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5493 ac_cv_prog_ac_ct_RANLIB="ranlib"
5494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 break 2
5496 fi
5497 done
5498 done
5499 IFS=$as_save_IFS
5500
5501 fi
5502 fi
5503 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5504 if test -n "$ac_ct_RANLIB"; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5506 $as_echo "$ac_ct_RANLIB" >&6; }
5507 else
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509 $as_echo "no" >&6; }
5510 fi
5511
5512 if test "x$ac_ct_RANLIB" = x; then
5513 RANLIB=":"
5514 else
5515 case $cross_compiling:$ac_tool_warned in
5516 yes:)
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5519 ac_tool_warned=yes ;;
5520 esac
5521 RANLIB=$ac_ct_RANLIB
5522 fi
5523 else
5524 RANLIB="$ac_cv_prog_RANLIB"
5525 fi
5526
5527 test -z "$RANLIB" && RANLIB=:
5528
5529
5530
5531
5532
5533
5534 # Determine commands to create old-style static archives.
5535 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5536 old_postinstall_cmds='chmod 644 $oldlib'
5537 old_postuninstall_cmds=
5538
5539 if test -n "$RANLIB"; then
5540 case $host_os in
5541 openbsd*)
5542 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5543 ;;
5544 *)
5545 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5546 ;;
5547 esac
5548 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5549 fi
5550
5551 case $host_os in
5552 darwin*)
5553 lock_old_archive_extraction=yes ;;
5554 *)
5555 lock_old_archive_extraction=no ;;
5556 esac
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596 # If no C compiler was specified, use CC.
5597 LTCC=${LTCC-"$CC"}
5598
5599 # If no C compiler flags were specified, use CFLAGS.
5600 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5601
5602 # Allow CC to be a program name with arguments.
5603 compiler=$CC
5604
5605
5606 # Check for command to grab the raw symbol name followed by C symbol from nm.
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5608 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5609 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5610 $as_echo_n "(cached) " >&6
5611 else
5612
5613 # These are sane defaults that work on at least a few old systems.
5614 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5615
5616 # Character class describing NM global symbol codes.
5617 symcode='[BCDEGRST]'
5618
5619 # Regexp to match symbols that can be accessed directly from C.
5620 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5621
5622 # Define system-specific variables.
5623 case $host_os in
5624 aix*)
5625 symcode='[BCDT]'
5626 ;;
5627 cygwin* | mingw* | pw32* | cegcc*)
5628 symcode='[ABCDGISTW]'
5629 ;;
5630 hpux*)
5631 if test "$host_cpu" = ia64; then
5632 symcode='[ABCDEGRST]'
5633 fi
5634 ;;
5635 irix* | nonstopux*)
5636 symcode='[BCDEGRST]'
5637 ;;
5638 osf*)
5639 symcode='[BCDEGQRST]'
5640 ;;
5641 solaris*)
5642 symcode='[BDRT]'
5643 ;;
5644 sco3.2v5*)
5645 symcode='[DT]'
5646 ;;
5647 sysv4.2uw2*)
5648 symcode='[DT]'
5649 ;;
5650 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5651 symcode='[ABDT]'
5652 ;;
5653 sysv4)
5654 symcode='[DFNSTU]'
5655 ;;
5656 esac
5657
5658 # If we're using GNU nm, then use its standard symbol codes.
5659 case `$NM -V 2>&1` in
5660 *GNU* | *'with BFD'*)
5661 symcode='[ABCDGIRSTW]' ;;
5662 esac
5663
5664 # Transform an extracted symbol line into a proper C declaration.
5665 # Some systems (esp. on ia64) link data and code symbols differently,
5666 # so use this general approach.
5667 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5668
5669 # Transform an extracted symbol line into symbol name and symbol address
5670 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5671 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'"
5672
5673 # Handle CRLF in mingw tool chain
5674 opt_cr=
5675 case $build_os in
5676 mingw*)
5677 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5678 ;;
5679 esac
5680
5681 # Try without a prefix underscore, then with it.
5682 for ac_symprfx in "" "_"; do
5683
5684 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5685 symxfrm="\\1 $ac_symprfx\\2 \\2"
5686
5687 # Write the raw and C identifiers.
5688 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5689 # Fake it for dumpbin and say T for any non-static function
5690 # and D for any global variable.
5691 # Also find C++ and __fastcall symbols from MSVC++,
5692 # which start with @ or ?.
5693 lt_cv_sys_global_symbol_pipe="$AWK '"\
5694 " {last_section=section; section=\$ 3};"\
5695 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5696 " \$ 0!~/External *\|/{next};"\
5697 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5698 " {if(hide[section]) next};"\
5699 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5700 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5701 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5702 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5703 " ' prfx=^$ac_symprfx"
5704 else
5705 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5706 fi
5707
5708 # Check to see that the pipe works correctly.
5709 pipe_works=no
5710
5711 rm -f conftest*
5712 cat > conftest.$ac_ext <<_LT_EOF
5713 #ifdef __cplusplus
5714 extern "C" {
5715 #endif
5716 char nm_test_var;
5717 void nm_test_func(void);
5718 void nm_test_func(void){}
5719 #ifdef __cplusplus
5720 }
5721 #endif
5722 int main(){nm_test_var='a';nm_test_func();return(0);}
5723 _LT_EOF
5724
5725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5726 (eval $ac_compile) 2>&5
5727 ac_status=$?
5728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5729 test $ac_status = 0; }; then
5730 # Now try to grab the symbols.
5731 nlist=conftest.nm
5732 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5733 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5734 ac_status=$?
5735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5736 test $ac_status = 0; } && test -s "$nlist"; then
5737 # Try sorting and uniquifying the output.
5738 if sort "$nlist" | uniq > "$nlist"T; then
5739 mv -f "$nlist"T "$nlist"
5740 else
5741 rm -f "$nlist"T
5742 fi
5743
5744 # Make sure that we snagged all the symbols we need.
5745 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5746 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5747 cat <<_LT_EOF > conftest.$ac_ext
5748 #ifdef __cplusplus
5749 extern "C" {
5750 #endif
5751
5752 _LT_EOF
5753 # Now generate the symbol file.
5754 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5755
5756 cat <<_LT_EOF >> conftest.$ac_ext
5757
5758 /* The mapping between symbol names and symbols. */
5759 const struct {
5760 const char *name;
5761 void *address;
5762 }
5763 lt__PROGRAM__LTX_preloaded_symbols[] =
5764 {
5765 { "@PROGRAM@", (void *) 0 },
5766 _LT_EOF
5767 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5768 cat <<\_LT_EOF >> conftest.$ac_ext
5769 {0, (void *) 0}
5770 };
5771
5772 /* This works around a problem in FreeBSD linker */
5773 #ifdef FREEBSD_WORKAROUND
5774 static const void *lt_preloaded_setup() {
5775 return lt__PROGRAM__LTX_preloaded_symbols;
5776 }
5777 #endif
5778
5779 #ifdef __cplusplus
5780 }
5781 #endif
5782 _LT_EOF
5783 # Now try linking the two files.
5784 mv conftest.$ac_objext conftstm.$ac_objext
5785 lt_save_LIBS="$LIBS"
5786 lt_save_CFLAGS="$CFLAGS"
5787 LIBS="conftstm.$ac_objext"
5788 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5789 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5790 (eval $ac_link) 2>&5
5791 ac_status=$?
5792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5793 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5794 pipe_works=yes
5795 fi
5796 LIBS="$lt_save_LIBS"
5797 CFLAGS="$lt_save_CFLAGS"
5798 else
5799 echo "cannot find nm_test_func in $nlist" >&5
5800 fi
5801 else
5802 echo "cannot find nm_test_var in $nlist" >&5
5803 fi
5804 else
5805 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5806 fi
5807 else
5808 echo "$progname: failed program was:" >&5
5809 cat conftest.$ac_ext >&5
5810 fi
5811 rm -rf conftest* conftst*
5812
5813 # Do not use the global_symbol_pipe unless it works.
5814 if test "$pipe_works" = yes; then
5815 break
5816 else
5817 lt_cv_sys_global_symbol_pipe=
5818 fi
5819 done
5820
5821 fi
5822
5823 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5824 lt_cv_sys_global_symbol_to_cdecl=
5825 fi
5826 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5828 $as_echo "failed" >&6; }
5829 else
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5831 $as_echo "ok" >&6; }
5832 fi
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856 # Check whether --enable-libtool-lock was given.
5857 if test "${enable_libtool_lock+set}" = set; then :
5858 enableval=$enable_libtool_lock;
5859 fi
5860
5861 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5862
5863 # Some flags need to be propagated to the compiler or linker for good
5864 # libtool support.
5865 case $host in
5866 ia64-*-hpux*)
5867 # Find out which ABI we are using.
5868 echo 'int i;' > conftest.$ac_ext
5869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5870 (eval $ac_compile) 2>&5
5871 ac_status=$?
5872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5873 test $ac_status = 0; }; then
5874 case `/usr/bin/file conftest.$ac_objext` in
5875 *ELF-32*)
5876 HPUX_IA64_MODE="32"
5877 ;;
5878 *ELF-64*)
5879 HPUX_IA64_MODE="64"
5880 ;;
5881 esac
5882 fi
5883 rm -rf conftest*
5884 ;;
5885 *-*-irix6*)
5886 # Find out which ABI we are using.
5887 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5888 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5889 (eval $ac_compile) 2>&5
5890 ac_status=$?
5891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5892 test $ac_status = 0; }; then
5893 if test "$lt_cv_prog_gnu_ld" = yes; then
5894 case `/usr/bin/file conftest.$ac_objext` in
5895 *32-bit*)
5896 LD="${LD-ld} -melf32bsmip"
5897 ;;
5898 *N32*)
5899 LD="${LD-ld} -melf32bmipn32"
5900 ;;
5901 *64-bit*)
5902 LD="${LD-ld} -melf64bmip"
5903 ;;
5904 esac
5905 else
5906 case `/usr/bin/file conftest.$ac_objext` in
5907 *32-bit*)
5908 LD="${LD-ld} -32"
5909 ;;
5910 *N32*)
5911 LD="${LD-ld} -n32"
5912 ;;
5913 *64-bit*)
5914 LD="${LD-ld} -64"
5915 ;;
5916 esac
5917 fi
5918 fi
5919 rm -rf conftest*
5920 ;;
5921
5922 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5923 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5924 # Find out which ABI we are using.
5925 echo 'int i;' > conftest.$ac_ext
5926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5927 (eval $ac_compile) 2>&5
5928 ac_status=$?
5929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5930 test $ac_status = 0; }; then
5931 case `/usr/bin/file conftest.o` in
5932 *32-bit*)
5933 case $host in
5934 x86_64-*kfreebsd*-gnu)
5935 LD="${LD-ld} -m elf_i386_fbsd"
5936 ;;
5937 x86_64-*linux*)
5938 LD="${LD-ld} -m elf_i386"
5939 ;;
5940 ppc64-*linux*|powerpc64-*linux*)
5941 LD="${LD-ld} -m elf32ppclinux"
5942 ;;
5943 s390x-*linux*)
5944 LD="${LD-ld} -m elf_s390"
5945 ;;
5946 sparc64-*linux*)
5947 LD="${LD-ld} -m elf32_sparc"
5948 ;;
5949 esac
5950 ;;
5951 *64-bit*)
5952 case $host in
5953 x86_64-*kfreebsd*-gnu)
5954 LD="${LD-ld} -m elf_x86_64_fbsd"
5955 ;;
5956 x86_64-*linux*)
5957 LD="${LD-ld} -m elf_x86_64"
5958 ;;
5959 ppc*-*linux*|powerpc*-*linux*)
5960 LD="${LD-ld} -m elf64ppc"
5961 ;;
5962 s390*-*linux*|s390*-*tpf*)
5963 LD="${LD-ld} -m elf64_s390"
5964 ;;
5965 sparc*-*linux*)
5966 LD="${LD-ld} -m elf64_sparc"
5967 ;;
5968 esac
5969 ;;
5970 esac
5971 fi
5972 rm -rf conftest*
5973 ;;
5974
5975 *-*-sco3.2v5*)
5976 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5977 SAVE_CFLAGS="$CFLAGS"
5978 CFLAGS="$CFLAGS -belf"
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5980 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5981 if ${lt_cv_cc_needs_belf+:} false; then :
5982 $as_echo_n "(cached) " >&6
5983 else
5984 ac_ext=c
5985 ac_cpp='$CPP $CPPFLAGS'
5986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5989
5990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5991 /* end confdefs.h. */
5992
5993 int
5994 main ()
5995 {
5996
5997 ;
5998 return 0;
5999 }
6000 _ACEOF
6001 if ac_fn_c_try_link "$LINENO"; then :
6002 lt_cv_cc_needs_belf=yes
6003 else
6004 lt_cv_cc_needs_belf=no
6005 fi
6006 rm -f core conftest.err conftest.$ac_objext \
6007 conftest$ac_exeext conftest.$ac_ext
6008 ac_ext=c
6009 ac_cpp='$CPP $CPPFLAGS'
6010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6013
6014 fi
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6016 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6017 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6018 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6019 CFLAGS="$SAVE_CFLAGS"
6020 fi
6021 ;;
6022 sparc*-*solaris*)
6023 # Find out which ABI we are using.
6024 echo 'int i;' > conftest.$ac_ext
6025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6026 (eval $ac_compile) 2>&5
6027 ac_status=$?
6028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6029 test $ac_status = 0; }; then
6030 case `/usr/bin/file conftest.o` in
6031 *64-bit*)
6032 case $lt_cv_prog_gnu_ld in
6033 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6034 *)
6035 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6036 LD="${LD-ld} -64"
6037 fi
6038 ;;
6039 esac
6040 ;;
6041 esac
6042 fi
6043 rm -rf conftest*
6044 ;;
6045 esac
6046
6047 need_locks="$enable_libtool_lock"
6048
6049
6050 case $host_os in
6051 rhapsody* | darwin*)
6052 if test -n "$ac_tool_prefix"; then
6053 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6054 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; }
6057 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6058 $as_echo_n "(cached) " >&6
6059 else
6060 if test -n "$DSYMUTIL"; then
6061 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6062 else
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064 for as_dir in $PATH
6065 do
6066 IFS=$as_save_IFS
6067 test -z "$as_dir" && as_dir=.
6068 for ac_exec_ext in '' $ac_executable_extensions; do
6069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6070 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6072 break 2
6073 fi
6074 done
6075 done
6076 IFS=$as_save_IFS
6077
6078 fi
6079 fi
6080 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6081 if test -n "$DSYMUTIL"; then
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6083 $as_echo "$DSYMUTIL" >&6; }
6084 else
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6087 fi
6088
6089
6090 fi
6091 if test -z "$ac_cv_prog_DSYMUTIL"; then
6092 ac_ct_DSYMUTIL=$DSYMUTIL
6093 # Extract the first word of "dsymutil", so it can be a program name with args.
6094 set dummy dsymutil; ac_word=$2
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6096 $as_echo_n "checking for $ac_word... " >&6; }
6097 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6098 $as_echo_n "(cached) " >&6
6099 else
6100 if test -n "$ac_ct_DSYMUTIL"; then
6101 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6102 else
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 for as_dir in $PATH
6105 do
6106 IFS=$as_save_IFS
6107 test -z "$as_dir" && as_dir=.
6108 for ac_exec_ext in '' $ac_executable_extensions; do
6109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6110 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6112 break 2
6113 fi
6114 done
6115 done
6116 IFS=$as_save_IFS
6117
6118 fi
6119 fi
6120 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6121 if test -n "$ac_ct_DSYMUTIL"; then
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6123 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6124 else
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126 $as_echo "no" >&6; }
6127 fi
6128
6129 if test "x$ac_ct_DSYMUTIL" = x; then
6130 DSYMUTIL=":"
6131 else
6132 case $cross_compiling:$ac_tool_warned in
6133 yes:)
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6136 ac_tool_warned=yes ;;
6137 esac
6138 DSYMUTIL=$ac_ct_DSYMUTIL
6139 fi
6140 else
6141 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6142 fi
6143
6144 if test -n "$ac_tool_prefix"; then
6145 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6146 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if ${ac_cv_prog_NMEDIT+:} false; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$NMEDIT"; then
6153 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6157 do
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6165 fi
6166 done
6167 done
6168 IFS=$as_save_IFS
6169
6170 fi
6171 fi
6172 NMEDIT=$ac_cv_prog_NMEDIT
6173 if test -n "$NMEDIT"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6175 $as_echo "$NMEDIT" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6179 fi
6180
6181
6182 fi
6183 if test -z "$ac_cv_prog_NMEDIT"; then
6184 ac_ct_NMEDIT=$NMEDIT
6185 # Extract the first word of "nmedit", so it can be a program name with args.
6186 set dummy nmedit; ac_word=$2
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6188 $as_echo_n "checking for $ac_word... " >&6; }
6189 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6190 $as_echo_n "(cached) " >&6
6191 else
6192 if test -n "$ac_ct_NMEDIT"; then
6193 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6194 else
6195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6196 for as_dir in $PATH
6197 do
6198 IFS=$as_save_IFS
6199 test -z "$as_dir" && as_dir=.
6200 for ac_exec_ext in '' $ac_executable_extensions; do
6201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6202 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6204 break 2
6205 fi
6206 done
6207 done
6208 IFS=$as_save_IFS
6209
6210 fi
6211 fi
6212 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6213 if test -n "$ac_ct_NMEDIT"; then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6215 $as_echo "$ac_ct_NMEDIT" >&6; }
6216 else
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6218 $as_echo "no" >&6; }
6219 fi
6220
6221 if test "x$ac_ct_NMEDIT" = x; then
6222 NMEDIT=":"
6223 else
6224 case $cross_compiling:$ac_tool_warned in
6225 yes:)
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6228 ac_tool_warned=yes ;;
6229 esac
6230 NMEDIT=$ac_ct_NMEDIT
6231 fi
6232 else
6233 NMEDIT="$ac_cv_prog_NMEDIT"
6234 fi
6235
6236 if test -n "$ac_tool_prefix"; then
6237 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6238 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6240 $as_echo_n "checking for $ac_word... " >&6; }
6241 if ${ac_cv_prog_LIPO+:} false; then :
6242 $as_echo_n "(cached) " >&6
6243 else
6244 if test -n "$LIPO"; then
6245 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6246 else
6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248 for as_dir in $PATH
6249 do
6250 IFS=$as_save_IFS
6251 test -z "$as_dir" && as_dir=.
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6256 break 2
6257 fi
6258 done
6259 done
6260 IFS=$as_save_IFS
6261
6262 fi
6263 fi
6264 LIPO=$ac_cv_prog_LIPO
6265 if test -n "$LIPO"; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6267 $as_echo "$LIPO" >&6; }
6268 else
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6270 $as_echo "no" >&6; }
6271 fi
6272
6273
6274 fi
6275 if test -z "$ac_cv_prog_LIPO"; then
6276 ac_ct_LIPO=$LIPO
6277 # Extract the first word of "lipo", so it can be a program name with args.
6278 set dummy lipo; ac_word=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6280 $as_echo_n "checking for $ac_word... " >&6; }
6281 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6282 $as_echo_n "(cached) " >&6
6283 else
6284 if test -n "$ac_ct_LIPO"; then
6285 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6286 else
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 for as_dir in $PATH
6289 do
6290 IFS=$as_save_IFS
6291 test -z "$as_dir" && as_dir=.
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6294 ac_cv_prog_ac_ct_LIPO="lipo"
6295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6296 break 2
6297 fi
6298 done
6299 done
6300 IFS=$as_save_IFS
6301
6302 fi
6303 fi
6304 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6305 if test -n "$ac_ct_LIPO"; then
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6307 $as_echo "$ac_ct_LIPO" >&6; }
6308 else
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6310 $as_echo "no" >&6; }
6311 fi
6312
6313 if test "x$ac_ct_LIPO" = x; then
6314 LIPO=":"
6315 else
6316 case $cross_compiling:$ac_tool_warned in
6317 yes:)
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6320 ac_tool_warned=yes ;;
6321 esac
6322 LIPO=$ac_ct_LIPO
6323 fi
6324 else
6325 LIPO="$ac_cv_prog_LIPO"
6326 fi
6327
6328 if test -n "$ac_tool_prefix"; then
6329 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6330 set dummy ${ac_tool_prefix}otool; ac_word=$2
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6332 $as_echo_n "checking for $ac_word... " >&6; }
6333 if ${ac_cv_prog_OTOOL+:} false; then :
6334 $as_echo_n "(cached) " >&6
6335 else
6336 if test -n "$OTOOL"; then
6337 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6338 else
6339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6340 for as_dir in $PATH
6341 do
6342 IFS=$as_save_IFS
6343 test -z "$as_dir" && as_dir=.
6344 for ac_exec_ext in '' $ac_executable_extensions; do
6345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6346 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6348 break 2
6349 fi
6350 done
6351 done
6352 IFS=$as_save_IFS
6353
6354 fi
6355 fi
6356 OTOOL=$ac_cv_prog_OTOOL
6357 if test -n "$OTOOL"; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6359 $as_echo "$OTOOL" >&6; }
6360 else
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6362 $as_echo "no" >&6; }
6363 fi
6364
6365
6366 fi
6367 if test -z "$ac_cv_prog_OTOOL"; then
6368 ac_ct_OTOOL=$OTOOL
6369 # Extract the first word of "otool", so it can be a program name with args.
6370 set dummy otool; ac_word=$2
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6372 $as_echo_n "checking for $ac_word... " >&6; }
6373 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6374 $as_echo_n "(cached) " >&6
6375 else
6376 if test -n "$ac_ct_OTOOL"; then
6377 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6378 else
6379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6380 for as_dir in $PATH
6381 do
6382 IFS=$as_save_IFS
6383 test -z "$as_dir" && as_dir=.
6384 for ac_exec_ext in '' $ac_executable_extensions; do
6385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6386 ac_cv_prog_ac_ct_OTOOL="otool"
6387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6388 break 2
6389 fi
6390 done
6391 done
6392 IFS=$as_save_IFS
6393
6394 fi
6395 fi
6396 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6397 if test -n "$ac_ct_OTOOL"; then
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6399 $as_echo "$ac_ct_OTOOL" >&6; }
6400 else
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6402 $as_echo "no" >&6; }
6403 fi
6404
6405 if test "x$ac_ct_OTOOL" = x; then
6406 OTOOL=":"
6407 else
6408 case $cross_compiling:$ac_tool_warned in
6409 yes:)
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6412 ac_tool_warned=yes ;;
6413 esac
6414 OTOOL=$ac_ct_OTOOL
6415 fi
6416 else
6417 OTOOL="$ac_cv_prog_OTOOL"
6418 fi
6419
6420 if test -n "$ac_tool_prefix"; then
6421 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6422 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6424 $as_echo_n "checking for $ac_word... " >&6; }
6425 if ${ac_cv_prog_OTOOL64+:} false; then :
6426 $as_echo_n "(cached) " >&6
6427 else
6428 if test -n "$OTOOL64"; then
6429 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6430 else
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 for as_dir in $PATH
6433 do
6434 IFS=$as_save_IFS
6435 test -z "$as_dir" && as_dir=.
6436 for ac_exec_ext in '' $ac_executable_extensions; do
6437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6438 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6440 break 2
6441 fi
6442 done
6443 done
6444 IFS=$as_save_IFS
6445
6446 fi
6447 fi
6448 OTOOL64=$ac_cv_prog_OTOOL64
6449 if test -n "$OTOOL64"; then
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6451 $as_echo "$OTOOL64" >&6; }
6452 else
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6454 $as_echo "no" >&6; }
6455 fi
6456
6457
6458 fi
6459 if test -z "$ac_cv_prog_OTOOL64"; then
6460 ac_ct_OTOOL64=$OTOOL64
6461 # Extract the first word of "otool64", so it can be a program name with args.
6462 set dummy otool64; ac_word=$2
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6464 $as_echo_n "checking for $ac_word... " >&6; }
6465 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6466 $as_echo_n "(cached) " >&6
6467 else
6468 if test -n "$ac_ct_OTOOL64"; then
6469 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6470 else
6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472 for as_dir in $PATH
6473 do
6474 IFS=$as_save_IFS
6475 test -z "$as_dir" && as_dir=.
6476 for ac_exec_ext in '' $ac_executable_extensions; do
6477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6478 ac_cv_prog_ac_ct_OTOOL64="otool64"
6479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6480 break 2
6481 fi
6482 done
6483 done
6484 IFS=$as_save_IFS
6485
6486 fi
6487 fi
6488 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6489 if test -n "$ac_ct_OTOOL64"; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6491 $as_echo "$ac_ct_OTOOL64" >&6; }
6492 else
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494 $as_echo "no" >&6; }
6495 fi
6496
6497 if test "x$ac_ct_OTOOL64" = x; then
6498 OTOOL64=":"
6499 else
6500 case $cross_compiling:$ac_tool_warned in
6501 yes:)
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6504 ac_tool_warned=yes ;;
6505 esac
6506 OTOOL64=$ac_ct_OTOOL64
6507 fi
6508 else
6509 OTOOL64="$ac_cv_prog_OTOOL64"
6510 fi
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6539 $as_echo_n "checking for -single_module linker flag... " >&6; }
6540 if ${lt_cv_apple_cc_single_mod+:} false; then :
6541 $as_echo_n "(cached) " >&6
6542 else
6543 lt_cv_apple_cc_single_mod=no
6544 if test -z "${LT_MULTI_MODULE}"; then
6545 # By default we will add the -single_module flag. You can override
6546 # by either setting the environment variable LT_MULTI_MODULE
6547 # non-empty at configure time, or by adding -multi_module to the
6548 # link flags.
6549 rm -rf libconftest.dylib*
6550 echo "int foo(void){return 1;}" > conftest.c
6551 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6552 -dynamiclib -Wl,-single_module conftest.c" >&5
6553 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6554 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6555 _lt_result=$?
6556 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6557 lt_cv_apple_cc_single_mod=yes
6558 else
6559 cat conftest.err >&5
6560 fi
6561 rm -rf libconftest.dylib*
6562 rm -f conftest.*
6563 fi
6564 fi
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6566 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6568 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6569 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6570 $as_echo_n "(cached) " >&6
6571 else
6572 lt_cv_ld_exported_symbols_list=no
6573 save_LDFLAGS=$LDFLAGS
6574 echo "_main" > conftest.sym
6575 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6577 /* end confdefs.h. */
6578
6579 int
6580 main ()
6581 {
6582
6583 ;
6584 return 0;
6585 }
6586 _ACEOF
6587 if ac_fn_c_try_link "$LINENO"; then :
6588 lt_cv_ld_exported_symbols_list=yes
6589 else
6590 lt_cv_ld_exported_symbols_list=no
6591 fi
6592 rm -f core conftest.err conftest.$ac_objext \
6593 conftest$ac_exeext conftest.$ac_ext
6594 LDFLAGS="$save_LDFLAGS"
6595
6596 fi
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6598 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6600 $as_echo_n "checking for -force_load linker flag... " >&6; }
6601 if ${lt_cv_ld_force_load+:} false; then :
6602 $as_echo_n "(cached) " >&6
6603 else
6604 lt_cv_ld_force_load=no
6605 cat > conftest.c << _LT_EOF
6606 int forced_loaded() { return 2;}
6607 _LT_EOF
6608 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6609 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6610 echo "$AR cru libconftest.a conftest.o" >&5
6611 $AR cru libconftest.a conftest.o 2>&5
6612 echo "$RANLIB libconftest.a" >&5
6613 $RANLIB libconftest.a 2>&5
6614 cat > conftest.c << _LT_EOF
6615 int main() { return 0;}
6616 _LT_EOF
6617 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6618 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6619 _lt_result=$?
6620 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6621 lt_cv_ld_force_load=yes
6622 else
6623 cat conftest.err >&5
6624 fi
6625 rm -f conftest.err libconftest.a conftest conftest.c
6626 rm -rf conftest.dSYM
6627
6628 fi
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6630 $as_echo "$lt_cv_ld_force_load" >&6; }
6631 case $host_os in
6632 rhapsody* | darwin1.[012])
6633 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6634 darwin1.*)
6635 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6636 darwin*) # darwin 5.x on
6637 # if running on 10.5 or later, the deployment target defaults
6638 # to the OS version, if on x86, and 10.4, the deployment
6639 # target defaults to 10.4. Don't you love it?
6640 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6641 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6642 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6643 10.[012]*)
6644 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6645 10.*)
6646 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6647 esac
6648 ;;
6649 esac
6650 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6651 _lt_dar_single_mod='$single_module'
6652 fi
6653 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6654 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6655 else
6656 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6657 fi
6658 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6659 _lt_dsymutil='~$DSYMUTIL $lib || :'
6660 else
6661 _lt_dsymutil=
6662 fi
6663 ;;
6664 esac
6665
6666 ac_ext=c
6667 ac_cpp='$CPP $CPPFLAGS'
6668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6672 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6673 # On Suns, sometimes $CPP names a directory.
6674 if test -n "$CPP" && test -d "$CPP"; then
6675 CPP=
6676 fi
6677 if test -z "$CPP"; then
6678 if ${ac_cv_prog_CPP+:} false; then :
6679 $as_echo_n "(cached) " >&6
6680 else
6681 # Double quotes because CPP needs to be expanded
6682 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6683 do
6684 ac_preproc_ok=false
6685 for ac_c_preproc_warn_flag in '' yes
6686 do
6687 # Use a header file that comes with gcc, so configuring glibc
6688 # with a fresh cross-compiler works.
6689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6690 # <limits.h> exists even on freestanding compilers.
6691 # On the NeXT, cc -E runs the code through the compiler's parser,
6692 # not just through cpp. "Syntax error" is here to catch this case.
6693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6694 /* end confdefs.h. */
6695 #ifdef __STDC__
6696 # include <limits.h>
6697 #else
6698 # include <assert.h>
6699 #endif
6700 Syntax error
6701 _ACEOF
6702 if ac_fn_c_try_cpp "$LINENO"; then :
6703
6704 else
6705 # Broken: fails on valid input.
6706 continue
6707 fi
6708 rm -f conftest.err conftest.i conftest.$ac_ext
6709
6710 # OK, works on sane cases. Now check whether nonexistent headers
6711 # can be detected and how.
6712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6713 /* end confdefs.h. */
6714 #include <ac_nonexistent.h>
6715 _ACEOF
6716 if ac_fn_c_try_cpp "$LINENO"; then :
6717 # Broken: success on invalid input.
6718 continue
6719 else
6720 # Passes both tests.
6721 ac_preproc_ok=:
6722 break
6723 fi
6724 rm -f conftest.err conftest.i conftest.$ac_ext
6725
6726 done
6727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6728 rm -f conftest.i conftest.err conftest.$ac_ext
6729 if $ac_preproc_ok; then :
6730 break
6731 fi
6732
6733 done
6734 ac_cv_prog_CPP=$CPP
6735
6736 fi
6737 CPP=$ac_cv_prog_CPP
6738 else
6739 ac_cv_prog_CPP=$CPP
6740 fi
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6742 $as_echo "$CPP" >&6; }
6743 ac_preproc_ok=false
6744 for ac_c_preproc_warn_flag in '' yes
6745 do
6746 # Use a header file that comes with gcc, so configuring glibc
6747 # with a fresh cross-compiler works.
6748 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6749 # <limits.h> exists even on freestanding compilers.
6750 # On the NeXT, cc -E runs the code through the compiler's parser,
6751 # not just through cpp. "Syntax error" is here to catch this case.
6752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6753 /* end confdefs.h. */
6754 #ifdef __STDC__
6755 # include <limits.h>
6756 #else
6757 # include <assert.h>
6758 #endif
6759 Syntax error
6760 _ACEOF
6761 if ac_fn_c_try_cpp "$LINENO"; then :
6762
6763 else
6764 # Broken: fails on valid input.
6765 continue
6766 fi
6767 rm -f conftest.err conftest.i conftest.$ac_ext
6768
6769 # OK, works on sane cases. Now check whether nonexistent headers
6770 # can be detected and how.
6771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6772 /* end confdefs.h. */
6773 #include <ac_nonexistent.h>
6774 _ACEOF
6775 if ac_fn_c_try_cpp "$LINENO"; then :
6776 # Broken: success on invalid input.
6777 continue
6778 else
6779 # Passes both tests.
6780 ac_preproc_ok=:
6781 break
6782 fi
6783 rm -f conftest.err conftest.i conftest.$ac_ext
6784
6785 done
6786 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6787 rm -f conftest.i conftest.err conftest.$ac_ext
6788 if $ac_preproc_ok; then :
6789
6790 else
6791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6793 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6794 See \`config.log' for more details" "$LINENO" 5; }
6795 fi
6796
6797 ac_ext=c
6798 ac_cpp='$CPP $CPPFLAGS'
6799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6802
6803
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6805 $as_echo_n "checking for ANSI C header files... " >&6; }
6806 if ${ac_cv_header_stdc+:} false; then :
6807 $as_echo_n "(cached) " >&6
6808 else
6809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6810 /* end confdefs.h. */
6811 #include <stdlib.h>
6812 #include <stdarg.h>
6813 #include <string.h>
6814 #include <float.h>
6815
6816 int
6817 main ()
6818 {
6819
6820 ;
6821 return 0;
6822 }
6823 _ACEOF
6824 if ac_fn_c_try_compile "$LINENO"; then :
6825 ac_cv_header_stdc=yes
6826 else
6827 ac_cv_header_stdc=no
6828 fi
6829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6830
6831 if test $ac_cv_header_stdc = yes; then
6832 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6834 /* end confdefs.h. */
6835 #include <string.h>
6836
6837 _ACEOF
6838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6839 $EGREP "memchr" >/dev/null 2>&1; then :
6840
6841 else
6842 ac_cv_header_stdc=no
6843 fi
6844 rm -f conftest*
6845
6846 fi
6847
6848 if test $ac_cv_header_stdc = yes; then
6849 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6851 /* end confdefs.h. */
6852 #include <stdlib.h>
6853
6854 _ACEOF
6855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6856 $EGREP "free" >/dev/null 2>&1; then :
6857
6858 else
6859 ac_cv_header_stdc=no
6860 fi
6861 rm -f conftest*
6862
6863 fi
6864
6865 if test $ac_cv_header_stdc = yes; then
6866 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6867 if test "$cross_compiling" = yes; then :
6868 :
6869 else
6870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6871 /* end confdefs.h. */
6872 #include <ctype.h>
6873 #include <stdlib.h>
6874 #if ((' ' & 0x0FF) == 0x020)
6875 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6876 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6877 #else
6878 # define ISLOWER(c) \
6879 (('a' <= (c) && (c) <= 'i') \
6880 || ('j' <= (c) && (c) <= 'r') \
6881 || ('s' <= (c) && (c) <= 'z'))
6882 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6883 #endif
6884
6885 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6886 int
6887 main ()
6888 {
6889 int i;
6890 for (i = 0; i < 256; i++)
6891 if (XOR (islower (i), ISLOWER (i))
6892 || toupper (i) != TOUPPER (i))
6893 return 2;
6894 return 0;
6895 }
6896 _ACEOF
6897 if ac_fn_c_try_run "$LINENO"; then :
6898
6899 else
6900 ac_cv_header_stdc=no
6901 fi
6902 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6903 conftest.$ac_objext conftest.beam conftest.$ac_ext
6904 fi
6905
6906 fi
6907 fi
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6909 $as_echo "$ac_cv_header_stdc" >&6; }
6910 if test $ac_cv_header_stdc = yes; then
6911
6912 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6913
6914 fi
6915
6916 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6917 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6918 inttypes.h stdint.h unistd.h
6919 do :
6920 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6921 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6922 "
6923 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6924 cat >>confdefs.h <<_ACEOF
6925 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6926 _ACEOF
6927
6928 fi
6929
6930 done
6931
6932
6933 for ac_header in dlfcn.h
6934 do :
6935 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6936 "
6937 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
6938 cat >>confdefs.h <<_ACEOF
6939 #define HAVE_DLFCN_H 1
6940 _ACEOF
6941
6942 fi
6943
6944 done
6945
6946
6947
6948
6949
6950 # Set options
6951
6952
6953
6954 enable_dlopen=no
6955
6956
6957 enable_win32_dll=no
6958
6959
6960 # Check whether --enable-shared was given.
6961 if test "${enable_shared+set}" = set; then :
6962 enableval=$enable_shared; p=${PACKAGE-default}
6963 case $enableval in
6964 yes) enable_shared=yes ;;
6965 no) enable_shared=no ;;
6966 *)
6967 enable_shared=no
6968 # Look at the argument we got. We use all the common list separators.
6969 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6970 for pkg in $enableval; do
6971 IFS="$lt_save_ifs"
6972 if test "X$pkg" = "X$p"; then
6973 enable_shared=yes
6974 fi
6975 done
6976 IFS="$lt_save_ifs"
6977 ;;
6978 esac
6979 else
6980 enable_shared=yes
6981 fi
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991 # Check whether --enable-static was given.
6992 if test "${enable_static+set}" = set; then :
6993 enableval=$enable_static; p=${PACKAGE-default}
6994 case $enableval in
6995 yes) enable_static=yes ;;
6996 no) enable_static=no ;;
6997 *)
6998 enable_static=no
6999 # Look at the argument we got. We use all the common list separators.
7000 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7001 for pkg in $enableval; do
7002 IFS="$lt_save_ifs"
7003 if test "X$pkg" = "X$p"; then
7004 enable_static=yes
7005 fi
7006 done
7007 IFS="$lt_save_ifs"
7008 ;;
7009 esac
7010 else
7011 enable_static=yes
7012 fi
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023 # Check whether --with-pic was given.
7024 if test "${with_pic+set}" = set; then :
7025 withval=$with_pic; pic_mode="$withval"
7026 else
7027 pic_mode=default
7028 fi
7029
7030
7031 test -z "$pic_mode" && pic_mode=default
7032
7033
7034
7035
7036
7037
7038
7039 # Check whether --enable-fast-install was given.
7040 if test "${enable_fast_install+set}" = set; then :
7041 enableval=$enable_fast_install; p=${PACKAGE-default}
7042 case $enableval in
7043 yes) enable_fast_install=yes ;;
7044 no) enable_fast_install=no ;;
7045 *)
7046 enable_fast_install=no
7047 # Look at the argument we got. We use all the common list separators.
7048 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7049 for pkg in $enableval; do
7050 IFS="$lt_save_ifs"
7051 if test "X$pkg" = "X$p"; then
7052 enable_fast_install=yes
7053 fi
7054 done
7055 IFS="$lt_save_ifs"
7056 ;;
7057 esac
7058 else
7059 enable_fast_install=yes
7060 fi
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072 # This can be used to rebuild libtool when needed
7073 LIBTOOL_DEPS="$ltmain"
7074
7075 # Always use our own libtool.
7076 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103 test -z "$LN_S" && LN_S="ln -s"
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118 if test -n "${ZSH_VERSION+set}" ; then
7119 setopt NO_GLOB_SUBST
7120 fi
7121
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7123 $as_echo_n "checking for objdir... " >&6; }
7124 if ${lt_cv_objdir+:} false; then :
7125 $as_echo_n "(cached) " >&6
7126 else
7127 rm -f .libs 2>/dev/null
7128 mkdir .libs 2>/dev/null
7129 if test -d .libs; then
7130 lt_cv_objdir=.libs
7131 else
7132 # MS-DOS does not allow filenames that begin with a dot.
7133 lt_cv_objdir=_libs
7134 fi
7135 rmdir .libs 2>/dev/null
7136 fi
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7138 $as_echo "$lt_cv_objdir" >&6; }
7139 objdir=$lt_cv_objdir
7140
7141
7142
7143
7144
7145 cat >>confdefs.h <<_ACEOF
7146 #define LT_OBJDIR "$lt_cv_objdir/"
7147 _ACEOF
7148
7149
7150
7151
7152 case $host_os in
7153 aix3*)
7154 # AIX sometimes has problems with the GCC collect2 program. For some
7155 # reason, if we set the COLLECT_NAMES environment variable, the problems
7156 # vanish in a puff of smoke.
7157 if test "X${COLLECT_NAMES+set}" != Xset; then
7158 COLLECT_NAMES=
7159 export COLLECT_NAMES
7160 fi
7161 ;;
7162 esac
7163
7164 # Global variables:
7165 ofile=libtool
7166 can_build_shared=yes
7167
7168 # All known linkers require a `.a' archive for static linking (except MSVC,
7169 # which needs '.lib').
7170 libext=a
7171
7172 with_gnu_ld="$lt_cv_prog_gnu_ld"
7173
7174 old_CC="$CC"
7175 old_CFLAGS="$CFLAGS"
7176
7177 # Set sane defaults for various variables
7178 test -z "$CC" && CC=cc
7179 test -z "$LTCC" && LTCC=$CC
7180 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7181 test -z "$LD" && LD=ld
7182 test -z "$ac_objext" && ac_objext=o
7183
7184 for cc_temp in $compiler""; do
7185 case $cc_temp in
7186 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7187 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7188 \-*) ;;
7189 *) break;;
7190 esac
7191 done
7192 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7193
7194
7195 # Only perform the check for file, if the check method requires it
7196 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7197 case $deplibs_check_method in
7198 file_magic*)
7199 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7201 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7202 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7203 $as_echo_n "(cached) " >&6
7204 else
7205 case $MAGIC_CMD in
7206 [\\/*] | ?:[\\/]*)
7207 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7208 ;;
7209 *)
7210 lt_save_MAGIC_CMD="$MAGIC_CMD"
7211 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7212 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7213 for ac_dir in $ac_dummy; do
7214 IFS="$lt_save_ifs"
7215 test -z "$ac_dir" && ac_dir=.
7216 if test -f $ac_dir/${ac_tool_prefix}file; then
7217 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7218 if test -n "$file_magic_test_file"; then
7219 case $deplibs_check_method in
7220 "file_magic "*)
7221 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7222 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7223 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7224 $EGREP "$file_magic_regex" > /dev/null; then
7225 :
7226 else
7227 cat <<_LT_EOF 1>&2
7228
7229 *** Warning: the command libtool uses to detect shared libraries,
7230 *** $file_magic_cmd, produces output that libtool cannot recognize.
7231 *** The result is that libtool may fail to recognize shared libraries
7232 *** as such. This will affect the creation of libtool libraries that
7233 *** depend on shared libraries, but programs linked with such libtool
7234 *** libraries will work regardless of this problem. Nevertheless, you
7235 *** may want to report the problem to your system manager and/or to
7236 *** bug-libtool@gnu.org
7237
7238 _LT_EOF
7239 fi ;;
7240 esac
7241 fi
7242 break
7243 fi
7244 done
7245 IFS="$lt_save_ifs"
7246 MAGIC_CMD="$lt_save_MAGIC_CMD"
7247 ;;
7248 esac
7249 fi
7250
7251 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7252 if test -n "$MAGIC_CMD"; then
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7254 $as_echo "$MAGIC_CMD" >&6; }
7255 else
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7257 $as_echo "no" >&6; }
7258 fi
7259
7260
7261
7262
7263
7264 if test -z "$lt_cv_path_MAGIC_CMD"; then
7265 if test -n "$ac_tool_prefix"; then
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7267 $as_echo_n "checking for file... " >&6; }
7268 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7269 $as_echo_n "(cached) " >&6
7270 else
7271 case $MAGIC_CMD in
7272 [\\/*] | ?:[\\/]*)
7273 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7274 ;;
7275 *)
7276 lt_save_MAGIC_CMD="$MAGIC_CMD"
7277 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7278 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7279 for ac_dir in $ac_dummy; do
7280 IFS="$lt_save_ifs"
7281 test -z "$ac_dir" && ac_dir=.
7282 if test -f $ac_dir/file; then
7283 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7284 if test -n "$file_magic_test_file"; then
7285 case $deplibs_check_method in
7286 "file_magic "*)
7287 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7288 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7289 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7290 $EGREP "$file_magic_regex" > /dev/null; then
7291 :
7292 else
7293 cat <<_LT_EOF 1>&2
7294
7295 *** Warning: the command libtool uses to detect shared libraries,
7296 *** $file_magic_cmd, produces output that libtool cannot recognize.
7297 *** The result is that libtool may fail to recognize shared libraries
7298 *** as such. This will affect the creation of libtool libraries that
7299 *** depend on shared libraries, but programs linked with such libtool
7300 *** libraries will work regardless of this problem. Nevertheless, you
7301 *** may want to report the problem to your system manager and/or to
7302 *** bug-libtool@gnu.org
7303
7304 _LT_EOF
7305 fi ;;
7306 esac
7307 fi
7308 break
7309 fi
7310 done
7311 IFS="$lt_save_ifs"
7312 MAGIC_CMD="$lt_save_MAGIC_CMD"
7313 ;;
7314 esac
7315 fi
7316
7317 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7318 if test -n "$MAGIC_CMD"; then
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7320 $as_echo "$MAGIC_CMD" >&6; }
7321 else
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323 $as_echo "no" >&6; }
7324 fi
7325
7326
7327 else
7328 MAGIC_CMD=:
7329 fi
7330 fi
7331
7332 fi
7333 ;;
7334 esac
7335
7336 # Use C for the default configuration in the libtool script
7337
7338 lt_save_CC="$CC"
7339 ac_ext=c
7340 ac_cpp='$CPP $CPPFLAGS'
7341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7344
7345
7346 # Source file extension for C test sources.
7347 ac_ext=c
7348
7349 # Object file extension for compiled C test sources.
7350 objext=o
7351 objext=$objext
7352
7353 # Code to be used in simple compile tests
7354 lt_simple_compile_test_code="int some_variable = 0;"
7355
7356 # Code to be used in simple link tests
7357 lt_simple_link_test_code='int main(){return(0);}'
7358
7359
7360
7361
7362
7363
7364
7365 # If no C compiler was specified, use CC.
7366 LTCC=${LTCC-"$CC"}
7367
7368 # If no C compiler flags were specified, use CFLAGS.
7369 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7370
7371 # Allow CC to be a program name with arguments.
7372 compiler=$CC
7373
7374 # Save the default compiler, since it gets overwritten when the other
7375 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7376 compiler_DEFAULT=$CC
7377
7378 # save warnings/boilerplate of simple test code
7379 ac_outfile=conftest.$ac_objext
7380 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7381 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7382 _lt_compiler_boilerplate=`cat conftest.err`
7383 $RM conftest*
7384
7385 ac_outfile=conftest.$ac_objext
7386 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7387 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7388 _lt_linker_boilerplate=`cat conftest.err`
7389 $RM -r conftest*
7390
7391
7392 if test -n "$compiler"; then
7393
7394 lt_prog_compiler_no_builtin_flag=
7395
7396 if test "$GCC" = yes; then
7397 case $cc_basename in
7398 nvcc*)
7399 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7400 *)
7401 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7402 esac
7403
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7405 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7406 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7407 $as_echo_n "(cached) " >&6
7408 else
7409 lt_cv_prog_compiler_rtti_exceptions=no
7410 ac_outfile=conftest.$ac_objext
7411 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7412 lt_compiler_flag="-fno-rtti -fno-exceptions"
7413 # Insert the option either (1) after the last *FLAGS variable, or
7414 # (2) before a word containing "conftest.", or (3) at the end.
7415 # Note that $ac_compile itself does not contain backslashes and begins
7416 # with a dollar sign (not a hyphen), so the echo should work correctly.
7417 # The option is referenced via a variable to avoid confusing sed.
7418 lt_compile=`echo "$ac_compile" | $SED \
7419 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7420 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7421 -e 's:$: $lt_compiler_flag:'`
7422 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7423 (eval "$lt_compile" 2>conftest.err)
7424 ac_status=$?
7425 cat conftest.err >&5
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 if (exit $ac_status) && test -s "$ac_outfile"; then
7428 # The compiler can only warn and ignore the option if not recognized
7429 # So say no if there are warnings other than the usual output.
7430 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7431 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7432 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7433 lt_cv_prog_compiler_rtti_exceptions=yes
7434 fi
7435 fi
7436 $RM conftest*
7437
7438 fi
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7440 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7441
7442 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7443 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7444 else
7445 :
7446 fi
7447
7448 fi
7449
7450
7451
7452
7453
7454
7455 lt_prog_compiler_wl=
7456 lt_prog_compiler_pic=
7457 lt_prog_compiler_static=
7458
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7460 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7461
7462 if test "$GCC" = yes; then
7463 lt_prog_compiler_wl='-Wl,'
7464 lt_prog_compiler_static='-static'
7465
7466 case $host_os in
7467 aix*)
7468 # All AIX code is PIC.
7469 if test "$host_cpu" = ia64; then
7470 # AIX 5 now supports IA64 processor
7471 lt_prog_compiler_static='-Bstatic'
7472 fi
7473 ;;
7474
7475 amigaos*)
7476 case $host_cpu in
7477 powerpc)
7478 # see comment about AmigaOS4 .so support
7479 lt_prog_compiler_pic='-fPIC'
7480 ;;
7481 m68k)
7482 # FIXME: we need at least 68020 code to build shared libraries, but
7483 # adding the `-m68020' flag to GCC prevents building anything better,
7484 # like `-m68040'.
7485 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7486 ;;
7487 esac
7488 ;;
7489
7490 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7491 # PIC is the default for these OSes.
7492 ;;
7493
7494 mingw* | cygwin* | pw32* | os2* | cegcc*)
7495 # This hack is so that the source file can tell whether it is being
7496 # built for inclusion in a dll (and should export symbols for example).
7497 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7498 # (--disable-auto-import) libraries
7499 lt_prog_compiler_pic='-DDLL_EXPORT'
7500 ;;
7501
7502 darwin* | rhapsody*)
7503 # PIC is the default on this platform
7504 # Common symbols not allowed in MH_DYLIB files
7505 lt_prog_compiler_pic='-fno-common'
7506 ;;
7507
7508 haiku*)
7509 # PIC is the default for Haiku.
7510 # The "-static" flag exists, but is broken.
7511 lt_prog_compiler_static=
7512 ;;
7513
7514 hpux*)
7515 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7516 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7517 # sets the default TLS model and affects inlining.
7518 case $host_cpu in
7519 hppa*64*)
7520 # +Z the default
7521 ;;
7522 *)
7523 lt_prog_compiler_pic='-fPIC'
7524 ;;
7525 esac
7526 ;;
7527
7528 interix[3-9]*)
7529 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7530 # Instead, we relocate shared libraries at runtime.
7531 ;;
7532
7533 msdosdjgpp*)
7534 # Just because we use GCC doesn't mean we suddenly get shared libraries
7535 # on systems that don't support them.
7536 lt_prog_compiler_can_build_shared=no
7537 enable_shared=no
7538 ;;
7539
7540 *nto* | *qnx*)
7541 # QNX uses GNU C++, but need to define -shared option too, otherwise
7542 # it will coredump.
7543 lt_prog_compiler_pic='-fPIC -shared'
7544 ;;
7545
7546 sysv4*MP*)
7547 if test -d /usr/nec; then
7548 lt_prog_compiler_pic=-Kconform_pic
7549 fi
7550 ;;
7551
7552 *)
7553 lt_prog_compiler_pic='-fPIC'
7554 ;;
7555 esac
7556
7557 case $cc_basename in
7558 nvcc*) # Cuda Compiler Driver 2.2
7559 lt_prog_compiler_wl='-Xlinker '
7560 lt_prog_compiler_pic='-Xcompiler -fPIC'
7561 ;;
7562 esac
7563 else
7564 # PORTME Check for flag to pass linker flags through the system compiler.
7565 case $host_os in
7566 aix*)
7567 lt_prog_compiler_wl='-Wl,'
7568 if test "$host_cpu" = ia64; then
7569 # AIX 5 now supports IA64 processor
7570 lt_prog_compiler_static='-Bstatic'
7571 else
7572 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7573 fi
7574 ;;
7575
7576 mingw* | cygwin* | pw32* | os2* | cegcc*)
7577 # This hack is so that the source file can tell whether it is being
7578 # built for inclusion in a dll (and should export symbols for example).
7579 lt_prog_compiler_pic='-DDLL_EXPORT'
7580 ;;
7581
7582 hpux9* | hpux10* | hpux11*)
7583 lt_prog_compiler_wl='-Wl,'
7584 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7585 # not for PA HP-UX.
7586 case $host_cpu in
7587 hppa*64*|ia64*)
7588 # +Z the default
7589 ;;
7590 *)
7591 lt_prog_compiler_pic='+Z'
7592 ;;
7593 esac
7594 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7595 lt_prog_compiler_static='${wl}-a ${wl}archive'
7596 ;;
7597
7598 irix5* | irix6* | nonstopux*)
7599 lt_prog_compiler_wl='-Wl,'
7600 # PIC (with -KPIC) is the default.
7601 lt_prog_compiler_static='-non_shared'
7602 ;;
7603
7604 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7605 case $cc_basename in
7606 # old Intel for x86_64 which still supported -KPIC.
7607 ecc*)
7608 lt_prog_compiler_wl='-Wl,'
7609 lt_prog_compiler_pic='-KPIC'
7610 lt_prog_compiler_static='-static'
7611 ;;
7612 # icc used to be incompatible with GCC.
7613 # ICC 10 doesn't accept -KPIC any more.
7614 icc* | ifort*)
7615 lt_prog_compiler_wl='-Wl,'
7616 lt_prog_compiler_pic='-fPIC'
7617 lt_prog_compiler_static='-static'
7618 ;;
7619 # Lahey Fortran 8.1.
7620 lf95*)
7621 lt_prog_compiler_wl='-Wl,'
7622 lt_prog_compiler_pic='--shared'
7623 lt_prog_compiler_static='--static'
7624 ;;
7625 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7626 # Portland Group compilers (*not* the Pentium gcc compiler,
7627 # which looks to be a dead project)
7628 lt_prog_compiler_wl='-Wl,'
7629 lt_prog_compiler_pic='-fpic'
7630 lt_prog_compiler_static='-Bstatic'
7631 ;;
7632 ccc*)
7633 lt_prog_compiler_wl='-Wl,'
7634 # All Alpha code is PIC.
7635 lt_prog_compiler_static='-non_shared'
7636 ;;
7637 xl* | bgxl* | bgf* | mpixl*)
7638 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7639 lt_prog_compiler_wl='-Wl,'
7640 lt_prog_compiler_pic='-qpic'
7641 lt_prog_compiler_static='-qstaticlink'
7642 ;;
7643 *)
7644 case `$CC -V 2>&1 | sed 5q` in
7645 *Sun\ F* | *Sun*Fortran*)
7646 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7647 lt_prog_compiler_pic='-KPIC'
7648 lt_prog_compiler_static='-Bstatic'
7649 lt_prog_compiler_wl=''
7650 ;;
7651 *Sun\ C*)
7652 # Sun C 5.9
7653 lt_prog_compiler_pic='-KPIC'
7654 lt_prog_compiler_static='-Bstatic'
7655 lt_prog_compiler_wl='-Wl,'
7656 ;;
7657 esac
7658 ;;
7659 esac
7660 ;;
7661
7662 newsos6)
7663 lt_prog_compiler_pic='-KPIC'
7664 lt_prog_compiler_static='-Bstatic'
7665 ;;
7666
7667 *nto* | *qnx*)
7668 # QNX uses GNU C++, but need to define -shared option too, otherwise
7669 # it will coredump.
7670 lt_prog_compiler_pic='-fPIC -shared'
7671 ;;
7672
7673 osf3* | osf4* | osf5*)
7674 lt_prog_compiler_wl='-Wl,'
7675 # All OSF/1 code is PIC.
7676 lt_prog_compiler_static='-non_shared'
7677 ;;
7678
7679 rdos*)
7680 lt_prog_compiler_static='-non_shared'
7681 ;;
7682
7683 solaris*)
7684 lt_prog_compiler_pic='-KPIC'
7685 lt_prog_compiler_static='-Bstatic'
7686 case $cc_basename in
7687 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7688 lt_prog_compiler_wl='-Qoption ld ';;
7689 *)
7690 lt_prog_compiler_wl='-Wl,';;
7691 esac
7692 ;;
7693
7694 sunos4*)
7695 lt_prog_compiler_wl='-Qoption ld '
7696 lt_prog_compiler_pic='-PIC'
7697 lt_prog_compiler_static='-Bstatic'
7698 ;;
7699
7700 sysv4 | sysv4.2uw2* | sysv4.3*)
7701 lt_prog_compiler_wl='-Wl,'
7702 lt_prog_compiler_pic='-KPIC'
7703 lt_prog_compiler_static='-Bstatic'
7704 ;;
7705
7706 sysv4*MP*)
7707 if test -d /usr/nec ;then
7708 lt_prog_compiler_pic='-Kconform_pic'
7709 lt_prog_compiler_static='-Bstatic'
7710 fi
7711 ;;
7712
7713 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7714 lt_prog_compiler_wl='-Wl,'
7715 lt_prog_compiler_pic='-KPIC'
7716 lt_prog_compiler_static='-Bstatic'
7717 ;;
7718
7719 unicos*)
7720 lt_prog_compiler_wl='-Wl,'
7721 lt_prog_compiler_can_build_shared=no
7722 ;;
7723
7724 uts4*)
7725 lt_prog_compiler_pic='-pic'
7726 lt_prog_compiler_static='-Bstatic'
7727 ;;
7728
7729 *)
7730 lt_prog_compiler_can_build_shared=no
7731 ;;
7732 esac
7733 fi
7734
7735 case $host_os in
7736 # For platforms which do not support PIC, -DPIC is meaningless:
7737 *djgpp*)
7738 lt_prog_compiler_pic=
7739 ;;
7740 *)
7741 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7742 ;;
7743 esac
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7745 $as_echo "$lt_prog_compiler_pic" >&6; }
7746
7747
7748
7749
7750
7751
7752 #
7753 # Check to make sure the PIC flag actually works.
7754 #
7755 if test -n "$lt_prog_compiler_pic"; then
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7757 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7758 if ${lt_cv_prog_compiler_pic_works+:} false; then :
7759 $as_echo_n "(cached) " >&6
7760 else
7761 lt_cv_prog_compiler_pic_works=no
7762 ac_outfile=conftest.$ac_objext
7763 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7764 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7765 # Insert the option either (1) after the last *FLAGS variable, or
7766 # (2) before a word containing "conftest.", or (3) at the end.
7767 # Note that $ac_compile itself does not contain backslashes and begins
7768 # with a dollar sign (not a hyphen), so the echo should work correctly.
7769 # The option is referenced via a variable to avoid confusing sed.
7770 lt_compile=`echo "$ac_compile" | $SED \
7771 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7772 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7773 -e 's:$: $lt_compiler_flag:'`
7774 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7775 (eval "$lt_compile" 2>conftest.err)
7776 ac_status=$?
7777 cat conftest.err >&5
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 if (exit $ac_status) && test -s "$ac_outfile"; then
7780 # The compiler can only warn and ignore the option if not recognized
7781 # So say no if there are warnings other than the usual output.
7782 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7783 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7784 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7785 lt_cv_prog_compiler_pic_works=yes
7786 fi
7787 fi
7788 $RM conftest*
7789
7790 fi
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7792 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7793
7794 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7795 case $lt_prog_compiler_pic in
7796 "" | " "*) ;;
7797 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7798 esac
7799 else
7800 lt_prog_compiler_pic=
7801 lt_prog_compiler_can_build_shared=no
7802 fi
7803
7804 fi
7805
7806
7807
7808
7809
7810
7811 #
7812 # Check to make sure the static flag actually works.
7813 #
7814 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7816 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7817 if ${lt_cv_prog_compiler_static_works+:} false; then :
7818 $as_echo_n "(cached) " >&6
7819 else
7820 lt_cv_prog_compiler_static_works=no
7821 save_LDFLAGS="$LDFLAGS"
7822 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7823 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7824 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7825 # The linker can only warn and ignore the option if not recognized
7826 # So say no if there are warnings
7827 if test -s conftest.err; then
7828 # Append any errors to the config.log.
7829 cat conftest.err 1>&5
7830 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7831 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7832 if diff conftest.exp conftest.er2 >/dev/null; then
7833 lt_cv_prog_compiler_static_works=yes
7834 fi
7835 else
7836 lt_cv_prog_compiler_static_works=yes
7837 fi
7838 fi
7839 $RM -r conftest*
7840 LDFLAGS="$save_LDFLAGS"
7841
7842 fi
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7844 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7845
7846 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7847 :
7848 else
7849 lt_prog_compiler_static=
7850 fi
7851
7852
7853
7854
7855
7856
7857
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7859 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7860 if ${lt_cv_prog_compiler_c_o+:} false; then :
7861 $as_echo_n "(cached) " >&6
7862 else
7863 lt_cv_prog_compiler_c_o=no
7864 $RM -r conftest 2>/dev/null
7865 mkdir conftest
7866 cd conftest
7867 mkdir out
7868 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7869
7870 lt_compiler_flag="-o out/conftest2.$ac_objext"
7871 # Insert the option either (1) after the last *FLAGS variable, or
7872 # (2) before a word containing "conftest.", or (3) at the end.
7873 # Note that $ac_compile itself does not contain backslashes and begins
7874 # with a dollar sign (not a hyphen), so the echo should work correctly.
7875 lt_compile=`echo "$ac_compile" | $SED \
7876 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7877 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7878 -e 's:$: $lt_compiler_flag:'`
7879 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7880 (eval "$lt_compile" 2>out/conftest.err)
7881 ac_status=$?
7882 cat out/conftest.err >&5
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7885 then
7886 # The compiler can only warn and ignore the option if not recognized
7887 # So say no if there are warnings
7888 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7889 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7890 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7891 lt_cv_prog_compiler_c_o=yes
7892 fi
7893 fi
7894 chmod u+w . 2>&5
7895 $RM conftest*
7896 # SGI C++ compiler will create directory out/ii_files/ for
7897 # template instantiation
7898 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7899 $RM out/* && rmdir out
7900 cd ..
7901 $RM -r conftest
7902 $RM conftest*
7903
7904 fi
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7906 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7907
7908
7909
7910
7911
7912
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7914 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7915 if ${lt_cv_prog_compiler_c_o+:} false; then :
7916 $as_echo_n "(cached) " >&6
7917 else
7918 lt_cv_prog_compiler_c_o=no
7919 $RM -r conftest 2>/dev/null
7920 mkdir conftest
7921 cd conftest
7922 mkdir out
7923 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7924
7925 lt_compiler_flag="-o out/conftest2.$ac_objext"
7926 # Insert the option either (1) after the last *FLAGS variable, or
7927 # (2) before a word containing "conftest.", or (3) at the end.
7928 # Note that $ac_compile itself does not contain backslashes and begins
7929 # with a dollar sign (not a hyphen), so the echo should work correctly.
7930 lt_compile=`echo "$ac_compile" | $SED \
7931 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7932 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7933 -e 's:$: $lt_compiler_flag:'`
7934 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7935 (eval "$lt_compile" 2>out/conftest.err)
7936 ac_status=$?
7937 cat out/conftest.err >&5
7938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7939 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7940 then
7941 # The compiler can only warn and ignore the option if not recognized
7942 # So say no if there are warnings
7943 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7944 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7945 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7946 lt_cv_prog_compiler_c_o=yes
7947 fi
7948 fi
7949 chmod u+w . 2>&5
7950 $RM conftest*
7951 # SGI C++ compiler will create directory out/ii_files/ for
7952 # template instantiation
7953 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7954 $RM out/* && rmdir out
7955 cd ..
7956 $RM -r conftest
7957 $RM conftest*
7958
7959 fi
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7961 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7962
7963
7964
7965
7966 hard_links="nottested"
7967 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7968 # do not overwrite the value of need_locks provided by the user
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7970 $as_echo_n "checking if we can lock with hard links... " >&6; }
7971 hard_links=yes
7972 $RM conftest*
7973 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7974 touch conftest.a
7975 ln conftest.a conftest.b 2>&5 || hard_links=no
7976 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7978 $as_echo "$hard_links" >&6; }
7979 if test "$hard_links" = no; then
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7981 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7982 need_locks=warn
7983 fi
7984 else
7985 need_locks=no
7986 fi
7987
7988
7989
7990
7991
7992
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7994 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7995
7996 runpath_var=
7997 allow_undefined_flag=
7998 always_export_symbols=no
7999 archive_cmds=
8000 archive_expsym_cmds=
8001 compiler_needs_object=no
8002 enable_shared_with_static_runtimes=no
8003 export_dynamic_flag_spec=
8004 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8005 hardcode_automatic=no
8006 hardcode_direct=no
8007 hardcode_direct_absolute=no
8008 hardcode_libdir_flag_spec=
8009 hardcode_libdir_flag_spec_ld=
8010 hardcode_libdir_separator=
8011 hardcode_minus_L=no
8012 hardcode_shlibpath_var=unsupported
8013 inherit_rpath=no
8014 link_all_deplibs=unknown
8015 module_cmds=
8016 module_expsym_cmds=
8017 old_archive_from_new_cmds=
8018 old_archive_from_expsyms_cmds=
8019 thread_safe_flag_spec=
8020 whole_archive_flag_spec=
8021 # include_expsyms should be a list of space-separated symbols to be *always*
8022 # included in the symbol list
8023 include_expsyms=
8024 # exclude_expsyms can be an extended regexp of symbols to exclude
8025 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8026 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8027 # as well as any symbol that contains `d'.
8028 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8029 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8030 # platforms (ab)use it in PIC code, but their linkers get confused if
8031 # the symbol is explicitly referenced. Since portable code cannot
8032 # rely on this symbol name, it's probably fine to never include it in
8033 # preloaded symbol tables.
8034 # Exclude shared library initialization/finalization symbols.
8035 extract_expsyms_cmds=
8036
8037 case $host_os in
8038 cygwin* | mingw* | pw32* | cegcc*)
8039 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8040 # When not using gcc, we currently assume that we are using
8041 # Microsoft Visual C++.
8042 if test "$GCC" != yes; then
8043 with_gnu_ld=no
8044 fi
8045 ;;
8046 interix*)
8047 # we just hope/assume this is gcc and not c89 (= MSVC++)
8048 with_gnu_ld=yes
8049 ;;
8050 openbsd*)
8051 with_gnu_ld=no
8052 ;;
8053 esac
8054
8055 ld_shlibs=yes
8056
8057 # On some targets, GNU ld is compatible enough with the native linker
8058 # that we're better off using the native interface for both.
8059 lt_use_gnu_ld_interface=no
8060 if test "$with_gnu_ld" = yes; then
8061 case $host_os in
8062 aix*)
8063 # The AIX port of GNU ld has always aspired to compatibility
8064 # with the native linker. However, as the warning in the GNU ld
8065 # block says, versions before 2.19.5* couldn't really create working
8066 # shared libraries, regardless of the interface used.
8067 case `$LD -v 2>&1` in
8068 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8069 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8070 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8071 *)
8072 lt_use_gnu_ld_interface=yes
8073 ;;
8074 esac
8075 ;;
8076 *)
8077 lt_use_gnu_ld_interface=yes
8078 ;;
8079 esac
8080 fi
8081
8082 if test "$lt_use_gnu_ld_interface" = yes; then
8083 # If archive_cmds runs LD, not CC, wlarc should be empty
8084 wlarc='${wl}'
8085
8086 # Set some defaults for GNU ld with shared library support. These
8087 # are reset later if shared libraries are not supported. Putting them
8088 # here allows them to be overridden if necessary.
8089 runpath_var=LD_RUN_PATH
8090 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8091 export_dynamic_flag_spec='${wl}--export-dynamic'
8092 # ancient GNU ld didn't support --whole-archive et. al.
8093 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8094 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8095 else
8096 whole_archive_flag_spec=
8097 fi
8098 supports_anon_versioning=no
8099 case `$LD -v 2>&1` in
8100 *GNU\ gold*) supports_anon_versioning=yes ;;
8101 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8102 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8103 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8104 *\ 2.11.*) ;; # other 2.11 versions
8105 *) supports_anon_versioning=yes ;;
8106 esac
8107
8108 # See if GNU ld supports shared libraries.
8109 case $host_os in
8110 aix[3-9]*)
8111 # On AIX/PPC, the GNU linker is very broken
8112 if test "$host_cpu" != ia64; then
8113 ld_shlibs=no
8114 cat <<_LT_EOF 1>&2
8115
8116 *** Warning: the GNU linker, at least up to release 2.19, is reported
8117 *** to be unable to reliably create shared libraries on AIX.
8118 *** Therefore, libtool is disabling shared libraries support. If you
8119 *** really care for shared libraries, you may want to install binutils
8120 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8121 *** You will then need to restart the configuration process.
8122
8123 _LT_EOF
8124 fi
8125 ;;
8126
8127 amigaos*)
8128 case $host_cpu in
8129 powerpc)
8130 # see comment about AmigaOS4 .so support
8131 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8132 archive_expsym_cmds=''
8133 ;;
8134 m68k)
8135 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)'
8136 hardcode_libdir_flag_spec='-L$libdir'
8137 hardcode_minus_L=yes
8138 ;;
8139 esac
8140 ;;
8141
8142 beos*)
8143 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8144 allow_undefined_flag=unsupported
8145 # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
8146 # support --undefined. This deserves some investigation. FIXME
8147 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8148 else
8149 ld_shlibs=no
8150 fi
8151 ;;
8152
8153 cygwin* | mingw* | pw32* | cegcc*)
8154 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8155 # as there is no search path for DLLs.
8156 hardcode_libdir_flag_spec='-L$libdir'
8157 export_dynamic_flag_spec='${wl}--export-all-symbols'
8158 allow_undefined_flag=unsupported
8159 always_export_symbols=no
8160 enable_shared_with_static_runtimes=yes
8161 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8162
8163 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8164 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8165 # If the export-symbols file already is a .def file (1st line
8166 # is EXPORTS), use it as is; otherwise, prepend...
8167 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8168 cp $export_symbols $output_objdir/$soname.def;
8169 else
8170 echo EXPORTS > $output_objdir/$soname.def;
8171 cat $export_symbols >> $output_objdir/$soname.def;
8172 fi~
8173 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8174 else
8175 ld_shlibs=no
8176 fi
8177 ;;
8178
8179 haiku*)
8180 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8181 link_all_deplibs=yes
8182 ;;
8183
8184 interix[3-9]*)
8185 hardcode_direct=no
8186 hardcode_shlibpath_var=no
8187 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8188 export_dynamic_flag_spec='${wl}-E'
8189 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8190 # Instead, shared libraries are loaded at an image base (0x10000000 by
8191 # default) and relocated if they conflict, which is a slow very memory
8192 # consuming and fragmenting process. To avoid this, we pick a random,
8193 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8194 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8195 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8196 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'
8197 ;;
8198
8199 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8200 tmp_diet=no
8201 if test "$host_os" = linux-dietlibc; then
8202 case $cc_basename in
8203 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8204 esac
8205 fi
8206 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8207 && test "$tmp_diet" = no
8208 then
8209 tmp_addflag=
8210 tmp_sharedflag='-shared'
8211 case $cc_basename,$host_cpu in
8212 pgcc*) # Portland Group C compiler
8213 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8214 tmp_addflag=' $pic_flag'
8215 ;;
8216 pgf77* | pgf90* | pgf95* | pgfortran*)
8217 # Portland Group f77 and f90 compilers
8218 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8219 tmp_addflag=' $pic_flag -Mnomain' ;;
8220 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8221 tmp_addflag=' -i_dynamic' ;;
8222 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8223 tmp_addflag=' -i_dynamic -nofor_main' ;;
8224 ifc* | ifort*) # Intel Fortran compiler
8225 tmp_addflag=' -nofor_main' ;;
8226 lf95*) # Lahey Fortran 8.1
8227 whole_archive_flag_spec=
8228 tmp_sharedflag='--shared' ;;
8229 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8230 tmp_sharedflag='-qmkshrobj'
8231 tmp_addflag= ;;
8232 nvcc*) # Cuda Compiler Driver 2.2
8233 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8234 compiler_needs_object=yes
8235 ;;
8236 esac
8237 case `$CC -V 2>&1 | sed 5q` in
8238 *Sun\ C*) # Sun C 5.9
8239 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8240 compiler_needs_object=yes
8241 tmp_sharedflag='-G' ;;
8242 *Sun\ F*) # Sun Fortran 8.3
8243 tmp_sharedflag='-G' ;;
8244 esac
8245 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8246
8247 if test "x$supports_anon_versioning" = xyes; then
8248 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8249 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8250 echo "local: *; };" >> $output_objdir/$libname.ver~
8251 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8252 fi
8253
8254 case $cc_basename in
8255 xlf* | bgf* | bgxlf* | mpixlf*)
8256 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8257 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8258 hardcode_libdir_flag_spec=
8259 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8260 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8261 if test "x$supports_anon_versioning" = xyes; then
8262 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8263 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8264 echo "local: *; };" >> $output_objdir/$libname.ver~
8265 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8266 fi
8267 ;;
8268 esac
8269 else
8270 ld_shlibs=no
8271 fi
8272 ;;
8273
8274 netbsd*)
8275 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8276 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8277 wlarc=
8278 else
8279 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8280 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8281 fi
8282 ;;
8283
8284 solaris*)
8285 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8286 ld_shlibs=no
8287 cat <<_LT_EOF 1>&2
8288
8289 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8290 *** create shared libraries on Solaris systems. Therefore, libtool
8291 *** is disabling shared libraries support. We urge you to upgrade GNU
8292 *** binutils to release 2.9.1 or newer. Another option is to modify
8293 *** your PATH or compiler configuration so that the native linker is
8294 *** used, and then restart.
8295
8296 _LT_EOF
8297 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8298 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8299 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8300 else
8301 ld_shlibs=no
8302 fi
8303 ;;
8304
8305 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8306 case `$LD -v 2>&1` in
8307 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8308 ld_shlibs=no
8309 cat <<_LT_EOF 1>&2
8310
8311 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8312 *** reliably create shared libraries on SCO systems. Therefore, libtool
8313 *** is disabling shared libraries support. We urge you to upgrade GNU
8314 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8315 *** your PATH or compiler configuration so that the native linker is
8316 *** used, and then restart.
8317
8318 _LT_EOF
8319 ;;
8320 *)
8321 # For security reasons, it is highly recommended that you always
8322 # use absolute paths for naming shared libraries, and exclude the
8323 # DT_RUNPATH tag from executables and libraries. But doing so
8324 # requires that you compile everything twice, which is a pain.
8325 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8326 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8327 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8328 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8329 else
8330 ld_shlibs=no
8331 fi
8332 ;;
8333 esac
8334 ;;
8335
8336 sunos4*)
8337 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8338 wlarc=
8339 hardcode_direct=yes
8340 hardcode_shlibpath_var=no
8341 ;;
8342
8343 *)
8344 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8345 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8346 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8347 else
8348 ld_shlibs=no
8349 fi
8350 ;;
8351 esac
8352
8353 if test "$ld_shlibs" = no; then
8354 runpath_var=
8355 hardcode_libdir_flag_spec=
8356 export_dynamic_flag_spec=
8357 whole_archive_flag_spec=
8358 fi
8359 else
8360 # PORTME fill in a description of your system's linker (not GNU ld)
8361 case $host_os in
8362 aix3*)
8363 allow_undefined_flag=unsupported
8364 always_export_symbols=yes
8365 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'
8366 # Note: this linker hardcodes the directories in LIBPATH if there
8367 # are no directories specified by -L.
8368 hardcode_minus_L=yes
8369 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8370 # Neither direct hardcoding nor static linking is supported with a
8371 # broken collect2.
8372 hardcode_direct=unsupported
8373 fi
8374 ;;
8375
8376 aix[4-9]*)
8377 if test "$host_cpu" = ia64; then
8378 # On IA64, the linker does run time linking by default, so we don't
8379 # have to do anything special.
8380 aix_use_runtimelinking=no
8381 exp_sym_flag='-Bexport'
8382 no_entry_flag=""
8383 else
8384 # If we're using GNU nm, then we don't want the "-C" option.
8385 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8386 # Also, AIX nm treats weak defined symbols like other global
8387 # defined symbols, whereas GNU nm marks them as "W".
8388 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8389 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8390 else
8391 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'
8392 fi
8393 aix_use_runtimelinking=no
8394
8395 # Test if we are trying to use run time linking or normal
8396 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8397 # need to do runtime linking.
8398 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8399 for ld_flag in $LDFLAGS; do
8400 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8401 aix_use_runtimelinking=yes
8402 break
8403 fi
8404 done
8405 ;;
8406 esac
8407
8408 exp_sym_flag='-bexport'
8409 no_entry_flag='-bnoentry'
8410 fi
8411
8412 # When large executables or shared objects are built, AIX ld can
8413 # have problems creating the table of contents. If linking a library
8414 # or program results in "error TOC overflow" add -mminimal-toc to
8415 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8416 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8417
8418 archive_cmds=''
8419 hardcode_direct=yes
8420 hardcode_direct_absolute=yes
8421 hardcode_libdir_separator=':'
8422 link_all_deplibs=yes
8423 file_list_spec='${wl}-f,'
8424
8425 if test "$GCC" = yes; then
8426 case $host_os in aix4.[012]|aix4.[012].*)
8427 # We only want to do this on AIX 4.2 and lower, the check
8428 # below for broken collect2 doesn't work under 4.3+
8429 collect2name=`${CC} -print-prog-name=collect2`
8430 if test -f "$collect2name" &&
8431 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8432 then
8433 # We have reworked collect2
8434 :
8435 else
8436 # We have old collect2
8437 hardcode_direct=unsupported
8438 # It fails to find uninstalled libraries when the uninstalled
8439 # path is not listed in the libpath. Setting hardcode_minus_L
8440 # to unsupported forces relinking
8441 hardcode_minus_L=yes
8442 hardcode_libdir_flag_spec='-L$libdir'
8443 hardcode_libdir_separator=
8444 fi
8445 ;;
8446 esac
8447 shared_flag='-shared'
8448 if test "$aix_use_runtimelinking" = yes; then
8449 shared_flag="$shared_flag "'${wl}-G'
8450 fi
8451 else
8452 # not using gcc
8453 if test "$host_cpu" = ia64; then
8454 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8455 # chokes on -Wl,-G. The following line is correct:
8456 shared_flag='-G'
8457 else
8458 if test "$aix_use_runtimelinking" = yes; then
8459 shared_flag='${wl}-G'
8460 else
8461 shared_flag='${wl}-bM:SRE'
8462 fi
8463 fi
8464 fi
8465
8466 export_dynamic_flag_spec='${wl}-bexpall'
8467 # It seems that -bexpall does not export symbols beginning with
8468 # underscore (_), so it is better to generate a list of symbols to export.
8469 always_export_symbols=yes
8470 if test "$aix_use_runtimelinking" = yes; then
8471 # Warning - without using the other runtime loading flags (-brtl),
8472 # -berok will link without error, but may produce a broken library.
8473 allow_undefined_flag='-berok'
8474 # Determine the default libpath from the value encoded in an
8475 # empty executable.
8476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8478
8479 int
8480 main ()
8481 {
8482
8483 ;
8484 return 0;
8485 }
8486 _ACEOF
8487 if ac_fn_c_try_link "$LINENO"; then :
8488
8489 lt_aix_libpath_sed='
8490 /Import File Strings/,/^$/ {
8491 /^0/ {
8492 s/^0 *\(.*\)$/\1/
8493 p
8494 }
8495 }'
8496 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8497 # Check for a 64-bit object if we didn't find anything.
8498 if test -z "$aix_libpath"; then
8499 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8500 fi
8501 fi
8502 rm -f core conftest.err conftest.$ac_objext \
8503 conftest$ac_exeext conftest.$ac_ext
8504 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8505
8506 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8507 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8508 else
8509 if test "$host_cpu" = ia64; then
8510 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8511 allow_undefined_flag="-z nodefs"
8512 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"
8513 else
8514 # Determine the default libpath from the value encoded in an
8515 # empty executable.
8516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8517 /* end confdefs.h. */
8518
8519 int
8520 main ()
8521 {
8522
8523 ;
8524 return 0;
8525 }
8526 _ACEOF
8527 if ac_fn_c_try_link "$LINENO"; then :
8528
8529 lt_aix_libpath_sed='
8530 /Import File Strings/,/^$/ {
8531 /^0/ {
8532 s/^0 *\(.*\)$/\1/
8533 p
8534 }
8535 }'
8536 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8537 # Check for a 64-bit object if we didn't find anything.
8538 if test -z "$aix_libpath"; then
8539 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8540 fi
8541 fi
8542 rm -f core conftest.err conftest.$ac_objext \
8543 conftest$ac_exeext conftest.$ac_ext
8544 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8545
8546 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8547 # Warning - without using the other run time loading flags,
8548 # -berok will link without error, but may produce a broken library.
8549 no_undefined_flag=' ${wl}-bernotok'
8550 allow_undefined_flag=' ${wl}-berok'
8551 if test "$with_gnu_ld" = yes; then
8552 # We only use this code for GNU lds that support --whole-archive.
8553 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8554 else
8555 # Exported symbols can be pulled into shared objects from archives
8556 whole_archive_flag_spec='$convenience'
8557 fi
8558 archive_cmds_need_lc=yes
8559 # This is similar to how AIX traditionally builds its shared libraries.
8560 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'
8561 fi
8562 fi
8563 ;;
8564
8565 amigaos*)
8566 case $host_cpu in
8567 powerpc)
8568 # see comment about AmigaOS4 .so support
8569 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8570 archive_expsym_cmds=''
8571 ;;
8572 m68k)
8573 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)'
8574 hardcode_libdir_flag_spec='-L$libdir'
8575 hardcode_minus_L=yes
8576 ;;
8577 esac
8578 ;;
8579
8580 bsdi[45]*)
8581 export_dynamic_flag_spec=-rdynamic
8582 ;;
8583
8584 cygwin* | mingw* | pw32* | cegcc*)
8585 # When not using gcc, we currently assume that we are using
8586 # Microsoft Visual C++.
8587 # hardcode_libdir_flag_spec is actually meaningless, as there is
8588 # no search path for DLLs.
8589 hardcode_libdir_flag_spec=' '
8590 allow_undefined_flag=unsupported
8591 # Tell ltmain to make .lib files, not .a files.
8592 libext=lib
8593 # Tell ltmain to make .dll files, not .so files.
8594 shrext_cmds=".dll"
8595 # FIXME: Setting linknames here is a bad hack.
8596 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8597 # The linker will automatically build a .lib file if we build a DLL.
8598 old_archive_from_new_cmds='true'
8599 # FIXME: Should let the user specify the lib program.
8600 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8601 fix_srcfile_path='`cygpath -w "$srcfile"`'
8602 enable_shared_with_static_runtimes=yes
8603 ;;
8604
8605 darwin* | rhapsody*)
8606
8607
8608 archive_cmds_need_lc=no
8609 hardcode_direct=no
8610 hardcode_automatic=yes
8611 hardcode_shlibpath_var=unsupported
8612 if test "$lt_cv_ld_force_load" = "yes"; then
8613 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
8614 else
8615 whole_archive_flag_spec=''
8616 fi
8617 link_all_deplibs=yes
8618 allow_undefined_flag="$_lt_dar_allow_undefined"
8619 case $cc_basename in
8620 ifort*) _lt_dar_can_shared=yes ;;
8621 *) _lt_dar_can_shared=$GCC ;;
8622 esac
8623 if test "$_lt_dar_can_shared" = "yes"; then
8624 output_verbose_link_cmd=func_echo_all
8625 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8626 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8627 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}"
8628 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}"
8629
8630 else
8631 ld_shlibs=no
8632 fi
8633
8634 ;;
8635
8636 dgux*)
8637 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8638 hardcode_libdir_flag_spec='-L$libdir'
8639 hardcode_shlibpath_var=no
8640 ;;
8641
8642 freebsd1*)
8643 ld_shlibs=no
8644 ;;
8645
8646 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8647 # support. Future versions do this automatically, but an explicit c++rt0.o
8648 # does not break anything, and helps significantly (at the cost of a little
8649 # extra space).
8650 freebsd2.2*)
8651 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8652 hardcode_libdir_flag_spec='-R$libdir'
8653 hardcode_direct=yes
8654 hardcode_shlibpath_var=no
8655 ;;
8656
8657 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8658 freebsd2*)
8659 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8660 hardcode_direct=yes
8661 hardcode_minus_L=yes
8662 hardcode_shlibpath_var=no
8663 ;;
8664
8665 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8666 freebsd* | dragonfly*)
8667 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8668 hardcode_libdir_flag_spec='-R$libdir'
8669 hardcode_direct=yes
8670 hardcode_shlibpath_var=no
8671 ;;
8672
8673 hpux9*)
8674 if test "$GCC" = yes; then
8675 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'
8676 else
8677 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'
8678 fi
8679 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8680 hardcode_libdir_separator=:
8681 hardcode_direct=yes
8682
8683 # hardcode_minus_L: Not really in the search PATH,
8684 # but as the default location of the library.
8685 hardcode_minus_L=yes
8686 export_dynamic_flag_spec='${wl}-E'
8687 ;;
8688
8689 hpux10*)
8690 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8691 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8692 else
8693 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8694 fi
8695 if test "$with_gnu_ld" = no; then
8696 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8697 hardcode_libdir_flag_spec_ld='+b $libdir'
8698 hardcode_libdir_separator=:
8699 hardcode_direct=yes
8700 hardcode_direct_absolute=yes
8701 export_dynamic_flag_spec='${wl}-E'
8702 # hardcode_minus_L: Not really in the search PATH,
8703 # but as the default location of the library.
8704 hardcode_minus_L=yes
8705 fi
8706 ;;
8707
8708 hpux11*)
8709 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8710 case $host_cpu in
8711 hppa*64*)
8712 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8713 ;;
8714 ia64*)
8715 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8716 ;;
8717 *)
8718 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8719 ;;
8720 esac
8721 else
8722 case $host_cpu in
8723 hppa*64*)
8724 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8725 ;;
8726 ia64*)
8727 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8728 ;;
8729 *)
8730
8731 # Older versions of the 11.00 compiler do not understand -b yet
8732 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8734 $as_echo_n "checking if $CC understands -b... " >&6; }
8735 if ${lt_cv_prog_compiler__b+:} false; then :
8736 $as_echo_n "(cached) " >&6
8737 else
8738 lt_cv_prog_compiler__b=no
8739 save_LDFLAGS="$LDFLAGS"
8740 LDFLAGS="$LDFLAGS -b"
8741 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8742 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8743 # The linker can only warn and ignore the option if not recognized
8744 # So say no if there are warnings
8745 if test -s conftest.err; then
8746 # Append any errors to the config.log.
8747 cat conftest.err 1>&5
8748 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8749 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8750 if diff conftest.exp conftest.er2 >/dev/null; then
8751 lt_cv_prog_compiler__b=yes
8752 fi
8753 else
8754 lt_cv_prog_compiler__b=yes
8755 fi
8756 fi
8757 $RM -r conftest*
8758 LDFLAGS="$save_LDFLAGS"
8759
8760 fi
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8762 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8763
8764 if test x"$lt_cv_prog_compiler__b" = xyes; then
8765 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8766 else
8767 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8768 fi
8769
8770 ;;
8771 esac
8772 fi
8773 if test "$with_gnu_ld" = no; then
8774 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8775 hardcode_libdir_separator=:
8776
8777 case $host_cpu in
8778 hppa*64*|ia64*)
8779 hardcode_direct=no
8780 hardcode_shlibpath_var=no
8781 ;;
8782 *)
8783 hardcode_direct=yes
8784 hardcode_direct_absolute=yes
8785 export_dynamic_flag_spec='${wl}-E'
8786
8787 # hardcode_minus_L: Not really in the search PATH,
8788 # but as the default location of the library.
8789 hardcode_minus_L=yes
8790 ;;
8791 esac
8792 fi
8793 ;;
8794
8795 irix5* | irix6* | nonstopux*)
8796 if test "$GCC" = yes; then
8797 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8798 # Try to use the -exported_symbol ld option, if it does not
8799 # work, assume that -exports_file does not work either and
8800 # implicitly export all symbols.
8801 save_LDFLAGS="$LDFLAGS"
8802 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8805 int foo(void) {}
8806 _ACEOF
8807 if ac_fn_c_try_link "$LINENO"; then :
8808 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8809
8810 fi
8811 rm -f core conftest.err conftest.$ac_objext \
8812 conftest$ac_exeext conftest.$ac_ext
8813 LDFLAGS="$save_LDFLAGS"
8814 else
8815 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
8816 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8817 fi
8818 archive_cmds_need_lc='no'
8819 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8820 hardcode_libdir_separator=:
8821 inherit_rpath=yes
8822 link_all_deplibs=yes
8823 ;;
8824
8825 netbsd*)
8826 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8827 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8828 else
8829 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8830 fi
8831 hardcode_libdir_flag_spec='-R$libdir'
8832 hardcode_direct=yes
8833 hardcode_shlibpath_var=no
8834 ;;
8835
8836 newsos6)
8837 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8838 hardcode_direct=yes
8839 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8840 hardcode_libdir_separator=:
8841 hardcode_shlibpath_var=no
8842 ;;
8843
8844 *nto* | *qnx*)
8845 ;;
8846
8847 openbsd*)
8848 if test -f /usr/libexec/ld.so; then
8849 hardcode_direct=yes
8850 hardcode_shlibpath_var=no
8851 hardcode_direct_absolute=yes
8852 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8853 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8854 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8855 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8856 export_dynamic_flag_spec='${wl}-E'
8857 else
8858 case $host_os in
8859 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8860 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8861 hardcode_libdir_flag_spec='-R$libdir'
8862 ;;
8863 *)
8864 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8865 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8866 ;;
8867 esac
8868 fi
8869 else
8870 ld_shlibs=no
8871 fi
8872 ;;
8873
8874 os2*)
8875 hardcode_libdir_flag_spec='-L$libdir'
8876 hardcode_minus_L=yes
8877 allow_undefined_flag=unsupported
8878 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'
8879 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8880 ;;
8881
8882 osf3*)
8883 if test "$GCC" = yes; then
8884 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8885 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8886 else
8887 allow_undefined_flag=' -expect_unresolved \*'
8888 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
8889 fi
8890 archive_cmds_need_lc='no'
8891 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8892 hardcode_libdir_separator=:
8893 ;;
8894
8895 osf4* | osf5*) # as osf3* with the addition of -msym flag
8896 if test "$GCC" = yes; then
8897 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8898 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8899 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8900 else
8901 allow_undefined_flag=' -expect_unresolved \*'
8902 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
8903 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~
8904 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8905
8906 # Both c and cxx compiler support -rpath directly
8907 hardcode_libdir_flag_spec='-rpath $libdir'
8908 fi
8909 archive_cmds_need_lc='no'
8910 hardcode_libdir_separator=:
8911 ;;
8912
8913 solaris*)
8914 no_undefined_flag=' -z defs'
8915 if test "$GCC" = yes; then
8916 wlarc='${wl}'
8917 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8918 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8919 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8920 else
8921 case `$CC -V 2>&1` in
8922 *"Compilers 5.0"*)
8923 wlarc=''
8924 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8925 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8926 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8927 ;;
8928 *)
8929 wlarc='${wl}'
8930 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8931 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8932 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8933 ;;
8934 esac
8935 fi
8936 hardcode_libdir_flag_spec='-R$libdir'
8937 hardcode_shlibpath_var=no
8938 case $host_os in
8939 solaris2.[0-5] | solaris2.[0-5].*) ;;
8940 *)
8941 # The compiler driver will combine and reorder linker options,
8942 # but understands `-z linker_flag'. GCC discards it without `$wl',
8943 # but is careful enough not to reorder.
8944 # Supported since Solaris 2.6 (maybe 2.5.1?)
8945 if test "$GCC" = yes; then
8946 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8947 else
8948 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8949 fi
8950 ;;
8951 esac
8952 link_all_deplibs=yes
8953 ;;
8954
8955 sunos4*)
8956 if test "x$host_vendor" = xsequent; then
8957 # Use $CC to link under sequent, because it throws in some extra .o
8958 # files that make .init and .fini sections work.
8959 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8960 else
8961 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8962 fi
8963 hardcode_libdir_flag_spec='-L$libdir'
8964 hardcode_direct=yes
8965 hardcode_minus_L=yes
8966 hardcode_shlibpath_var=no
8967 ;;
8968
8969 sysv4)
8970 case $host_vendor in
8971 sni)
8972 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8973 hardcode_direct=yes # is this really true???
8974 ;;
8975 siemens)
8976 ## LD is ld it makes a PLAMLIB
8977 ## CC just makes a GrossModule.
8978 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8979 reload_cmds='$CC -r -o $output$reload_objs'
8980 hardcode_direct=no
8981 ;;
8982 motorola)
8983 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8984 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8985 ;;
8986 esac
8987 runpath_var='LD_RUN_PATH'
8988 hardcode_shlibpath_var=no
8989 ;;
8990
8991 sysv4.3*)
8992 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8993 hardcode_shlibpath_var=no
8994 export_dynamic_flag_spec='-Bexport'
8995 ;;
8996
8997 sysv4*MP*)
8998 if test -d /usr/nec; then
8999 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9000 hardcode_shlibpath_var=no
9001 runpath_var=LD_RUN_PATH
9002 hardcode_runpath_var=yes
9003 ld_shlibs=yes
9004 fi
9005 ;;
9006
9007 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9008 no_undefined_flag='${wl}-z,text'
9009 archive_cmds_need_lc=no
9010 hardcode_shlibpath_var=no
9011 runpath_var='LD_RUN_PATH'
9012
9013 if test "$GCC" = yes; then
9014 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9015 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9016 else
9017 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9018 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9019 fi
9020 ;;
9021
9022 sysv5* | sco3.2v5* | sco5v6*)
9023 # Note: We can NOT use -z defs as we might desire, because we do not
9024 # link with -lc, and that would cause any symbols used from libc to
9025 # always be unresolved, which means just about no library would
9026 # ever link correctly. If we're not using GNU ld we use -z text
9027 # though, which does catch some bad symbols but isn't as heavy-handed
9028 # as -z defs.
9029 no_undefined_flag='${wl}-z,text'
9030 allow_undefined_flag='${wl}-z,nodefs'
9031 archive_cmds_need_lc=no
9032 hardcode_shlibpath_var=no
9033 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9034 hardcode_libdir_separator=':'
9035 link_all_deplibs=yes
9036 export_dynamic_flag_spec='${wl}-Bexport'
9037 runpath_var='LD_RUN_PATH'
9038
9039 if test "$GCC" = yes; then
9040 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9041 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9042 else
9043 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9044 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9045 fi
9046 ;;
9047
9048 uts4*)
9049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9050 hardcode_libdir_flag_spec='-L$libdir'
9051 hardcode_shlibpath_var=no
9052 ;;
9053
9054 *)
9055 ld_shlibs=no
9056 ;;
9057 esac
9058
9059 if test x$host_vendor = xsni; then
9060 case $host in
9061 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9062 export_dynamic_flag_spec='${wl}-Blargedynsym'
9063 ;;
9064 esac
9065 fi
9066 fi
9067
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9069 $as_echo "$ld_shlibs" >&6; }
9070 test "$ld_shlibs" = no && can_build_shared=no
9071
9072 with_gnu_ld=$with_gnu_ld
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088 #
9089 # Do we need to explicitly link libc?
9090 #
9091 case "x$archive_cmds_need_lc" in
9092 x|xyes)
9093 # Assume -lc should be added
9094 archive_cmds_need_lc=yes
9095
9096 if test "$enable_shared" = yes && test "$GCC" = yes; then
9097 case $archive_cmds in
9098 *'~'*)
9099 # FIXME: we may have to deal with multi-command sequences.
9100 ;;
9101 '$CC '*)
9102 # Test whether the compiler implicitly links with -lc since on some
9103 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9104 # to ld, don't add -lc before -lgcc.
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9106 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9107 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9108 $as_echo_n "(cached) " >&6
9109 else
9110 $RM conftest*
9111 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9112
9113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9114 (eval $ac_compile) 2>&5
9115 ac_status=$?
9116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9117 test $ac_status = 0; } 2>conftest.err; then
9118 soname=conftest
9119 lib=conftest
9120 libobjs=conftest.$ac_objext
9121 deplibs=
9122 wl=$lt_prog_compiler_wl
9123 pic_flag=$lt_prog_compiler_pic
9124 compiler_flags=-v
9125 linker_flags=-v
9126 verstring=
9127 output_objdir=.
9128 libname=conftest
9129 lt_save_allow_undefined_flag=$allow_undefined_flag
9130 allow_undefined_flag=
9131 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9132 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9133 ac_status=$?
9134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9135 test $ac_status = 0; }
9136 then
9137 lt_cv_archive_cmds_need_lc=no
9138 else
9139 lt_cv_archive_cmds_need_lc=yes
9140 fi
9141 allow_undefined_flag=$lt_save_allow_undefined_flag
9142 else
9143 cat conftest.err 1>&5
9144 fi
9145 $RM conftest*
9146
9147 fi
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9149 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9150 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9151 ;;
9152 esac
9153 fi
9154 ;;
9155 esac
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9314 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9315
9316 if test "$GCC" = yes; then
9317 case $host_os in
9318 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9319 *) lt_awk_arg="/^libraries:/" ;;
9320 esac
9321 case $host_os in
9322 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9323 *) lt_sed_strip_eq="s,=/,/,g" ;;
9324 esac
9325 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9326 case $lt_search_path_spec in
9327 *\;*)
9328 # if the path contains ";" then we assume it to be the separator
9329 # otherwise default to the standard path separator (i.e. ":") - it is
9330 # assumed that no part of a normal pathname contains ";" but that should
9331 # okay in the real world where ";" in dirpaths is itself problematic.
9332 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9333 ;;
9334 *)
9335 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9336 ;;
9337 esac
9338 # Ok, now we have the path, separated by spaces, we can step through it
9339 # and add multilib dir if necessary.
9340 lt_tmp_lt_search_path_spec=
9341 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9342 for lt_sys_path in $lt_search_path_spec; do
9343 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9344 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9345 else
9346 test -d "$lt_sys_path" && \
9347 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9348 fi
9349 done
9350 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9351 BEGIN {RS=" "; FS="/|\n";} {
9352 lt_foo="";
9353 lt_count=0;
9354 for (lt_i = NF; lt_i > 0; lt_i--) {
9355 if ($lt_i != "" && $lt_i != ".") {
9356 if ($lt_i == "..") {
9357 lt_count++;
9358 } else {
9359 if (lt_count == 0) {
9360 lt_foo="/" $lt_i lt_foo;
9361 } else {
9362 lt_count--;
9363 }
9364 }
9365 }
9366 }
9367 if (lt_foo != "") { lt_freq[lt_foo]++; }
9368 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9369 }'`
9370 # AWK program above erroneously prepends '/' to C:/dos/paths
9371 # for these hosts.
9372 case $host_os in
9373 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9374 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9375 esac
9376 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9377 else
9378 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9379 fi
9380 library_names_spec=
9381 libname_spec='lib$name'
9382 soname_spec=
9383 shrext_cmds=".so"
9384 postinstall_cmds=
9385 postuninstall_cmds=
9386 finish_cmds=
9387 finish_eval=
9388 shlibpath_var=
9389 shlibpath_overrides_runpath=unknown
9390 version_type=none
9391 dynamic_linker="$host_os ld.so"
9392 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9393 need_lib_prefix=unknown
9394 hardcode_into_libs=no
9395
9396 # when you set need_version to no, make sure it does not cause -set_version
9397 # flags to be left without arguments
9398 need_version=unknown
9399
9400 case $host_os in
9401 aix3*)
9402 version_type=linux
9403 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9404 shlibpath_var=LIBPATH
9405
9406 # AIX 3 has no versioning support, so we append a major version to the name.
9407 soname_spec='${libname}${release}${shared_ext}$major'
9408 ;;
9409
9410 aix[4-9]*)
9411 version_type=linux
9412 need_lib_prefix=no
9413 need_version=no
9414 hardcode_into_libs=yes
9415 if test "$host_cpu" = ia64; then
9416 # AIX 5 supports IA64
9417 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9418 shlibpath_var=LD_LIBRARY_PATH
9419 else
9420 # With GCC up to 2.95.x, collect2 would create an import file
9421 # for dependence libraries. The import file would start with
9422 # the line `#! .'. This would cause the generated library to
9423 # depend on `.', always an invalid library. This was fixed in
9424 # development snapshots of GCC prior to 3.0.
9425 case $host_os in
9426 aix4 | aix4.[01] | aix4.[01].*)
9427 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9428 echo ' yes '
9429 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9430 :
9431 else
9432 can_build_shared=no
9433 fi
9434 ;;
9435 esac
9436 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9437 # soname into executable. Probably we can add versioning support to
9438 # collect2, so additional links can be useful in future.
9439 if test "$aix_use_runtimelinking" = yes; then
9440 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9441 # instead of lib<name>.a to let people know that these are not
9442 # typical AIX shared libraries.
9443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9444 else
9445 # We preserve .a as extension for shared libraries through AIX4.2
9446 # and later when we are not doing run time linking.
9447 library_names_spec='${libname}${release}.a $libname.a'
9448 soname_spec='${libname}${release}${shared_ext}$major'
9449 fi
9450 shlibpath_var=LIBPATH
9451 fi
9452 ;;
9453
9454 amigaos*)
9455 case $host_cpu in
9456 powerpc)
9457 # Since July 2007 AmigaOS4 officially supports .so libraries.
9458 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9460 ;;
9461 m68k)
9462 library_names_spec='$libname.ixlibrary $libname.a'
9463 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9464 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
9465 ;;
9466 esac
9467 ;;
9468
9469 beos*)
9470 library_names_spec='${libname}${shared_ext}'
9471 dynamic_linker="$host_os ld.so"
9472 shlibpath_var=LIBRARY_PATH
9473 ;;
9474
9475 bsdi[45]*)
9476 version_type=linux
9477 need_version=no
9478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9479 soname_spec='${libname}${release}${shared_ext}$major'
9480 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9481 shlibpath_var=LD_LIBRARY_PATH
9482 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9483 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9484 # the default ld.so.conf also contains /usr/contrib/lib and
9485 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9486 # libtool to hard-code these into programs
9487 ;;
9488
9489 cygwin* | mingw* | pw32* | cegcc*)
9490 version_type=windows
9491 shrext_cmds=".dll"
9492 need_version=no
9493 need_lib_prefix=no
9494
9495 case $GCC,$host_os in
9496 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9497 library_names_spec='$libname.dll.a'
9498 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9499 postinstall_cmds='base_file=`basename \${file}`~
9500 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9501 dldir=$destdir/`dirname \$dlpath`~
9502 test -d \$dldir || mkdir -p \$dldir~
9503 $install_prog $dir/$dlname \$dldir/$dlname~
9504 chmod a+x \$dldir/$dlname~
9505 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9506 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9507 fi'
9508 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9509 dlpath=$dir/\$dldll~
9510 $RM \$dlpath'
9511 shlibpath_overrides_runpath=yes
9512
9513 case $host_os in
9514 cygwin*)
9515 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9516 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9517
9518 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9519 ;;
9520 mingw* | cegcc*)
9521 # MinGW DLLs use traditional 'lib' prefix
9522 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9523 ;;
9524 pw32*)
9525 # pw32 DLLs use 'pw' prefix rather than 'lib'
9526 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9527 ;;
9528 esac
9529 ;;
9530
9531 *)
9532 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9533 ;;
9534 esac
9535 dynamic_linker='Win32 ld.exe'
9536 # FIXME: first we should search . and the directory the executable is in
9537 shlibpath_var=PATH
9538 ;;
9539
9540 darwin* | rhapsody*)
9541 dynamic_linker="$host_os dyld"
9542 version_type=darwin
9543 need_lib_prefix=no
9544 need_version=no
9545 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9546 soname_spec='${libname}${release}${major}$shared_ext'
9547 shlibpath_overrides_runpath=yes
9548 shlibpath_var=DYLD_LIBRARY_PATH
9549 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9550
9551 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9552 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9553 ;;
9554
9555 dgux*)
9556 version_type=linux
9557 need_lib_prefix=no
9558 need_version=no
9559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9560 soname_spec='${libname}${release}${shared_ext}$major'
9561 shlibpath_var=LD_LIBRARY_PATH
9562 ;;
9563
9564 freebsd1*)
9565 dynamic_linker=no
9566 ;;
9567
9568 freebsd* | dragonfly*)
9569 # DragonFly does not have aout. When/if they implement a new
9570 # versioning mechanism, adjust this.
9571 if test -x /usr/bin/objformat; then
9572 objformat=`/usr/bin/objformat`
9573 else
9574 case $host_os in
9575 freebsd[123]*) objformat=aout ;;
9576 *) objformat=elf ;;
9577 esac
9578 fi
9579 version_type=freebsd-$objformat
9580 case $version_type in
9581 freebsd-elf*)
9582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9583 need_version=no
9584 need_lib_prefix=no
9585 ;;
9586 freebsd-*)
9587 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9588 need_version=yes
9589 ;;
9590 esac
9591 shlibpath_var=LD_LIBRARY_PATH
9592 case $host_os in
9593 freebsd2*)
9594 shlibpath_overrides_runpath=yes
9595 ;;
9596 freebsd3.[01]* | freebsdelf3.[01]*)
9597 shlibpath_overrides_runpath=yes
9598 hardcode_into_libs=yes
9599 ;;
9600 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9601 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9602 shlibpath_overrides_runpath=no
9603 hardcode_into_libs=yes
9604 ;;
9605 *) # from 4.6 on, and DragonFly
9606 shlibpath_overrides_runpath=yes
9607 hardcode_into_libs=yes
9608 ;;
9609 esac
9610 ;;
9611
9612 gnu*)
9613 version_type=linux
9614 need_lib_prefix=no
9615 need_version=no
9616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9617 soname_spec='${libname}${release}${shared_ext}$major'
9618 shlibpath_var=LD_LIBRARY_PATH
9619 hardcode_into_libs=yes
9620 ;;
9621
9622 haiku*)
9623 version_type=linux
9624 need_lib_prefix=no
9625 need_version=no
9626 dynamic_linker="$host_os runtime_loader"
9627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9628 soname_spec='${libname}${release}${shared_ext}$major'
9629 shlibpath_var=LIBRARY_PATH
9630 shlibpath_overrides_runpath=yes
9631 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
9632 hardcode_into_libs=yes
9633 ;;
9634
9635 hpux9* | hpux10* | hpux11*)
9636 # Give a soname corresponding to the major version so that dld.sl refuses to
9637 # link against other versions.
9638 version_type=sunos
9639 need_lib_prefix=no
9640 need_version=no
9641 case $host_cpu in
9642 ia64*)
9643 shrext_cmds='.so'
9644 hardcode_into_libs=yes
9645 dynamic_linker="$host_os dld.so"
9646 shlibpath_var=LD_LIBRARY_PATH
9647 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9649 soname_spec='${libname}${release}${shared_ext}$major'
9650 if test "X$HPUX_IA64_MODE" = X32; then
9651 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9652 else
9653 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9654 fi
9655 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9656 ;;
9657 hppa*64*)
9658 shrext_cmds='.sl'
9659 hardcode_into_libs=yes
9660 dynamic_linker="$host_os dld.sl"
9661 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9662 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9664 soname_spec='${libname}${release}${shared_ext}$major'
9665 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9666 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9667 ;;
9668 *)
9669 shrext_cmds='.sl'
9670 dynamic_linker="$host_os dld.sl"
9671 shlibpath_var=SHLIB_PATH
9672 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9674 soname_spec='${libname}${release}${shared_ext}$major'
9675 ;;
9676 esac
9677 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9678 postinstall_cmds='chmod 555 $lib'
9679 # or fails outright, so override atomically:
9680 install_override_mode=555
9681 ;;
9682
9683 interix[3-9]*)
9684 version_type=linux
9685 need_lib_prefix=no
9686 need_version=no
9687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9688 soname_spec='${libname}${release}${shared_ext}$major'
9689 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9690 shlibpath_var=LD_LIBRARY_PATH
9691 shlibpath_overrides_runpath=no
9692 hardcode_into_libs=yes
9693 ;;
9694
9695 irix5* | irix6* | nonstopux*)
9696 case $host_os in
9697 nonstopux*) version_type=nonstopux ;;
9698 *)
9699 if test "$lt_cv_prog_gnu_ld" = yes; then
9700 version_type=linux
9701 else
9702 version_type=irix
9703 fi ;;
9704 esac
9705 need_lib_prefix=no
9706 need_version=no
9707 soname_spec='${libname}${release}${shared_ext}$major'
9708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9709 case $host_os in
9710 irix5* | nonstopux*)
9711 libsuff= shlibsuff=
9712 ;;
9713 *)
9714 case $LD in # libtool.m4 will add one of these switches to LD
9715 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9716 libsuff= shlibsuff= libmagic=32-bit;;
9717 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9718 libsuff=32 shlibsuff=N32 libmagic=N32;;
9719 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9720 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9721 *) libsuff= shlibsuff= libmagic=never-match;;
9722 esac
9723 ;;
9724 esac
9725 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9726 shlibpath_overrides_runpath=no
9727 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9728 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9729 hardcode_into_libs=yes
9730 ;;
9731
9732 # No shared lib support for Linux oldld, aout, or coff.
9733 linux*oldld* | linux*aout* | linux*coff*)
9734 dynamic_linker=no
9735 ;;
9736
9737 # This must be Linux ELF.
9738 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9739 version_type=linux
9740 need_lib_prefix=no
9741 need_version=no
9742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9743 soname_spec='${libname}${release}${shared_ext}$major'
9744 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9745 shlibpath_var=LD_LIBRARY_PATH
9746 shlibpath_overrides_runpath=no
9747
9748 # Some binutils ld are patched to set DT_RUNPATH
9749 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
9750 $as_echo_n "(cached) " >&6
9751 else
9752 lt_cv_shlibpath_overrides_runpath=no
9753 save_LDFLAGS=$LDFLAGS
9754 save_libdir=$libdir
9755 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9756 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758 /* end confdefs.h. */
9759
9760 int
9761 main ()
9762 {
9763
9764 ;
9765 return 0;
9766 }
9767 _ACEOF
9768 if ac_fn_c_try_link "$LINENO"; then :
9769 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9770 lt_cv_shlibpath_overrides_runpath=yes
9771 fi
9772 fi
9773 rm -f core conftest.err conftest.$ac_objext \
9774 conftest$ac_exeext conftest.$ac_ext
9775 LDFLAGS=$save_LDFLAGS
9776 libdir=$save_libdir
9777
9778 fi
9779
9780 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9781
9782 # This implies no fast_install, which is unacceptable.
9783 # Some rework will be needed to allow for fast_install
9784 # before this can be enabled.
9785 hardcode_into_libs=yes
9786
9787 # Append ld.so.conf contents to the search path
9788 if test -f /etc/ld.so.conf; then
9789 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;s/"//g;/^$/d' | tr '\n' ' '`
9790 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9791 fi
9792
9793 # We used to test for /lib/ld.so.1 and disable shared libraries on
9794 # powerpc, because MkLinux only supported shared libraries with the
9795 # GNU dynamic linker. Since this was broken with cross compilers,
9796 # most powerpc-linux boxes support dynamic linking these days and
9797 # people can always --disable-shared, the test was removed, and we
9798 # assume the GNU/Linux dynamic linker is in use.
9799 dynamic_linker='GNU/Linux ld.so'
9800 ;;
9801
9802 netbsd*)
9803 version_type=sunos
9804 need_lib_prefix=no
9805 need_version=no
9806 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9808 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9809 dynamic_linker='NetBSD (a.out) ld.so'
9810 else
9811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9812 soname_spec='${libname}${release}${shared_ext}$major'
9813 dynamic_linker='NetBSD ld.elf_so'
9814 fi
9815 shlibpath_var=LD_LIBRARY_PATH
9816 shlibpath_overrides_runpath=yes
9817 hardcode_into_libs=yes
9818 ;;
9819
9820 newsos6)
9821 version_type=linux
9822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9823 shlibpath_var=LD_LIBRARY_PATH
9824 shlibpath_overrides_runpath=yes
9825 ;;
9826
9827 *nto* | *qnx*)
9828 version_type=qnx
9829 need_lib_prefix=no
9830 need_version=no
9831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9832 soname_spec='${libname}${release}${shared_ext}$major'
9833 shlibpath_var=LD_LIBRARY_PATH
9834 shlibpath_overrides_runpath=no
9835 hardcode_into_libs=yes
9836 dynamic_linker='ldqnx.so'
9837 ;;
9838
9839 openbsd*)
9840 version_type=sunos
9841 sys_lib_dlsearch_path_spec="/usr/lib"
9842 need_lib_prefix=no
9843 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9844 case $host_os in
9845 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9846 *) need_version=no ;;
9847 esac
9848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9849 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9850 shlibpath_var=LD_LIBRARY_PATH
9851 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9852 case $host_os in
9853 openbsd2.[89] | openbsd2.[89].*)
9854 shlibpath_overrides_runpath=no
9855 ;;
9856 *)
9857 shlibpath_overrides_runpath=yes
9858 ;;
9859 esac
9860 else
9861 shlibpath_overrides_runpath=yes
9862 fi
9863 ;;
9864
9865 os2*)
9866 libname_spec='$name'
9867 shrext_cmds=".dll"
9868 need_lib_prefix=no
9869 library_names_spec='$libname${shared_ext} $libname.a'
9870 dynamic_linker='OS/2 ld.exe'
9871 shlibpath_var=LIBPATH
9872 ;;
9873
9874 osf3* | osf4* | osf5*)
9875 version_type=osf
9876 need_lib_prefix=no
9877 need_version=no
9878 soname_spec='${libname}${release}${shared_ext}$major'
9879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9880 shlibpath_var=LD_LIBRARY_PATH
9881 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9882 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9883 ;;
9884
9885 rdos*)
9886 dynamic_linker=no
9887 ;;
9888
9889 solaris*)
9890 version_type=linux
9891 need_lib_prefix=no
9892 need_version=no
9893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9894 soname_spec='${libname}${release}${shared_ext}$major'
9895 shlibpath_var=LD_LIBRARY_PATH
9896 shlibpath_overrides_runpath=yes
9897 hardcode_into_libs=yes
9898 # ldd complains unless libraries are executable
9899 postinstall_cmds='chmod +x $lib'
9900 ;;
9901
9902 sunos4*)
9903 version_type=sunos
9904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9905 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9906 shlibpath_var=LD_LIBRARY_PATH
9907 shlibpath_overrides_runpath=yes
9908 if test "$with_gnu_ld" = yes; then
9909 need_lib_prefix=no
9910 fi
9911 need_version=yes
9912 ;;
9913
9914 sysv4 | sysv4.3*)
9915 version_type=linux
9916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9917 soname_spec='${libname}${release}${shared_ext}$major'
9918 shlibpath_var=LD_LIBRARY_PATH
9919 case $host_vendor in
9920 sni)
9921 shlibpath_overrides_runpath=no
9922 need_lib_prefix=no
9923 runpath_var=LD_RUN_PATH
9924 ;;
9925 siemens)
9926 need_lib_prefix=no
9927 ;;
9928 motorola)
9929 need_lib_prefix=no
9930 need_version=no
9931 shlibpath_overrides_runpath=no
9932 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9933 ;;
9934 esac
9935 ;;
9936
9937 sysv4*MP*)
9938 if test -d /usr/nec ;then
9939 version_type=linux
9940 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9941 soname_spec='$libname${shared_ext}.$major'
9942 shlibpath_var=LD_LIBRARY_PATH
9943 fi
9944 ;;
9945
9946 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9947 version_type=freebsd-elf
9948 need_lib_prefix=no
9949 need_version=no
9950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9951 soname_spec='${libname}${release}${shared_ext}$major'
9952 shlibpath_var=LD_LIBRARY_PATH
9953 shlibpath_overrides_runpath=yes
9954 hardcode_into_libs=yes
9955 if test "$with_gnu_ld" = yes; then
9956 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9957 else
9958 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9959 case $host_os in
9960 sco3.2v5*)
9961 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9962 ;;
9963 esac
9964 fi
9965 sys_lib_dlsearch_path_spec='/usr/lib'
9966 ;;
9967
9968 tpf*)
9969 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9970 version_type=linux
9971 need_lib_prefix=no
9972 need_version=no
9973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9974 shlibpath_var=LD_LIBRARY_PATH
9975 shlibpath_overrides_runpath=no
9976 hardcode_into_libs=yes
9977 ;;
9978
9979 uts4*)
9980 version_type=linux
9981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9982 soname_spec='${libname}${release}${shared_ext}$major'
9983 shlibpath_var=LD_LIBRARY_PATH
9984 ;;
9985
9986 *)
9987 dynamic_linker=no
9988 ;;
9989 esac
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9991 $as_echo "$dynamic_linker" >&6; }
9992 test "$dynamic_linker" = no && can_build_shared=no
9993
9994 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9995 if test "$GCC" = yes; then
9996 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9997 fi
9998
9999 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10000 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10001 fi
10002 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10003 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10004 fi
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10098 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10099 hardcode_action=
10100 if test -n "$hardcode_libdir_flag_spec" ||
10101 test -n "$runpath_var" ||
10102 test "X$hardcode_automatic" = "Xyes" ; then
10103
10104 # We can hardcode non-existent directories.
10105 if test "$hardcode_direct" != no &&
10106 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10107 # have to relink, otherwise we might link with an installed library
10108 # when we should be linking with a yet-to-be-installed one
10109 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10110 test "$hardcode_minus_L" != no; then
10111 # Linking always hardcodes the temporary library directory.
10112 hardcode_action=relink
10113 else
10114 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10115 hardcode_action=immediate
10116 fi
10117 else
10118 # We cannot hardcode anything, or else we can only hardcode existing
10119 # directories.
10120 hardcode_action=unsupported
10121 fi
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10123 $as_echo "$hardcode_action" >&6; }
10124
10125 if test "$hardcode_action" = relink ||
10126 test "$inherit_rpath" = yes; then
10127 # Fast installation is not supported
10128 enable_fast_install=no
10129 elif test "$shlibpath_overrides_runpath" = yes ||
10130 test "$enable_shared" = no; then
10131 # Fast installation is not necessary
10132 enable_fast_install=needless
10133 fi
10134
10135
10136
10137
10138
10139
10140 if test "x$enable_dlopen" != xyes; then
10141 enable_dlopen=unknown
10142 enable_dlopen_self=unknown
10143 enable_dlopen_self_static=unknown
10144 else
10145 lt_cv_dlopen=no
10146 lt_cv_dlopen_libs=
10147
10148 case $host_os in
10149 beos*)
10150 lt_cv_dlopen="load_add_on"
10151 lt_cv_dlopen_libs=
10152 lt_cv_dlopen_self=yes
10153 ;;
10154
10155 mingw* | pw32* | cegcc*)
10156 lt_cv_dlopen="LoadLibrary"
10157 lt_cv_dlopen_libs=
10158 ;;
10159
10160 cygwin*)
10161 lt_cv_dlopen="dlopen"
10162 lt_cv_dlopen_libs=
10163 ;;
10164
10165 darwin*)
10166 # if libdl is installed we need to link against it
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10168 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10169 if ${ac_cv_lib_dl_dlopen+:} false; then :
10170 $as_echo_n "(cached) " >&6
10171 else
10172 ac_check_lib_save_LIBS=$LIBS
10173 LIBS="-ldl $LIBS"
10174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10175 /* end confdefs.h. */
10176
10177 /* Override any GCC internal prototype to avoid an error.
10178 Use char because int might match the return type of a GCC
10179 builtin and then its argument prototype would still apply. */
10180 #ifdef __cplusplus
10181 extern "C"
10182 #endif
10183 char dlopen ();
10184 int
10185 main ()
10186 {
10187 return dlopen ();
10188 ;
10189 return 0;
10190 }
10191 _ACEOF
10192 if ac_fn_c_try_link "$LINENO"; then :
10193 ac_cv_lib_dl_dlopen=yes
10194 else
10195 ac_cv_lib_dl_dlopen=no
10196 fi
10197 rm -f core conftest.err conftest.$ac_objext \
10198 conftest$ac_exeext conftest.$ac_ext
10199 LIBS=$ac_check_lib_save_LIBS
10200 fi
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10202 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10203 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10204 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10205 else
10206
10207 lt_cv_dlopen="dyld"
10208 lt_cv_dlopen_libs=
10209 lt_cv_dlopen_self=yes
10210
10211 fi
10212
10213 ;;
10214
10215 *)
10216 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10217 if test "x$ac_cv_func_shl_load" = xyes; then :
10218 lt_cv_dlopen="shl_load"
10219 else
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10221 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10222 if ${ac_cv_lib_dld_shl_load+:} false; then :
10223 $as_echo_n "(cached) " >&6
10224 else
10225 ac_check_lib_save_LIBS=$LIBS
10226 LIBS="-ldld $LIBS"
10227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10228 /* end confdefs.h. */
10229
10230 /* Override any GCC internal prototype to avoid an error.
10231 Use char because int might match the return type of a GCC
10232 builtin and then its argument prototype would still apply. */
10233 #ifdef __cplusplus
10234 extern "C"
10235 #endif
10236 char shl_load ();
10237 int
10238 main ()
10239 {
10240 return shl_load ();
10241 ;
10242 return 0;
10243 }
10244 _ACEOF
10245 if ac_fn_c_try_link "$LINENO"; then :
10246 ac_cv_lib_dld_shl_load=yes
10247 else
10248 ac_cv_lib_dld_shl_load=no
10249 fi
10250 rm -f core conftest.err conftest.$ac_objext \
10251 conftest$ac_exeext conftest.$ac_ext
10252 LIBS=$ac_check_lib_save_LIBS
10253 fi
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10255 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10256 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10257 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10258 else
10259 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10260 if test "x$ac_cv_func_dlopen" = xyes; then :
10261 lt_cv_dlopen="dlopen"
10262 else
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10264 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10265 if ${ac_cv_lib_dl_dlopen+:} false; then :
10266 $as_echo_n "(cached) " >&6
10267 else
10268 ac_check_lib_save_LIBS=$LIBS
10269 LIBS="-ldl $LIBS"
10270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10271 /* end confdefs.h. */
10272
10273 /* Override any GCC internal prototype to avoid an error.
10274 Use char because int might match the return type of a GCC
10275 builtin and then its argument prototype would still apply. */
10276 #ifdef __cplusplus
10277 extern "C"
10278 #endif
10279 char dlopen ();
10280 int
10281 main ()
10282 {
10283 return dlopen ();
10284 ;
10285 return 0;
10286 }
10287 _ACEOF
10288 if ac_fn_c_try_link "$LINENO"; then :
10289 ac_cv_lib_dl_dlopen=yes
10290 else
10291 ac_cv_lib_dl_dlopen=no
10292 fi
10293 rm -f core conftest.err conftest.$ac_objext \
10294 conftest$ac_exeext conftest.$ac_ext
10295 LIBS=$ac_check_lib_save_LIBS
10296 fi
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10298 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10299 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10300 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10301 else
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10303 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10304 if ${ac_cv_lib_svld_dlopen+:} false; then :
10305 $as_echo_n "(cached) " >&6
10306 else
10307 ac_check_lib_save_LIBS=$LIBS
10308 LIBS="-lsvld $LIBS"
10309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10310 /* end confdefs.h. */
10311
10312 /* Override any GCC internal prototype to avoid an error.
10313 Use char because int might match the return type of a GCC
10314 builtin and then its argument prototype would still apply. */
10315 #ifdef __cplusplus
10316 extern "C"
10317 #endif
10318 char dlopen ();
10319 int
10320 main ()
10321 {
10322 return dlopen ();
10323 ;
10324 return 0;
10325 }
10326 _ACEOF
10327 if ac_fn_c_try_link "$LINENO"; then :
10328 ac_cv_lib_svld_dlopen=yes
10329 else
10330 ac_cv_lib_svld_dlopen=no
10331 fi
10332 rm -f core conftest.err conftest.$ac_objext \
10333 conftest$ac_exeext conftest.$ac_ext
10334 LIBS=$ac_check_lib_save_LIBS
10335 fi
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10337 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10338 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10339 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10340 else
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10342 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10343 if ${ac_cv_lib_dld_dld_link+:} false; then :
10344 $as_echo_n "(cached) " >&6
10345 else
10346 ac_check_lib_save_LIBS=$LIBS
10347 LIBS="-ldld $LIBS"
10348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10349 /* end confdefs.h. */
10350
10351 /* Override any GCC internal prototype to avoid an error.
10352 Use char because int might match the return type of a GCC
10353 builtin and then its argument prototype would still apply. */
10354 #ifdef __cplusplus
10355 extern "C"
10356 #endif
10357 char dld_link ();
10358 int
10359 main ()
10360 {
10361 return dld_link ();
10362 ;
10363 return 0;
10364 }
10365 _ACEOF
10366 if ac_fn_c_try_link "$LINENO"; then :
10367 ac_cv_lib_dld_dld_link=yes
10368 else
10369 ac_cv_lib_dld_dld_link=no
10370 fi
10371 rm -f core conftest.err conftest.$ac_objext \
10372 conftest$ac_exeext conftest.$ac_ext
10373 LIBS=$ac_check_lib_save_LIBS
10374 fi
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10376 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10377 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10378 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10379 fi
10380
10381
10382 fi
10383
10384
10385 fi
10386
10387
10388 fi
10389
10390
10391 fi
10392
10393
10394 fi
10395
10396 ;;
10397 esac
10398
10399 if test "x$lt_cv_dlopen" != xno; then
10400 enable_dlopen=yes
10401 else
10402 enable_dlopen=no
10403 fi
10404
10405 case $lt_cv_dlopen in
10406 dlopen)
10407 save_CPPFLAGS="$CPPFLAGS"
10408 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10409
10410 save_LDFLAGS="$LDFLAGS"
10411 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10412
10413 save_LIBS="$LIBS"
10414 LIBS="$lt_cv_dlopen_libs $LIBS"
10415
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10417 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10418 if ${lt_cv_dlopen_self+:} false; then :
10419 $as_echo_n "(cached) " >&6
10420 else
10421 if test "$cross_compiling" = yes; then :
10422 lt_cv_dlopen_self=cross
10423 else
10424 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10425 lt_status=$lt_dlunknown
10426 cat > conftest.$ac_ext <<_LT_EOF
10427 #line $LINENO "configure"
10428 #include "confdefs.h"
10429
10430 #if HAVE_DLFCN_H
10431 #include <dlfcn.h>
10432 #endif
10433
10434 #include <stdio.h>
10435
10436 #ifdef RTLD_GLOBAL
10437 # define LT_DLGLOBAL RTLD_GLOBAL
10438 #else
10439 # ifdef DL_GLOBAL
10440 # define LT_DLGLOBAL DL_GLOBAL
10441 # else
10442 # define LT_DLGLOBAL 0
10443 # endif
10444 #endif
10445
10446 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10447 find out it does not work in some platform. */
10448 #ifndef LT_DLLAZY_OR_NOW
10449 # ifdef RTLD_LAZY
10450 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10451 # else
10452 # ifdef DL_LAZY
10453 # define LT_DLLAZY_OR_NOW DL_LAZY
10454 # else
10455 # ifdef RTLD_NOW
10456 # define LT_DLLAZY_OR_NOW RTLD_NOW
10457 # else
10458 # ifdef DL_NOW
10459 # define LT_DLLAZY_OR_NOW DL_NOW
10460 # else
10461 # define LT_DLLAZY_OR_NOW 0
10462 # endif
10463 # endif
10464 # endif
10465 # endif
10466 #endif
10467
10468 /* When -fvisbility=hidden is used, assume the code has been annotated
10469 correspondingly for the symbols needed. */
10470 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10471 void fnord () __attribute__((visibility("default")));
10472 #endif
10473
10474 void fnord () { int i=42; }
10475 int main ()
10476 {
10477 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10478 int status = $lt_dlunknown;
10479
10480 if (self)
10481 {
10482 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10483 else
10484 {
10485 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10486 else puts (dlerror ());
10487 }
10488 /* dlclose (self); */
10489 }
10490 else
10491 puts (dlerror ());
10492
10493 return status;
10494 }
10495 _LT_EOF
10496 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10497 (eval $ac_link) 2>&5
10498 ac_status=$?
10499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10500 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10501 (./conftest; exit; ) >&5 2>/dev/null
10502 lt_status=$?
10503 case x$lt_status in
10504 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10505 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10506 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10507 esac
10508 else :
10509 # compilation failed
10510 lt_cv_dlopen_self=no
10511 fi
10512 fi
10513 rm -fr conftest*
10514
10515
10516 fi
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10518 $as_echo "$lt_cv_dlopen_self" >&6; }
10519
10520 if test "x$lt_cv_dlopen_self" = xyes; then
10521 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10523 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10524 if ${lt_cv_dlopen_self_static+:} false; then :
10525 $as_echo_n "(cached) " >&6
10526 else
10527 if test "$cross_compiling" = yes; then :
10528 lt_cv_dlopen_self_static=cross
10529 else
10530 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10531 lt_status=$lt_dlunknown
10532 cat > conftest.$ac_ext <<_LT_EOF
10533 #line $LINENO "configure"
10534 #include "confdefs.h"
10535
10536 #if HAVE_DLFCN_H
10537 #include <dlfcn.h>
10538 #endif
10539
10540 #include <stdio.h>
10541
10542 #ifdef RTLD_GLOBAL
10543 # define LT_DLGLOBAL RTLD_GLOBAL
10544 #else
10545 # ifdef DL_GLOBAL
10546 # define LT_DLGLOBAL DL_GLOBAL
10547 # else
10548 # define LT_DLGLOBAL 0
10549 # endif
10550 #endif
10551
10552 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10553 find out it does not work in some platform. */
10554 #ifndef LT_DLLAZY_OR_NOW
10555 # ifdef RTLD_LAZY
10556 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10557 # else
10558 # ifdef DL_LAZY
10559 # define LT_DLLAZY_OR_NOW DL_LAZY
10560 # else
10561 # ifdef RTLD_NOW
10562 # define LT_DLLAZY_OR_NOW RTLD_NOW
10563 # else
10564 # ifdef DL_NOW
10565 # define LT_DLLAZY_OR_NOW DL_NOW
10566 # else
10567 # define LT_DLLAZY_OR_NOW 0
10568 # endif
10569 # endif
10570 # endif
10571 # endif
10572 #endif
10573
10574 /* When -fvisbility=hidden is used, assume the code has been annotated
10575 correspondingly for the symbols needed. */
10576 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10577 void fnord () __attribute__((visibility("default")));
10578 #endif
10579
10580 void fnord () { int i=42; }
10581 int main ()
10582 {
10583 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10584 int status = $lt_dlunknown;
10585
10586 if (self)
10587 {
10588 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10589 else
10590 {
10591 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10592 else puts (dlerror ());
10593 }
10594 /* dlclose (self); */
10595 }
10596 else
10597 puts (dlerror ());
10598
10599 return status;
10600 }
10601 _LT_EOF
10602 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10603 (eval $ac_link) 2>&5
10604 ac_status=$?
10605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10606 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10607 (./conftest; exit; ) >&5 2>/dev/null
10608 lt_status=$?
10609 case x$lt_status in
10610 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10611 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10612 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10613 esac
10614 else :
10615 # compilation failed
10616 lt_cv_dlopen_self_static=no
10617 fi
10618 fi
10619 rm -fr conftest*
10620
10621
10622 fi
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10624 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10625 fi
10626
10627 CPPFLAGS="$save_CPPFLAGS"
10628 LDFLAGS="$save_LDFLAGS"
10629 LIBS="$save_LIBS"
10630 ;;
10631 esac
10632
10633 case $lt_cv_dlopen_self in
10634 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10635 *) enable_dlopen_self=unknown ;;
10636 esac
10637
10638 case $lt_cv_dlopen_self_static in
10639 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10640 *) enable_dlopen_self_static=unknown ;;
10641 esac
10642 fi
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660 striplib=
10661 old_striplib=
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10663 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10664 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10665 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10666 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10668 $as_echo "yes" >&6; }
10669 else
10670 # FIXME - insert some real tests, host_os isn't really good enough
10671 case $host_os in
10672 darwin*)
10673 if test -n "$STRIP" ; then
10674 striplib="$STRIP -x"
10675 old_striplib="$STRIP -S"
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10677 $as_echo "yes" >&6; }
10678 else
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10680 $as_echo "no" >&6; }
10681 fi
10682 ;;
10683 *)
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10685 $as_echo "no" >&6; }
10686 ;;
10687 esac
10688 fi
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701 # Report which library types will actually be built
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10703 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10705 $as_echo "$can_build_shared" >&6; }
10706
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10708 $as_echo_n "checking whether to build shared libraries... " >&6; }
10709 test "$can_build_shared" = "no" && enable_shared=no
10710
10711 # On AIX, shared libraries and static libraries use the same namespace, and
10712 # are all built from PIC.
10713 case $host_os in
10714 aix3*)
10715 test "$enable_shared" = yes && enable_static=no
10716 if test -n "$RANLIB"; then
10717 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10718 postinstall_cmds='$RANLIB $lib'
10719 fi
10720 ;;
10721
10722 aix[4-9]*)
10723 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10724 test "$enable_shared" = yes && enable_static=no
10725 fi
10726 ;;
10727 esac
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10729 $as_echo "$enable_shared" >&6; }
10730
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10732 $as_echo_n "checking whether to build static libraries... " >&6; }
10733 # Make sure either enable_shared or enable_static is yes.
10734 test "$enable_shared" = yes || enable_static=yes
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10736 $as_echo "$enable_static" >&6; }
10737
10738
10739
10740
10741 fi
10742 ac_ext=c
10743 ac_cpp='$CPP $CPPFLAGS'
10744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10747
10748 CC="$lt_save_CC"
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762 ac_config_commands="$ac_config_commands libtool"
10763
10764
10765
10766
10767 # Only expand once:
10768
10769
10770 for ac_prog in gawk mawk nawk awk
10771 do
10772 # Extract the first word of "$ac_prog", so it can be a program name with args.
10773 set dummy $ac_prog; ac_word=$2
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10775 $as_echo_n "checking for $ac_word... " >&6; }
10776 if ${ac_cv_prog_AWK+:} false; then :
10777 $as_echo_n "(cached) " >&6
10778 else
10779 if test -n "$AWK"; then
10780 ac_cv_prog_AWK="$AWK" # Let the user override the test.
10781 else
10782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10783 for as_dir in $PATH
10784 do
10785 IFS=$as_save_IFS
10786 test -z "$as_dir" && as_dir=.
10787 for ac_exec_ext in '' $ac_executable_extensions; do
10788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10789 ac_cv_prog_AWK="$ac_prog"
10790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10791 break 2
10792 fi
10793 done
10794 done
10795 IFS=$as_save_IFS
10796
10797 fi
10798 fi
10799 AWK=$ac_cv_prog_AWK
10800 if test -n "$AWK"; then
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
10802 $as_echo "$AWK" >&6; }
10803 else
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10805 $as_echo "no" >&6; }
10806 fi
10807
10808
10809 test -n "$AWK" && break
10810 done
10811
10812 if test "x$CC" != xcc; then
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
10814 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
10815 else
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
10817 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
10818 fi
10819 set dummy $CC; ac_cc=`$as_echo "$2" |
10820 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
10821 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
10822 $as_echo_n "(cached) " >&6
10823 else
10824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10826
10827 int
10828 main ()
10829 {
10830
10831 ;
10832 return 0;
10833 }
10834 _ACEOF
10835 # Make sure it works both with $CC and with simple cc.
10836 # We do the test twice because some compilers refuse to overwrite an
10837 # existing .o file with -o, though they will create one.
10838 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
10839 rm -f conftest2.*
10840 if { { case "(($ac_try" in
10841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10842 *) ac_try_echo=$ac_try;;
10843 esac
10844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10845 $as_echo "$ac_try_echo"; } >&5
10846 (eval "$ac_try") 2>&5
10847 ac_status=$?
10848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10849 test $ac_status = 0; } &&
10850 test -f conftest2.$ac_objext && { { case "(($ac_try" in
10851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10852 *) ac_try_echo=$ac_try;;
10853 esac
10854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10855 $as_echo "$ac_try_echo"; } >&5
10856 (eval "$ac_try") 2>&5
10857 ac_status=$?
10858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10859 test $ac_status = 0; };
10860 then
10861 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
10862 if test "x$CC" != xcc; then
10863 # Test first that cc exists at all.
10864 if { ac_try='cc -c conftest.$ac_ext >&5'
10865 { { case "(($ac_try" in
10866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10867 *) ac_try_echo=$ac_try;;
10868 esac
10869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10870 $as_echo "$ac_try_echo"; } >&5
10871 (eval "$ac_try") 2>&5
10872 ac_status=$?
10873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10874 test $ac_status = 0; }; }; then
10875 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
10876 rm -f conftest2.*
10877 if { { case "(($ac_try" in
10878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10879 *) ac_try_echo=$ac_try;;
10880 esac
10881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10882 $as_echo "$ac_try_echo"; } >&5
10883 (eval "$ac_try") 2>&5
10884 ac_status=$?
10885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10886 test $ac_status = 0; } &&
10887 test -f conftest2.$ac_objext && { { case "(($ac_try" in
10888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10889 *) ac_try_echo=$ac_try;;
10890 esac
10891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10892 $as_echo "$ac_try_echo"; } >&5
10893 (eval "$ac_try") 2>&5
10894 ac_status=$?
10895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10896 test $ac_status = 0; };
10897 then
10898 # cc works too.
10899 :
10900 else
10901 # cc exists but doesn't like -o.
10902 eval ac_cv_prog_cc_${ac_cc}_c_o=no
10903 fi
10904 fi
10905 fi
10906 else
10907 eval ac_cv_prog_cc_${ac_cc}_c_o=no
10908 fi
10909 rm -f core conftest*
10910
10911 fi
10912 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10914 $as_echo "yes" >&6; }
10915 else
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10917 $as_echo "no" >&6; }
10918
10919 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
10920
10921 fi
10922
10923 # FIXME: we rely on the cache variable name because
10924 # there is no other way.
10925 set dummy $CC
10926 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
10927 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
10928 if test "$am_t" != yes; then
10929 # Losing compiler, so override with the script.
10930 # FIXME: It is wrong to rewrite CC.
10931 # But if we don't then we get into trouble of one sort or another.
10932 # A longer-term fix would be to have automake use am__CC in this case,
10933 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
10934 CC="$am_aux_dir/compile $CC"
10935 fi
10936
10937
10938
10939 # Need to call this explicitly since the first call to PKG_CHECK_MODULES
10940 # is in an if statement, and later calls would break if it's skipped.
10941
10942
10943 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10944 if test -n "$ac_tool_prefix"; then
10945 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10946 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10948 $as_echo_n "checking for $ac_word... " >&6; }
10949 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10950 $as_echo_n "(cached) " >&6
10951 else
10952 case $PKG_CONFIG in
10953 [\\/]* | ?:[\\/]*)
10954 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10955 ;;
10956 *)
10957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10958 for as_dir in $PATH
10959 do
10960 IFS=$as_save_IFS
10961 test -z "$as_dir" && as_dir=.
10962 for ac_exec_ext in '' $ac_executable_extensions; do
10963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10964 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10966 break 2
10967 fi
10968 done
10969 done
10970 IFS=$as_save_IFS
10971
10972 ;;
10973 esac
10974 fi
10975 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10976 if test -n "$PKG_CONFIG"; then
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10978 $as_echo "$PKG_CONFIG" >&6; }
10979 else
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10981 $as_echo "no" >&6; }
10982 fi
10983
10984
10985 fi
10986 if test -z "$ac_cv_path_PKG_CONFIG"; then
10987 ac_pt_PKG_CONFIG=$PKG_CONFIG
10988 # Extract the first word of "pkg-config", so it can be a program name with args.
10989 set dummy pkg-config; ac_word=$2
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10991 $as_echo_n "checking for $ac_word... " >&6; }
10992 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
10993 $as_echo_n "(cached) " >&6
10994 else
10995 case $ac_pt_PKG_CONFIG in
10996 [\\/]* | ?:[\\/]*)
10997 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10998 ;;
10999 *)
11000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11001 for as_dir in $PATH
11002 do
11003 IFS=$as_save_IFS
11004 test -z "$as_dir" && as_dir=.
11005 for ac_exec_ext in '' $ac_executable_extensions; do
11006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11007 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11009 break 2
11010 fi
11011 done
11012 done
11013 IFS=$as_save_IFS
11014
11015 ;;
11016 esac
11017 fi
11018 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11019 if test -n "$ac_pt_PKG_CONFIG"; then
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11021 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11022 else
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11024 $as_echo "no" >&6; }
11025 fi
11026
11027 if test "x$ac_pt_PKG_CONFIG" = x; then
11028 PKG_CONFIG=""
11029 else
11030 case $cross_compiling:$ac_tool_warned in
11031 yes:)
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11034 ac_tool_warned=yes ;;
11035 esac
11036 PKG_CONFIG=$ac_pt_PKG_CONFIG
11037 fi
11038 else
11039 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11040 fi
11041
11042 fi
11043 if test -n "$PKG_CONFIG"; then
11044 _pkg_min_version=0.9.0
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11046 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11047 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11049 $as_echo "yes" >&6; }
11050 else
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11052 $as_echo "no" >&6; }
11053 PKG_CONFIG=""
11054 fi
11055
11056 fi
11057
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
11059 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
11060 if ${ac_cv_prog_cc_c99+:} false; then :
11061 $as_echo_n "(cached) " >&6
11062 else
11063 ac_cv_prog_cc_c99=no
11064 ac_save_CC=$CC
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11067 #include <stdarg.h>
11068 #include <stdbool.h>
11069 #include <stdlib.h>
11070 #include <wchar.h>
11071 #include <stdio.h>
11072
11073 // Check varargs macros. These examples are taken from C99 6.10.3.5.
11074 #define debug(...) fprintf (stderr, __VA_ARGS__)
11075 #define showlist(...) puts (#__VA_ARGS__)
11076 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
11077 static void
11078 test_varargs_macros (void)
11079 {
11080 int x = 1234;
11081 int y = 5678;
11082 debug ("Flag");
11083 debug ("X = %d\n", x);
11084 showlist (The first, second, and third items.);
11085 report (x>y, "x is %d but y is %d", x, y);
11086 }
11087
11088 // Check long long types.
11089 #define BIG64 18446744073709551615ull
11090 #define BIG32 4294967295ul
11091 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
11092 #if !BIG_OK
11093 your preprocessor is broken;
11094 #endif
11095 #if BIG_OK
11096 #else
11097 your preprocessor is broken;
11098 #endif
11099 static long long int bignum = -9223372036854775807LL;
11100 static unsigned long long int ubignum = BIG64;
11101
11102 struct incomplete_array
11103 {
11104 int datasize;
11105 double data[];
11106 };
11107
11108 struct named_init {
11109 int number;
11110 const wchar_t *name;
11111 double average;
11112 };
11113
11114 typedef const char *ccp;
11115
11116 static inline int
11117 test_restrict (ccp restrict text)
11118 {
11119 // See if C++-style comments work.
11120 // Iterate through items via the restricted pointer.
11121 // Also check for declarations in for loops.
11122 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
11123 continue;
11124 return 0;
11125 }
11126
11127 // Check varargs and va_copy.
11128 static void
11129 test_varargs (const char *format, ...)
11130 {
11131 va_list args;
11132 va_start (args, format);
11133 va_list args_copy;
11134 va_copy (args_copy, args);
11135
11136 const char *str;
11137 int number;
11138 float fnumber;
11139
11140 while (*format)
11141 {
11142 switch (*format++)
11143 {
11144 case 's': // string
11145 str = va_arg (args_copy, const char *);
11146 break;
11147 case 'd': // int
11148 number = va_arg (args_copy, int);
11149 break;
11150 case 'f': // float
11151 fnumber = va_arg (args_copy, double);
11152 break;
11153 default:
11154 break;
11155 }
11156 }
11157 va_end (args_copy);
11158 va_end (args);
11159 }
11160
11161 int
11162 main ()
11163 {
11164
11165 // Check bool.
11166 _Bool success = false;
11167
11168 // Check restrict.
11169 if (test_restrict ("String literal") == 0)
11170 success = true;
11171 char *restrict newvar = "Another string";
11172
11173 // Check varargs.
11174 test_varargs ("s, d' f .", "string", 65, 34.234);
11175 test_varargs_macros ();
11176
11177 // Check flexible array members.
11178 struct incomplete_array *ia =
11179 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
11180 ia->datasize = 10;
11181 for (int i = 0; i < ia->datasize; ++i)
11182 ia->data[i] = i * 1.234;
11183
11184 // Check named initializers.
11185 struct named_init ni = {
11186 .number = 34,
11187 .name = L"Test wide string",
11188 .average = 543.34343,
11189 };
11190
11191 ni.number = 58;
11192
11193 int dynamic_array[ni.number];
11194 dynamic_array[ni.number - 1] = 543;
11195
11196 // work around unused variable warnings
11197 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
11198 || dynamic_array[ni.number - 1] != 543);
11199
11200 ;
11201 return 0;
11202 }
11203 _ACEOF
11204 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
11205 do
11206 CC="$ac_save_CC $ac_arg"
11207 if ac_fn_c_try_compile "$LINENO"; then :
11208 ac_cv_prog_cc_c99=$ac_arg
11209 fi
11210 rm -f core conftest.err conftest.$ac_objext
11211 test "x$ac_cv_prog_cc_c99" != "xno" && break
11212 done
11213 rm -f conftest.$ac_ext
11214 CC=$ac_save_CC
11215
11216 fi
11217 # AC_CACHE_VAL
11218 case "x$ac_cv_prog_cc_c99" in
11219 x)
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11221 $as_echo "none needed" >&6; } ;;
11222 xno)
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11224 $as_echo "unsupported" >&6; } ;;
11225 *)
11226 CC="$CC $ac_cv_prog_cc_c99"
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
11228 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
11229 esac
11230 if test "x$ac_cv_prog_cc_c99" != xno; then :
11231
11232 fi
11233
11234
11235
11236
11237
11238
11239 if test "x$GCC" = xyes ; then
11240 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
11241 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
11242 -Wbad-function-cast -Wformat=2"
11243 case `$CC -dumpversion` in
11244 3.4.* | 4.*)
11245 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
11246 ;;
11247 esac
11248 else
11249 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
11250 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
11251 SUNCC="yes"
11252 else
11253 SUNCC="no"
11254 fi
11255
11256 if test "x$SUNCC" = "xyes"; then
11257 CWARNFLAGS="-v"
11258 fi
11259 fi
11260
11261
11262
11263 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
11264
11265
11266
11267 # Check whether --enable-strict-compilation was given.
11268 if test "${enable_strict_compilation+set}" = set; then :
11269 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
11270 else
11271 STRICT_COMPILE=no
11272 fi
11273
11274 if test "x$STRICT_COMPILE" = "xyes"; then
11275 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
11276 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
11277 SUNCC="yes"
11278 else
11279 SUNCC="no"
11280 fi
11281
11282 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
11283 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
11284 INTELCC="yes"
11285 else
11286 INTELCC="no"
11287 fi
11288
11289 if test "x$GCC" = xyes ; then
11290 STRICT_CFLAGS="-pedantic -Werror"
11291 elif test "x$SUNCC" = "xyes"; then
11292 STRICT_CFLAGS="-errwarn"
11293 elif test "x$INTELCC" = "xyes"; then
11294 STRICT_CFLAGS="-Werror"
11295 fi
11296 fi
11297 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
11298
11299
11300
11301
11302 cat >>confdefs.h <<_ACEOF
11303 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
11304 _ACEOF
11305
11306 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
11307 if test "x$PVM" = "x"; then
11308 PVM="0"
11309 fi
11310
11311 cat >>confdefs.h <<_ACEOF
11312 #define PACKAGE_VERSION_MINOR $PVM
11313 _ACEOF
11314
11315 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
11316 if test "x$PVP" = "x"; then
11317 PVP="0"
11318 fi
11319
11320 cat >>confdefs.h <<_ACEOF
11321 #define PACKAGE_VERSION_PATCHLEVEL $PVP
11322 _ACEOF
11323
11324
11325
11326 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
11327 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
11328 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
11329 echo 'git directory not found: installing possibly empty changelog.' >&2)"
11330
11331
11332
11333
11334 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
11335 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
11336 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
11337 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
11338 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
11339
11340
11341
11342
11343
11344
11345 if test x$APP_MAN_SUFFIX = x ; then
11346 APP_MAN_SUFFIX=1
11347 fi
11348 if test x$APP_MAN_DIR = x ; then
11349 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
11350 fi
11351
11352 if test x$LIB_MAN_SUFFIX = x ; then
11353 LIB_MAN_SUFFIX=3
11354 fi
11355 if test x$LIB_MAN_DIR = x ; then
11356 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
11357 fi
11358
11359 if test x$FILE_MAN_SUFFIX = x ; then
11360 case $host_os in
11361 solaris*) FILE_MAN_SUFFIX=4 ;;
11362 *) FILE_MAN_SUFFIX=5 ;;
11363 esac
11364 fi
11365 if test x$FILE_MAN_DIR = x ; then
11366 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
11367 fi
11368
11369 if test x$MISC_MAN_SUFFIX = x ; then
11370 case $host_os in
11371 solaris*) MISC_MAN_SUFFIX=5 ;;
11372 *) MISC_MAN_SUFFIX=7 ;;
11373 esac
11374 fi
11375 if test x$MISC_MAN_DIR = x ; then
11376 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
11377 fi
11378
11379 if test x$DRIVER_MAN_SUFFIX = x ; then
11380 case $host_os in
11381 solaris*) DRIVER_MAN_SUFFIX=7 ;;
11382 *) DRIVER_MAN_SUFFIX=4 ;;
11383 esac
11384 fi
11385 if test x$DRIVER_MAN_DIR = x ; then
11386 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
11387 fi
11388
11389 if test x$ADMIN_MAN_SUFFIX = x ; then
11390 case $host_os in
11391 solaris*) ADMIN_MAN_SUFFIX=1m ;;
11392 *) ADMIN_MAN_SUFFIX=8 ;;
11393 esac
11394 fi
11395 if test x$ADMIN_MAN_DIR = x ; then
11396 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
11397 fi
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413 XORG_MAN_PAGE="X Version 11"
11414
11415 MAN_SUBSTS="\
11416 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
11417 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
11418 -e 's|__xservername__|Xorg|g' \
11419 -e 's|__xconfigfile__|xorg.conf|g' \
11420 -e 's|__projectroot__|\$(prefix)|g' \
11421 -e 's|__apploaddir__|\$(appdefaultdir)|g' \
11422 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
11423 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
11424 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
11425 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
11426 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
11427 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
11428
11429
11430
11431 # Check whether --enable-silent-rules was given.
11432 if test "${enable_silent_rules+set}" = set; then :
11433 enableval=$enable_silent_rules;
11434 fi
11435
11436 case $enable_silent_rules in
11437 yes) AM_DEFAULT_VERBOSITY=0;;
11438 no) AM_DEFAULT_VERBOSITY=1;;
11439 *) AM_DEFAULT_VERBOSITY=0;;
11440 esac
11441 AM_BACKSLASH='\'
11442
11443
11444
11445 spec_default=
11446 if test "x$spec_default" = x ; then
11447 spec_default="yes"
11448 fi
11449 # Check whether --enable-specs was given.
11450 if test "${enable_specs+set}" = set; then :
11451 enableval=$enable_specs; build_specs=$enableval
11452 else
11453 build_specs=$spec_default
11454 fi
11455
11456 if test x$build_specs = xyes; then
11457 ENABLE_SPECS_TRUE=
11458 ENABLE_SPECS_FALSE='#'
11459 else
11460 ENABLE_SPECS_TRUE='#'
11461 ENABLE_SPECS_FALSE=
11462 fi
11463
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
11465 $as_echo_n "checking whether to build functional specifications... " >&6; }
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
11467 $as_echo "$build_specs" >&6; }
11468
11469
11470
11471
11472 # Check whether --with-xmlto was given.
11473 if test "${with_xmlto+set}" = set; then :
11474 withval=$with_xmlto; use_xmlto=$withval
11475 else
11476 use_xmlto=auto
11477 fi
11478
11479
11480 if test "x$use_xmlto" = x"auto"; then
11481 # Extract the first word of "xmlto", so it can be a program name with args.
11482 set dummy xmlto; ac_word=$2
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11484 $as_echo_n "checking for $ac_word... " >&6; }
11485 if ${ac_cv_path_XMLTO+:} false; then :
11486 $as_echo_n "(cached) " >&6
11487 else
11488 case $XMLTO in
11489 [\\/]* | ?:[\\/]*)
11490 ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
11491 ;;
11492 *)
11493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11494 for as_dir in $PATH
11495 do
11496 IFS=$as_save_IFS
11497 test -z "$as_dir" && as_dir=.
11498 for ac_exec_ext in '' $ac_executable_extensions; do
11499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11500 ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
11501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11502 break 2
11503 fi
11504 done
11505 done
11506 IFS=$as_save_IFS
11507
11508 ;;
11509 esac
11510 fi
11511 XMLTO=$ac_cv_path_XMLTO
11512 if test -n "$XMLTO"; then
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
11514 $as_echo "$XMLTO" >&6; }
11515 else
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11517 $as_echo "no" >&6; }
11518 fi
11519
11520
11521 if test "x$XMLTO" = "x"; then
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
11523 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
11524 have_xmlto=no
11525 else
11526 have_xmlto=yes
11527 fi
11528 elif test "x$use_xmlto" = x"yes" ; then
11529 # Extract the first word of "xmlto", so it can be a program name with args.
11530 set dummy xmlto; ac_word=$2
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11532 $as_echo_n "checking for $ac_word... " >&6; }
11533 if ${ac_cv_path_XMLTO+:} false; then :
11534 $as_echo_n "(cached) " >&6
11535 else
11536 case $XMLTO in
11537 [\\/]* | ?:[\\/]*)
11538 ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
11539 ;;
11540 *)
11541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11542 for as_dir in $PATH
11543 do
11544 IFS=$as_save_IFS
11545 test -z "$as_dir" && as_dir=.
11546 for ac_exec_ext in '' $ac_executable_extensions; do
11547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11548 ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
11549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11550 break 2
11551 fi
11552 done
11553 done
11554 IFS=$as_save_IFS
11555
11556 ;;
11557 esac
11558 fi
11559 XMLTO=$ac_cv_path_XMLTO
11560 if test -n "$XMLTO"; then
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
11562 $as_echo "$XMLTO" >&6; }
11563 else
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11565 $as_echo "no" >&6; }
11566 fi
11567
11568
11569 if test "x$XMLTO" = "x"; then
11570 as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
11571 fi
11572 have_xmlto=yes
11573 elif test "x$use_xmlto" = x"no" ; then
11574 if test "x$XMLTO" != "x"; then
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
11576 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
11577 fi
11578 have_xmlto=no
11579 else
11580 as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
11581 fi
11582
11583 # Test for a minimum version of xmlto, if provided.
11584 if test "$have_xmlto" = yes; then
11585 # scrape the xmlto version
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
11587 $as_echo_n "checking the xmlto version... " >&6; }
11588 xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
11590 $as_echo "$xmlto_version" >&6; }
11591 as_arg_v1=$xmlto_version
11592 as_arg_v2=0.0.20
11593 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
11594 case $? in #(
11595 1) :
11596 if test "x$use_xmlto" = xauto; then
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
11598 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
11599 have_xmlto=no
11600 else
11601 as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
11602 fi ;; #(
11603 0) :
11604 ;; #(
11605 2) :
11606 ;; #(
11607 *) :
11608 ;;
11609 esac
11610 fi
11611
11612 # Test for the ability of xmlto to generate a text target
11613 have_xmlto_text=no
11614 cat > conftest.xml << "EOF"
11615 EOF
11616 if test "$have_xmlto" = yes; then :
11617 if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
11618 have_xmlto_text=yes
11619 else
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
11621 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
11622 fi
11623 fi
11624 rm -f conftest.xml
11625 if test $have_xmlto_text = yes; then
11626 HAVE_XMLTO_TEXT_TRUE=
11627 HAVE_XMLTO_TEXT_FALSE='#'
11628 else
11629 HAVE_XMLTO_TEXT_TRUE='#'
11630 HAVE_XMLTO_TEXT_FALSE=
11631 fi
11632
11633 if test "$have_xmlto" = yes; then
11634 HAVE_XMLTO_TRUE=
11635 HAVE_XMLTO_FALSE='#'
11636 else
11637 HAVE_XMLTO_TRUE='#'
11638 HAVE_XMLTO_FALSE=
11639 fi
11640
11641
11642
11643
11644
11645 # Check whether --with-fop was given.
11646 if test "${with_fop+set}" = set; then :
11647 withval=$with_fop; use_fop=$withval
11648 else
11649 use_fop=auto
11650 fi
11651
11652
11653 if test "x$use_fop" = x"auto"; then
11654 # Extract the first word of "fop", so it can be a program name with args.
11655 set dummy fop; ac_word=$2
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11657 $as_echo_n "checking for $ac_word... " >&6; }
11658 if ${ac_cv_path_FOP+:} false; then :
11659 $as_echo_n "(cached) " >&6
11660 else
11661 case $FOP in
11662 [\\/]* | ?:[\\/]*)
11663 ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
11664 ;;
11665 *)
11666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11667 for as_dir in $PATH
11668 do
11669 IFS=$as_save_IFS
11670 test -z "$as_dir" && as_dir=.
11671 for ac_exec_ext in '' $ac_executable_extensions; do
11672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11673 ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
11674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11675 break 2
11676 fi
11677 done
11678 done
11679 IFS=$as_save_IFS
11680
11681 ;;
11682 esac
11683 fi
11684 FOP=$ac_cv_path_FOP
11685 if test -n "$FOP"; then
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
11687 $as_echo "$FOP" >&6; }
11688 else
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11690 $as_echo "no" >&6; }
11691 fi
11692
11693
11694 if test "x$FOP" = "x"; then
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
11696 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
11697 have_fop=no
11698 else
11699 have_fop=yes
11700 fi
11701 elif test "x$use_fop" = x"yes" ; then
11702 # Extract the first word of "fop", so it can be a program name with args.
11703 set dummy fop; ac_word=$2
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11705 $as_echo_n "checking for $ac_word... " >&6; }
11706 if ${ac_cv_path_FOP+:} false; then :
11707 $as_echo_n "(cached) " >&6
11708 else
11709 case $FOP in
11710 [\\/]* | ?:[\\/]*)
11711 ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
11712 ;;
11713 *)
11714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11715 for as_dir in $PATH
11716 do
11717 IFS=$as_save_IFS
11718 test -z "$as_dir" && as_dir=.
11719 for ac_exec_ext in '' $ac_executable_extensions; do
11720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11721 ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
11722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11723 break 2
11724 fi
11725 done
11726 done
11727 IFS=$as_save_IFS
11728
11729 ;;
11730 esac
11731 fi
11732 FOP=$ac_cv_path_FOP
11733 if test -n "$FOP"; then
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
11735 $as_echo "$FOP" >&6; }
11736 else
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11738 $as_echo "no" >&6; }
11739 fi
11740
11741
11742 if test "x$FOP" = "x"; then
11743 as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
11744 fi
11745 have_fop=yes
11746 elif test "x$use_fop" = x"no" ; then
11747 if test "x$FOP" != "x"; then
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
11749 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
11750 fi
11751 have_fop=no
11752 else
11753 as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
11754 fi
11755 if test "$have_fop" = yes; then
11756 HAVE_FOP_TRUE=
11757 HAVE_FOP_FALSE='#'
11758 else
11759 HAVE_FOP_TRUE='#'
11760 HAVE_FOP_FALSE=
11761 fi
11762
11763
11764
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.5" >&5
11766 $as_echo_n "checking for X.Org SGML entities >= 1.5... " >&6; }
11767 XORG_SGML_PATH=
11768 if test -n "$PKG_CONFIG" && \
11769 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.5\""; } >&5
11770 ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.5") 2>&5
11771 ac_status=$?
11772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11773 test $ac_status = 0; }; then
11774 XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
11775 else
11776 :
11777
11778 fi
11779
11780 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
11781 # the path and the name of the doc stylesheet
11782 if test "x$XORG_SGML_PATH" != "x" ; then
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
11784 $as_echo "$XORG_SGML_PATH" >&6; }
11785 STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
11786 XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
11787 else
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11789 $as_echo "no" >&6; }
11790 fi
11791
11792
11793
11794
11795 if test "x$XSL_STYLESHEET" != "x"; then
11796 HAVE_STYLESHEETS_TRUE=
11797 HAVE_STYLESHEETS_FALSE='#'
11798 else
11799 HAVE_STYLESHEETS_TRUE='#'
11800 HAVE_STYLESHEETS_FALSE=
11801 fi
11802
11803
11804
11805 #
11806 # fix libtool to set SONAME to libXaw.so.$major
11807 #
11808 ac_config_commands="$ac_config_commands libtool_hack"
11809
11810
11811 # OSX/Win32 rules are different.
11812 platform_win32=no
11813 platform_darwin=no
11814 LIBEXT=so
11815 case $host_os in
11816 cygwin*|mingw*)
11817 LIBEXT=dll.a
11818 platform_win32=yes
11819 ;;
11820 darwin*)
11821 LIBEXT=dylib
11822 platform_darwin=yes
11823 ;;
11824 esac
11825
11826 if test "x$platform_win32" = "xyes"; then
11827 PLATFORM_WIN32_TRUE=
11828 PLATFORM_WIN32_FALSE='#'
11829 else
11830 PLATFORM_WIN32_TRUE='#'
11831 PLATFORM_WIN32_FALSE=
11832 fi
11833
11834 if test "x$platform_darwin" = "xyes"; then
11835 PLATFORM_DARWIN_TRUE=
11836 PLATFORM_DARWIN_FALSE='#'
11837 else
11838 PLATFORM_DARWIN_TRUE='#'
11839 PLATFORM_DARWIN_FALSE=
11840 fi
11841
11842
11843 # Whether to build Xaw6
11844
11845 # Check whether --enable-xaw6 was given.
11846 if test "${enable_xaw6+set}" = set; then :
11847 enableval=$enable_xaw6; build_v6=$enableval
11848 else
11849 build_v6=yes
11850 fi
11851
11852
11853 if test "x$build_v6" = xyes; then
11854
11855 pkg_failed=no
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XAW6" >&5
11857 $as_echo_n "checking for XAW6... " >&6; }
11858
11859 if test -n "$XAW6_CFLAGS"; then
11860 pkg_cv_XAW6_CFLAGS="$XAW6_CFLAGS"
11861 elif test -n "$PKG_CONFIG"; then
11862 if test -n "$PKG_CONFIG" && \
11863 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\""; } >&5
11864 ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
11865 ac_status=$?
11866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11867 test $ac_status = 0; }; then
11868 pkg_cv_XAW6_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu" 2>/dev/null`
11869 else
11870 pkg_failed=yes
11871 fi
11872 else
11873 pkg_failed=untried
11874 fi
11875 if test -n "$XAW6_LIBS"; then
11876 pkg_cv_XAW6_LIBS="$XAW6_LIBS"
11877 elif test -n "$PKG_CONFIG"; then
11878 if test -n "$PKG_CONFIG" && \
11879 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\""; } >&5
11880 ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
11881 ac_status=$?
11882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11883 test $ac_status = 0; }; then
11884 pkg_cv_XAW6_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu" 2>/dev/null`
11885 else
11886 pkg_failed=yes
11887 fi
11888 else
11889 pkg_failed=untried
11890 fi
11891
11892
11893
11894 if test $pkg_failed = yes; then
11895
11896 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11897 _pkg_short_errors_supported=yes
11898 else
11899 _pkg_short_errors_supported=no
11900 fi
11901 if test $_pkg_short_errors_supported = yes; then
11902 XAW6_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11 xext xextproto xt xmu" 2>&1`
11903 else
11904 XAW6_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11 xext xextproto xt xmu" 2>&1`
11905 fi
11906 # Put the nasty error message in config.log where it belongs
11907 echo "$XAW6_PKG_ERRORS" >&5
11908
11909 as_fn_error $? "Package requirements (xproto x11 xext xextproto xt xmu) were not met:
11910
11911 $XAW6_PKG_ERRORS
11912
11913 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11914 installed software in a non-standard prefix.
11915
11916 Alternatively, you may set the environment variables XAW6_CFLAGS
11917 and XAW6_LIBS to avoid the need to call pkg-config.
11918 See the pkg-config man page for more details.
11919 " "$LINENO" 5
11920 elif test $pkg_failed = untried; then
11921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11923 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11924 is in your PATH or set the PKG_CONFIG environment variable to the full
11925 path to pkg-config.
11926
11927 Alternatively, you may set the environment variables XAW6_CFLAGS
11928 and XAW6_LIBS to avoid the need to call pkg-config.
11929 See the pkg-config man page for more details.
11930
11931 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11932 See \`config.log' for more details" "$LINENO" 5; }
11933 else
11934 XAW6_CFLAGS=$pkg_cv_XAW6_CFLAGS
11935 XAW6_LIBS=$pkg_cv_XAW6_LIBS
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11937 $as_echo "yes" >&6; }
11938 :
11939 fi
11940
11941
11942 fi
11943
11944
11945 # Whether to build Xaw7
11946
11947 # Check whether --enable-xaw7 was given.
11948 if test "${enable_xaw7+set}" = set; then :
11949 enableval=$enable_xaw7; build_v7=$enableval
11950 else
11951 build_v7=yes
11952 fi
11953
11954
11955 if test "x$build_v7" = xyes; then
11956
11957 pkg_failed=no
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XAW7" >&5
11959 $as_echo_n "checking for XAW7... " >&6; }
11960
11961 if test -n "$XAW7_CFLAGS"; then
11962 pkg_cv_XAW7_CFLAGS="$XAW7_CFLAGS"
11963 elif test -n "$PKG_CONFIG"; then
11964 if test -n "$PKG_CONFIG" && \
11965 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\""; } >&5
11966 ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
11967 ac_status=$?
11968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11969 test $ac_status = 0; }; then
11970 pkg_cv_XAW7_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
11971 else
11972 pkg_failed=yes
11973 fi
11974 else
11975 pkg_failed=untried
11976 fi
11977 if test -n "$XAW7_LIBS"; then
11978 pkg_cv_XAW7_LIBS="$XAW7_LIBS"
11979 elif test -n "$PKG_CONFIG"; then
11980 if test -n "$PKG_CONFIG" && \
11981 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\""; } >&5
11982 ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
11983 ac_status=$?
11984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11985 test $ac_status = 0; }; then
11986 pkg_cv_XAW7_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
11987 else
11988 pkg_failed=yes
11989 fi
11990 else
11991 pkg_failed=untried
11992 fi
11993
11994
11995
11996 if test $pkg_failed = yes; then
11997
11998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11999 _pkg_short_errors_supported=yes
12000 else
12001 _pkg_short_errors_supported=no
12002 fi
12003 if test $_pkg_short_errors_supported = yes; then
12004 XAW7_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11 xext xextproto xt xmu xpm" 2>&1`
12005 else
12006 XAW7_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11 xext xextproto xt xmu xpm" 2>&1`
12007 fi
12008 # Put the nasty error message in config.log where it belongs
12009 echo "$XAW7_PKG_ERRORS" >&5
12010
12011 as_fn_error $? "Package requirements (xproto x11 xext xextproto xt xmu xpm) were not met:
12012
12013 $XAW7_PKG_ERRORS
12014
12015 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12016 installed software in a non-standard prefix.
12017
12018 Alternatively, you may set the environment variables XAW7_CFLAGS
12019 and XAW7_LIBS to avoid the need to call pkg-config.
12020 See the pkg-config man page for more details.
12021 " "$LINENO" 5
12022 elif test $pkg_failed = untried; then
12023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12025 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12026 is in your PATH or set the PKG_CONFIG environment variable to the full
12027 path to pkg-config.
12028
12029 Alternatively, you may set the environment variables XAW7_CFLAGS
12030 and XAW7_LIBS to avoid the need to call pkg-config.
12031 See the pkg-config man page for more details.
12032
12033 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12034 See \`config.log' for more details" "$LINENO" 5; }
12035 else
12036 XAW7_CFLAGS=$pkg_cv_XAW7_CFLAGS
12037 XAW7_LIBS=$pkg_cv_XAW7_LIBS
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12039 $as_echo "yes" >&6; }
12040 :
12041 fi
12042
12043
12044 fi
12045
12046
12047 if test x$build_v6 = xyes; then
12048 BUILD_XAW6_TRUE=
12049 BUILD_XAW6_FALSE='#'
12050 else
12051 BUILD_XAW6_TRUE='#'
12052 BUILD_XAW6_FALSE=
12053 fi
12054
12055 if test x$build_v7 = xyes; then
12056 BUILD_XAW7_TRUE=
12057 BUILD_XAW7_FALSE='#'
12058 else
12059 BUILD_XAW7_TRUE='#'
12060 BUILD_XAW7_FALSE=
12061 fi
12062
12063
12064 # Checks for header files.
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12066 $as_echo_n "checking for ANSI C header files... " >&6; }
12067 if ${ac_cv_header_stdc+:} false; then :
12068 $as_echo_n "(cached) " >&6
12069 else
12070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12071 /* end confdefs.h. */
12072 #include <stdlib.h>
12073 #include <stdarg.h>
12074 #include <string.h>
12075 #include <float.h>
12076
12077 int
12078 main ()
12079 {
12080
12081 ;
12082 return 0;
12083 }
12084 _ACEOF
12085 if ac_fn_c_try_compile "$LINENO"; then :
12086 ac_cv_header_stdc=yes
12087 else
12088 ac_cv_header_stdc=no
12089 fi
12090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12091
12092 if test $ac_cv_header_stdc = yes; then
12093 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12095 /* end confdefs.h. */
12096 #include <string.h>
12097
12098 _ACEOF
12099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12100 $EGREP "memchr" >/dev/null 2>&1; then :
12101
12102 else
12103 ac_cv_header_stdc=no
12104 fi
12105 rm -f conftest*
12106
12107 fi
12108
12109 if test $ac_cv_header_stdc = yes; then
12110 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12113 #include <stdlib.h>
12114
12115 _ACEOF
12116 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12117 $EGREP "free" >/dev/null 2>&1; then :
12118
12119 else
12120 ac_cv_header_stdc=no
12121 fi
12122 rm -f conftest*
12123
12124 fi
12125
12126 if test $ac_cv_header_stdc = yes; then
12127 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12128 if test "$cross_compiling" = yes; then :
12129 :
12130 else
12131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12133 #include <ctype.h>
12134 #include <stdlib.h>
12135 #if ((' ' & 0x0FF) == 0x020)
12136 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12137 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12138 #else
12139 # define ISLOWER(c) \
12140 (('a' <= (c) && (c) <= 'i') \
12141 || ('j' <= (c) && (c) <= 'r') \
12142 || ('s' <= (c) && (c) <= 'z'))
12143 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12144 #endif
12145
12146 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12147 int
12148 main ()
12149 {
12150 int i;
12151 for (i = 0; i < 256; i++)
12152 if (XOR (islower (i), ISLOWER (i))
12153 || toupper (i) != TOUPPER (i))
12154 return 2;
12155 return 0;
12156 }
12157 _ACEOF
12158 if ac_fn_c_try_run "$LINENO"; then :
12159
12160 else
12161 ac_cv_header_stdc=no
12162 fi
12163 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12164 conftest.$ac_objext conftest.beam conftest.$ac_ext
12165 fi
12166
12167 fi
12168 fi
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12170 $as_echo "$ac_cv_header_stdc" >&6; }
12171 if test $ac_cv_header_stdc = yes; then
12172
12173 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12174
12175 fi
12176
12177 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
12178 if test "x$ac_cv_header_wctype_h" = xyes; then :
12179
12180 $as_echo "#define HAS_WCTYPE_H 1" >>confdefs.h
12181
12182 fi
12183
12184
12185 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
12186 if test "x$ac_cv_header_wchar_h" = xyes; then :
12187
12188 $as_echo "#define HAS_WCHAR_H 1" >>confdefs.h
12189
12190 fi
12191
12192
12193 ac_fn_c_check_header_mongrel "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default"
12194 if test "x$ac_cv_header_widec_h" = xyes; then :
12195
12196 else
12197
12198 $as_echo "#define NO_WIDEC_H 1" >>confdefs.h
12199
12200 fi
12201
12202
12203
12204 # Checks for functions
12205 for ac_func in iswalnum
12206 do :
12207 ac_fn_c_check_func "$LINENO" "iswalnum" "ac_cv_func_iswalnum"
12208 if test "x$ac_cv_func_iswalnum" = xyes; then :
12209 cat >>confdefs.h <<_ACEOF
12210 #define HAVE_ISWALNUM 1
12211 _ACEOF
12212
12213 fi
12214 done
12215
12216
12217 ac_config_files="$ac_config_files Makefile include/Makefile man/Makefile specs/Makefile src/Makefile"
12218
12219 cat >confcache <<\_ACEOF
12220 # This file is a shell script that caches the results of configure
12221 # tests run on this system so they can be shared between configure
12222 # scripts and configure runs, see configure's option --config-cache.
12223 # It is not useful on other systems. If it contains results you don't
12224 # want to keep, you may remove or edit it.
12225 #
12226 # config.status only pays attention to the cache file if you give it
12227 # the --recheck option to rerun configure.
12228 #
12229 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12230 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12231 # following values.
12232
12233 _ACEOF
12234
12235 # The following way of writing the cache mishandles newlines in values,
12236 # but we know of no workaround that is simple, portable, and efficient.
12237 # So, we kill variables containing newlines.
12238 # Ultrix sh set writes to stderr and can't be redirected directly,
12239 # and sets the high bit in the cache file unless we assign to the vars.
12240 (
12241 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12242 eval ac_val=\$$ac_var
12243 case $ac_val in #(
12244 *${as_nl}*)
12245 case $ac_var in #(
12246 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12247 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12248 esac
12249 case $ac_var in #(
12250 _ | IFS | as_nl) ;; #(
12251 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12252 *) { eval $ac_var=; unset $ac_var;} ;;
12253 esac ;;
12254 esac
12255 done
12256
12257 (set) 2>&1 |
12258 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12259 *${as_nl}ac_space=\ *)
12260 # `set' does not quote correctly, so add quotes: double-quote
12261 # substitution turns \\\\ into \\, and sed turns \\ into \.
12262 sed -n \
12263 "s/'/'\\\\''/g;
12264 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12265 ;; #(
12266 *)
12267 # `set' quotes correctly as required by POSIX, so do not add quotes.
12268 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12269 ;;
12270 esac |
12271 sort
12272 ) |
12273 sed '
12274 /^ac_cv_env_/b end
12275 t clear
12276 :clear
12277 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12278 t end
12279 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12280 :end' >>confcache
12281 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12282 if test -w "$cache_file"; then
12283 if test "x$cache_file" != "x/dev/null"; then
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12285 $as_echo "$as_me: updating cache $cache_file" >&6;}
12286 if test ! -f "$cache_file" || test -h "$cache_file"; then
12287 cat confcache >"$cache_file"
12288 else
12289 case $cache_file in #(
12290 */* | ?:*)
12291 mv -f confcache "$cache_file"$$ &&
12292 mv -f "$cache_file"$$ "$cache_file" ;; #(
12293 *)
12294 mv -f confcache "$cache_file" ;;
12295 esac
12296 fi
12297 fi
12298 else
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12300 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12301 fi
12302 fi
12303 rm -f confcache
12304
12305 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12306 # Let make expand exec_prefix.
12307 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12308
12309 DEFS=-DHAVE_CONFIG_H
12310
12311 ac_libobjs=
12312 ac_ltlibobjs=
12313 U=
12314 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12315 # 1. Remove the extension, and $U if already installed.
12316 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12317 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12318 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12319 # will be set to the directory where LIBOBJS objects are built.
12320 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12321 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12322 done
12323 LIBOBJS=$ac_libobjs
12324
12325 LTLIBOBJS=$ac_ltlibobjs
12326
12327
12328 if test -n "$EXEEXT"; then
12329 am__EXEEXT_TRUE=
12330 am__EXEEXT_FALSE='#'
12331 else
12332 am__EXEEXT_TRUE='#'
12333 am__EXEEXT_FALSE=
12334 fi
12335
12336 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12337 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12339 fi
12340 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12341 as_fn_error $? "conditional \"AMDEP\" was never defined.
12342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12343 fi
12344 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12345 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12347 fi
12348 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
12349 as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
12350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12351 fi
12352 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
12353 as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
12354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12355 fi
12356 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
12357 as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
12358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12359 fi
12360 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
12361 as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
12362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12363 fi
12364 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
12365 as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
12366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12367 fi
12368 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
12369 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
12370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12371 fi
12372 if test -z "${PLATFORM_DARWIN_TRUE}" && test -z "${PLATFORM_DARWIN_FALSE}"; then
12373 as_fn_error $? "conditional \"PLATFORM_DARWIN\" was never defined.
12374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12375 fi
12376 if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
12377 as_fn_error $? "conditional \"BUILD_XAW6\" was never defined.
12378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12379 fi
12380 if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
12381 as_fn_error $? "conditional \"BUILD_XAW7\" was never defined.
12382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12383 fi
12384
12385 : "${CONFIG_STATUS=./config.status}"
12386 ac_write_fail=0
12387 ac_clean_files_save=$ac_clean_files
12388 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12390 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12391 as_write_fail=0
12392 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12393 #! $SHELL
12394 # Generated by $as_me.
12395 # Run this file to recreate the current configuration.
12396 # Compiler output produced by configure, useful for debugging
12397 # configure, is in config.log if it exists.
12398
12399 debug=false
12400 ac_cs_recheck=false
12401 ac_cs_silent=false
12402
12403 SHELL=\${CONFIG_SHELL-$SHELL}
12404 export SHELL
12405 _ASEOF
12406 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12407 ## -------------------- ##
12408 ## M4sh Initialization. ##
12409 ## -------------------- ##
12410
12411 # Be more Bourne compatible
12412 DUALCASE=1; export DUALCASE # for MKS sh
12413 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12414 emulate sh
12415 NULLCMD=:
12416 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12417 # is contrary to our usage. Disable this feature.
12418 alias -g '${1+"$@"}'='"$@"'
12419 setopt NO_GLOB_SUBST
12420 else
12421 case `(set -o) 2>/dev/null` in #(
12422 *posix*) :
12423 set -o posix ;; #(
12424 *) :
12425 ;;
12426 esac
12427 fi
12428
12429
12430 as_nl='
12431 '
12432 export as_nl
12433 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12434 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12435 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12436 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12437 # Prefer a ksh shell builtin over an external printf program on Solaris,
12438 # but without wasting forks for bash or zsh.
12439 if test -z "$BASH_VERSION$ZSH_VERSION" \
12440 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12441 as_echo='print -r --'
12442 as_echo_n='print -rn --'
12443 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12444 as_echo='printf %s\n'
12445 as_echo_n='printf %s'
12446 else
12447 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12448 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12449 as_echo_n='/usr/ucb/echo -n'
12450 else
12451 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12452 as_echo_n_body='eval
12453 arg=$1;
12454 case $arg in #(
12455 *"$as_nl"*)
12456 expr "X$arg" : "X\\(.*\\)$as_nl";
12457 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12458 esac;
12459 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12460 '
12461 export as_echo_n_body
12462 as_echo_n='sh -c $as_echo_n_body as_echo'
12463 fi
12464 export as_echo_body
12465 as_echo='sh -c $as_echo_body as_echo'
12466 fi
12467
12468 # The user is always right.
12469 if test "${PATH_SEPARATOR+set}" != set; then
12470 PATH_SEPARATOR=:
12471 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12472 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12473 PATH_SEPARATOR=';'
12474 }
12475 fi
12476
12477
12478 # IFS
12479 # We need space, tab and new line, in precisely that order. Quoting is
12480 # there to prevent editors from complaining about space-tab.
12481 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12482 # splitting by setting IFS to empty value.)
12483 IFS=" "" $as_nl"
12484
12485 # Find who we are. Look in the path if we contain no directory separator.
12486 as_myself=
12487 case $0 in #((
12488 *[\\/]* ) as_myself=$0 ;;
12489 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12490 for as_dir in $PATH
12491 do
12492 IFS=$as_save_IFS
12493 test -z "$as_dir" && as_dir=.
12494 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12495 done
12496 IFS=$as_save_IFS
12497
12498 ;;
12499 esac
12500 # We did not find ourselves, most probably we were run as `sh COMMAND'
12501 # in which case we are not to be found in the path.
12502 if test "x$as_myself" = x; then
12503 as_myself=$0
12504 fi
12505 if test ! -f "$as_myself"; then
12506 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12507 exit 1
12508 fi
12509
12510 # Unset variables that we do not need and which cause bugs (e.g. in
12511 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12512 # suppresses any "Segmentation fault" message there. '((' could
12513 # trigger a bug in pdksh 5.2.14.
12514 for as_var in BASH_ENV ENV MAIL MAILPATH
12515 do eval test x\${$as_var+set} = xset \
12516 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12517 done
12518 PS1='$ '
12519 PS2='> '
12520 PS4='+ '
12521
12522 # NLS nuisances.
12523 LC_ALL=C
12524 export LC_ALL
12525 LANGUAGE=C
12526 export LANGUAGE
12527
12528 # CDPATH.
12529 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12530
12531
12532 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12533 # ----------------------------------------
12534 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12535 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12536 # script with STATUS, using 1 if that was 0.
12537 as_fn_error ()
12538 {
12539 as_status=$1; test $as_status -eq 0 && as_status=1
12540 if test "$4"; then
12541 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12542 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12543 fi
12544 $as_echo "$as_me: error: $2" >&2
12545 as_fn_exit $as_status
12546 } # as_fn_error
12547
12548
12549 # as_fn_set_status STATUS
12550 # -----------------------
12551 # Set $? to STATUS, without forking.
12552 as_fn_set_status ()
12553 {
12554 return $1
12555 } # as_fn_set_status
12556
12557 # as_fn_exit STATUS
12558 # -----------------
12559 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12560 as_fn_exit ()
12561 {
12562 set +e
12563 as_fn_set_status $1
12564 exit $1
12565 } # as_fn_exit
12566
12567 # as_fn_unset VAR
12568 # ---------------
12569 # Portably unset VAR.
12570 as_fn_unset ()
12571 {
12572 { eval $1=; unset $1;}
12573 }
12574 as_unset=as_fn_unset
12575 # as_fn_append VAR VALUE
12576 # ----------------------
12577 # Append the text in VALUE to the end of the definition contained in VAR. Take
12578 # advantage of any shell optimizations that allow amortized linear growth over
12579 # repeated appends, instead of the typical quadratic growth present in naive
12580 # implementations.
12581 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12582 eval 'as_fn_append ()
12583 {
12584 eval $1+=\$2
12585 }'
12586 else
12587 as_fn_append ()
12588 {
12589 eval $1=\$$1\$2
12590 }
12591 fi # as_fn_append
12592
12593 # as_fn_arith ARG...
12594 # ------------------
12595 # Perform arithmetic evaluation on the ARGs, and store the result in the
12596 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12597 # must be portable across $(()) and expr.
12598 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12599 eval 'as_fn_arith ()
12600 {
12601 as_val=$(( $* ))
12602 }'
12603 else
12604 as_fn_arith ()
12605 {
12606 as_val=`expr "$@" || test $? -eq 1`
12607 }
12608 fi # as_fn_arith
12609
12610
12611 if expr a : '\(a\)' >/dev/null 2>&1 &&
12612 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12613 as_expr=expr
12614 else
12615 as_expr=false
12616 fi
12617
12618 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12619 as_basename=basename
12620 else
12621 as_basename=false
12622 fi
12623
12624 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12625 as_dirname=dirname
12626 else
12627 as_dirname=false
12628 fi
12629
12630 as_me=`$as_basename -- "$0" ||
12631 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12632 X"$0" : 'X\(//\)$' \| \
12633 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12634 $as_echo X/"$0" |
12635 sed '/^.*\/\([^/][^/]*\)\/*$/{
12636 s//\1/
12637 q
12638 }
12639 /^X\/\(\/\/\)$/{
12640 s//\1/
12641 q
12642 }
12643 /^X\/\(\/\).*/{
12644 s//\1/
12645 q
12646 }
12647 s/.*/./; q'`
12648
12649 # Avoid depending upon Character Ranges.
12650 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12651 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12652 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12653 as_cr_digits='0123456789'
12654 as_cr_alnum=$as_cr_Letters$as_cr_digits
12655
12656 ECHO_C= ECHO_N= ECHO_T=
12657 case `echo -n x` in #(((((
12658 -n*)
12659 case `echo 'xy\c'` in
12660 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12661 xy) ECHO_C='\c';;
12662 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12663 ECHO_T=' ';;
12664 esac;;
12665 *)
12666 ECHO_N='-n';;
12667 esac
12668
12669 rm -f conf$$ conf$$.exe conf$$.file
12670 if test -d conf$$.dir; then
12671 rm -f conf$$.dir/conf$$.file
12672 else
12673 rm -f conf$$.dir
12674 mkdir conf$$.dir 2>/dev/null
12675 fi
12676 if (echo >conf$$.file) 2>/dev/null; then
12677 if ln -s conf$$.file conf$$ 2>/dev/null; then
12678 as_ln_s='ln -s'
12679 # ... but there are two gotchas:
12680 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12681 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12682 # In both cases, we have to default to `cp -p'.
12683 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12684 as_ln_s='cp -p'
12685 elif ln conf$$.file conf$$ 2>/dev/null; then
12686 as_ln_s=ln
12687 else
12688 as_ln_s='cp -p'
12689 fi
12690 else
12691 as_ln_s='cp -p'
12692 fi
12693 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12694 rmdir conf$$.dir 2>/dev/null
12695
12696
12697 # as_fn_mkdir_p
12698 # -------------
12699 # Create "$as_dir" as a directory, including parents if necessary.
12700 as_fn_mkdir_p ()
12701 {
12702
12703 case $as_dir in #(
12704 -*) as_dir=./$as_dir;;
12705 esac
12706 test -d "$as_dir" || eval $as_mkdir_p || {
12707 as_dirs=
12708 while :; do
12709 case $as_dir in #(
12710 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12711 *) as_qdir=$as_dir;;
12712 esac
12713 as_dirs="'$as_qdir' $as_dirs"
12714 as_dir=`$as_dirname -- "$as_dir" ||
12715 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12716 X"$as_dir" : 'X\(//\)[^/]' \| \
12717 X"$as_dir" : 'X\(//\)$' \| \
12718 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12719 $as_echo X"$as_dir" |
12720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12721 s//\1/
12722 q
12723 }
12724 /^X\(\/\/\)[^/].*/{
12725 s//\1/
12726 q
12727 }
12728 /^X\(\/\/\)$/{
12729 s//\1/
12730 q
12731 }
12732 /^X\(\/\).*/{
12733 s//\1/
12734 q
12735 }
12736 s/.*/./; q'`
12737 test -d "$as_dir" && break
12738 done
12739 test -z "$as_dirs" || eval "mkdir $as_dirs"
12740 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12741
12742
12743 } # as_fn_mkdir_p
12744 if mkdir -p . 2>/dev/null; then
12745 as_mkdir_p='mkdir -p "$as_dir"'
12746 else
12747 test -d ./-p && rmdir ./-p
12748 as_mkdir_p=false
12749 fi
12750
12751 if test -x / >/dev/null 2>&1; then
12752 as_test_x='test -x'
12753 else
12754 if ls -dL / >/dev/null 2>&1; then
12755 as_ls_L_option=L
12756 else
12757 as_ls_L_option=
12758 fi
12759 as_test_x='
12760 eval sh -c '\''
12761 if test -d "$1"; then
12762 test -d "$1/.";
12763 else
12764 case $1 in #(
12765 -*)set "./$1";;
12766 esac;
12767 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12768 ???[sx]*):;;*)false;;esac;fi
12769 '\'' sh
12770 '
12771 fi
12772 as_executable_p=$as_test_x
12773
12774 # Sed expression to map a string onto a valid CPP name.
12775 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12776
12777 # Sed expression to map a string onto a valid variable name.
12778 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12779
12780
12781 exec 6>&1
12782 ## ----------------------------------- ##
12783 ## Main body of $CONFIG_STATUS script. ##
12784 ## ----------------------------------- ##
12785 _ASEOF
12786 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12787
12788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12789 # Save the log message, to keep $0 and so on meaningful, and to
12790 # report actual input values of CONFIG_FILES etc. instead of their
12791 # values after options handling.
12792 ac_log="
12793 This file was extended by libXaw $as_me 1.0.8, which was
12794 generated by GNU Autoconf 2.68. Invocation command line was
12795
12796 CONFIG_FILES = $CONFIG_FILES
12797 CONFIG_HEADERS = $CONFIG_HEADERS
12798 CONFIG_LINKS = $CONFIG_LINKS
12799 CONFIG_COMMANDS = $CONFIG_COMMANDS
12800 $ $0 $@
12801
12802 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12803 "
12804
12805 _ACEOF
12806
12807 case $ac_config_files in *"
12808 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12809 esac
12810
12811 case $ac_config_headers in *"
12812 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12813 esac
12814
12815
12816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12817 # Files that config.status was made for.
12818 config_files="$ac_config_files"
12819 config_headers="$ac_config_headers"
12820 config_commands="$ac_config_commands"
12821
12822 _ACEOF
12823
12824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12825 ac_cs_usage="\
12826 \`$as_me' instantiates files and other configuration actions
12827 from templates according to the current configuration. Unless the files
12828 and actions are specified as TAGs, all are instantiated by default.
12829
12830 Usage: $0 [OPTION]... [TAG]...
12831
12832 -h, --help print this help, then exit
12833 -V, --version print version number and configuration settings, then exit
12834 --config print configuration, then exit
12835 -q, --quiet, --silent
12836 do not print progress messages
12837 -d, --debug don't remove temporary files
12838 --recheck update $as_me by reconfiguring in the same conditions
12839 --file=FILE[:TEMPLATE]
12840 instantiate the configuration file FILE
12841 --header=FILE[:TEMPLATE]
12842 instantiate the configuration header FILE
12843
12844 Configuration files:
12845 $config_files
12846
12847 Configuration headers:
12848 $config_headers
12849
12850 Configuration commands:
12851 $config_commands
12852
12853 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
12854
12855 _ACEOF
12856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12857 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12858 ac_cs_version="\\
12859 libXaw config.status 1.0.8
12860 configured by $0, generated by GNU Autoconf 2.68,
12861 with options \\"\$ac_cs_config\\"
12862
12863 Copyright (C) 2010 Free Software Foundation, Inc.
12864 This config.status script is free software; the Free Software Foundation
12865 gives unlimited permission to copy, distribute and modify it."
12866
12867 ac_pwd='$ac_pwd'
12868 srcdir='$srcdir'
12869 INSTALL='$INSTALL'
12870 MKDIR_P='$MKDIR_P'
12871 AWK='$AWK'
12872 test -n "\$AWK" || AWK=awk
12873 _ACEOF
12874
12875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12876 # The default lists apply if the user does not specify any file.
12877 ac_need_defaults=:
12878 while test $# != 0
12879 do
12880 case $1 in
12881 --*=?*)
12882 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12883 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12884 ac_shift=:
12885 ;;
12886 --*=)
12887 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12888 ac_optarg=
12889 ac_shift=:
12890 ;;
12891 *)
12892 ac_option=$1
12893 ac_optarg=$2
12894 ac_shift=shift
12895 ;;
12896 esac
12897
12898 case $ac_option in
12899 # Handling of the options.
12900 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12901 ac_cs_recheck=: ;;
12902 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12903 $as_echo "$ac_cs_version"; exit ;;
12904 --config | --confi | --conf | --con | --co | --c )
12905 $as_echo "$ac_cs_config"; exit ;;
12906 --debug | --debu | --deb | --de | --d | -d )
12907 debug=: ;;
12908 --file | --fil | --fi | --f )
12909 $ac_shift
12910 case $ac_optarg in
12911 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12912 '') as_fn_error $? "missing file argument" ;;
12913 esac
12914 as_fn_append CONFIG_FILES " '$ac_optarg'"
12915 ac_need_defaults=false;;
12916 --header | --heade | --head | --hea )
12917 $ac_shift
12918 case $ac_optarg in
12919 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12920 esac
12921 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12922 ac_need_defaults=false;;
12923 --he | --h)
12924 # Conflict between --help and --header
12925 as_fn_error $? "ambiguous option: \`$1'
12926 Try \`$0 --help' for more information.";;
12927 --help | --hel | -h )
12928 $as_echo "$ac_cs_usage"; exit ;;
12929 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12930 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12931 ac_cs_silent=: ;;
12932
12933 # This is an error.
12934 -*) as_fn_error $? "unrecognized option: \`$1'
12935 Try \`$0 --help' for more information." ;;
12936
12937 *) as_fn_append ac_config_targets " $1"
12938 ac_need_defaults=false ;;
12939
12940 esac
12941 shift
12942 done
12943
12944 ac_configure_extra_args=
12945
12946 if $ac_cs_silent; then
12947 exec 6>/dev/null
12948 ac_configure_extra_args="$ac_configure_extra_args --silent"
12949 fi
12950
12951 _ACEOF
12952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12953 if \$ac_cs_recheck; then
12954 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12955 shift
12956 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12957 CONFIG_SHELL='$SHELL'
12958 export CONFIG_SHELL
12959 exec "\$@"
12960 fi
12961
12962 _ACEOF
12963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12964 exec 5>>config.log
12965 {
12966 echo
12967 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12968 ## Running $as_me. ##
12969 _ASBOX
12970 $as_echo "$ac_log"
12971 } >&5
12972
12973 _ACEOF
12974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12975 #
12976 # INIT-COMMANDS
12977 #
12978 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12979
12980
12981 # The HP-UX ksh and POSIX shell print the target directory to stdout
12982 # if CDPATH is set.
12983 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12984
12985 sed_quote_subst='$sed_quote_subst'
12986 double_quote_subst='$double_quote_subst'
12987 delay_variable_subst='$delay_variable_subst'
12988 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12989 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12990 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12991 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12992 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12993 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12994 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12995 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12996 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12997 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12998 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12999 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13000 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13001 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13002 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13003 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13004 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13005 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13006 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13007 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13008 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13009 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13010 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13011 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13012 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13013 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13014 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13015 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13016 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13017 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13018 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13019 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13020 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13021 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13022 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13023 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13024 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13025 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13026 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13027 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13028 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13029 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13030 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13031 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13032 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13033 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13034 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13035 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13036 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13037 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13038 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13039 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13040 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13041 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13042 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13043 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13044 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13045 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13046 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13047 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13048 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13049 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13050 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13051 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13052 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13053 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13054 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13055 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13056 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13057 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13058 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13059 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13060 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13061 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13062 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13063 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13064 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13065 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13066 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13067 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13068 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13069 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13070 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13071 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13072 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13073 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13074 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13075 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13076 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13077 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13078 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13079 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13080 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13081 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13082 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13083 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13084 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13085 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13086 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13087 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13088 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13089 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13090 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13091 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13092 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13093 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13094 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13095 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13096 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13097 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13098 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13099 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13100 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13101 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13102 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13103 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13104 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13105 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13106 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13107 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13108
13109 LTCC='$LTCC'
13110 LTCFLAGS='$LTCFLAGS'
13111 compiler='$compiler_DEFAULT'
13112
13113 # A function that is used when there is no print builtin or printf.
13114 func_fallback_echo ()
13115 {
13116 eval 'cat <<_LTECHO_EOF
13117 \$1
13118 _LTECHO_EOF'
13119 }
13120
13121 # Quote evaled strings.
13122 for var in SHELL \
13123 ECHO \
13124 SED \
13125 GREP \
13126 EGREP \
13127 FGREP \
13128 LD \
13129 NM \
13130 LN_S \
13131 lt_SP2NL \
13132 lt_NL2SP \
13133 reload_flag \
13134 OBJDUMP \
13135 deplibs_check_method \
13136 file_magic_cmd \
13137 AR \
13138 AR_FLAGS \
13139 STRIP \
13140 RANLIB \
13141 CC \
13142 CFLAGS \
13143 compiler \
13144 lt_cv_sys_global_symbol_pipe \
13145 lt_cv_sys_global_symbol_to_cdecl \
13146 lt_cv_sys_global_symbol_to_c_name_address \
13147 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13148 lt_prog_compiler_no_builtin_flag \
13149 lt_prog_compiler_wl \
13150 lt_prog_compiler_pic \
13151 lt_prog_compiler_static \
13152 lt_cv_prog_compiler_c_o \
13153 need_locks \
13154 DSYMUTIL \
13155 NMEDIT \
13156 LIPO \
13157 OTOOL \
13158 OTOOL64 \
13159 shrext_cmds \
13160 export_dynamic_flag_spec \
13161 whole_archive_flag_spec \
13162 compiler_needs_object \
13163 with_gnu_ld \
13164 allow_undefined_flag \
13165 no_undefined_flag \
13166 hardcode_libdir_flag_spec \
13167 hardcode_libdir_flag_spec_ld \
13168 hardcode_libdir_separator \
13169 fix_srcfile_path \
13170 exclude_expsyms \
13171 include_expsyms \
13172 file_list_spec \
13173 variables_saved_for_relink \
13174 libname_spec \
13175 library_names_spec \
13176 soname_spec \
13177 install_override_mode \
13178 finish_eval \
13179 old_striplib \
13180 striplib; do
13181 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13182 *[\\\\\\\`\\"\\\$]*)
13183 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13184 ;;
13185 *)
13186 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13187 ;;
13188 esac
13189 done
13190
13191 # Double-quote double-evaled strings.
13192 for var in reload_cmds \
13193 old_postinstall_cmds \
13194 old_postuninstall_cmds \
13195 old_archive_cmds \
13196 extract_expsyms_cmds \
13197 old_archive_from_new_cmds \
13198 old_archive_from_expsyms_cmds \
13199 archive_cmds \
13200 archive_expsym_cmds \
13201 module_cmds \
13202 module_expsym_cmds \
13203 export_symbols_cmds \
13204 prelink_cmds \
13205 postinstall_cmds \
13206 postuninstall_cmds \
13207 finish_cmds \
13208 sys_lib_search_path_spec \
13209 sys_lib_dlsearch_path_spec; do
13210 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13211 *[\\\\\\\`\\"\\\$]*)
13212 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13213 ;;
13214 *)
13215 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13216 ;;
13217 esac
13218 done
13219
13220 ac_aux_dir='$ac_aux_dir'
13221 xsi_shell='$xsi_shell'
13222 lt_shell_append='$lt_shell_append'
13223
13224 # See if we are running on zsh, and set the options which allow our
13225 # commands through without removal of \ escapes INIT.
13226 if test -n "\${ZSH_VERSION+set}" ; then
13227 setopt NO_GLOB_SUBST
13228 fi
13229
13230
13231 PACKAGE='$PACKAGE'
13232 VERSION='$VERSION'
13233 TIMESTAMP='$TIMESTAMP'
13234 RM='$RM'
13235 ofile='$ofile'
13236
13237
13238
13239
13240 _ACEOF
13241
13242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13243
13244 # Handling of arguments.
13245 for ac_config_target in $ac_config_targets
13246 do
13247 case $ac_config_target in
13248 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13249 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13250 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13251 "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
13252 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13253 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
13254 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
13255 "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
13256 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13257
13258 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13259 esac
13260 done
13261
13262
13263 # If the user did not use the arguments to specify the items to instantiate,
13264 # then the envvar interface is used. Set only those that are not.
13265 # We use the long form for the default assignment because of an extremely
13266 # bizarre bug on SunOS 4.1.3.
13267 if $ac_need_defaults; then
13268 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13269 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13270 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13271 fi
13272
13273 # Have a temporary directory for convenience. Make it in the build tree
13274 # simply because there is no reason against having it here, and in addition,
13275 # creating and moving files from /tmp can sometimes cause problems.
13276 # Hook for its removal unless debugging.
13277 # Note that there is a small window in which the directory will not be cleaned:
13278 # after its creation but before its name has been assigned to `$tmp'.
13279 $debug ||
13280 {
13281 tmp= ac_tmp=
13282 trap 'exit_status=$?
13283 : "${ac_tmp:=$tmp}"
13284 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13285 ' 0
13286 trap 'as_fn_exit 1' 1 2 13 15
13287 }
13288 # Create a (secure) tmp directory for tmp files.
13289
13290 {
13291 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13292 test -d "$tmp"
13293 } ||
13294 {
13295 tmp=./conf$$-$RANDOM
13296 (umask 077 && mkdir "$tmp")
13297 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13298 ac_tmp=$tmp
13299
13300 # Set up the scripts for CONFIG_FILES section.
13301 # No need to generate them if there are no CONFIG_FILES.
13302 # This happens for instance with `./config.status config.h'.
13303 if test -n "$CONFIG_FILES"; then
13304
13305
13306 ac_cr=`echo X | tr X '\015'`
13307 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13308 # But we know of no other shell where ac_cr would be empty at this
13309 # point, so we can use a bashism as a fallback.
13310 if test "x$ac_cr" = x; then
13311 eval ac_cr=\$\'\\r\'
13312 fi
13313 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13314 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13315 ac_cs_awk_cr='\\r'
13316 else
13317 ac_cs_awk_cr=$ac_cr
13318 fi
13319
13320 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13321 _ACEOF
13322
13323
13324 {
13325 echo "cat >conf$$subs.awk <<_ACEOF" &&
13326 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13327 echo "_ACEOF"
13328 } >conf$$subs.sh ||
13329 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13330 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13331 ac_delim='%!_!# '
13332 for ac_last_try in false false false false false :; do
13333 . ./conf$$subs.sh ||
13334 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13335
13336 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13337 if test $ac_delim_n = $ac_delim_num; then
13338 break
13339 elif $ac_last_try; then
13340 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13341 else
13342 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13343 fi
13344 done
13345 rm -f conf$$subs.sh
13346
13347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13348 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13349 _ACEOF
13350 sed -n '
13351 h
13352 s/^/S["/; s/!.*/"]=/
13353 p
13354 g
13355 s/^[^!]*!//
13356 :repl
13357 t repl
13358 s/'"$ac_delim"'$//
13359 t delim
13360 :nl
13361 h
13362 s/\(.\{148\}\)..*/\1/
13363 t more1
13364 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13365 p
13366 n
13367 b repl
13368 :more1
13369 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13370 p
13371 g
13372 s/.\{148\}//
13373 t nl
13374 :delim
13375 h
13376 s/\(.\{148\}\)..*/\1/
13377 t more2
13378 s/["\\]/\\&/g; s/^/"/; s/$/"/
13379 p
13380 b
13381 :more2
13382 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13383 p
13384 g
13385 s/.\{148\}//
13386 t delim
13387 ' <conf$$subs.awk | sed '
13388 /^[^""]/{
13389 N
13390 s/\n//
13391 }
13392 ' >>$CONFIG_STATUS || ac_write_fail=1
13393 rm -f conf$$subs.awk
13394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13395 _ACAWK
13396 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13397 for (key in S) S_is_set[key] = 1
13398 FS = ""
13399
13400 }
13401 {
13402 line = $ 0
13403 nfields = split(line, field, "@")
13404 substed = 0
13405 len = length(field[1])
13406 for (i = 2; i < nfields; i++) {
13407 key = field[i]
13408 keylen = length(key)
13409 if (S_is_set[key]) {
13410 value = S[key]
13411 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13412 len += length(value) + length(field[++i])
13413 substed = 1
13414 } else
13415 len += 1 + keylen
13416 }
13417
13418 print line
13419 }
13420
13421 _ACAWK
13422 _ACEOF
13423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13424 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13425 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13426 else
13427 cat
13428 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13429 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13430 _ACEOF
13431
13432 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13433 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13434 # trailing colons and then remove the whole line if VPATH becomes empty
13435 # (actually we leave an empty line to preserve line numbers).
13436 if test "x$srcdir" = x.; then
13437 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13438 h
13439 s///
13440 s/^/:/
13441 s/[ ]*$/:/
13442 s/:\$(srcdir):/:/g
13443 s/:\${srcdir}:/:/g
13444 s/:@srcdir@:/:/g
13445 s/^:*//
13446 s/:*$//
13447 x
13448 s/\(=[ ]*\).*/\1/
13449 G
13450 s/\n//
13451 s/^[^=]*=[ ]*$//
13452 }'
13453 fi
13454
13455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13456 fi # test -n "$CONFIG_FILES"
13457
13458 # Set up the scripts for CONFIG_HEADERS section.
13459 # No need to generate them if there are no CONFIG_HEADERS.
13460 # This happens for instance with `./config.status Makefile'.
13461 if test -n "$CONFIG_HEADERS"; then
13462 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13463 BEGIN {
13464 _ACEOF
13465
13466 # Transform confdefs.h into an awk script `defines.awk', embedded as
13467 # here-document in config.status, that substitutes the proper values into
13468 # config.h.in to produce config.h.
13469
13470 # Create a delimiter string that does not exist in confdefs.h, to ease
13471 # handling of long lines.
13472 ac_delim='%!_!# '
13473 for ac_last_try in false false :; do
13474 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13475 if test -z "$ac_tt"; then
13476 break
13477 elif $ac_last_try; then
13478 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13479 else
13480 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13481 fi
13482 done
13483
13484 # For the awk script, D is an array of macro values keyed by name,
13485 # likewise P contains macro parameters if any. Preserve backslash
13486 # newline sequences.
13487
13488 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13489 sed -n '
13490 s/.\{148\}/&'"$ac_delim"'/g
13491 t rset
13492 :rset
13493 s/^[ ]*#[ ]*define[ ][ ]*/ /
13494 t def
13495 d
13496 :def
13497 s/\\$//
13498 t bsnl
13499 s/["\\]/\\&/g
13500 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13501 D["\1"]=" \3"/p
13502 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13503 d
13504 :bsnl
13505 s/["\\]/\\&/g
13506 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13507 D["\1"]=" \3\\\\\\n"\\/p
13508 t cont
13509 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13510 t cont
13511 d
13512 :cont
13513 n
13514 s/.\{148\}/&'"$ac_delim"'/g
13515 t clear
13516 :clear
13517 s/\\$//
13518 t bsnlc
13519 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13520 d
13521 :bsnlc
13522 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13523 b cont
13524 ' <confdefs.h | sed '
13525 s/'"$ac_delim"'/"\\\
13526 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13527
13528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13529 for (key in D) D_is_set[key] = 1
13530 FS = ""
13531 }
13532 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13533 line = \$ 0
13534 split(line, arg, " ")
13535 if (arg[1] == "#") {
13536 defundef = arg[2]
13537 mac1 = arg[3]
13538 } else {
13539 defundef = substr(arg[1], 2)
13540 mac1 = arg[2]
13541 }
13542 split(mac1, mac2, "(") #)
13543 macro = mac2[1]
13544 prefix = substr(line, 1, index(line, defundef) - 1)
13545 if (D_is_set[macro]) {
13546 # Preserve the white space surrounding the "#".
13547 print prefix "define", macro P[macro] D[macro]
13548 next
13549 } else {
13550 # Replace #undef with comments. This is necessary, for example,
13551 # in the case of _POSIX_SOURCE, which is predefined and required
13552 # on some systems where configure will not decide to define it.
13553 if (defundef == "undef") {
13554 print "/*", prefix defundef, macro, "*/"
13555 next
13556 }
13557 }
13558 }
13559 { print }
13560 _ACAWK
13561 _ACEOF
13562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13563 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13564 fi # test -n "$CONFIG_HEADERS"
13565
13566
13567 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13568 shift
13569 for ac_tag
13570 do
13571 case $ac_tag in
13572 :[FHLC]) ac_mode=$ac_tag; continue;;
13573 esac
13574 case $ac_mode$ac_tag in
13575 :[FHL]*:*);;
13576 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13577 :[FH]-) ac_tag=-:-;;
13578 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13579 esac
13580 ac_save_IFS=$IFS
13581 IFS=:
13582 set x $ac_tag
13583 IFS=$ac_save_IFS
13584 shift
13585 ac_file=$1
13586 shift
13587
13588 case $ac_mode in
13589 :L) ac_source=$1;;
13590 :[FH])
13591 ac_file_inputs=
13592 for ac_f
13593 do
13594 case $ac_f in
13595 -) ac_f="$ac_tmp/stdin";;
13596 *) # Look for the file first in the build tree, then in the source tree
13597 # (if the path is not absolute). The absolute path cannot be DOS-style,
13598 # because $ac_f cannot contain `:'.
13599 test -f "$ac_f" ||
13600 case $ac_f in
13601 [\\/$]*) false;;
13602 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13603 esac ||
13604 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13605 esac
13606 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13607 as_fn_append ac_file_inputs " '$ac_f'"
13608 done
13609
13610 # Let's still pretend it is `configure' which instantiates (i.e., don't
13611 # use $as_me), people would be surprised to read:
13612 # /* config.h. Generated by config.status. */
13613 configure_input='Generated from '`
13614 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13615 `' by configure.'
13616 if test x"$ac_file" != x-; then
13617 configure_input="$ac_file. $configure_input"
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13619 $as_echo "$as_me: creating $ac_file" >&6;}
13620 fi
13621 # Neutralize special characters interpreted by sed in replacement strings.
13622 case $configure_input in #(
13623 *\&* | *\|* | *\\* )
13624 ac_sed_conf_input=`$as_echo "$configure_input" |
13625 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13626 *) ac_sed_conf_input=$configure_input;;
13627 esac
13628
13629 case $ac_tag in
13630 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13631 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13632 esac
13633 ;;
13634 esac
13635
13636 ac_dir=`$as_dirname -- "$ac_file" ||
13637 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13638 X"$ac_file" : 'X\(//\)[^/]' \| \
13639 X"$ac_file" : 'X\(//\)$' \| \
13640 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13641 $as_echo X"$ac_file" |
13642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13643 s//\1/
13644 q
13645 }
13646 /^X\(\/\/\)[^/].*/{
13647 s//\1/
13648 q
13649 }
13650 /^X\(\/\/\)$/{
13651 s//\1/
13652 q
13653 }
13654 /^X\(\/\).*/{
13655 s//\1/
13656 q
13657 }
13658 s/.*/./; q'`
13659 as_dir="$ac_dir"; as_fn_mkdir_p
13660 ac_builddir=.
13661
13662 case "$ac_dir" in
13663 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13664 *)
13665 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13666 # A ".." for each directory in $ac_dir_suffix.
13667 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13668 case $ac_top_builddir_sub in
13669 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13670 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13671 esac ;;
13672 esac
13673 ac_abs_top_builddir=$ac_pwd
13674 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13675 # for backward compatibility:
13676 ac_top_builddir=$ac_top_build_prefix
13677
13678 case $srcdir in
13679 .) # We are building in place.
13680 ac_srcdir=.
13681 ac_top_srcdir=$ac_top_builddir_sub
13682 ac_abs_top_srcdir=$ac_pwd ;;
13683 [\\/]* | ?:[\\/]* ) # Absolute name.
13684 ac_srcdir=$srcdir$ac_dir_suffix;
13685 ac_top_srcdir=$srcdir
13686 ac_abs_top_srcdir=$srcdir ;;
13687 *) # Relative name.
13688 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13689 ac_top_srcdir=$ac_top_build_prefix$srcdir
13690 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13691 esac
13692 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13693
13694
13695 case $ac_mode in
13696 :F)
13697 #
13698 # CONFIG_FILE
13699 #
13700
13701 case $INSTALL in
13702 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13703 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13704 esac
13705 ac_MKDIR_P=$MKDIR_P
13706 case $MKDIR_P in
13707 [\\/$]* | ?:[\\/]* ) ;;
13708 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13709 esac
13710 _ACEOF
13711
13712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13713 # If the template does not know about datarootdir, expand it.
13714 # FIXME: This hack should be removed a few years after 2.60.
13715 ac_datarootdir_hack=; ac_datarootdir_seen=
13716 ac_sed_dataroot='
13717 /datarootdir/ {
13718 p
13719 q
13720 }
13721 /@datadir@/p
13722 /@docdir@/p
13723 /@infodir@/p
13724 /@localedir@/p
13725 /@mandir@/p'
13726 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13727 *datarootdir*) ac_datarootdir_seen=yes;;
13728 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13730 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13731 _ACEOF
13732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13733 ac_datarootdir_hack='
13734 s&@datadir@&$datadir&g
13735 s&@docdir@&$docdir&g
13736 s&@infodir@&$infodir&g
13737 s&@localedir@&$localedir&g
13738 s&@mandir@&$mandir&g
13739 s&\\\${datarootdir}&$datarootdir&g' ;;
13740 esac
13741 _ACEOF
13742
13743 # Neutralize VPATH when `$srcdir' = `.'.
13744 # Shell code in configure.ac might set extrasub.
13745 # FIXME: do we really want to maintain this feature?
13746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13747 ac_sed_extra="$ac_vpsub
13748 $extrasub
13749 _ACEOF
13750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13751 :t
13752 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13753 s|@configure_input@|$ac_sed_conf_input|;t t
13754 s&@top_builddir@&$ac_top_builddir_sub&;t t
13755 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13756 s&@srcdir@&$ac_srcdir&;t t
13757 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13758 s&@top_srcdir@&$ac_top_srcdir&;t t
13759 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13760 s&@builddir@&$ac_builddir&;t t
13761 s&@abs_builddir@&$ac_abs_builddir&;t t
13762 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13763 s&@INSTALL@&$ac_INSTALL&;t t
13764 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13765 $ac_datarootdir_hack
13766 "
13767 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13768 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13769
13770 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13771 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13772 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13773 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13775 which seems to be undefined. Please make sure it is defined" >&5
13776 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13777 which seems to be undefined. Please make sure it is defined" >&2;}
13778
13779 rm -f "$ac_tmp/stdin"
13780 case $ac_file in
13781 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13782 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13783 esac \
13784 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13785 ;;
13786 :H)
13787 #
13788 # CONFIG_HEADER
13789 #
13790 if test x"$ac_file" != x-; then
13791 {
13792 $as_echo "/* $configure_input */" \
13793 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13794 } >"$ac_tmp/config.h" \
13795 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13796 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13798 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13799 else
13800 rm -f "$ac_file"
13801 mv "$ac_tmp/config.h" "$ac_file" \
13802 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13803 fi
13804 else
13805 $as_echo "/* $configure_input */" \
13806 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13807 || as_fn_error $? "could not create -" "$LINENO" 5
13808 fi
13809 # Compute "$ac_file"'s index in $config_headers.
13810 _am_arg="$ac_file"
13811 _am_stamp_count=1
13812 for _am_header in $config_headers :; do
13813 case $_am_header in
13814 $_am_arg | $_am_arg:* )
13815 break ;;
13816 * )
13817 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13818 esac
13819 done
13820 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13821 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13822 X"$_am_arg" : 'X\(//\)[^/]' \| \
13823 X"$_am_arg" : 'X\(//\)$' \| \
13824 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13825 $as_echo X"$_am_arg" |
13826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13827 s//\1/
13828 q
13829 }
13830 /^X\(\/\/\)[^/].*/{
13831 s//\1/
13832 q
13833 }
13834 /^X\(\/\/\)$/{
13835 s//\1/
13836 q
13837 }
13838 /^X\(\/\).*/{
13839 s//\1/
13840 q
13841 }
13842 s/.*/./; q'`/stamp-h$_am_stamp_count
13843 ;;
13844
13845 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13846 $as_echo "$as_me: executing $ac_file commands" >&6;}
13847 ;;
13848 esac
13849
13850
13851 case $ac_file$ac_mode in
13852 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13853 # Autoconf 2.62 quotes --file arguments for eval, but not when files
13854 # are listed without --file. Let's play safe and only enable the eval
13855 # if we detect the quoting.
13856 case $CONFIG_FILES in
13857 *\'*) eval set x "$CONFIG_FILES" ;;
13858 *) set x $CONFIG_FILES ;;
13859 esac
13860 shift
13861 for mf
13862 do
13863 # Strip MF so we end up with the name of the file.
13864 mf=`echo "$mf" | sed -e 's/:.*$//'`
13865 # Check whether this is an Automake generated Makefile or not.
13866 # We used to match only the files named `Makefile.in', but
13867 # some people rename them; so instead we look at the file content.
13868 # Grep'ing the first line is not enough: some people post-process
13869 # each Makefile.in and add a new line on top of each file to say so.
13870 # Grep'ing the whole file is not good either: AIX grep has a line
13871 # limit of 2048, but all sed's we know have understand at least 4000.
13872 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13873 dirpart=`$as_dirname -- "$mf" ||
13874 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13875 X"$mf" : 'X\(//\)[^/]' \| \
13876 X"$mf" : 'X\(//\)$' \| \
13877 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13878 $as_echo X"$mf" |
13879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13880 s//\1/
13881 q
13882 }
13883 /^X\(\/\/\)[^/].*/{
13884 s//\1/
13885 q
13886 }
13887 /^X\(\/\/\)$/{
13888 s//\1/
13889 q
13890 }
13891 /^X\(\/\).*/{
13892 s//\1/
13893 q
13894 }
13895 s/.*/./; q'`
13896 else
13897 continue
13898 fi
13899 # Extract the definition of DEPDIR, am__include, and am__quote
13900 # from the Makefile without running `make'.
13901 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13902 test -z "$DEPDIR" && continue
13903 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13904 test -z "am__include" && continue
13905 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13906 # When using ansi2knr, U may be empty or an underscore; expand it
13907 U=`sed -n 's/^U = //p' < "$mf"`
13908 # Find all dependency output files, they are included files with
13909 # $(DEPDIR) in their names. We invoke sed twice because it is the
13910 # simplest approach to changing $(DEPDIR) to its actual value in the
13911 # expansion.
13912 for file in `sed -n "
13913 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13914 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13915 # Make sure the directory exists.
13916 test -f "$dirpart/$file" && continue
13917 fdir=`$as_dirname -- "$file" ||
13918 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13919 X"$file" : 'X\(//\)[^/]' \| \
13920 X"$file" : 'X\(//\)$' \| \
13921 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13922 $as_echo X"$file" |
13923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13924 s//\1/
13925 q
13926 }
13927 /^X\(\/\/\)[^/].*/{
13928 s//\1/
13929 q
13930 }
13931 /^X\(\/\/\)$/{
13932 s//\1/
13933 q
13934 }
13935 /^X\(\/\).*/{
13936 s//\1/
13937 q
13938 }
13939 s/.*/./; q'`
13940 as_dir=$dirpart/$fdir; as_fn_mkdir_p
13941 # echo "creating $dirpart/$file"
13942 echo '# dummy' > "$dirpart/$file"
13943 done
13944 done
13945 }
13946 ;;
13947 "libtool":C)
13948
13949 # See if we are running on zsh, and set the options which allow our
13950 # commands through without removal of \ escapes.
13951 if test -n "${ZSH_VERSION+set}" ; then
13952 setopt NO_GLOB_SUBST
13953 fi
13954
13955 cfgfile="${ofile}T"
13956 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13957 $RM "$cfgfile"
13958
13959 cat <<_LT_EOF >> "$cfgfile"
13960 #! $SHELL
13961
13962 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13963 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13964 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13965 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13966 #
13967 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13968 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
13969 # Inc.
13970 # Written by Gordon Matzigkeit, 1996
13971 #
13972 # This file is part of GNU Libtool.
13973 #
13974 # GNU Libtool is free software; you can redistribute it and/or
13975 # modify it under the terms of the GNU General Public License as
13976 # published by the Free Software Foundation; either version 2 of
13977 # the License, or (at your option) any later version.
13978 #
13979 # As a special exception to the GNU General Public License,
13980 # if you distribute this file as part of a program or library that
13981 # is built using GNU Libtool, you may include this file under the
13982 # same distribution terms that you use for the rest of that program.
13983 #
13984 # GNU Libtool is distributed in the hope that it will be useful,
13985 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13986 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13987 # GNU General Public License for more details.
13988 #
13989 # You should have received a copy of the GNU General Public License
13990 # along with GNU Libtool; see the file COPYING. If not, a copy
13991 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13992 # obtained by writing to the Free Software Foundation, Inc.,
13993 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13994
13995
13996 # The names of the tagged configurations supported by this script.
13997 available_tags=""
13998
13999 # ### BEGIN LIBTOOL CONFIG
14000
14001 # Which release of libtool.m4 was used?
14002 macro_version=$macro_version
14003 macro_revision=$macro_revision
14004
14005 # Whether or not to build shared libraries.
14006 build_libtool_libs=$enable_shared
14007
14008 # Whether or not to build static libraries.
14009 build_old_libs=$enable_static
14010
14011 # What type of objects to build.
14012 pic_mode=$pic_mode
14013
14014 # Whether or not to optimize for fast installation.
14015 fast_install=$enable_fast_install
14016
14017 # Shell to use when invoking shell scripts.
14018 SHELL=$lt_SHELL
14019
14020 # An echo program that protects backslashes.
14021 ECHO=$lt_ECHO
14022
14023 # The host system.
14024 host_alias=$host_alias
14025 host=$host
14026 host_os=$host_os
14027
14028 # The build system.
14029 build_alias=$build_alias
14030 build=$build
14031 build_os=$build_os
14032
14033 # A sed program that does not truncate output.
14034 SED=$lt_SED
14035
14036 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14037 Xsed="\$SED -e 1s/^X//"
14038
14039 # A grep program that handles long lines.
14040 GREP=$lt_GREP
14041
14042 # An ERE matcher.
14043 EGREP=$lt_EGREP
14044
14045 # A literal string matcher.
14046 FGREP=$lt_FGREP
14047
14048 # A BSD- or MS-compatible name lister.
14049 NM=$lt_NM
14050
14051 # Whether we need soft or hard links.
14052 LN_S=$lt_LN_S
14053
14054 # What is the maximum length of a command?
14055 max_cmd_len=$max_cmd_len
14056
14057 # Object file suffix (normally "o").
14058 objext=$ac_objext
14059
14060 # Executable file suffix (normally "").
14061 exeext=$exeext
14062
14063 # whether the shell understands "unset".
14064 lt_unset=$lt_unset
14065
14066 # turn spaces into newlines.
14067 SP2NL=$lt_lt_SP2NL
14068
14069 # turn newlines into spaces.
14070 NL2SP=$lt_lt_NL2SP
14071
14072 # An object symbol dumper.
14073 OBJDUMP=$lt_OBJDUMP
14074
14075 # Method to check whether dependent libraries are shared objects.
14076 deplibs_check_method=$lt_deplibs_check_method
14077
14078 # Command to use when deplibs_check_method == "file_magic".
14079 file_magic_cmd=$lt_file_magic_cmd
14080
14081 # The archiver.
14082 AR=$lt_AR
14083 AR_FLAGS=$lt_AR_FLAGS
14084
14085 # A symbol stripping program.
14086 STRIP=$lt_STRIP
14087
14088 # Commands used to install an old-style archive.
14089 RANLIB=$lt_RANLIB
14090 old_postinstall_cmds=$lt_old_postinstall_cmds
14091 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14092
14093 # Whether to use a lock for old archive extraction.
14094 lock_old_archive_extraction=$lock_old_archive_extraction
14095
14096 # A C compiler.
14097 LTCC=$lt_CC
14098
14099 # LTCC compiler flags.
14100 LTCFLAGS=$lt_CFLAGS
14101
14102 # Take the output of nm and produce a listing of raw symbols and C names.
14103 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14104
14105 # Transform the output of nm in a proper C declaration.
14106 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14107
14108 # Transform the output of nm in a C name address pair.
14109 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14110
14111 # Transform the output of nm in a C name address pair when lib prefix is needed.
14112 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14113
14114 # The name of the directory that contains temporary libtool files.
14115 objdir=$objdir
14116
14117 # Used to examine libraries when file_magic_cmd begins with "file".
14118 MAGIC_CMD=$MAGIC_CMD
14119
14120 # Must we lock files when doing compilation?
14121 need_locks=$lt_need_locks
14122
14123 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14124 DSYMUTIL=$lt_DSYMUTIL
14125
14126 # Tool to change global to local symbols on Mac OS X.
14127 NMEDIT=$lt_NMEDIT
14128
14129 # Tool to manipulate fat objects and archives on Mac OS X.
14130 LIPO=$lt_LIPO
14131
14132 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14133 OTOOL=$lt_OTOOL
14134
14135 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14136 OTOOL64=$lt_OTOOL64
14137
14138 # Old archive suffix (normally "a").
14139 libext=$libext
14140
14141 # Shared library suffix (normally ".so").
14142 shrext_cmds=$lt_shrext_cmds
14143
14144 # The commands to extract the exported symbol list from a shared archive.
14145 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14146
14147 # Variables whose values should be saved in libtool wrapper scripts and
14148 # restored at link time.
14149 variables_saved_for_relink=$lt_variables_saved_for_relink
14150
14151 # Do we need the "lib" prefix for modules?
14152 need_lib_prefix=$need_lib_prefix
14153
14154 # Do we need a version for libraries?
14155 need_version=$need_version
14156
14157 # Library versioning type.
14158 version_type=$version_type
14159
14160 # Shared library runtime path variable.
14161 runpath_var=$runpath_var
14162
14163 # Shared library path variable.
14164 shlibpath_var=$shlibpath_var
14165
14166 # Is shlibpath searched before the hard-coded library search path?
14167 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14168
14169 # Format of library name prefix.
14170 libname_spec=$lt_libname_spec
14171
14172 # List of archive names. First name is the real one, the rest are links.
14173 # The last name is the one that the linker finds with -lNAME
14174 library_names_spec=$lt_library_names_spec
14175
14176 # The coded name of the library, if different from the real name.
14177 soname_spec=$lt_soname_spec
14178
14179 # Permission mode override for installation of shared libraries.
14180 install_override_mode=$lt_install_override_mode
14181
14182 # Command to use after installation of a shared archive.
14183 postinstall_cmds=$lt_postinstall_cmds
14184
14185 # Command to use after uninstallation of a shared archive.
14186 postuninstall_cmds=$lt_postuninstall_cmds
14187
14188 # Commands used to finish a libtool library installation in a directory.
14189 finish_cmds=$lt_finish_cmds
14190
14191 # As "finish_cmds", except a single script fragment to be evaled but
14192 # not shown.
14193 finish_eval=$lt_finish_eval
14194
14195 # Whether we should hardcode library paths into libraries.
14196 hardcode_into_libs=$hardcode_into_libs
14197
14198 # Compile-time system search path for libraries.
14199 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14200
14201 # Run-time system search path for libraries.
14202 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14203
14204 # Whether dlopen is supported.
14205 dlopen_support=$enable_dlopen
14206
14207 # Whether dlopen of programs is supported.
14208 dlopen_self=$enable_dlopen_self
14209
14210 # Whether dlopen of statically linked programs is supported.
14211 dlopen_self_static=$enable_dlopen_self_static
14212
14213 # Commands to strip libraries.
14214 old_striplib=$lt_old_striplib
14215 striplib=$lt_striplib
14216
14217
14218 # The linker used to build libraries.
14219 LD=$lt_LD
14220
14221 # How to create reloadable object files.
14222 reload_flag=$lt_reload_flag
14223 reload_cmds=$lt_reload_cmds
14224
14225 # Commands used to build an old-style archive.
14226 old_archive_cmds=$lt_old_archive_cmds
14227
14228 # A language specific compiler.
14229 CC=$lt_compiler
14230
14231 # Is the compiler the GNU compiler?
14232 with_gcc=$GCC
14233
14234 # Compiler flag to turn off builtin functions.
14235 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14236
14237 # How to pass a linker flag through the compiler.
14238 wl=$lt_lt_prog_compiler_wl
14239
14240 # Additional compiler flags for building library objects.
14241 pic_flag=$lt_lt_prog_compiler_pic
14242
14243 # Compiler flag to prevent dynamic linking.
14244 link_static_flag=$lt_lt_prog_compiler_static
14245
14246 # Does compiler simultaneously support -c and -o options?
14247 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14248
14249 # Whether or not to add -lc for building shared libraries.
14250 build_libtool_need_lc=$archive_cmds_need_lc
14251
14252 # Whether or not to disallow shared libs when runtime libs are static.
14253 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14254
14255 # Compiler flag to allow reflexive dlopens.
14256 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14257
14258 # Compiler flag to generate shared objects directly from archives.
14259 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14260
14261 # Whether the compiler copes with passing no objects directly.
14262 compiler_needs_object=$lt_compiler_needs_object
14263
14264 # Create an old-style archive from a shared archive.
14265 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14266
14267 # Create a temporary old-style archive to link instead of a shared archive.
14268 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14269
14270 # Commands used to build a shared archive.
14271 archive_cmds=$lt_archive_cmds
14272 archive_expsym_cmds=$lt_archive_expsym_cmds
14273
14274 # Commands used to build a loadable module if different from building
14275 # a shared archive.
14276 module_cmds=$lt_module_cmds
14277 module_expsym_cmds=$lt_module_expsym_cmds
14278
14279 # Whether we are building with GNU ld or not.
14280 with_gnu_ld=$lt_with_gnu_ld
14281
14282 # Flag that allows shared libraries with undefined symbols to be built.
14283 allow_undefined_flag=$lt_allow_undefined_flag
14284
14285 # Flag that enforces no undefined symbols.
14286 no_undefined_flag=$lt_no_undefined_flag
14287
14288 # Flag to hardcode \$libdir into a binary during linking.
14289 # This must work even if \$libdir does not exist
14290 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14291
14292 # If ld is used when linking, flag to hardcode \$libdir into a binary
14293 # during linking. This must work even if \$libdir does not exist.
14294 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14295
14296 # Whether we need a single "-rpath" flag with a separated argument.
14297 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14298
14299 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14300 # DIR into the resulting binary.
14301 hardcode_direct=$hardcode_direct
14302
14303 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14304 # DIR into the resulting binary and the resulting library dependency is
14305 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14306 # library is relocated.
14307 hardcode_direct_absolute=$hardcode_direct_absolute
14308
14309 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14310 # into the resulting binary.
14311 hardcode_minus_L=$hardcode_minus_L
14312
14313 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14314 # into the resulting binary.
14315 hardcode_shlibpath_var=$hardcode_shlibpath_var
14316
14317 # Set to "yes" if building a shared library automatically hardcodes DIR
14318 # into the library and all subsequent libraries and executables linked
14319 # against it.
14320 hardcode_automatic=$hardcode_automatic
14321
14322 # Set to yes if linker adds runtime paths of dependent libraries
14323 # to runtime path list.
14324 inherit_rpath=$inherit_rpath
14325
14326 # Whether libtool must link a program against all its dependency libraries.
14327 link_all_deplibs=$link_all_deplibs
14328
14329 # Fix the shell variable \$srcfile for the compiler.
14330 fix_srcfile_path=$lt_fix_srcfile_path
14331
14332 # Set to "yes" if exported symbols are required.
14333 always_export_symbols=$always_export_symbols
14334
14335 # The commands to list exported symbols.
14336 export_symbols_cmds=$lt_export_symbols_cmds
14337
14338 # Symbols that should not be listed in the preloaded symbols.
14339 exclude_expsyms=$lt_exclude_expsyms
14340
14341 # Symbols that must always be exported.
14342 include_expsyms=$lt_include_expsyms
14343
14344 # Commands necessary for linking programs (against libraries) with templates.
14345 prelink_cmds=$lt_prelink_cmds
14346
14347 # Specify filename containing input files.
14348 file_list_spec=$lt_file_list_spec
14349
14350 # How to hardcode a shared library path into an executable.
14351 hardcode_action=$hardcode_action
14352
14353 # ### END LIBTOOL CONFIG
14354
14355 _LT_EOF
14356
14357 case $host_os in
14358 aix3*)
14359 cat <<\_LT_EOF >> "$cfgfile"
14360 # AIX sometimes has problems with the GCC collect2 program. For some
14361 # reason, if we set the COLLECT_NAMES environment variable, the problems
14362 # vanish in a puff of smoke.
14363 if test "X${COLLECT_NAMES+set}" != Xset; then
14364 COLLECT_NAMES=
14365 export COLLECT_NAMES
14366 fi
14367 _LT_EOF
14368 ;;
14369 esac
14370
14371
14372 ltmain="$ac_aux_dir/ltmain.sh"
14373
14374
14375 # We use sed instead of cat because bash on DJGPP gets confused if
14376 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14377 # text mode, it properly converts lines to CR/LF. This bash problem
14378 # is reportedly fixed, but why not run on old versions too?
14379 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14380 || (rm -f "$cfgfile"; exit 1)
14381
14382 case $xsi_shell in
14383 yes)
14384 cat << \_LT_EOF >> "$cfgfile"
14385
14386 # func_dirname file append nondir_replacement
14387 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14388 # otherwise set result to NONDIR_REPLACEMENT.
14389 func_dirname ()
14390 {
14391 case ${1} in
14392 */*) func_dirname_result="${1%/*}${2}" ;;
14393 * ) func_dirname_result="${3}" ;;
14394 esac
14395 }
14396
14397 # func_basename file
14398 func_basename ()
14399 {
14400 func_basename_result="${1##*/}"
14401 }
14402
14403 # func_dirname_and_basename file append nondir_replacement
14404 # perform func_basename and func_dirname in a single function
14405 # call:
14406 # dirname: Compute the dirname of FILE. If nonempty,
14407 # add APPEND to the result, otherwise set result
14408 # to NONDIR_REPLACEMENT.
14409 # value returned in "$func_dirname_result"
14410 # basename: Compute filename of FILE.
14411 # value retuned in "$func_basename_result"
14412 # Implementation must be kept synchronized with func_dirname
14413 # and func_basename. For efficiency, we do not delegate to
14414 # those functions but instead duplicate the functionality here.
14415 func_dirname_and_basename ()
14416 {
14417 case ${1} in
14418 */*) func_dirname_result="${1%/*}${2}" ;;
14419 * ) func_dirname_result="${3}" ;;
14420 esac
14421 func_basename_result="${1##*/}"
14422 }
14423
14424 # func_stripname prefix suffix name
14425 # strip PREFIX and SUFFIX off of NAME.
14426 # PREFIX and SUFFIX must not contain globbing or regex special
14427 # characters, hashes, percent signs, but SUFFIX may contain a leading
14428 # dot (in which case that matches only a dot).
14429 func_stripname ()
14430 {
14431 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14432 # positional parameters, so assign one to ordinary parameter first.
14433 func_stripname_result=${3}
14434 func_stripname_result=${func_stripname_result#"${1}"}
14435 func_stripname_result=${func_stripname_result%"${2}"}
14436 }
14437
14438 # func_opt_split
14439 func_opt_split ()
14440 {
14441 func_opt_split_opt=${1%%=*}
14442 func_opt_split_arg=${1#*=}
14443 }
14444
14445 # func_lo2o object
14446 func_lo2o ()
14447 {
14448 case ${1} in
14449 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14450 *) func_lo2o_result=${1} ;;
14451 esac
14452 }
14453
14454 # func_xform libobj-or-source
14455 func_xform ()
14456 {
14457 func_xform_result=${1%.*}.lo
14458 }
14459
14460 # func_arith arithmetic-term...
14461 func_arith ()
14462 {
14463 func_arith_result=$(( $* ))
14464 }
14465
14466 # func_len string
14467 # STRING may not start with a hyphen.
14468 func_len ()
14469 {
14470 func_len_result=${#1}
14471 }
14472
14473 _LT_EOF
14474 ;;
14475 *) # Bourne compatible functions.
14476 cat << \_LT_EOF >> "$cfgfile"
14477
14478 # func_dirname file append nondir_replacement
14479 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
14480 # otherwise set result to NONDIR_REPLACEMENT.
14481 func_dirname ()
14482 {
14483 # Extract subdirectory from the argument.
14484 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
14485 if test "X$func_dirname_result" = "X${1}"; then
14486 func_dirname_result="${3}"
14487 else
14488 func_dirname_result="$func_dirname_result${2}"
14489 fi
14490 }
14491
14492 # func_basename file
14493 func_basename ()
14494 {
14495 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
14496 }
14497
14498
14499 # func_stripname prefix suffix name
14500 # strip PREFIX and SUFFIX off of NAME.
14501 # PREFIX and SUFFIX must not contain globbing or regex special
14502 # characters, hashes, percent signs, but SUFFIX may contain a leading
14503 # dot (in which case that matches only a dot).
14504 # func_strip_suffix prefix name
14505 func_stripname ()
14506 {
14507 case ${2} in
14508 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14509 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14510 esac
14511 }
14512
14513 # sed scripts:
14514 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14515 my_sed_long_arg='1s/^-[^=]*=//'
14516
14517 # func_opt_split
14518 func_opt_split ()
14519 {
14520 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14521 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14522 }
14523
14524 # func_lo2o object
14525 func_lo2o ()
14526 {
14527 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
14528 }
14529
14530 # func_xform libobj-or-source
14531 func_xform ()
14532 {
14533 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14534 }
14535
14536 # func_arith arithmetic-term...
14537 func_arith ()
14538 {
14539 func_arith_result=`expr "$@"`
14540 }
14541
14542 # func_len string
14543 # STRING may not start with a hyphen.
14544 func_len ()
14545 {
14546 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14547 }
14548
14549 _LT_EOF
14550 esac
14551
14552 case $lt_shell_append in
14553 yes)
14554 cat << \_LT_EOF >> "$cfgfile"
14555
14556 # func_append var value
14557 # Append VALUE to the end of shell variable VAR.
14558 func_append ()
14559 {
14560 eval "$1+=\$2"
14561 }
14562 _LT_EOF
14563 ;;
14564 *)
14565 cat << \_LT_EOF >> "$cfgfile"
14566
14567 # func_append var value
14568 # Append VALUE to the end of shell variable VAR.
14569 func_append ()
14570 {
14571 eval "$1=\$$1\$2"
14572 }
14573
14574 _LT_EOF
14575 ;;
14576 esac
14577
14578
14579 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14580 || (rm -f "$cfgfile"; exit 1)
14581
14582 mv -f "$cfgfile" "$ofile" ||
14583 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14584 chmod +x "$ofile"
14585
14586 ;;
14587 "libtool_hack":C)
14588 cp -f libtool libtool_
14589 test -z "$SED" && SED=sed
14590 $SED '1,/^soname_spec/{
14591 /^soname_spec/i\
14592 # X.Org hack to match monolithic Xaw SONAME\
14593 xorglibxawname="libXaw"
14594 /^soname_spec/s/libname/xorglibxawname/
14595 }' libtool_ > libtool
14596 rm -f libtool_
14597 ;;
14598
14599 esac
14600 done # for ac_tag
14601
14602
14603 as_fn_exit 0
14604 _ACEOF
14605 ac_clean_files=$ac_clean_files_save
14606
14607 test $ac_write_fail = 0 ||
14608 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14609
14610
14611 # configure is writing to config.log, and then calls config.status.
14612 # config.status does its own redirection, appending to config.log.
14613 # Unfortunately, on DOS this fails, as config.log is still kept open
14614 # by configure, so config.status won't be able to write to it; its
14615 # output is simply discarded. So we exec the FD to /dev/null,
14616 # effectively closing config.log, so it can be properly (re)opened and
14617 # appended to by config.status. When coming back to configure, we
14618 # need to make the FD available again.
14619 if test "$no_create" != yes; then
14620 ac_cs_success=:
14621 ac_config_status_args=
14622 test "$silent" = yes &&
14623 ac_config_status_args="$ac_config_status_args --quiet"
14624 exec 5>/dev/null
14625 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14626 exec 5>>config.log
14627 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14628 # would make configure fail if this is the last instruction.
14629 $ac_cs_success || as_fn_exit 1
14630 fi
14631 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14633 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14634 fi
14635
14636
14637 if test "x$build_v6" = xyes; then
14638 ac_config_files="$ac_config_files xaw6.pc"
14639
14640 cat >confcache <<\_ACEOF
14641 # This file is a shell script that caches the results of configure
14642 # tests run on this system so they can be shared between configure
14643 # scripts and configure runs, see configure's option --config-cache.
14644 # It is not useful on other systems. If it contains results you don't
14645 # want to keep, you may remove or edit it.
14646 #
14647 # config.status only pays attention to the cache file if you give it
14648 # the --recheck option to rerun configure.
14649 #
14650 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14651 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14652 # following values.
14653
14654 _ACEOF
14655
14656 # The following way of writing the cache mishandles newlines in values,
14657 # but we know of no workaround that is simple, portable, and efficient.
14658 # So, we kill variables containing newlines.
14659 # Ultrix sh set writes to stderr and can't be redirected directly,
14660 # and sets the high bit in the cache file unless we assign to the vars.
14661 (
14662 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14663 eval ac_val=\$$ac_var
14664 case $ac_val in #(
14665 *${as_nl}*)
14666 case $ac_var in #(
14667 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14668 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14669 esac
14670 case $ac_var in #(
14671 _ | IFS | as_nl) ;; #(
14672 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14673 *) { eval $ac_var=; unset $ac_var;} ;;
14674 esac ;;
14675 esac
14676 done
14677
14678 (set) 2>&1 |
14679 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14680 *${as_nl}ac_space=\ *)
14681 # `set' does not quote correctly, so add quotes: double-quote
14682 # substitution turns \\\\ into \\, and sed turns \\ into \.
14683 sed -n \
14684 "s/'/'\\\\''/g;
14685 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14686 ;; #(
14687 *)
14688 # `set' quotes correctly as required by POSIX, so do not add quotes.
14689 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14690 ;;
14691 esac |
14692 sort
14693 ) |
14694 sed '
14695 /^ac_cv_env_/b end
14696 t clear
14697 :clear
14698 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14699 t end
14700 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14701 :end' >>confcache
14702 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14703 if test -w "$cache_file"; then
14704 if test "x$cache_file" != "x/dev/null"; then
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14706 $as_echo "$as_me: updating cache $cache_file" >&6;}
14707 if test ! -f "$cache_file" || test -h "$cache_file"; then
14708 cat confcache >"$cache_file"
14709 else
14710 case $cache_file in #(
14711 */* | ?:*)
14712 mv -f confcache "$cache_file"$$ &&
14713 mv -f "$cache_file"$$ "$cache_file" ;; #(
14714 *)
14715 mv -f confcache "$cache_file" ;;
14716 esac
14717 fi
14718 fi
14719 else
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14721 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14722 fi
14723 fi
14724 rm -f confcache
14725
14726 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14727 # Let make expand exec_prefix.
14728 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14729
14730 DEFS=-DHAVE_CONFIG_H
14731
14732 ac_libobjs=
14733 ac_ltlibobjs=
14734 U=
14735 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14736 # 1. Remove the extension, and $U if already installed.
14737 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14738 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14739 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14740 # will be set to the directory where LIBOBJS objects are built.
14741 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14742 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14743 done
14744 LIBOBJS=$ac_libobjs
14745
14746 LTLIBOBJS=$ac_ltlibobjs
14747
14748
14749 if test -n "$EXEEXT"; then
14750 am__EXEEXT_TRUE=
14751 am__EXEEXT_FALSE='#'
14752 else
14753 am__EXEEXT_TRUE='#'
14754 am__EXEEXT_FALSE=
14755 fi
14756
14757 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14758 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14760 fi
14761 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14762 as_fn_error $? "conditional \"AMDEP\" was never defined.
14763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14764 fi
14765 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14766 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14768 fi
14769 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
14770 as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
14771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14772 fi
14773 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
14774 as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
14775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14776 fi
14777 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
14778 as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
14779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14780 fi
14781 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
14782 as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
14783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14784 fi
14785 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
14786 as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
14787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14788 fi
14789 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
14790 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
14791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14792 fi
14793 if test -z "${PLATFORM_DARWIN_TRUE}" && test -z "${PLATFORM_DARWIN_FALSE}"; then
14794 as_fn_error $? "conditional \"PLATFORM_DARWIN\" was never defined.
14795 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14796 fi
14797 if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
14798 as_fn_error $? "conditional \"BUILD_XAW6\" was never defined.
14799 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14800 fi
14801 if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
14802 as_fn_error $? "conditional \"BUILD_XAW7\" was never defined.
14803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14804 fi
14805 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
14806 as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
14807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14808 fi
14809
14810 : "${CONFIG_STATUS=./config.status}"
14811 ac_write_fail=0
14812 ac_clean_files_save=$ac_clean_files
14813 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14815 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14816 as_write_fail=0
14817 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14818 #! $SHELL
14819 # Generated by $as_me.
14820 # Run this file to recreate the current configuration.
14821 # Compiler output produced by configure, useful for debugging
14822 # configure, is in config.log if it exists.
14823
14824 debug=false
14825 ac_cs_recheck=false
14826 ac_cs_silent=false
14827
14828 SHELL=\${CONFIG_SHELL-$SHELL}
14829 export SHELL
14830 _ASEOF
14831 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14832 ## -------------------- ##
14833 ## M4sh Initialization. ##
14834 ## -------------------- ##
14835
14836 # Be more Bourne compatible
14837 DUALCASE=1; export DUALCASE # for MKS sh
14838 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14839 emulate sh
14840 NULLCMD=:
14841 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14842 # is contrary to our usage. Disable this feature.
14843 alias -g '${1+"$@"}'='"$@"'
14844 setopt NO_GLOB_SUBST
14845 else
14846 case `(set -o) 2>/dev/null` in #(
14847 *posix*) :
14848 set -o posix ;; #(
14849 *) :
14850 ;;
14851 esac
14852 fi
14853
14854
14855 as_nl='
14856 '
14857 export as_nl
14858 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14859 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14860 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14861 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14862 # Prefer a ksh shell builtin over an external printf program on Solaris,
14863 # but without wasting forks for bash or zsh.
14864 if test -z "$BASH_VERSION$ZSH_VERSION" \
14865 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14866 as_echo='print -r --'
14867 as_echo_n='print -rn --'
14868 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14869 as_echo='printf %s\n'
14870 as_echo_n='printf %s'
14871 else
14872 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14873 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14874 as_echo_n='/usr/ucb/echo -n'
14875 else
14876 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14877 as_echo_n_body='eval
14878 arg=$1;
14879 case $arg in #(
14880 *"$as_nl"*)
14881 expr "X$arg" : "X\\(.*\\)$as_nl";
14882 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14883 esac;
14884 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14885 '
14886 export as_echo_n_body
14887 as_echo_n='sh -c $as_echo_n_body as_echo'
14888 fi
14889 export as_echo_body
14890 as_echo='sh -c $as_echo_body as_echo'
14891 fi
14892
14893 # The user is always right.
14894 if test "${PATH_SEPARATOR+set}" != set; then
14895 PATH_SEPARATOR=:
14896 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14897 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14898 PATH_SEPARATOR=';'
14899 }
14900 fi
14901
14902
14903 # IFS
14904 # We need space, tab and new line, in precisely that order. Quoting is
14905 # there to prevent editors from complaining about space-tab.
14906 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14907 # splitting by setting IFS to empty value.)
14908 IFS=" "" $as_nl"
14909
14910 # Find who we are. Look in the path if we contain no directory separator.
14911 as_myself=
14912 case $0 in #((
14913 *[\\/]* ) as_myself=$0 ;;
14914 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14915 for as_dir in $PATH
14916 do
14917 IFS=$as_save_IFS
14918 test -z "$as_dir" && as_dir=.
14919 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14920 done
14921 IFS=$as_save_IFS
14922
14923 ;;
14924 esac
14925 # We did not find ourselves, most probably we were run as `sh COMMAND'
14926 # in which case we are not to be found in the path.
14927 if test "x$as_myself" = x; then
14928 as_myself=$0
14929 fi
14930 if test ! -f "$as_myself"; then
14931 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14932 exit 1
14933 fi
14934
14935 # Unset variables that we do not need and which cause bugs (e.g. in
14936 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14937 # suppresses any "Segmentation fault" message there. '((' could
14938 # trigger a bug in pdksh 5.2.14.
14939 for as_var in BASH_ENV ENV MAIL MAILPATH
14940 do eval test x\${$as_var+set} = xset \
14941 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14942 done
14943 PS1='$ '
14944 PS2='> '
14945 PS4='+ '
14946
14947 # NLS nuisances.
14948 LC_ALL=C
14949 export LC_ALL
14950 LANGUAGE=C
14951 export LANGUAGE
14952
14953 # CDPATH.
14954 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14955
14956
14957 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14958 # ----------------------------------------
14959 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14960 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14961 # script with STATUS, using 1 if that was 0.
14962 as_fn_error ()
14963 {
14964 as_status=$1; test $as_status -eq 0 && as_status=1
14965 if test "$4"; then
14966 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14967 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14968 fi
14969 $as_echo "$as_me: error: $2" >&2
14970 as_fn_exit $as_status
14971 } # as_fn_error
14972
14973
14974 # as_fn_set_status STATUS
14975 # -----------------------
14976 # Set $? to STATUS, without forking.
14977 as_fn_set_status ()
14978 {
14979 return $1
14980 } # as_fn_set_status
14981
14982 # as_fn_exit STATUS
14983 # -----------------
14984 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14985 as_fn_exit ()
14986 {
14987 set +e
14988 as_fn_set_status $1
14989 exit $1
14990 } # as_fn_exit
14991
14992 # as_fn_unset VAR
14993 # ---------------
14994 # Portably unset VAR.
14995 as_fn_unset ()
14996 {
14997 { eval $1=; unset $1;}
14998 }
14999 as_unset=as_fn_unset
15000 # as_fn_append VAR VALUE
15001 # ----------------------
15002 # Append the text in VALUE to the end of the definition contained in VAR. Take
15003 # advantage of any shell optimizations that allow amortized linear growth over
15004 # repeated appends, instead of the typical quadratic growth present in naive
15005 # implementations.
15006 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15007 eval 'as_fn_append ()
15008 {
15009 eval $1+=\$2
15010 }'
15011 else
15012 as_fn_append ()
15013 {
15014 eval $1=\$$1\$2
15015 }
15016 fi # as_fn_append
15017
15018 # as_fn_arith ARG...
15019 # ------------------
15020 # Perform arithmetic evaluation on the ARGs, and store the result in the
15021 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15022 # must be portable across $(()) and expr.
15023 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15024 eval 'as_fn_arith ()
15025 {
15026 as_val=$(( $* ))
15027 }'
15028 else
15029 as_fn_arith ()
15030 {
15031 as_val=`expr "$@" || test $? -eq 1`
15032 }
15033 fi # as_fn_arith
15034
15035
15036 if expr a : '\(a\)' >/dev/null 2>&1 &&
15037 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15038 as_expr=expr
15039 else
15040 as_expr=false
15041 fi
15042
15043 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15044 as_basename=basename
15045 else
15046 as_basename=false
15047 fi
15048
15049 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15050 as_dirname=dirname
15051 else
15052 as_dirname=false
15053 fi
15054
15055 as_me=`$as_basename -- "$0" ||
15056 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15057 X"$0" : 'X\(//\)$' \| \
15058 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15059 $as_echo X/"$0" |
15060 sed '/^.*\/\([^/][^/]*\)\/*$/{
15061 s//\1/
15062 q
15063 }
15064 /^X\/\(\/\/\)$/{
15065 s//\1/
15066 q
15067 }
15068 /^X\/\(\/\).*/{
15069 s//\1/
15070 q
15071 }
15072 s/.*/./; q'`
15073
15074 # Avoid depending upon Character Ranges.
15075 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15076 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15077 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15078 as_cr_digits='0123456789'
15079 as_cr_alnum=$as_cr_Letters$as_cr_digits
15080
15081 ECHO_C= ECHO_N= ECHO_T=
15082 case `echo -n x` in #(((((
15083 -n*)
15084 case `echo 'xy\c'` in
15085 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15086 xy) ECHO_C='\c';;
15087 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15088 ECHO_T=' ';;
15089 esac;;
15090 *)
15091 ECHO_N='-n';;
15092 esac
15093
15094 rm -f conf$$ conf$$.exe conf$$.file
15095 if test -d conf$$.dir; then
15096 rm -f conf$$.dir/conf$$.file
15097 else
15098 rm -f conf$$.dir
15099 mkdir conf$$.dir 2>/dev/null
15100 fi
15101 if (echo >conf$$.file) 2>/dev/null; then
15102 if ln -s conf$$.file conf$$ 2>/dev/null; then
15103 as_ln_s='ln -s'
15104 # ... but there are two gotchas:
15105 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15106 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15107 # In both cases, we have to default to `cp -p'.
15108 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15109 as_ln_s='cp -p'
15110 elif ln conf$$.file conf$$ 2>/dev/null; then
15111 as_ln_s=ln
15112 else
15113 as_ln_s='cp -p'
15114 fi
15115 else
15116 as_ln_s='cp -p'
15117 fi
15118 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15119 rmdir conf$$.dir 2>/dev/null
15120
15121
15122 # as_fn_mkdir_p
15123 # -------------
15124 # Create "$as_dir" as a directory, including parents if necessary.
15125 as_fn_mkdir_p ()
15126 {
15127
15128 case $as_dir in #(
15129 -*) as_dir=./$as_dir;;
15130 esac
15131 test -d "$as_dir" || eval $as_mkdir_p || {
15132 as_dirs=
15133 while :; do
15134 case $as_dir in #(
15135 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15136 *) as_qdir=$as_dir;;
15137 esac
15138 as_dirs="'$as_qdir' $as_dirs"
15139 as_dir=`$as_dirname -- "$as_dir" ||
15140 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15141 X"$as_dir" : 'X\(//\)[^/]' \| \
15142 X"$as_dir" : 'X\(//\)$' \| \
15143 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15144 $as_echo X"$as_dir" |
15145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15146 s//\1/
15147 q
15148 }
15149 /^X\(\/\/\)[^/].*/{
15150 s//\1/
15151 q
15152 }
15153 /^X\(\/\/\)$/{
15154 s//\1/
15155 q
15156 }
15157 /^X\(\/\).*/{
15158 s//\1/
15159 q
15160 }
15161 s/.*/./; q'`
15162 test -d "$as_dir" && break
15163 done
15164 test -z "$as_dirs" || eval "mkdir $as_dirs"
15165 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15166
15167
15168 } # as_fn_mkdir_p
15169 if mkdir -p . 2>/dev/null; then
15170 as_mkdir_p='mkdir -p "$as_dir"'
15171 else
15172 test -d ./-p && rmdir ./-p
15173 as_mkdir_p=false
15174 fi
15175
15176 if test -x / >/dev/null 2>&1; then
15177 as_test_x='test -x'
15178 else
15179 if ls -dL / >/dev/null 2>&1; then
15180 as_ls_L_option=L
15181 else
15182 as_ls_L_option=
15183 fi
15184 as_test_x='
15185 eval sh -c '\''
15186 if test -d "$1"; then
15187 test -d "$1/.";
15188 else
15189 case $1 in #(
15190 -*)set "./$1";;
15191 esac;
15192 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15193 ???[sx]*):;;*)false;;esac;fi
15194 '\'' sh
15195 '
15196 fi
15197 as_executable_p=$as_test_x
15198
15199 # Sed expression to map a string onto a valid CPP name.
15200 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15201
15202 # Sed expression to map a string onto a valid variable name.
15203 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15204
15205
15206 exec 6>&1
15207 ## ----------------------------------- ##
15208 ## Main body of $CONFIG_STATUS script. ##
15209 ## ----------------------------------- ##
15210 _ASEOF
15211 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15212
15213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15214 # Save the log message, to keep $0 and so on meaningful, and to
15215 # report actual input values of CONFIG_FILES etc. instead of their
15216 # values after options handling.
15217 ac_log="
15218 This file was extended by libXaw $as_me 1.0.8, which was
15219 generated by GNU Autoconf 2.68. Invocation command line was
15220
15221 CONFIG_FILES = $CONFIG_FILES
15222 CONFIG_HEADERS = $CONFIG_HEADERS
15223 CONFIG_LINKS = $CONFIG_LINKS
15224 CONFIG_COMMANDS = $CONFIG_COMMANDS
15225 $ $0 $@
15226
15227 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15228 "
15229
15230 _ACEOF
15231
15232 case $ac_config_files in *"
15233 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15234 esac
15235
15236 case $ac_config_headers in *"
15237 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15238 esac
15239
15240
15241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15242 # Files that config.status was made for.
15243 config_files="$ac_config_files"
15244 config_headers="$ac_config_headers"
15245 config_commands="$ac_config_commands"
15246
15247 _ACEOF
15248
15249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15250 ac_cs_usage="\
15251 \`$as_me' instantiates files and other configuration actions
15252 from templates according to the current configuration. Unless the files
15253 and actions are specified as TAGs, all are instantiated by default.
15254
15255 Usage: $0 [OPTION]... [TAG]...
15256
15257 -h, --help print this help, then exit
15258 -V, --version print version number and configuration settings, then exit
15259 --config print configuration, then exit
15260 -q, --quiet, --silent
15261 do not print progress messages
15262 -d, --debug don't remove temporary files
15263 --recheck update $as_me by reconfiguring in the same conditions
15264 --file=FILE[:TEMPLATE]
15265 instantiate the configuration file FILE
15266 --header=FILE[:TEMPLATE]
15267 instantiate the configuration header FILE
15268
15269 Configuration files:
15270 $config_files
15271
15272 Configuration headers:
15273 $config_headers
15274
15275 Configuration commands:
15276 $config_commands
15277
15278 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
15279
15280 _ACEOF
15281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15282 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15283 ac_cs_version="\\
15284 libXaw config.status 1.0.8
15285 configured by $0, generated by GNU Autoconf 2.68,
15286 with options \\"\$ac_cs_config\\"
15287
15288 Copyright (C) 2010 Free Software Foundation, Inc.
15289 This config.status script is free software; the Free Software Foundation
15290 gives unlimited permission to copy, distribute and modify it."
15291
15292 ac_pwd='$ac_pwd'
15293 srcdir='$srcdir'
15294 INSTALL='$INSTALL'
15295 MKDIR_P='$MKDIR_P'
15296 AWK='$AWK'
15297 test -n "\$AWK" || AWK=awk
15298 _ACEOF
15299
15300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15301 # The default lists apply if the user does not specify any file.
15302 ac_need_defaults=:
15303 while test $# != 0
15304 do
15305 case $1 in
15306 --*=?*)
15307 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15308 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15309 ac_shift=:
15310 ;;
15311 --*=)
15312 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15313 ac_optarg=
15314 ac_shift=:
15315 ;;
15316 *)
15317 ac_option=$1
15318 ac_optarg=$2
15319 ac_shift=shift
15320 ;;
15321 esac
15322
15323 case $ac_option in
15324 # Handling of the options.
15325 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15326 ac_cs_recheck=: ;;
15327 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15328 $as_echo "$ac_cs_version"; exit ;;
15329 --config | --confi | --conf | --con | --co | --c )
15330 $as_echo "$ac_cs_config"; exit ;;
15331 --debug | --debu | --deb | --de | --d | -d )
15332 debug=: ;;
15333 --file | --fil | --fi | --f )
15334 $ac_shift
15335 case $ac_optarg in
15336 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15337 '') as_fn_error $? "missing file argument" ;;
15338 esac
15339 as_fn_append CONFIG_FILES " '$ac_optarg'"
15340 ac_need_defaults=false;;
15341 --header | --heade | --head | --hea )
15342 $ac_shift
15343 case $ac_optarg in
15344 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15345 esac
15346 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15347 ac_need_defaults=false;;
15348 --he | --h)
15349 # Conflict between --help and --header
15350 as_fn_error $? "ambiguous option: \`$1'
15351 Try \`$0 --help' for more information.";;
15352 --help | --hel | -h )
15353 $as_echo "$ac_cs_usage"; exit ;;
15354 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15355 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15356 ac_cs_silent=: ;;
15357
15358 # This is an error.
15359 -*) as_fn_error $? "unrecognized option: \`$1'
15360 Try \`$0 --help' for more information." ;;
15361
15362 *) as_fn_append ac_config_targets " $1"
15363 ac_need_defaults=false ;;
15364
15365 esac
15366 shift
15367 done
15368
15369 ac_configure_extra_args=
15370
15371 if $ac_cs_silent; then
15372 exec 6>/dev/null
15373 ac_configure_extra_args="$ac_configure_extra_args --silent"
15374 fi
15375
15376 _ACEOF
15377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15378 if \$ac_cs_recheck; then
15379 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15380 shift
15381 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15382 CONFIG_SHELL='$SHELL'
15383 export CONFIG_SHELL
15384 exec "\$@"
15385 fi
15386
15387 _ACEOF
15388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15389 exec 5>>config.log
15390 {
15391 echo
15392 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15393 ## Running $as_me. ##
15394 _ASBOX
15395 $as_echo "$ac_log"
15396 } >&5
15397
15398 _ACEOF
15399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15400 #
15401 # INIT-COMMANDS
15402 #
15403 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15404
15405
15406 # The HP-UX ksh and POSIX shell print the target directory to stdout
15407 # if CDPATH is set.
15408 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15409
15410 sed_quote_subst='$sed_quote_subst'
15411 double_quote_subst='$double_quote_subst'
15412 delay_variable_subst='$delay_variable_subst'
15413 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15414 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15415 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15416 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15417 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15418 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15419 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15420 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15421 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15422 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15423 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15424 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15425 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15426 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15427 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15428 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15429 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15430 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15431 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15432 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15433 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15434 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15435 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15436 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15437 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15438 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15439 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15440 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15441 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15442 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15443 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15444 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15445 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15446 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15447 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15448 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15449 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15450 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15451 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15452 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15453 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15454 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15455 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15456 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15457 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15458 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15459 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15460 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15461 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
15462 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15463 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15464 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15465 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15466 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15467 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15468 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15469 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15470 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15471 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15472 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15473 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15474 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15475 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15476 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15477 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15478 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15479 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15480 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15481 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15482 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15483 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15484 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15485 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15486 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15487 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15488 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15489 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15490 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15491 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15492 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15493 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15494 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15495 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15496 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15497 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15498 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15499 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15500 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15501 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15502 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15503 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15504 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15505 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15506 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15507 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15508 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15509 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15510 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15511 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15512 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15513 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15514 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15515 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15516 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15517 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15518 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15519 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15520 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15521 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15522 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15523 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15524 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15525 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15526 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15527 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15528 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15529 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15530 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15531 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15532 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15533
15534 LTCC='$LTCC'
15535 LTCFLAGS='$LTCFLAGS'
15536 compiler='$compiler_DEFAULT'
15537
15538 # A function that is used when there is no print builtin or printf.
15539 func_fallback_echo ()
15540 {
15541 eval 'cat <<_LTECHO_EOF
15542 \$1
15543 _LTECHO_EOF'
15544 }
15545
15546 # Quote evaled strings.
15547 for var in SHELL \
15548 ECHO \
15549 SED \
15550 GREP \
15551 EGREP \
15552 FGREP \
15553 LD \
15554 NM \
15555 LN_S \
15556 lt_SP2NL \
15557 lt_NL2SP \
15558 reload_flag \
15559 OBJDUMP \
15560 deplibs_check_method \
15561 file_magic_cmd \
15562 AR \
15563 AR_FLAGS \
15564 STRIP \
15565 RANLIB \
15566 CC \
15567 CFLAGS \
15568 compiler \
15569 lt_cv_sys_global_symbol_pipe \
15570 lt_cv_sys_global_symbol_to_cdecl \
15571 lt_cv_sys_global_symbol_to_c_name_address \
15572 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15573 lt_prog_compiler_no_builtin_flag \
15574 lt_prog_compiler_wl \
15575 lt_prog_compiler_pic \
15576 lt_prog_compiler_static \
15577 lt_cv_prog_compiler_c_o \
15578 need_locks \
15579 DSYMUTIL \
15580 NMEDIT \
15581 LIPO \
15582 OTOOL \
15583 OTOOL64 \
15584 shrext_cmds \
15585 export_dynamic_flag_spec \
15586 whole_archive_flag_spec \
15587 compiler_needs_object \
15588 with_gnu_ld \
15589 allow_undefined_flag \
15590 no_undefined_flag \
15591 hardcode_libdir_flag_spec \
15592 hardcode_libdir_flag_spec_ld \
15593 hardcode_libdir_separator \
15594 fix_srcfile_path \
15595 exclude_expsyms \
15596 include_expsyms \
15597 file_list_spec \
15598 variables_saved_for_relink \
15599 libname_spec \
15600 library_names_spec \
15601 soname_spec \
15602 install_override_mode \
15603 finish_eval \
15604 old_striplib \
15605 striplib; do
15606 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15607 *[\\\\\\\`\\"\\\$]*)
15608 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15609 ;;
15610 *)
15611 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15612 ;;
15613 esac
15614 done
15615
15616 # Double-quote double-evaled strings.
15617 for var in reload_cmds \
15618 old_postinstall_cmds \
15619 old_postuninstall_cmds \
15620 old_archive_cmds \
15621 extract_expsyms_cmds \
15622 old_archive_from_new_cmds \
15623 old_archive_from_expsyms_cmds \
15624 archive_cmds \
15625 archive_expsym_cmds \
15626 module_cmds \
15627 module_expsym_cmds \
15628 export_symbols_cmds \
15629 prelink_cmds \
15630 postinstall_cmds \
15631 postuninstall_cmds \
15632 finish_cmds \
15633 sys_lib_search_path_spec \
15634 sys_lib_dlsearch_path_spec; do
15635 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15636 *[\\\\\\\`\\"\\\$]*)
15637 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15638 ;;
15639 *)
15640 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15641 ;;
15642 esac
15643 done
15644
15645 ac_aux_dir='$ac_aux_dir'
15646 xsi_shell='$xsi_shell'
15647 lt_shell_append='$lt_shell_append'
15648
15649 # See if we are running on zsh, and set the options which allow our
15650 # commands through without removal of \ escapes INIT.
15651 if test -n "\${ZSH_VERSION+set}" ; then
15652 setopt NO_GLOB_SUBST
15653 fi
15654
15655
15656 PACKAGE='$PACKAGE'
15657 VERSION='$VERSION'
15658 TIMESTAMP='$TIMESTAMP'
15659 RM='$RM'
15660 ofile='$ofile'
15661
15662 ac_aux_dir='$ac_aux_dir'
15663
15664
15665
15666 _ACEOF
15667
15668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15669
15670 # Handling of arguments.
15671 for ac_config_target in $ac_config_targets
15672 do
15673 case $ac_config_target in
15674 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15675 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15676 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15677 "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
15678 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15679 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
15680 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
15681 "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
15682 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15683 "xaw6.pc") CONFIG_FILES="$CONFIG_FILES xaw6.pc" ;;
15684
15685 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15686 esac
15687 done
15688
15689
15690 # If the user did not use the arguments to specify the items to instantiate,
15691 # then the envvar interface is used. Set only those that are not.
15692 # We use the long form for the default assignment because of an extremely
15693 # bizarre bug on SunOS 4.1.3.
15694 if $ac_need_defaults; then
15695 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15696 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15697 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15698 fi
15699
15700 # Have a temporary directory for convenience. Make it in the build tree
15701 # simply because there is no reason against having it here, and in addition,
15702 # creating and moving files from /tmp can sometimes cause problems.
15703 # Hook for its removal unless debugging.
15704 # Note that there is a small window in which the directory will not be cleaned:
15705 # after its creation but before its name has been assigned to `$tmp'.
15706 $debug ||
15707 {
15708 tmp= ac_tmp=
15709 trap 'exit_status=$?
15710 : "${ac_tmp:=$tmp}"
15711 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15712 ' 0
15713 trap 'as_fn_exit 1' 1 2 13 15
15714 }
15715 # Create a (secure) tmp directory for tmp files.
15716
15717 {
15718 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15719 test -d "$tmp"
15720 } ||
15721 {
15722 tmp=./conf$$-$RANDOM
15723 (umask 077 && mkdir "$tmp")
15724 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15725 ac_tmp=$tmp
15726
15727 # Set up the scripts for CONFIG_FILES section.
15728 # No need to generate them if there are no CONFIG_FILES.
15729 # This happens for instance with `./config.status config.h'.
15730 if test -n "$CONFIG_FILES"; then
15731
15732
15733 ac_cr=`echo X | tr X '\015'`
15734 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15735 # But we know of no other shell where ac_cr would be empty at this
15736 # point, so we can use a bashism as a fallback.
15737 if test "x$ac_cr" = x; then
15738 eval ac_cr=\$\'\\r\'
15739 fi
15740 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15741 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15742 ac_cs_awk_cr='\\r'
15743 else
15744 ac_cs_awk_cr=$ac_cr
15745 fi
15746
15747 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15748 _ACEOF
15749
15750
15751 {
15752 echo "cat >conf$$subs.awk <<_ACEOF" &&
15753 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15754 echo "_ACEOF"
15755 } >conf$$subs.sh ||
15756 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15757 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15758 ac_delim='%!_!# '
15759 for ac_last_try in false false false false false :; do
15760 . ./conf$$subs.sh ||
15761 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15762
15763 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15764 if test $ac_delim_n = $ac_delim_num; then
15765 break
15766 elif $ac_last_try; then
15767 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15768 else
15769 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15770 fi
15771 done
15772 rm -f conf$$subs.sh
15773
15774 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15775 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15776 _ACEOF
15777 sed -n '
15778 h
15779 s/^/S["/; s/!.*/"]=/
15780 p
15781 g
15782 s/^[^!]*!//
15783 :repl
15784 t repl
15785 s/'"$ac_delim"'$//
15786 t delim
15787 :nl
15788 h
15789 s/\(.\{148\}\)..*/\1/
15790 t more1
15791 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15792 p
15793 n
15794 b repl
15795 :more1
15796 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15797 p
15798 g
15799 s/.\{148\}//
15800 t nl
15801 :delim
15802 h
15803 s/\(.\{148\}\)..*/\1/
15804 t more2
15805 s/["\\]/\\&/g; s/^/"/; s/$/"/
15806 p
15807 b
15808 :more2
15809 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15810 p
15811 g
15812 s/.\{148\}//
15813 t delim
15814 ' <conf$$subs.awk | sed '
15815 /^[^""]/{
15816 N
15817 s/\n//
15818 }
15819 ' >>$CONFIG_STATUS || ac_write_fail=1
15820 rm -f conf$$subs.awk
15821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15822 _ACAWK
15823 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15824 for (key in S) S_is_set[key] = 1
15825 FS = ""
15826
15827 }
15828 {
15829 line = $ 0
15830 nfields = split(line, field, "@")
15831 substed = 0
15832 len = length(field[1])
15833 for (i = 2; i < nfields; i++) {
15834 key = field[i]
15835 keylen = length(key)
15836 if (S_is_set[key]) {
15837 value = S[key]
15838 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15839 len += length(value) + length(field[++i])
15840 substed = 1
15841 } else
15842 len += 1 + keylen
15843 }
15844
15845 print line
15846 }
15847
15848 _ACAWK
15849 _ACEOF
15850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15851 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15852 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15853 else
15854 cat
15855 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15856 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15857 _ACEOF
15858
15859 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15860 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15861 # trailing colons and then remove the whole line if VPATH becomes empty
15862 # (actually we leave an empty line to preserve line numbers).
15863 if test "x$srcdir" = x.; then
15864 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15865 h
15866 s///
15867 s/^/:/
15868 s/[ ]*$/:/
15869 s/:\$(srcdir):/:/g
15870 s/:\${srcdir}:/:/g
15871 s/:@srcdir@:/:/g
15872 s/^:*//
15873 s/:*$//
15874 x
15875 s/\(=[ ]*\).*/\1/
15876 G
15877 s/\n//
15878 s/^[^=]*=[ ]*$//
15879 }'
15880 fi
15881
15882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15883 fi # test -n "$CONFIG_FILES"
15884
15885 # Set up the scripts for CONFIG_HEADERS section.
15886 # No need to generate them if there are no CONFIG_HEADERS.
15887 # This happens for instance with `./config.status Makefile'.
15888 if test -n "$CONFIG_HEADERS"; then
15889 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15890 BEGIN {
15891 _ACEOF
15892
15893 # Transform confdefs.h into an awk script `defines.awk', embedded as
15894 # here-document in config.status, that substitutes the proper values into
15895 # config.h.in to produce config.h.
15896
15897 # Create a delimiter string that does not exist in confdefs.h, to ease
15898 # handling of long lines.
15899 ac_delim='%!_!# '
15900 for ac_last_try in false false :; do
15901 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15902 if test -z "$ac_tt"; then
15903 break
15904 elif $ac_last_try; then
15905 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15906 else
15907 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15908 fi
15909 done
15910
15911 # For the awk script, D is an array of macro values keyed by name,
15912 # likewise P contains macro parameters if any. Preserve backslash
15913 # newline sequences.
15914
15915 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15916 sed -n '
15917 s/.\{148\}/&'"$ac_delim"'/g
15918 t rset
15919 :rset
15920 s/^[ ]*#[ ]*define[ ][ ]*/ /
15921 t def
15922 d
15923 :def
15924 s/\\$//
15925 t bsnl
15926 s/["\\]/\\&/g
15927 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15928 D["\1"]=" \3"/p
15929 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15930 d
15931 :bsnl
15932 s/["\\]/\\&/g
15933 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15934 D["\1"]=" \3\\\\\\n"\\/p
15935 t cont
15936 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15937 t cont
15938 d
15939 :cont
15940 n
15941 s/.\{148\}/&'"$ac_delim"'/g
15942 t clear
15943 :clear
15944 s/\\$//
15945 t bsnlc
15946 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15947 d
15948 :bsnlc
15949 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15950 b cont
15951 ' <confdefs.h | sed '
15952 s/'"$ac_delim"'/"\\\
15953 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15954
15955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15956 for (key in D) D_is_set[key] = 1
15957 FS = ""
15958 }
15959 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15960 line = \$ 0
15961 split(line, arg, " ")
15962 if (arg[1] == "#") {
15963 defundef = arg[2]
15964 mac1 = arg[3]
15965 } else {
15966 defundef = substr(arg[1], 2)
15967 mac1 = arg[2]
15968 }
15969 split(mac1, mac2, "(") #)
15970 macro = mac2[1]
15971 prefix = substr(line, 1, index(line, defundef) - 1)
15972 if (D_is_set[macro]) {
15973 # Preserve the white space surrounding the "#".
15974 print prefix "define", macro P[macro] D[macro]
15975 next
15976 } else {
15977 # Replace #undef with comments. This is necessary, for example,
15978 # in the case of _POSIX_SOURCE, which is predefined and required
15979 # on some systems where configure will not decide to define it.
15980 if (defundef == "undef") {
15981 print "/*", prefix defundef, macro, "*/"
15982 next
15983 }
15984 }
15985 }
15986 { print }
15987 _ACAWK
15988 _ACEOF
15989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15990 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15991 fi # test -n "$CONFIG_HEADERS"
15992
15993
15994 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15995 shift
15996 for ac_tag
15997 do
15998 case $ac_tag in
15999 :[FHLC]) ac_mode=$ac_tag; continue;;
16000 esac
16001 case $ac_mode$ac_tag in
16002 :[FHL]*:*);;
16003 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16004 :[FH]-) ac_tag=-:-;;
16005 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16006 esac
16007 ac_save_IFS=$IFS
16008 IFS=:
16009 set x $ac_tag
16010 IFS=$ac_save_IFS
16011 shift
16012 ac_file=$1
16013 shift
16014
16015 case $ac_mode in
16016 :L) ac_source=$1;;
16017 :[FH])
16018 ac_file_inputs=
16019 for ac_f
16020 do
16021 case $ac_f in
16022 -) ac_f="$ac_tmp/stdin";;
16023 *) # Look for the file first in the build tree, then in the source tree
16024 # (if the path is not absolute). The absolute path cannot be DOS-style,
16025 # because $ac_f cannot contain `:'.
16026 test -f "$ac_f" ||
16027 case $ac_f in
16028 [\\/$]*) false;;
16029 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16030 esac ||
16031 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16032 esac
16033 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16034 as_fn_append ac_file_inputs " '$ac_f'"
16035 done
16036
16037 # Let's still pretend it is `configure' which instantiates (i.e., don't
16038 # use $as_me), people would be surprised to read:
16039 # /* config.h. Generated by config.status. */
16040 configure_input='Generated from '`
16041 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16042 `' by configure.'
16043 if test x"$ac_file" != x-; then
16044 configure_input="$ac_file. $configure_input"
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16046 $as_echo "$as_me: creating $ac_file" >&6;}
16047 fi
16048 # Neutralize special characters interpreted by sed in replacement strings.
16049 case $configure_input in #(
16050 *\&* | *\|* | *\\* )
16051 ac_sed_conf_input=`$as_echo "$configure_input" |
16052 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16053 *) ac_sed_conf_input=$configure_input;;
16054 esac
16055
16056 case $ac_tag in
16057 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16058 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16059 esac
16060 ;;
16061 esac
16062
16063 ac_dir=`$as_dirname -- "$ac_file" ||
16064 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16065 X"$ac_file" : 'X\(//\)[^/]' \| \
16066 X"$ac_file" : 'X\(//\)$' \| \
16067 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16068 $as_echo X"$ac_file" |
16069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16070 s//\1/
16071 q
16072 }
16073 /^X\(\/\/\)[^/].*/{
16074 s//\1/
16075 q
16076 }
16077 /^X\(\/\/\)$/{
16078 s//\1/
16079 q
16080 }
16081 /^X\(\/\).*/{
16082 s//\1/
16083 q
16084 }
16085 s/.*/./; q'`
16086 as_dir="$ac_dir"; as_fn_mkdir_p
16087 ac_builddir=.
16088
16089 case "$ac_dir" in
16090 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16091 *)
16092 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16093 # A ".." for each directory in $ac_dir_suffix.
16094 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16095 case $ac_top_builddir_sub in
16096 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16097 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16098 esac ;;
16099 esac
16100 ac_abs_top_builddir=$ac_pwd
16101 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16102 # for backward compatibility:
16103 ac_top_builddir=$ac_top_build_prefix
16104
16105 case $srcdir in
16106 .) # We are building in place.
16107 ac_srcdir=.
16108 ac_top_srcdir=$ac_top_builddir_sub
16109 ac_abs_top_srcdir=$ac_pwd ;;
16110 [\\/]* | ?:[\\/]* ) # Absolute name.
16111 ac_srcdir=$srcdir$ac_dir_suffix;
16112 ac_top_srcdir=$srcdir
16113 ac_abs_top_srcdir=$srcdir ;;
16114 *) # Relative name.
16115 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16116 ac_top_srcdir=$ac_top_build_prefix$srcdir
16117 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16118 esac
16119 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16120
16121
16122 case $ac_mode in
16123 :F)
16124 #
16125 # CONFIG_FILE
16126 #
16127
16128 case $INSTALL in
16129 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16130 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16131 esac
16132 ac_MKDIR_P=$MKDIR_P
16133 case $MKDIR_P in
16134 [\\/$]* | ?:[\\/]* ) ;;
16135 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16136 esac
16137 _ACEOF
16138
16139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16140 # If the template does not know about datarootdir, expand it.
16141 # FIXME: This hack should be removed a few years after 2.60.
16142 ac_datarootdir_hack=; ac_datarootdir_seen=
16143 ac_sed_dataroot='
16144 /datarootdir/ {
16145 p
16146 q
16147 }
16148 /@datadir@/p
16149 /@docdir@/p
16150 /@infodir@/p
16151 /@localedir@/p
16152 /@mandir@/p'
16153 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16154 *datarootdir*) ac_datarootdir_seen=yes;;
16155 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16157 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16158 _ACEOF
16159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16160 ac_datarootdir_hack='
16161 s&@datadir@&$datadir&g
16162 s&@docdir@&$docdir&g
16163 s&@infodir@&$infodir&g
16164 s&@localedir@&$localedir&g
16165 s&@mandir@&$mandir&g
16166 s&\\\${datarootdir}&$datarootdir&g' ;;
16167 esac
16168 _ACEOF
16169
16170 # Neutralize VPATH when `$srcdir' = `.'.
16171 # Shell code in configure.ac might set extrasub.
16172 # FIXME: do we really want to maintain this feature?
16173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16174 ac_sed_extra="$ac_vpsub
16175 $extrasub
16176 _ACEOF
16177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16178 :t
16179 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16180 s|@configure_input@|$ac_sed_conf_input|;t t
16181 s&@top_builddir@&$ac_top_builddir_sub&;t t
16182 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16183 s&@srcdir@&$ac_srcdir&;t t
16184 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16185 s&@top_srcdir@&$ac_top_srcdir&;t t
16186 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16187 s&@builddir@&$ac_builddir&;t t
16188 s&@abs_builddir@&$ac_abs_builddir&;t t
16189 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16190 s&@INSTALL@&$ac_INSTALL&;t t
16191 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16192 $ac_datarootdir_hack
16193 "
16194 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16195 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16196
16197 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16198 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16199 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16200 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16202 which seems to be undefined. Please make sure it is defined" >&5
16203 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16204 which seems to be undefined. Please make sure it is defined" >&2;}
16205
16206 rm -f "$ac_tmp/stdin"
16207 case $ac_file in
16208 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16209 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16210 esac \
16211 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16212 ;;
16213 :H)
16214 #
16215 # CONFIG_HEADER
16216 #
16217 if test x"$ac_file" != x-; then
16218 {
16219 $as_echo "/* $configure_input */" \
16220 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16221 } >"$ac_tmp/config.h" \
16222 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16223 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16225 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16226 else
16227 rm -f "$ac_file"
16228 mv "$ac_tmp/config.h" "$ac_file" \
16229 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16230 fi
16231 else
16232 $as_echo "/* $configure_input */" \
16233 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16234 || as_fn_error $? "could not create -" "$LINENO" 5
16235 fi
16236 # Compute "$ac_file"'s index in $config_headers.
16237 _am_arg="$ac_file"
16238 _am_stamp_count=1
16239 for _am_header in $config_headers :; do
16240 case $_am_header in
16241 $_am_arg | $_am_arg:* )
16242 break ;;
16243 * )
16244 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16245 esac
16246 done
16247 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16248 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16249 X"$_am_arg" : 'X\(//\)[^/]' \| \
16250 X"$_am_arg" : 'X\(//\)$' \| \
16251 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16252 $as_echo X"$_am_arg" |
16253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16254 s//\1/
16255 q
16256 }
16257 /^X\(\/\/\)[^/].*/{
16258 s//\1/
16259 q
16260 }
16261 /^X\(\/\/\)$/{
16262 s//\1/
16263 q
16264 }
16265 /^X\(\/\).*/{
16266 s//\1/
16267 q
16268 }
16269 s/.*/./; q'`/stamp-h$_am_stamp_count
16270 ;;
16271
16272 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16273 $as_echo "$as_me: executing $ac_file commands" >&6;}
16274 ;;
16275 esac
16276
16277
16278 case $ac_file$ac_mode in
16279 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16280 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16281 # are listed without --file. Let's play safe and only enable the eval
16282 # if we detect the quoting.
16283 case $CONFIG_FILES in
16284 *\'*) eval set x "$CONFIG_FILES" ;;
16285 *) set x $CONFIG_FILES ;;
16286 esac
16287 shift
16288 for mf
16289 do
16290 # Strip MF so we end up with the name of the file.
16291 mf=`echo "$mf" | sed -e 's/:.*$//'`
16292 # Check whether this is an Automake generated Makefile or not.
16293 # We used to match only the files named `Makefile.in', but
16294 # some people rename them; so instead we look at the file content.
16295 # Grep'ing the first line is not enough: some people post-process
16296 # each Makefile.in and add a new line on top of each file to say so.
16297 # Grep'ing the whole file is not good either: AIX grep has a line
16298 # limit of 2048, but all sed's we know have understand at least 4000.
16299 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16300 dirpart=`$as_dirname -- "$mf" ||
16301 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16302 X"$mf" : 'X\(//\)[^/]' \| \
16303 X"$mf" : 'X\(//\)$' \| \
16304 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16305 $as_echo X"$mf" |
16306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16307 s//\1/
16308 q
16309 }
16310 /^X\(\/\/\)[^/].*/{
16311 s//\1/
16312 q
16313 }
16314 /^X\(\/\/\)$/{
16315 s//\1/
16316 q
16317 }
16318 /^X\(\/\).*/{
16319 s//\1/
16320 q
16321 }
16322 s/.*/./; q'`
16323 else
16324 continue
16325 fi
16326 # Extract the definition of DEPDIR, am__include, and am__quote
16327 # from the Makefile without running `make'.
16328 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16329 test -z "$DEPDIR" && continue
16330 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16331 test -z "am__include" && continue
16332 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16333 # When using ansi2knr, U may be empty or an underscore; expand it
16334 U=`sed -n 's/^U = //p' < "$mf"`
16335 # Find all dependency output files, they are included files with
16336 # $(DEPDIR) in their names. We invoke sed twice because it is the
16337 # simplest approach to changing $(DEPDIR) to its actual value in the
16338 # expansion.
16339 for file in `sed -n "
16340 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16341 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16342 # Make sure the directory exists.
16343 test -f "$dirpart/$file" && continue
16344 fdir=`$as_dirname -- "$file" ||
16345 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16346 X"$file" : 'X\(//\)[^/]' \| \
16347 X"$file" : 'X\(//\)$' \| \
16348 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16349 $as_echo X"$file" |
16350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16351 s//\1/
16352 q
16353 }
16354 /^X\(\/\/\)[^/].*/{
16355 s//\1/
16356 q
16357 }
16358 /^X\(\/\/\)$/{
16359 s//\1/
16360 q
16361 }
16362 /^X\(\/\).*/{
16363 s//\1/
16364 q
16365 }
16366 s/.*/./; q'`
16367 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16368 # echo "creating $dirpart/$file"
16369 echo '# dummy' > "$dirpart/$file"
16370 done
16371 done
16372 }
16373 ;;
16374 "libtool":C)
16375
16376 # See if we are running on zsh, and set the options which allow our
16377 # commands through without removal of \ escapes.
16378 if test -n "${ZSH_VERSION+set}" ; then
16379 setopt NO_GLOB_SUBST
16380 fi
16381
16382 cfgfile="${ofile}T"
16383 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16384 $RM "$cfgfile"
16385
16386 cat <<_LT_EOF >> "$cfgfile"
16387 #! $SHELL
16388
16389 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16390 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16391 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16392 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16393 #
16394 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16395 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16396 # Inc.
16397 # Written by Gordon Matzigkeit, 1996
16398 #
16399 # This file is part of GNU Libtool.
16400 #
16401 # GNU Libtool is free software; you can redistribute it and/or
16402 # modify it under the terms of the GNU General Public License as
16403 # published by the Free Software Foundation; either version 2 of
16404 # the License, or (at your option) any later version.
16405 #
16406 # As a special exception to the GNU General Public License,
16407 # if you distribute this file as part of a program or library that
16408 # is built using GNU Libtool, you may include this file under the
16409 # same distribution terms that you use for the rest of that program.
16410 #
16411 # GNU Libtool is distributed in the hope that it will be useful,
16412 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16413 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16414 # GNU General Public License for more details.
16415 #
16416 # You should have received a copy of the GNU General Public License
16417 # along with GNU Libtool; see the file COPYING. If not, a copy
16418 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16419 # obtained by writing to the Free Software Foundation, Inc.,
16420 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16421
16422
16423 # The names of the tagged configurations supported by this script.
16424 available_tags=""
16425
16426 # ### BEGIN LIBTOOL CONFIG
16427
16428 # Which release of libtool.m4 was used?
16429 macro_version=$macro_version
16430 macro_revision=$macro_revision
16431
16432 # Whether or not to build shared libraries.
16433 build_libtool_libs=$enable_shared
16434
16435 # Whether or not to build static libraries.
16436 build_old_libs=$enable_static
16437
16438 # What type of objects to build.
16439 pic_mode=$pic_mode
16440
16441 # Whether or not to optimize for fast installation.
16442 fast_install=$enable_fast_install
16443
16444 # Shell to use when invoking shell scripts.
16445 SHELL=$lt_SHELL
16446
16447 # An echo program that protects backslashes.
16448 ECHO=$lt_ECHO
16449
16450 # The host system.
16451 host_alias=$host_alias
16452 host=$host
16453 host_os=$host_os
16454
16455 # The build system.
16456 build_alias=$build_alias
16457 build=$build
16458 build_os=$build_os
16459
16460 # A sed program that does not truncate output.
16461 SED=$lt_SED
16462
16463 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16464 Xsed="\$SED -e 1s/^X//"
16465
16466 # A grep program that handles long lines.
16467 GREP=$lt_GREP
16468
16469 # An ERE matcher.
16470 EGREP=$lt_EGREP
16471
16472 # A literal string matcher.
16473 FGREP=$lt_FGREP
16474
16475 # A BSD- or MS-compatible name lister.
16476 NM=$lt_NM
16477
16478 # Whether we need soft or hard links.
16479 LN_S=$lt_LN_S
16480
16481 # What is the maximum length of a command?
16482 max_cmd_len=$max_cmd_len
16483
16484 # Object file suffix (normally "o").
16485 objext=$ac_objext
16486
16487 # Executable file suffix (normally "").
16488 exeext=$exeext
16489
16490 # whether the shell understands "unset".
16491 lt_unset=$lt_unset
16492
16493 # turn spaces into newlines.
16494 SP2NL=$lt_lt_SP2NL
16495
16496 # turn newlines into spaces.
16497 NL2SP=$lt_lt_NL2SP
16498
16499 # An object symbol dumper.
16500 OBJDUMP=$lt_OBJDUMP
16501
16502 # Method to check whether dependent libraries are shared objects.
16503 deplibs_check_method=$lt_deplibs_check_method
16504
16505 # Command to use when deplibs_check_method == "file_magic".
16506 file_magic_cmd=$lt_file_magic_cmd
16507
16508 # The archiver.
16509 AR=$lt_AR
16510 AR_FLAGS=$lt_AR_FLAGS
16511
16512 # A symbol stripping program.
16513 STRIP=$lt_STRIP
16514
16515 # Commands used to install an old-style archive.
16516 RANLIB=$lt_RANLIB
16517 old_postinstall_cmds=$lt_old_postinstall_cmds
16518 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16519
16520 # Whether to use a lock for old archive extraction.
16521 lock_old_archive_extraction=$lock_old_archive_extraction
16522
16523 # A C compiler.
16524 LTCC=$lt_CC
16525
16526 # LTCC compiler flags.
16527 LTCFLAGS=$lt_CFLAGS
16528
16529 # Take the output of nm and produce a listing of raw symbols and C names.
16530 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16531
16532 # Transform the output of nm in a proper C declaration.
16533 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16534
16535 # Transform the output of nm in a C name address pair.
16536 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16537
16538 # Transform the output of nm in a C name address pair when lib prefix is needed.
16539 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16540
16541 # The name of the directory that contains temporary libtool files.
16542 objdir=$objdir
16543
16544 # Used to examine libraries when file_magic_cmd begins with "file".
16545 MAGIC_CMD=$MAGIC_CMD
16546
16547 # Must we lock files when doing compilation?
16548 need_locks=$lt_need_locks
16549
16550 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16551 DSYMUTIL=$lt_DSYMUTIL
16552
16553 # Tool to change global to local symbols on Mac OS X.
16554 NMEDIT=$lt_NMEDIT
16555
16556 # Tool to manipulate fat objects and archives on Mac OS X.
16557 LIPO=$lt_LIPO
16558
16559 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16560 OTOOL=$lt_OTOOL
16561
16562 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16563 OTOOL64=$lt_OTOOL64
16564
16565 # Old archive suffix (normally "a").
16566 libext=$libext
16567
16568 # Shared library suffix (normally ".so").
16569 shrext_cmds=$lt_shrext_cmds
16570
16571 # The commands to extract the exported symbol list from a shared archive.
16572 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16573
16574 # Variables whose values should be saved in libtool wrapper scripts and
16575 # restored at link time.
16576 variables_saved_for_relink=$lt_variables_saved_for_relink
16577
16578 # Do we need the "lib" prefix for modules?
16579 need_lib_prefix=$need_lib_prefix
16580
16581 # Do we need a version for libraries?
16582 need_version=$need_version
16583
16584 # Library versioning type.
16585 version_type=$version_type
16586
16587 # Shared library runtime path variable.
16588 runpath_var=$runpath_var
16589
16590 # Shared library path variable.
16591 shlibpath_var=$shlibpath_var
16592
16593 # Is shlibpath searched before the hard-coded library search path?
16594 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16595
16596 # Format of library name prefix.
16597 libname_spec=$lt_libname_spec
16598
16599 # List of archive names. First name is the real one, the rest are links.
16600 # The last name is the one that the linker finds with -lNAME
16601 library_names_spec=$lt_library_names_spec
16602
16603 # The coded name of the library, if different from the real name.
16604 soname_spec=$lt_soname_spec
16605
16606 # Permission mode override for installation of shared libraries.
16607 install_override_mode=$lt_install_override_mode
16608
16609 # Command to use after installation of a shared archive.
16610 postinstall_cmds=$lt_postinstall_cmds
16611
16612 # Command to use after uninstallation of a shared archive.
16613 postuninstall_cmds=$lt_postuninstall_cmds
16614
16615 # Commands used to finish a libtool library installation in a directory.
16616 finish_cmds=$lt_finish_cmds
16617
16618 # As "finish_cmds", except a single script fragment to be evaled but
16619 # not shown.
16620 finish_eval=$lt_finish_eval
16621
16622 # Whether we should hardcode library paths into libraries.
16623 hardcode_into_libs=$hardcode_into_libs
16624
16625 # Compile-time system search path for libraries.
16626 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16627
16628 # Run-time system search path for libraries.
16629 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16630
16631 # Whether dlopen is supported.
16632 dlopen_support=$enable_dlopen
16633
16634 # Whether dlopen of programs is supported.
16635 dlopen_self=$enable_dlopen_self
16636
16637 # Whether dlopen of statically linked programs is supported.
16638 dlopen_self_static=$enable_dlopen_self_static
16639
16640 # Commands to strip libraries.
16641 old_striplib=$lt_old_striplib
16642 striplib=$lt_striplib
16643
16644
16645 # The linker used to build libraries.
16646 LD=$lt_LD
16647
16648 # How to create reloadable object files.
16649 reload_flag=$lt_reload_flag
16650 reload_cmds=$lt_reload_cmds
16651
16652 # Commands used to build an old-style archive.
16653 old_archive_cmds=$lt_old_archive_cmds
16654
16655 # A language specific compiler.
16656 CC=$lt_compiler
16657
16658 # Is the compiler the GNU compiler?
16659 with_gcc=$GCC
16660
16661 # Compiler flag to turn off builtin functions.
16662 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16663
16664 # How to pass a linker flag through the compiler.
16665 wl=$lt_lt_prog_compiler_wl
16666
16667 # Additional compiler flags for building library objects.
16668 pic_flag=$lt_lt_prog_compiler_pic
16669
16670 # Compiler flag to prevent dynamic linking.
16671 link_static_flag=$lt_lt_prog_compiler_static
16672
16673 # Does compiler simultaneously support -c and -o options?
16674 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16675
16676 # Whether or not to add -lc for building shared libraries.
16677 build_libtool_need_lc=$archive_cmds_need_lc
16678
16679 # Whether or not to disallow shared libs when runtime libs are static.
16680 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16681
16682 # Compiler flag to allow reflexive dlopens.
16683 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16684
16685 # Compiler flag to generate shared objects directly from archives.
16686 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16687
16688 # Whether the compiler copes with passing no objects directly.
16689 compiler_needs_object=$lt_compiler_needs_object
16690
16691 # Create an old-style archive from a shared archive.
16692 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16693
16694 # Create a temporary old-style archive to link instead of a shared archive.
16695 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16696
16697 # Commands used to build a shared archive.
16698 archive_cmds=$lt_archive_cmds
16699 archive_expsym_cmds=$lt_archive_expsym_cmds
16700
16701 # Commands used to build a loadable module if different from building
16702 # a shared archive.
16703 module_cmds=$lt_module_cmds
16704 module_expsym_cmds=$lt_module_expsym_cmds
16705
16706 # Whether we are building with GNU ld or not.
16707 with_gnu_ld=$lt_with_gnu_ld
16708
16709 # Flag that allows shared libraries with undefined symbols to be built.
16710 allow_undefined_flag=$lt_allow_undefined_flag
16711
16712 # Flag that enforces no undefined symbols.
16713 no_undefined_flag=$lt_no_undefined_flag
16714
16715 # Flag to hardcode \$libdir into a binary during linking.
16716 # This must work even if \$libdir does not exist
16717 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16718
16719 # If ld is used when linking, flag to hardcode \$libdir into a binary
16720 # during linking. This must work even if \$libdir does not exist.
16721 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16722
16723 # Whether we need a single "-rpath" flag with a separated argument.
16724 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16725
16726 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16727 # DIR into the resulting binary.
16728 hardcode_direct=$hardcode_direct
16729
16730 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16731 # DIR into the resulting binary and the resulting library dependency is
16732 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16733 # library is relocated.
16734 hardcode_direct_absolute=$hardcode_direct_absolute
16735
16736 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16737 # into the resulting binary.
16738 hardcode_minus_L=$hardcode_minus_L
16739
16740 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16741 # into the resulting binary.
16742 hardcode_shlibpath_var=$hardcode_shlibpath_var
16743
16744 # Set to "yes" if building a shared library automatically hardcodes DIR
16745 # into the library and all subsequent libraries and executables linked
16746 # against it.
16747 hardcode_automatic=$hardcode_automatic
16748
16749 # Set to yes if linker adds runtime paths of dependent libraries
16750 # to runtime path list.
16751 inherit_rpath=$inherit_rpath
16752
16753 # Whether libtool must link a program against all its dependency libraries.
16754 link_all_deplibs=$link_all_deplibs
16755
16756 # Fix the shell variable \$srcfile for the compiler.
16757 fix_srcfile_path=$lt_fix_srcfile_path
16758
16759 # Set to "yes" if exported symbols are required.
16760 always_export_symbols=$always_export_symbols
16761
16762 # The commands to list exported symbols.
16763 export_symbols_cmds=$lt_export_symbols_cmds
16764
16765 # Symbols that should not be listed in the preloaded symbols.
16766 exclude_expsyms=$lt_exclude_expsyms
16767
16768 # Symbols that must always be exported.
16769 include_expsyms=$lt_include_expsyms
16770
16771 # Commands necessary for linking programs (against libraries) with templates.
16772 prelink_cmds=$lt_prelink_cmds
16773
16774 # Specify filename containing input files.
16775 file_list_spec=$lt_file_list_spec
16776
16777 # How to hardcode a shared library path into an executable.
16778 hardcode_action=$hardcode_action
16779
16780 # ### END LIBTOOL CONFIG
16781
16782 _LT_EOF
16783
16784 case $host_os in
16785 aix3*)
16786 cat <<\_LT_EOF >> "$cfgfile"
16787 # AIX sometimes has problems with the GCC collect2 program. For some
16788 # reason, if we set the COLLECT_NAMES environment variable, the problems
16789 # vanish in a puff of smoke.
16790 if test "X${COLLECT_NAMES+set}" != Xset; then
16791 COLLECT_NAMES=
16792 export COLLECT_NAMES
16793 fi
16794 _LT_EOF
16795 ;;
16796 esac
16797
16798
16799 ltmain="$ac_aux_dir/ltmain.sh"
16800
16801
16802 # We use sed instead of cat because bash on DJGPP gets confused if
16803 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16804 # text mode, it properly converts lines to CR/LF. This bash problem
16805 # is reportedly fixed, but why not run on old versions too?
16806 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16807 || (rm -f "$cfgfile"; exit 1)
16808
16809 case $xsi_shell in
16810 yes)
16811 cat << \_LT_EOF >> "$cfgfile"
16812
16813 # func_dirname file append nondir_replacement
16814 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16815 # otherwise set result to NONDIR_REPLACEMENT.
16816 func_dirname ()
16817 {
16818 case ${1} in
16819 */*) func_dirname_result="${1%/*}${2}" ;;
16820 * ) func_dirname_result="${3}" ;;
16821 esac
16822 }
16823
16824 # func_basename file
16825 func_basename ()
16826 {
16827 func_basename_result="${1##*/}"
16828 }
16829
16830 # func_dirname_and_basename file append nondir_replacement
16831 # perform func_basename and func_dirname in a single function
16832 # call:
16833 # dirname: Compute the dirname of FILE. If nonempty,
16834 # add APPEND to the result, otherwise set result
16835 # to NONDIR_REPLACEMENT.
16836 # value returned in "$func_dirname_result"
16837 # basename: Compute filename of FILE.
16838 # value retuned in "$func_basename_result"
16839 # Implementation must be kept synchronized with func_dirname
16840 # and func_basename. For efficiency, we do not delegate to
16841 # those functions but instead duplicate the functionality here.
16842 func_dirname_and_basename ()
16843 {
16844 case ${1} in
16845 */*) func_dirname_result="${1%/*}${2}" ;;
16846 * ) func_dirname_result="${3}" ;;
16847 esac
16848 func_basename_result="${1##*/}"
16849 }
16850
16851 # func_stripname prefix suffix name
16852 # strip PREFIX and SUFFIX off of NAME.
16853 # PREFIX and SUFFIX must not contain globbing or regex special
16854 # characters, hashes, percent signs, but SUFFIX may contain a leading
16855 # dot (in which case that matches only a dot).
16856 func_stripname ()
16857 {
16858 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16859 # positional parameters, so assign one to ordinary parameter first.
16860 func_stripname_result=${3}
16861 func_stripname_result=${func_stripname_result#"${1}"}
16862 func_stripname_result=${func_stripname_result%"${2}"}
16863 }
16864
16865 # func_opt_split
16866 func_opt_split ()
16867 {
16868 func_opt_split_opt=${1%%=*}
16869 func_opt_split_arg=${1#*=}
16870 }
16871
16872 # func_lo2o object
16873 func_lo2o ()
16874 {
16875 case ${1} in
16876 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16877 *) func_lo2o_result=${1} ;;
16878 esac
16879 }
16880
16881 # func_xform libobj-or-source
16882 func_xform ()
16883 {
16884 func_xform_result=${1%.*}.lo
16885 }
16886
16887 # func_arith arithmetic-term...
16888 func_arith ()
16889 {
16890 func_arith_result=$(( $* ))
16891 }
16892
16893 # func_len string
16894 # STRING may not start with a hyphen.
16895 func_len ()
16896 {
16897 func_len_result=${#1}
16898 }
16899
16900 _LT_EOF
16901 ;;
16902 *) # Bourne compatible functions.
16903 cat << \_LT_EOF >> "$cfgfile"
16904
16905 # func_dirname file append nondir_replacement
16906 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16907 # otherwise set result to NONDIR_REPLACEMENT.
16908 func_dirname ()
16909 {
16910 # Extract subdirectory from the argument.
16911 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
16912 if test "X$func_dirname_result" = "X${1}"; then
16913 func_dirname_result="${3}"
16914 else
16915 func_dirname_result="$func_dirname_result${2}"
16916 fi
16917 }
16918
16919 # func_basename file
16920 func_basename ()
16921 {
16922 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
16923 }
16924
16925
16926 # func_stripname prefix suffix name
16927 # strip PREFIX and SUFFIX off of NAME.
16928 # PREFIX and SUFFIX must not contain globbing or regex special
16929 # characters, hashes, percent signs, but SUFFIX may contain a leading
16930 # dot (in which case that matches only a dot).
16931 # func_strip_suffix prefix name
16932 func_stripname ()
16933 {
16934 case ${2} in
16935 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16936 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16937 esac
16938 }
16939
16940 # sed scripts:
16941 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16942 my_sed_long_arg='1s/^-[^=]*=//'
16943
16944 # func_opt_split
16945 func_opt_split ()
16946 {
16947 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16948 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16949 }
16950
16951 # func_lo2o object
16952 func_lo2o ()
16953 {
16954 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
16955 }
16956
16957 # func_xform libobj-or-source
16958 func_xform ()
16959 {
16960 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16961 }
16962
16963 # func_arith arithmetic-term...
16964 func_arith ()
16965 {
16966 func_arith_result=`expr "$@"`
16967 }
16968
16969 # func_len string
16970 # STRING may not start with a hyphen.
16971 func_len ()
16972 {
16973 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16974 }
16975
16976 _LT_EOF
16977 esac
16978
16979 case $lt_shell_append in
16980 yes)
16981 cat << \_LT_EOF >> "$cfgfile"
16982
16983 # func_append var value
16984 # Append VALUE to the end of shell variable VAR.
16985 func_append ()
16986 {
16987 eval "$1+=\$2"
16988 }
16989 _LT_EOF
16990 ;;
16991 *)
16992 cat << \_LT_EOF >> "$cfgfile"
16993
16994 # func_append var value
16995 # Append VALUE to the end of shell variable VAR.
16996 func_append ()
16997 {
16998 eval "$1=\$$1\$2"
16999 }
17000
17001 _LT_EOF
17002 ;;
17003 esac
17004
17005
17006 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17007 || (rm -f "$cfgfile"; exit 1)
17008
17009 mv -f "$cfgfile" "$ofile" ||
17010 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17011 chmod +x "$ofile"
17012
17013 ;;
17014 "libtool_hack":C)
17015 cp -f libtool libtool_
17016 test -z "$SED" && SED=sed
17017 $SED '1,/^soname_spec/{
17018 /^soname_spec/i\
17019 # X.Org hack to match monolithic Xaw SONAME\
17020 xorglibxawname="libXaw"
17021 /^soname_spec/s/libname/xorglibxawname/
17022 }' libtool_ > libtool
17023 rm -f libtool_
17024 ;;
17025
17026 esac
17027 done # for ac_tag
17028
17029
17030 as_fn_exit 0
17031 _ACEOF
17032 ac_clean_files=$ac_clean_files_save
17033
17034 test $ac_write_fail = 0 ||
17035 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17036
17037
17038 # configure is writing to config.log, and then calls config.status.
17039 # config.status does its own redirection, appending to config.log.
17040 # Unfortunately, on DOS this fails, as config.log is still kept open
17041 # by configure, so config.status won't be able to write to it; its
17042 # output is simply discarded. So we exec the FD to /dev/null,
17043 # effectively closing config.log, so it can be properly (re)opened and
17044 # appended to by config.status. When coming back to configure, we
17045 # need to make the FD available again.
17046 if test "$no_create" != yes; then
17047 ac_cs_success=:
17048 ac_config_status_args=
17049 test "$silent" = yes &&
17050 ac_config_status_args="$ac_config_status_args --quiet"
17051 exec 5>/dev/null
17052 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17053 exec 5>>config.log
17054 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17055 # would make configure fail if this is the last instruction.
17056 $ac_cs_success || as_fn_exit 1
17057 fi
17058 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17060 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17061 fi
17062
17063 fi
17064
17065 if test "x$build_v7" = xyes; then
17066 ac_config_files="$ac_config_files xaw7.pc"
17067
17068 cat >confcache <<\_ACEOF
17069 # This file is a shell script that caches the results of configure
17070 # tests run on this system so they can be shared between configure
17071 # scripts and configure runs, see configure's option --config-cache.
17072 # It is not useful on other systems. If it contains results you don't
17073 # want to keep, you may remove or edit it.
17074 #
17075 # config.status only pays attention to the cache file if you give it
17076 # the --recheck option to rerun configure.
17077 #
17078 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17079 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17080 # following values.
17081
17082 _ACEOF
17083
17084 # The following way of writing the cache mishandles newlines in values,
17085 # but we know of no workaround that is simple, portable, and efficient.
17086 # So, we kill variables containing newlines.
17087 # Ultrix sh set writes to stderr and can't be redirected directly,
17088 # and sets the high bit in the cache file unless we assign to the vars.
17089 (
17090 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17091 eval ac_val=\$$ac_var
17092 case $ac_val in #(
17093 *${as_nl}*)
17094 case $ac_var in #(
17095 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17096 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17097 esac
17098 case $ac_var in #(
17099 _ | IFS | as_nl) ;; #(
17100 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17101 *) { eval $ac_var=; unset $ac_var;} ;;
17102 esac ;;
17103 esac
17104 done
17105
17106 (set) 2>&1 |
17107 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17108 *${as_nl}ac_space=\ *)
17109 # `set' does not quote correctly, so add quotes: double-quote
17110 # substitution turns \\\\ into \\, and sed turns \\ into \.
17111 sed -n \
17112 "s/'/'\\\\''/g;
17113 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17114 ;; #(
17115 *)
17116 # `set' quotes correctly as required by POSIX, so do not add quotes.
17117 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17118 ;;
17119 esac |
17120 sort
17121 ) |
17122 sed '
17123 /^ac_cv_env_/b end
17124 t clear
17125 :clear
17126 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17127 t end
17128 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17129 :end' >>confcache
17130 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17131 if test -w "$cache_file"; then
17132 if test "x$cache_file" != "x/dev/null"; then
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17134 $as_echo "$as_me: updating cache $cache_file" >&6;}
17135 if test ! -f "$cache_file" || test -h "$cache_file"; then
17136 cat confcache >"$cache_file"
17137 else
17138 case $cache_file in #(
17139 */* | ?:*)
17140 mv -f confcache "$cache_file"$$ &&
17141 mv -f "$cache_file"$$ "$cache_file" ;; #(
17142 *)
17143 mv -f confcache "$cache_file" ;;
17144 esac
17145 fi
17146 fi
17147 else
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17149 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17150 fi
17151 fi
17152 rm -f confcache
17153
17154 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17155 # Let make expand exec_prefix.
17156 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17157
17158 DEFS=-DHAVE_CONFIG_H
17159
17160 ac_libobjs=
17161 ac_ltlibobjs=
17162 U=
17163 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17164 # 1. Remove the extension, and $U if already installed.
17165 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17166 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17167 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17168 # will be set to the directory where LIBOBJS objects are built.
17169 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17170 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17171 done
17172 LIBOBJS=$ac_libobjs
17173
17174 LTLIBOBJS=$ac_ltlibobjs
17175
17176
17177 if test -n "$EXEEXT"; then
17178 am__EXEEXT_TRUE=
17179 am__EXEEXT_FALSE='#'
17180 else
17181 am__EXEEXT_TRUE='#'
17182 am__EXEEXT_FALSE=
17183 fi
17184
17185 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17186 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17188 fi
17189 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17190 as_fn_error $? "conditional \"AMDEP\" was never defined.
17191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17192 fi
17193 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17194 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17196 fi
17197 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
17198 as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
17199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17200 fi
17201 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
17202 as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
17203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17204 fi
17205 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
17206 as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
17207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17208 fi
17209 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
17210 as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
17211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17212 fi
17213 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
17214 as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
17215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17216 fi
17217 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
17218 as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
17219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17220 fi
17221 if test -z "${PLATFORM_DARWIN_TRUE}" && test -z "${PLATFORM_DARWIN_FALSE}"; then
17222 as_fn_error $? "conditional \"PLATFORM_DARWIN\" was never defined.
17223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17224 fi
17225 if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
17226 as_fn_error $? "conditional \"BUILD_XAW6\" was never defined.
17227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17228 fi
17229 if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
17230 as_fn_error $? "conditional \"BUILD_XAW7\" was never defined.
17231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17232 fi
17233 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
17234 as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
17235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17236 fi
17237 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
17238 as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
17239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17240 fi
17241
17242 : "${CONFIG_STATUS=./config.status}"
17243 ac_write_fail=0
17244 ac_clean_files_save=$ac_clean_files
17245 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17247 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17248 as_write_fail=0
17249 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17250 #! $SHELL
17251 # Generated by $as_me.
17252 # Run this file to recreate the current configuration.
17253 # Compiler output produced by configure, useful for debugging
17254 # configure, is in config.log if it exists.
17255
17256 debug=false
17257 ac_cs_recheck=false
17258 ac_cs_silent=false
17259
17260 SHELL=\${CONFIG_SHELL-$SHELL}
17261 export SHELL
17262 _ASEOF
17263 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17264 ## -------------------- ##
17265 ## M4sh Initialization. ##
17266 ## -------------------- ##
17267
17268 # Be more Bourne compatible
17269 DUALCASE=1; export DUALCASE # for MKS sh
17270 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17271 emulate sh
17272 NULLCMD=:
17273 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17274 # is contrary to our usage. Disable this feature.
17275 alias -g '${1+"$@"}'='"$@"'
17276 setopt NO_GLOB_SUBST
17277 else
17278 case `(set -o) 2>/dev/null` in #(
17279 *posix*) :
17280 set -o posix ;; #(
17281 *) :
17282 ;;
17283 esac
17284 fi
17285
17286
17287 as_nl='
17288 '
17289 export as_nl
17290 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17291 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17292 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17293 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17294 # Prefer a ksh shell builtin over an external printf program on Solaris,
17295 # but without wasting forks for bash or zsh.
17296 if test -z "$BASH_VERSION$ZSH_VERSION" \
17297 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17298 as_echo='print -r --'
17299 as_echo_n='print -rn --'
17300 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17301 as_echo='printf %s\n'
17302 as_echo_n='printf %s'
17303 else
17304 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17305 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17306 as_echo_n='/usr/ucb/echo -n'
17307 else
17308 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17309 as_echo_n_body='eval
17310 arg=$1;
17311 case $arg in #(
17312 *"$as_nl"*)
17313 expr "X$arg" : "X\\(.*\\)$as_nl";
17314 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17315 esac;
17316 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17317 '
17318 export as_echo_n_body
17319 as_echo_n='sh -c $as_echo_n_body as_echo'
17320 fi
17321 export as_echo_body
17322 as_echo='sh -c $as_echo_body as_echo'
17323 fi
17324
17325 # The user is always right.
17326 if test "${PATH_SEPARATOR+set}" != set; then
17327 PATH_SEPARATOR=:
17328 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17329 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17330 PATH_SEPARATOR=';'
17331 }
17332 fi
17333
17334
17335 # IFS
17336 # We need space, tab and new line, in precisely that order. Quoting is
17337 # there to prevent editors from complaining about space-tab.
17338 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17339 # splitting by setting IFS to empty value.)
17340 IFS=" "" $as_nl"
17341
17342 # Find who we are. Look in the path if we contain no directory separator.
17343 as_myself=
17344 case $0 in #((
17345 *[\\/]* ) as_myself=$0 ;;
17346 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17347 for as_dir in $PATH
17348 do
17349 IFS=$as_save_IFS
17350 test -z "$as_dir" && as_dir=.
17351 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17352 done
17353 IFS=$as_save_IFS
17354
17355 ;;
17356 esac
17357 # We did not find ourselves, most probably we were run as `sh COMMAND'
17358 # in which case we are not to be found in the path.
17359 if test "x$as_myself" = x; then
17360 as_myself=$0
17361 fi
17362 if test ! -f "$as_myself"; then
17363 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17364 exit 1
17365 fi
17366
17367 # Unset variables that we do not need and which cause bugs (e.g. in
17368 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17369 # suppresses any "Segmentation fault" message there. '((' could
17370 # trigger a bug in pdksh 5.2.14.
17371 for as_var in BASH_ENV ENV MAIL MAILPATH
17372 do eval test x\${$as_var+set} = xset \
17373 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17374 done
17375 PS1='$ '
17376 PS2='> '
17377 PS4='+ '
17378
17379 # NLS nuisances.
17380 LC_ALL=C
17381 export LC_ALL
17382 LANGUAGE=C
17383 export LANGUAGE
17384
17385 # CDPATH.
17386 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17387
17388
17389 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17390 # ----------------------------------------
17391 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17392 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17393 # script with STATUS, using 1 if that was 0.
17394 as_fn_error ()
17395 {
17396 as_status=$1; test $as_status -eq 0 && as_status=1
17397 if test "$4"; then
17398 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17399 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17400 fi
17401 $as_echo "$as_me: error: $2" >&2
17402 as_fn_exit $as_status
17403 } # as_fn_error
17404
17405
17406 # as_fn_set_status STATUS
17407 # -----------------------
17408 # Set $? to STATUS, without forking.
17409 as_fn_set_status ()
17410 {
17411 return $1
17412 } # as_fn_set_status
17413
17414 # as_fn_exit STATUS
17415 # -----------------
17416 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17417 as_fn_exit ()
17418 {
17419 set +e
17420 as_fn_set_status $1
17421 exit $1
17422 } # as_fn_exit
17423
17424 # as_fn_unset VAR
17425 # ---------------
17426 # Portably unset VAR.
17427 as_fn_unset ()
17428 {
17429 { eval $1=; unset $1;}
17430 }
17431 as_unset=as_fn_unset
17432 # as_fn_append VAR VALUE
17433 # ----------------------
17434 # Append the text in VALUE to the end of the definition contained in VAR. Take
17435 # advantage of any shell optimizations that allow amortized linear growth over
17436 # repeated appends, instead of the typical quadratic growth present in naive
17437 # implementations.
17438 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17439 eval 'as_fn_append ()
17440 {
17441 eval $1+=\$2
17442 }'
17443 else
17444 as_fn_append ()
17445 {
17446 eval $1=\$$1\$2
17447 }
17448 fi # as_fn_append
17449
17450 # as_fn_arith ARG...
17451 # ------------------
17452 # Perform arithmetic evaluation on the ARGs, and store the result in the
17453 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17454 # must be portable across $(()) and expr.
17455 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17456 eval 'as_fn_arith ()
17457 {
17458 as_val=$(( $* ))
17459 }'
17460 else
17461 as_fn_arith ()
17462 {
17463 as_val=`expr "$@" || test $? -eq 1`
17464 }
17465 fi # as_fn_arith
17466
17467
17468 if expr a : '\(a\)' >/dev/null 2>&1 &&
17469 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17470 as_expr=expr
17471 else
17472 as_expr=false
17473 fi
17474
17475 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17476 as_basename=basename
17477 else
17478 as_basename=false
17479 fi
17480
17481 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17482 as_dirname=dirname
17483 else
17484 as_dirname=false
17485 fi
17486
17487 as_me=`$as_basename -- "$0" ||
17488 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17489 X"$0" : 'X\(//\)$' \| \
17490 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17491 $as_echo X/"$0" |
17492 sed '/^.*\/\([^/][^/]*\)\/*$/{
17493 s//\1/
17494 q
17495 }
17496 /^X\/\(\/\/\)$/{
17497 s//\1/
17498 q
17499 }
17500 /^X\/\(\/\).*/{
17501 s//\1/
17502 q
17503 }
17504 s/.*/./; q'`
17505
17506 # Avoid depending upon Character Ranges.
17507 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17508 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17509 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17510 as_cr_digits='0123456789'
17511 as_cr_alnum=$as_cr_Letters$as_cr_digits
17512
17513 ECHO_C= ECHO_N= ECHO_T=
17514 case `echo -n x` in #(((((
17515 -n*)
17516 case `echo 'xy\c'` in
17517 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17518 xy) ECHO_C='\c';;
17519 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17520 ECHO_T=' ';;
17521 esac;;
17522 *)
17523 ECHO_N='-n';;
17524 esac
17525
17526 rm -f conf$$ conf$$.exe conf$$.file
17527 if test -d conf$$.dir; then
17528 rm -f conf$$.dir/conf$$.file
17529 else
17530 rm -f conf$$.dir
17531 mkdir conf$$.dir 2>/dev/null
17532 fi
17533 if (echo >conf$$.file) 2>/dev/null; then
17534 if ln -s conf$$.file conf$$ 2>/dev/null; then
17535 as_ln_s='ln -s'
17536 # ... but there are two gotchas:
17537 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17538 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17539 # In both cases, we have to default to `cp -p'.
17540 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17541 as_ln_s='cp -p'
17542 elif ln conf$$.file conf$$ 2>/dev/null; then
17543 as_ln_s=ln
17544 else
17545 as_ln_s='cp -p'
17546 fi
17547 else
17548 as_ln_s='cp -p'
17549 fi
17550 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17551 rmdir conf$$.dir 2>/dev/null
17552
17553
17554 # as_fn_mkdir_p
17555 # -------------
17556 # Create "$as_dir" as a directory, including parents if necessary.
17557 as_fn_mkdir_p ()
17558 {
17559
17560 case $as_dir in #(
17561 -*) as_dir=./$as_dir;;
17562 esac
17563 test -d "$as_dir" || eval $as_mkdir_p || {
17564 as_dirs=
17565 while :; do
17566 case $as_dir in #(
17567 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17568 *) as_qdir=$as_dir;;
17569 esac
17570 as_dirs="'$as_qdir' $as_dirs"
17571 as_dir=`$as_dirname -- "$as_dir" ||
17572 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17573 X"$as_dir" : 'X\(//\)[^/]' \| \
17574 X"$as_dir" : 'X\(//\)$' \| \
17575 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17576 $as_echo X"$as_dir" |
17577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17578 s//\1/
17579 q
17580 }
17581 /^X\(\/\/\)[^/].*/{
17582 s//\1/
17583 q
17584 }
17585 /^X\(\/\/\)$/{
17586 s//\1/
17587 q
17588 }
17589 /^X\(\/\).*/{
17590 s//\1/
17591 q
17592 }
17593 s/.*/./; q'`
17594 test -d "$as_dir" && break
17595 done
17596 test -z "$as_dirs" || eval "mkdir $as_dirs"
17597 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17598
17599
17600 } # as_fn_mkdir_p
17601 if mkdir -p . 2>/dev/null; then
17602 as_mkdir_p='mkdir -p "$as_dir"'
17603 else
17604 test -d ./-p && rmdir ./-p
17605 as_mkdir_p=false
17606 fi
17607
17608 if test -x / >/dev/null 2>&1; then
17609 as_test_x='test -x'
17610 else
17611 if ls -dL / >/dev/null 2>&1; then
17612 as_ls_L_option=L
17613 else
17614 as_ls_L_option=
17615 fi
17616 as_test_x='
17617 eval sh -c '\''
17618 if test -d "$1"; then
17619 test -d "$1/.";
17620 else
17621 case $1 in #(
17622 -*)set "./$1";;
17623 esac;
17624 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17625 ???[sx]*):;;*)false;;esac;fi
17626 '\'' sh
17627 '
17628 fi
17629 as_executable_p=$as_test_x
17630
17631 # Sed expression to map a string onto a valid CPP name.
17632 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17633
17634 # Sed expression to map a string onto a valid variable name.
17635 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17636
17637
17638 exec 6>&1
17639 ## ----------------------------------- ##
17640 ## Main body of $CONFIG_STATUS script. ##
17641 ## ----------------------------------- ##
17642 _ASEOF
17643 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17644
17645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17646 # Save the log message, to keep $0 and so on meaningful, and to
17647 # report actual input values of CONFIG_FILES etc. instead of their
17648 # values after options handling.
17649 ac_log="
17650 This file was extended by libXaw $as_me 1.0.8, which was
17651 generated by GNU Autoconf 2.68. Invocation command line was
17652
17653 CONFIG_FILES = $CONFIG_FILES
17654 CONFIG_HEADERS = $CONFIG_HEADERS
17655 CONFIG_LINKS = $CONFIG_LINKS
17656 CONFIG_COMMANDS = $CONFIG_COMMANDS
17657 $ $0 $@
17658
17659 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17660 "
17661
17662 _ACEOF
17663
17664 case $ac_config_files in *"
17665 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17666 esac
17667
17668 case $ac_config_headers in *"
17669 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17670 esac
17671
17672
17673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17674 # Files that config.status was made for.
17675 config_files="$ac_config_files"
17676 config_headers="$ac_config_headers"
17677 config_commands="$ac_config_commands"
17678
17679 _ACEOF
17680
17681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17682 ac_cs_usage="\
17683 \`$as_me' instantiates files and other configuration actions
17684 from templates according to the current configuration. Unless the files
17685 and actions are specified as TAGs, all are instantiated by default.
17686
17687 Usage: $0 [OPTION]... [TAG]...
17688
17689 -h, --help print this help, then exit
17690 -V, --version print version number and configuration settings, then exit
17691 --config print configuration, then exit
17692 -q, --quiet, --silent
17693 do not print progress messages
17694 -d, --debug don't remove temporary files
17695 --recheck update $as_me by reconfiguring in the same conditions
17696 --file=FILE[:TEMPLATE]
17697 instantiate the configuration file FILE
17698 --header=FILE[:TEMPLATE]
17699 instantiate the configuration header FILE
17700
17701 Configuration files:
17702 $config_files
17703
17704 Configuration headers:
17705 $config_headers
17706
17707 Configuration commands:
17708 $config_commands
17709
17710 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
17711
17712 _ACEOF
17713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17714 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17715 ac_cs_version="\\
17716 libXaw config.status 1.0.8
17717 configured by $0, generated by GNU Autoconf 2.68,
17718 with options \\"\$ac_cs_config\\"
17719
17720 Copyright (C) 2010 Free Software Foundation, Inc.
17721 This config.status script is free software; the Free Software Foundation
17722 gives unlimited permission to copy, distribute and modify it."
17723
17724 ac_pwd='$ac_pwd'
17725 srcdir='$srcdir'
17726 INSTALL='$INSTALL'
17727 MKDIR_P='$MKDIR_P'
17728 AWK='$AWK'
17729 test -n "\$AWK" || AWK=awk
17730 _ACEOF
17731
17732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17733 # The default lists apply if the user does not specify any file.
17734 ac_need_defaults=:
17735 while test $# != 0
17736 do
17737 case $1 in
17738 --*=?*)
17739 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17740 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17741 ac_shift=:
17742 ;;
17743 --*=)
17744 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17745 ac_optarg=
17746 ac_shift=:
17747 ;;
17748 *)
17749 ac_option=$1
17750 ac_optarg=$2
17751 ac_shift=shift
17752 ;;
17753 esac
17754
17755 case $ac_option in
17756 # Handling of the options.
17757 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17758 ac_cs_recheck=: ;;
17759 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17760 $as_echo "$ac_cs_version"; exit ;;
17761 --config | --confi | --conf | --con | --co | --c )
17762 $as_echo "$ac_cs_config"; exit ;;
17763 --debug | --debu | --deb | --de | --d | -d )
17764 debug=: ;;
17765 --file | --fil | --fi | --f )
17766 $ac_shift
17767 case $ac_optarg in
17768 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17769 '') as_fn_error $? "missing file argument" ;;
17770 esac
17771 as_fn_append CONFIG_FILES " '$ac_optarg'"
17772 ac_need_defaults=false;;
17773 --header | --heade | --head | --hea )
17774 $ac_shift
17775 case $ac_optarg in
17776 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17777 esac
17778 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17779 ac_need_defaults=false;;
17780 --he | --h)
17781 # Conflict between --help and --header
17782 as_fn_error $? "ambiguous option: \`$1'
17783 Try \`$0 --help' for more information.";;
17784 --help | --hel | -h )
17785 $as_echo "$ac_cs_usage"; exit ;;
17786 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17787 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17788 ac_cs_silent=: ;;
17789
17790 # This is an error.
17791 -*) as_fn_error $? "unrecognized option: \`$1'
17792 Try \`$0 --help' for more information." ;;
17793
17794 *) as_fn_append ac_config_targets " $1"
17795 ac_need_defaults=false ;;
17796
17797 esac
17798 shift
17799 done
17800
17801 ac_configure_extra_args=
17802
17803 if $ac_cs_silent; then
17804 exec 6>/dev/null
17805 ac_configure_extra_args="$ac_configure_extra_args --silent"
17806 fi
17807
17808 _ACEOF
17809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17810 if \$ac_cs_recheck; then
17811 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17812 shift
17813 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17814 CONFIG_SHELL='$SHELL'
17815 export CONFIG_SHELL
17816 exec "\$@"
17817 fi
17818
17819 _ACEOF
17820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17821 exec 5>>config.log
17822 {
17823 echo
17824 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17825 ## Running $as_me. ##
17826 _ASBOX
17827 $as_echo "$ac_log"
17828 } >&5
17829
17830 _ACEOF
17831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17832 #
17833 # INIT-COMMANDS
17834 #
17835 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17836
17837
17838 # The HP-UX ksh and POSIX shell print the target directory to stdout
17839 # if CDPATH is set.
17840 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17841
17842 sed_quote_subst='$sed_quote_subst'
17843 double_quote_subst='$double_quote_subst'
17844 delay_variable_subst='$delay_variable_subst'
17845 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17846 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17847 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17848 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17849 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17850 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17851 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17852 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17853 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17854 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17855 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17856 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17857 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17858 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17859 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17860 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17861 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17862 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17863 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17864 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17865 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17866 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17867 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17868 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17869 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17870 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17871 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17872 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17873 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17874 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17875 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17876 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17877 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17878 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17879 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17880 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17881 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17882 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17883 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17884 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17885 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17886 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17887 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17888 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17889 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17890 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17891 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17892 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17893 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
17894 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17895 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17896 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17897 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17898 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17899 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17900 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17901 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17902 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17903 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17904 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17905 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17906 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17907 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17908 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17909 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17910 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17911 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17912 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17913 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17914 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17915 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17916 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17917 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17918 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17919 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17920 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17921 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17922 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17923 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17924 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17925 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17926 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17927 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17928 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17929 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17930 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17931 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17932 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17933 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17934 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
17935 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17936 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17937 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17938 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17939 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17940 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17941 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17942 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17943 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17944 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17945 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17946 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17947 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17948 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17949 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17950 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17951 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17952 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17953 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17954 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17955 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17956 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17957 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17958 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17959 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17960 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17961 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17962 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17963 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17964 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17965
17966 LTCC='$LTCC'
17967 LTCFLAGS='$LTCFLAGS'
17968 compiler='$compiler_DEFAULT'
17969
17970 # A function that is used when there is no print builtin or printf.
17971 func_fallback_echo ()
17972 {
17973 eval 'cat <<_LTECHO_EOF
17974 \$1
17975 _LTECHO_EOF'
17976 }
17977
17978 # Quote evaled strings.
17979 for var in SHELL \
17980 ECHO \
17981 SED \
17982 GREP \
17983 EGREP \
17984 FGREP \
17985 LD \
17986 NM \
17987 LN_S \
17988 lt_SP2NL \
17989 lt_NL2SP \
17990 reload_flag \
17991 OBJDUMP \
17992 deplibs_check_method \
17993 file_magic_cmd \
17994 AR \
17995 AR_FLAGS \
17996 STRIP \
17997 RANLIB \
17998 CC \
17999 CFLAGS \
18000 compiler \
18001 lt_cv_sys_global_symbol_pipe \
18002 lt_cv_sys_global_symbol_to_cdecl \
18003 lt_cv_sys_global_symbol_to_c_name_address \
18004 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18005 lt_prog_compiler_no_builtin_flag \
18006 lt_prog_compiler_wl \
18007 lt_prog_compiler_pic \
18008 lt_prog_compiler_static \
18009 lt_cv_prog_compiler_c_o \
18010 need_locks \
18011 DSYMUTIL \
18012 NMEDIT \
18013 LIPO \
18014 OTOOL \
18015 OTOOL64 \
18016 shrext_cmds \
18017 export_dynamic_flag_spec \
18018 whole_archive_flag_spec \
18019 compiler_needs_object \
18020 with_gnu_ld \
18021 allow_undefined_flag \
18022 no_undefined_flag \
18023 hardcode_libdir_flag_spec \
18024 hardcode_libdir_flag_spec_ld \
18025 hardcode_libdir_separator \
18026 fix_srcfile_path \
18027 exclude_expsyms \
18028 include_expsyms \
18029 file_list_spec \
18030 variables_saved_for_relink \
18031 libname_spec \
18032 library_names_spec \
18033 soname_spec \
18034 install_override_mode \
18035 finish_eval \
18036 old_striplib \
18037 striplib; do
18038 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18039 *[\\\\\\\`\\"\\\$]*)
18040 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18041 ;;
18042 *)
18043 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18044 ;;
18045 esac
18046 done
18047
18048 # Double-quote double-evaled strings.
18049 for var in reload_cmds \
18050 old_postinstall_cmds \
18051 old_postuninstall_cmds \
18052 old_archive_cmds \
18053 extract_expsyms_cmds \
18054 old_archive_from_new_cmds \
18055 old_archive_from_expsyms_cmds \
18056 archive_cmds \
18057 archive_expsym_cmds \
18058 module_cmds \
18059 module_expsym_cmds \
18060 export_symbols_cmds \
18061 prelink_cmds \
18062 postinstall_cmds \
18063 postuninstall_cmds \
18064 finish_cmds \
18065 sys_lib_search_path_spec \
18066 sys_lib_dlsearch_path_spec; do
18067 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18068 *[\\\\\\\`\\"\\\$]*)
18069 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18070 ;;
18071 *)
18072 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18073 ;;
18074 esac
18075 done
18076
18077 ac_aux_dir='$ac_aux_dir'
18078 xsi_shell='$xsi_shell'
18079 lt_shell_append='$lt_shell_append'
18080
18081 # See if we are running on zsh, and set the options which allow our
18082 # commands through without removal of \ escapes INIT.
18083 if test -n "\${ZSH_VERSION+set}" ; then
18084 setopt NO_GLOB_SUBST
18085 fi
18086
18087
18088 PACKAGE='$PACKAGE'
18089 VERSION='$VERSION'
18090 TIMESTAMP='$TIMESTAMP'
18091 RM='$RM'
18092 ofile='$ofile'
18093
18094 ac_aux_dir='$ac_aux_dir'
18095 ac_aux_dir='$ac_aux_dir'
18096
18097
18098
18099 _ACEOF
18100
18101 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18102
18103 # Handling of arguments.
18104 for ac_config_target in $ac_config_targets
18105 do
18106 case $ac_config_target in
18107 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18108 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18109 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18110 "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
18111 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18112 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
18113 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
18114 "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
18115 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18116 "xaw6.pc") CONFIG_FILES="$CONFIG_FILES xaw6.pc" ;;
18117 "xaw7.pc") CONFIG_FILES="$CONFIG_FILES xaw7.pc" ;;
18118
18119 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18120 esac
18121 done
18122
18123
18124 # If the user did not use the arguments to specify the items to instantiate,
18125 # then the envvar interface is used. Set only those that are not.
18126 # We use the long form for the default assignment because of an extremely
18127 # bizarre bug on SunOS 4.1.3.
18128 if $ac_need_defaults; then
18129 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18130 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18131 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18132 fi
18133
18134 # Have a temporary directory for convenience. Make it in the build tree
18135 # simply because there is no reason against having it here, and in addition,
18136 # creating and moving files from /tmp can sometimes cause problems.
18137 # Hook for its removal unless debugging.
18138 # Note that there is a small window in which the directory will not be cleaned:
18139 # after its creation but before its name has been assigned to `$tmp'.
18140 $debug ||
18141 {
18142 tmp= ac_tmp=
18143 trap 'exit_status=$?
18144 : "${ac_tmp:=$tmp}"
18145 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18146 ' 0
18147 trap 'as_fn_exit 1' 1 2 13 15
18148 }
18149 # Create a (secure) tmp directory for tmp files.
18150
18151 {
18152 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18153 test -d "$tmp"
18154 } ||
18155 {
18156 tmp=./conf$$-$RANDOM
18157 (umask 077 && mkdir "$tmp")
18158 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18159 ac_tmp=$tmp
18160
18161 # Set up the scripts for CONFIG_FILES section.
18162 # No need to generate them if there are no CONFIG_FILES.
18163 # This happens for instance with `./config.status config.h'.
18164 if test -n "$CONFIG_FILES"; then
18165
18166
18167 ac_cr=`echo X | tr X '\015'`
18168 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18169 # But we know of no other shell where ac_cr would be empty at this
18170 # point, so we can use a bashism as a fallback.
18171 if test "x$ac_cr" = x; then
18172 eval ac_cr=\$\'\\r\'
18173 fi
18174 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18175 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18176 ac_cs_awk_cr='\\r'
18177 else
18178 ac_cs_awk_cr=$ac_cr
18179 fi
18180
18181 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18182 _ACEOF
18183
18184
18185 {
18186 echo "cat >conf$$subs.awk <<_ACEOF" &&
18187 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18188 echo "_ACEOF"
18189 } >conf$$subs.sh ||
18190 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18191 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18192 ac_delim='%!_!# '
18193 for ac_last_try in false false false false false :; do
18194 . ./conf$$subs.sh ||
18195 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18196
18197 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18198 if test $ac_delim_n = $ac_delim_num; then
18199 break
18200 elif $ac_last_try; then
18201 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18202 else
18203 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18204 fi
18205 done
18206 rm -f conf$$subs.sh
18207
18208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18209 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18210 _ACEOF
18211 sed -n '
18212 h
18213 s/^/S["/; s/!.*/"]=/
18214 p
18215 g
18216 s/^[^!]*!//
18217 :repl
18218 t repl
18219 s/'"$ac_delim"'$//
18220 t delim
18221 :nl
18222 h
18223 s/\(.\{148\}\)..*/\1/
18224 t more1
18225 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18226 p
18227 n
18228 b repl
18229 :more1
18230 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18231 p
18232 g
18233 s/.\{148\}//
18234 t nl
18235 :delim
18236 h
18237 s/\(.\{148\}\)..*/\1/
18238 t more2
18239 s/["\\]/\\&/g; s/^/"/; s/$/"/
18240 p
18241 b
18242 :more2
18243 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18244 p
18245 g
18246 s/.\{148\}//
18247 t delim
18248 ' <conf$$subs.awk | sed '
18249 /^[^""]/{
18250 N
18251 s/\n//
18252 }
18253 ' >>$CONFIG_STATUS || ac_write_fail=1
18254 rm -f conf$$subs.awk
18255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18256 _ACAWK
18257 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18258 for (key in S) S_is_set[key] = 1
18259 FS = ""
18260
18261 }
18262 {
18263 line = $ 0
18264 nfields = split(line, field, "@")
18265 substed = 0
18266 len = length(field[1])
18267 for (i = 2; i < nfields; i++) {
18268 key = field[i]
18269 keylen = length(key)
18270 if (S_is_set[key]) {
18271 value = S[key]
18272 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18273 len += length(value) + length(field[++i])
18274 substed = 1
18275 } else
18276 len += 1 + keylen
18277 }
18278
18279 print line
18280 }
18281
18282 _ACAWK
18283 _ACEOF
18284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18285 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18286 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18287 else
18288 cat
18289 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18290 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18291 _ACEOF
18292
18293 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18294 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18295 # trailing colons and then remove the whole line if VPATH becomes empty
18296 # (actually we leave an empty line to preserve line numbers).
18297 if test "x$srcdir" = x.; then
18298 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18299 h
18300 s///
18301 s/^/:/
18302 s/[ ]*$/:/
18303 s/:\$(srcdir):/:/g
18304 s/:\${srcdir}:/:/g
18305 s/:@srcdir@:/:/g
18306 s/^:*//
18307 s/:*$//
18308 x
18309 s/\(=[ ]*\).*/\1/
18310 G
18311 s/\n//
18312 s/^[^=]*=[ ]*$//
18313 }'
18314 fi
18315
18316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18317 fi # test -n "$CONFIG_FILES"
18318
18319 # Set up the scripts for CONFIG_HEADERS section.
18320 # No need to generate them if there are no CONFIG_HEADERS.
18321 # This happens for instance with `./config.status Makefile'.
18322 if test -n "$CONFIG_HEADERS"; then
18323 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18324 BEGIN {
18325 _ACEOF
18326
18327 # Transform confdefs.h into an awk script `defines.awk', embedded as
18328 # here-document in config.status, that substitutes the proper values into
18329 # config.h.in to produce config.h.
18330
18331 # Create a delimiter string that does not exist in confdefs.h, to ease
18332 # handling of long lines.
18333 ac_delim='%!_!# '
18334 for ac_last_try in false false :; do
18335 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18336 if test -z "$ac_tt"; then
18337 break
18338 elif $ac_last_try; then
18339 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18340 else
18341 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18342 fi
18343 done
18344
18345 # For the awk script, D is an array of macro values keyed by name,
18346 # likewise P contains macro parameters if any. Preserve backslash
18347 # newline sequences.
18348
18349 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18350 sed -n '
18351 s/.\{148\}/&'"$ac_delim"'/g
18352 t rset
18353 :rset
18354 s/^[ ]*#[ ]*define[ ][ ]*/ /
18355 t def
18356 d
18357 :def
18358 s/\\$//
18359 t bsnl
18360 s/["\\]/\\&/g
18361 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18362 D["\1"]=" \3"/p
18363 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18364 d
18365 :bsnl
18366 s/["\\]/\\&/g
18367 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18368 D["\1"]=" \3\\\\\\n"\\/p
18369 t cont
18370 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18371 t cont
18372 d
18373 :cont
18374 n
18375 s/.\{148\}/&'"$ac_delim"'/g
18376 t clear
18377 :clear
18378 s/\\$//
18379 t bsnlc
18380 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18381 d
18382 :bsnlc
18383 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18384 b cont
18385 ' <confdefs.h | sed '
18386 s/'"$ac_delim"'/"\\\
18387 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18388
18389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18390 for (key in D) D_is_set[key] = 1
18391 FS = ""
18392 }
18393 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18394 line = \$ 0
18395 split(line, arg, " ")
18396 if (arg[1] == "#") {
18397 defundef = arg[2]
18398 mac1 = arg[3]
18399 } else {
18400 defundef = substr(arg[1], 2)
18401 mac1 = arg[2]
18402 }
18403 split(mac1, mac2, "(") #)
18404 macro = mac2[1]
18405 prefix = substr(line, 1, index(line, defundef) - 1)
18406 if (D_is_set[macro]) {
18407 # Preserve the white space surrounding the "#".
18408 print prefix "define", macro P[macro] D[macro]
18409 next
18410 } else {
18411 # Replace #undef with comments. This is necessary, for example,
18412 # in the case of _POSIX_SOURCE, which is predefined and required
18413 # on some systems where configure will not decide to define it.
18414 if (defundef == "undef") {
18415 print "/*", prefix defundef, macro, "*/"
18416 next
18417 }
18418 }
18419 }
18420 { print }
18421 _ACAWK
18422 _ACEOF
18423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18424 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18425 fi # test -n "$CONFIG_HEADERS"
18426
18427
18428 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18429 shift
18430 for ac_tag
18431 do
18432 case $ac_tag in
18433 :[FHLC]) ac_mode=$ac_tag; continue;;
18434 esac
18435 case $ac_mode$ac_tag in
18436 :[FHL]*:*);;
18437 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18438 :[FH]-) ac_tag=-:-;;
18439 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18440 esac
18441 ac_save_IFS=$IFS
18442 IFS=:
18443 set x $ac_tag
18444 IFS=$ac_save_IFS
18445 shift
18446 ac_file=$1
18447 shift
18448
18449 case $ac_mode in
18450 :L) ac_source=$1;;
18451 :[FH])
18452 ac_file_inputs=
18453 for ac_f
18454 do
18455 case $ac_f in
18456 -) ac_f="$ac_tmp/stdin";;
18457 *) # Look for the file first in the build tree, then in the source tree
18458 # (if the path is not absolute). The absolute path cannot be DOS-style,
18459 # because $ac_f cannot contain `:'.
18460 test -f "$ac_f" ||
18461 case $ac_f in
18462 [\\/$]*) false;;
18463 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18464 esac ||
18465 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18466 esac
18467 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18468 as_fn_append ac_file_inputs " '$ac_f'"
18469 done
18470
18471 # Let's still pretend it is `configure' which instantiates (i.e., don't
18472 # use $as_me), people would be surprised to read:
18473 # /* config.h. Generated by config.status. */
18474 configure_input='Generated from '`
18475 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18476 `' by configure.'
18477 if test x"$ac_file" != x-; then
18478 configure_input="$ac_file. $configure_input"
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18480 $as_echo "$as_me: creating $ac_file" >&6;}
18481 fi
18482 # Neutralize special characters interpreted by sed in replacement strings.
18483 case $configure_input in #(
18484 *\&* | *\|* | *\\* )
18485 ac_sed_conf_input=`$as_echo "$configure_input" |
18486 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18487 *) ac_sed_conf_input=$configure_input;;
18488 esac
18489
18490 case $ac_tag in
18491 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18492 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18493 esac
18494 ;;
18495 esac
18496
18497 ac_dir=`$as_dirname -- "$ac_file" ||
18498 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18499 X"$ac_file" : 'X\(//\)[^/]' \| \
18500 X"$ac_file" : 'X\(//\)$' \| \
18501 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18502 $as_echo X"$ac_file" |
18503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18504 s//\1/
18505 q
18506 }
18507 /^X\(\/\/\)[^/].*/{
18508 s//\1/
18509 q
18510 }
18511 /^X\(\/\/\)$/{
18512 s//\1/
18513 q
18514 }
18515 /^X\(\/\).*/{
18516 s//\1/
18517 q
18518 }
18519 s/.*/./; q'`
18520 as_dir="$ac_dir"; as_fn_mkdir_p
18521 ac_builddir=.
18522
18523 case "$ac_dir" in
18524 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18525 *)
18526 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18527 # A ".." for each directory in $ac_dir_suffix.
18528 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18529 case $ac_top_builddir_sub in
18530 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18531 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18532 esac ;;
18533 esac
18534 ac_abs_top_builddir=$ac_pwd
18535 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18536 # for backward compatibility:
18537 ac_top_builddir=$ac_top_build_prefix
18538
18539 case $srcdir in
18540 .) # We are building in place.
18541 ac_srcdir=.
18542 ac_top_srcdir=$ac_top_builddir_sub
18543 ac_abs_top_srcdir=$ac_pwd ;;
18544 [\\/]* | ?:[\\/]* ) # Absolute name.
18545 ac_srcdir=$srcdir$ac_dir_suffix;
18546 ac_top_srcdir=$srcdir
18547 ac_abs_top_srcdir=$srcdir ;;
18548 *) # Relative name.
18549 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18550 ac_top_srcdir=$ac_top_build_prefix$srcdir
18551 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18552 esac
18553 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18554
18555
18556 case $ac_mode in
18557 :F)
18558 #
18559 # CONFIG_FILE
18560 #
18561
18562 case $INSTALL in
18563 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18564 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18565 esac
18566 ac_MKDIR_P=$MKDIR_P
18567 case $MKDIR_P in
18568 [\\/$]* | ?:[\\/]* ) ;;
18569 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18570 esac
18571 _ACEOF
18572
18573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18574 # If the template does not know about datarootdir, expand it.
18575 # FIXME: This hack should be removed a few years after 2.60.
18576 ac_datarootdir_hack=; ac_datarootdir_seen=
18577 ac_sed_dataroot='
18578 /datarootdir/ {
18579 p
18580 q
18581 }
18582 /@datadir@/p
18583 /@docdir@/p
18584 /@infodir@/p
18585 /@localedir@/p
18586 /@mandir@/p'
18587 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18588 *datarootdir*) ac_datarootdir_seen=yes;;
18589 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18591 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18592 _ACEOF
18593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18594 ac_datarootdir_hack='
18595 s&@datadir@&$datadir&g
18596 s&@docdir@&$docdir&g
18597 s&@infodir@&$infodir&g
18598 s&@localedir@&$localedir&g
18599 s&@mandir@&$mandir&g
18600 s&\\\${datarootdir}&$datarootdir&g' ;;
18601 esac
18602 _ACEOF
18603
18604 # Neutralize VPATH when `$srcdir' = `.'.
18605 # Shell code in configure.ac might set extrasub.
18606 # FIXME: do we really want to maintain this feature?
18607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18608 ac_sed_extra="$ac_vpsub
18609 $extrasub
18610 _ACEOF
18611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18612 :t
18613 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18614 s|@configure_input@|$ac_sed_conf_input|;t t
18615 s&@top_builddir@&$ac_top_builddir_sub&;t t
18616 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18617 s&@srcdir@&$ac_srcdir&;t t
18618 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18619 s&@top_srcdir@&$ac_top_srcdir&;t t
18620 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18621 s&@builddir@&$ac_builddir&;t t
18622 s&@abs_builddir@&$ac_abs_builddir&;t t
18623 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18624 s&@INSTALL@&$ac_INSTALL&;t t
18625 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18626 $ac_datarootdir_hack
18627 "
18628 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18629 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18630
18631 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18632 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18633 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18634 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18636 which seems to be undefined. Please make sure it is defined" >&5
18637 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18638 which seems to be undefined. Please make sure it is defined" >&2;}
18639
18640 rm -f "$ac_tmp/stdin"
18641 case $ac_file in
18642 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18643 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18644 esac \
18645 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18646 ;;
18647 :H)
18648 #
18649 # CONFIG_HEADER
18650 #
18651 if test x"$ac_file" != x-; then
18652 {
18653 $as_echo "/* $configure_input */" \
18654 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18655 } >"$ac_tmp/config.h" \
18656 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18657 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18659 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18660 else
18661 rm -f "$ac_file"
18662 mv "$ac_tmp/config.h" "$ac_file" \
18663 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18664 fi
18665 else
18666 $as_echo "/* $configure_input */" \
18667 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18668 || as_fn_error $? "could not create -" "$LINENO" 5
18669 fi
18670 # Compute "$ac_file"'s index in $config_headers.
18671 _am_arg="$ac_file"
18672 _am_stamp_count=1
18673 for _am_header in $config_headers :; do
18674 case $_am_header in
18675 $_am_arg | $_am_arg:* )
18676 break ;;
18677 * )
18678 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18679 esac
18680 done
18681 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18682 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18683 X"$_am_arg" : 'X\(//\)[^/]' \| \
18684 X"$_am_arg" : 'X\(//\)$' \| \
18685 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18686 $as_echo X"$_am_arg" |
18687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18688 s//\1/
18689 q
18690 }
18691 /^X\(\/\/\)[^/].*/{
18692 s//\1/
18693 q
18694 }
18695 /^X\(\/\/\)$/{
18696 s//\1/
18697 q
18698 }
18699 /^X\(\/\).*/{
18700 s//\1/
18701 q
18702 }
18703 s/.*/./; q'`/stamp-h$_am_stamp_count
18704 ;;
18705
18706 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18707 $as_echo "$as_me: executing $ac_file commands" >&6;}
18708 ;;
18709 esac
18710
18711
18712 case $ac_file$ac_mode in
18713 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18714 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18715 # are listed without --file. Let's play safe and only enable the eval
18716 # if we detect the quoting.
18717 case $CONFIG_FILES in
18718 *\'*) eval set x "$CONFIG_FILES" ;;
18719 *) set x $CONFIG_FILES ;;
18720 esac
18721 shift
18722 for mf
18723 do
18724 # Strip MF so we end up with the name of the file.
18725 mf=`echo "$mf" | sed -e 's/:.*$//'`
18726 # Check whether this is an Automake generated Makefile or not.
18727 # We used to match only the files named `Makefile.in', but
18728 # some people rename them; so instead we look at the file content.
18729 # Grep'ing the first line is not enough: some people post-process
18730 # each Makefile.in and add a new line on top of each file to say so.
18731 # Grep'ing the whole file is not good either: AIX grep has a line
18732 # limit of 2048, but all sed's we know have understand at least 4000.
18733 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18734 dirpart=`$as_dirname -- "$mf" ||
18735 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18736 X"$mf" : 'X\(//\)[^/]' \| \
18737 X"$mf" : 'X\(//\)$' \| \
18738 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18739 $as_echo X"$mf" |
18740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18741 s//\1/
18742 q
18743 }
18744 /^X\(\/\/\)[^/].*/{
18745 s//\1/
18746 q
18747 }
18748 /^X\(\/\/\)$/{
18749 s//\1/
18750 q
18751 }
18752 /^X\(\/\).*/{
18753 s//\1/
18754 q
18755 }
18756 s/.*/./; q'`
18757 else
18758 continue
18759 fi
18760 # Extract the definition of DEPDIR, am__include, and am__quote
18761 # from the Makefile without running `make'.
18762 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18763 test -z "$DEPDIR" && continue
18764 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18765 test -z "am__include" && continue
18766 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18767 # When using ansi2knr, U may be empty or an underscore; expand it
18768 U=`sed -n 's/^U = //p' < "$mf"`
18769 # Find all dependency output files, they are included files with
18770 # $(DEPDIR) in their names. We invoke sed twice because it is the
18771 # simplest approach to changing $(DEPDIR) to its actual value in the
18772 # expansion.
18773 for file in `sed -n "
18774 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18775 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18776 # Make sure the directory exists.
18777 test -f "$dirpart/$file" && continue
18778 fdir=`$as_dirname -- "$file" ||
18779 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18780 X"$file" : 'X\(//\)[^/]' \| \
18781 X"$file" : 'X\(//\)$' \| \
18782 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18783 $as_echo X"$file" |
18784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18785 s//\1/
18786 q
18787 }
18788 /^X\(\/\/\)[^/].*/{
18789 s//\1/
18790 q
18791 }
18792 /^X\(\/\/\)$/{
18793 s//\1/
18794 q
18795 }
18796 /^X\(\/\).*/{
18797 s//\1/
18798 q
18799 }
18800 s/.*/./; q'`
18801 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18802 # echo "creating $dirpart/$file"
18803 echo '# dummy' > "$dirpart/$file"
18804 done
18805 done
18806 }
18807 ;;
18808 "libtool":C)
18809
18810 # See if we are running on zsh, and set the options which allow our
18811 # commands through without removal of \ escapes.
18812 if test -n "${ZSH_VERSION+set}" ; then
18813 setopt NO_GLOB_SUBST
18814 fi
18815
18816 cfgfile="${ofile}T"
18817 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18818 $RM "$cfgfile"
18819
18820 cat <<_LT_EOF >> "$cfgfile"
18821 #! $SHELL
18822
18823 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18824 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18825 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18826 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18827 #
18828 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18829 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
18830 # Inc.
18831 # Written by Gordon Matzigkeit, 1996
18832 #
18833 # This file is part of GNU Libtool.
18834 #
18835 # GNU Libtool is free software; you can redistribute it and/or
18836 # modify it under the terms of the GNU General Public License as
18837 # published by the Free Software Foundation; either version 2 of
18838 # the License, or (at your option) any later version.
18839 #
18840 # As a special exception to the GNU General Public License,
18841 # if you distribute this file as part of a program or library that
18842 # is built using GNU Libtool, you may include this file under the
18843 # same distribution terms that you use for the rest of that program.
18844 #
18845 # GNU Libtool is distributed in the hope that it will be useful,
18846 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18847 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18848 # GNU General Public License for more details.
18849 #
18850 # You should have received a copy of the GNU General Public License
18851 # along with GNU Libtool; see the file COPYING. If not, a copy
18852 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18853 # obtained by writing to the Free Software Foundation, Inc.,
18854 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18855
18856
18857 # The names of the tagged configurations supported by this script.
18858 available_tags=""
18859
18860 # ### BEGIN LIBTOOL CONFIG
18861
18862 # Which release of libtool.m4 was used?
18863 macro_version=$macro_version
18864 macro_revision=$macro_revision
18865
18866 # Whether or not to build shared libraries.
18867 build_libtool_libs=$enable_shared
18868
18869 # Whether or not to build static libraries.
18870 build_old_libs=$enable_static
18871
18872 # What type of objects to build.
18873 pic_mode=$pic_mode
18874
18875 # Whether or not to optimize for fast installation.
18876 fast_install=$enable_fast_install
18877
18878 # Shell to use when invoking shell scripts.
18879 SHELL=$lt_SHELL
18880
18881 # An echo program that protects backslashes.
18882 ECHO=$lt_ECHO
18883
18884 # The host system.
18885 host_alias=$host_alias
18886 host=$host
18887 host_os=$host_os
18888
18889 # The build system.
18890 build_alias=$build_alias
18891 build=$build
18892 build_os=$build_os
18893
18894 # A sed program that does not truncate output.
18895 SED=$lt_SED
18896
18897 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18898 Xsed="\$SED -e 1s/^X//"
18899
18900 # A grep program that handles long lines.
18901 GREP=$lt_GREP
18902
18903 # An ERE matcher.
18904 EGREP=$lt_EGREP
18905
18906 # A literal string matcher.
18907 FGREP=$lt_FGREP
18908
18909 # A BSD- or MS-compatible name lister.
18910 NM=$lt_NM
18911
18912 # Whether we need soft or hard links.
18913 LN_S=$lt_LN_S
18914
18915 # What is the maximum length of a command?
18916 max_cmd_len=$max_cmd_len
18917
18918 # Object file suffix (normally "o").
18919 objext=$ac_objext
18920
18921 # Executable file suffix (normally "").
18922 exeext=$exeext
18923
18924 # whether the shell understands "unset".
18925 lt_unset=$lt_unset
18926
18927 # turn spaces into newlines.
18928 SP2NL=$lt_lt_SP2NL
18929
18930 # turn newlines into spaces.
18931 NL2SP=$lt_lt_NL2SP
18932
18933 # An object symbol dumper.
18934 OBJDUMP=$lt_OBJDUMP
18935
18936 # Method to check whether dependent libraries are shared objects.
18937 deplibs_check_method=$lt_deplibs_check_method
18938
18939 # Command to use when deplibs_check_method == "file_magic".
18940 file_magic_cmd=$lt_file_magic_cmd
18941
18942 # The archiver.
18943 AR=$lt_AR
18944 AR_FLAGS=$lt_AR_FLAGS
18945
18946 # A symbol stripping program.
18947 STRIP=$lt_STRIP
18948
18949 # Commands used to install an old-style archive.
18950 RANLIB=$lt_RANLIB
18951 old_postinstall_cmds=$lt_old_postinstall_cmds
18952 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18953
18954 # Whether to use a lock for old archive extraction.
18955 lock_old_archive_extraction=$lock_old_archive_extraction
18956
18957 # A C compiler.
18958 LTCC=$lt_CC
18959
18960 # LTCC compiler flags.
18961 LTCFLAGS=$lt_CFLAGS
18962
18963 # Take the output of nm and produce a listing of raw symbols and C names.
18964 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18965
18966 # Transform the output of nm in a proper C declaration.
18967 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18968
18969 # Transform the output of nm in a C name address pair.
18970 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18971
18972 # Transform the output of nm in a C name address pair when lib prefix is needed.
18973 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18974
18975 # The name of the directory that contains temporary libtool files.
18976 objdir=$objdir
18977
18978 # Used to examine libraries when file_magic_cmd begins with "file".
18979 MAGIC_CMD=$MAGIC_CMD
18980
18981 # Must we lock files when doing compilation?
18982 need_locks=$lt_need_locks
18983
18984 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18985 DSYMUTIL=$lt_DSYMUTIL
18986
18987 # Tool to change global to local symbols on Mac OS X.
18988 NMEDIT=$lt_NMEDIT
18989
18990 # Tool to manipulate fat objects and archives on Mac OS X.
18991 LIPO=$lt_LIPO
18992
18993 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18994 OTOOL=$lt_OTOOL
18995
18996 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18997 OTOOL64=$lt_OTOOL64
18998
18999 # Old archive suffix (normally "a").
19000 libext=$libext
19001
19002 # Shared library suffix (normally ".so").
19003 shrext_cmds=$lt_shrext_cmds
19004
19005 # The commands to extract the exported symbol list from a shared archive.
19006 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19007
19008 # Variables whose values should be saved in libtool wrapper scripts and
19009 # restored at link time.
19010 variables_saved_for_relink=$lt_variables_saved_for_relink
19011
19012 # Do we need the "lib" prefix for modules?
19013 need_lib_prefix=$need_lib_prefix
19014
19015 # Do we need a version for libraries?
19016 need_version=$need_version
19017
19018 # Library versioning type.
19019 version_type=$version_type
19020
19021 # Shared library runtime path variable.
19022 runpath_var=$runpath_var
19023
19024 # Shared library path variable.
19025 shlibpath_var=$shlibpath_var
19026
19027 # Is shlibpath searched before the hard-coded library search path?
19028 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19029
19030 # Format of library name prefix.
19031 libname_spec=$lt_libname_spec
19032
19033 # List of archive names. First name is the real one, the rest are links.
19034 # The last name is the one that the linker finds with -lNAME
19035 library_names_spec=$lt_library_names_spec
19036
19037 # The coded name of the library, if different from the real name.
19038 soname_spec=$lt_soname_spec
19039
19040 # Permission mode override for installation of shared libraries.
19041 install_override_mode=$lt_install_override_mode
19042
19043 # Command to use after installation of a shared archive.
19044 postinstall_cmds=$lt_postinstall_cmds
19045
19046 # Command to use after uninstallation of a shared archive.
19047 postuninstall_cmds=$lt_postuninstall_cmds
19048
19049 # Commands used to finish a libtool library installation in a directory.
19050 finish_cmds=$lt_finish_cmds
19051
19052 # As "finish_cmds", except a single script fragment to be evaled but
19053 # not shown.
19054 finish_eval=$lt_finish_eval
19055
19056 # Whether we should hardcode library paths into libraries.
19057 hardcode_into_libs=$hardcode_into_libs
19058
19059 # Compile-time system search path for libraries.
19060 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19061
19062 # Run-time system search path for libraries.
19063 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19064
19065 # Whether dlopen is supported.
19066 dlopen_support=$enable_dlopen
19067
19068 # Whether dlopen of programs is supported.
19069 dlopen_self=$enable_dlopen_self
19070
19071 # Whether dlopen of statically linked programs is supported.
19072 dlopen_self_static=$enable_dlopen_self_static
19073
19074 # Commands to strip libraries.
19075 old_striplib=$lt_old_striplib
19076 striplib=$lt_striplib
19077
19078
19079 # The linker used to build libraries.
19080 LD=$lt_LD
19081
19082 # How to create reloadable object files.
19083 reload_flag=$lt_reload_flag
19084 reload_cmds=$lt_reload_cmds
19085
19086 # Commands used to build an old-style archive.
19087 old_archive_cmds=$lt_old_archive_cmds
19088
19089 # A language specific compiler.
19090 CC=$lt_compiler
19091
19092 # Is the compiler the GNU compiler?
19093 with_gcc=$GCC
19094
19095 # Compiler flag to turn off builtin functions.
19096 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19097
19098 # How to pass a linker flag through the compiler.
19099 wl=$lt_lt_prog_compiler_wl
19100
19101 # Additional compiler flags for building library objects.
19102 pic_flag=$lt_lt_prog_compiler_pic
19103
19104 # Compiler flag to prevent dynamic linking.
19105 link_static_flag=$lt_lt_prog_compiler_static
19106
19107 # Does compiler simultaneously support -c and -o options?
19108 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19109
19110 # Whether or not to add -lc for building shared libraries.
19111 build_libtool_need_lc=$archive_cmds_need_lc
19112
19113 # Whether or not to disallow shared libs when runtime libs are static.
19114 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19115
19116 # Compiler flag to allow reflexive dlopens.
19117 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19118
19119 # Compiler flag to generate shared objects directly from archives.
19120 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19121
19122 # Whether the compiler copes with passing no objects directly.
19123 compiler_needs_object=$lt_compiler_needs_object
19124
19125 # Create an old-style archive from a shared archive.
19126 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19127
19128 # Create a temporary old-style archive to link instead of a shared archive.
19129 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19130
19131 # Commands used to build a shared archive.
19132 archive_cmds=$lt_archive_cmds
19133 archive_expsym_cmds=$lt_archive_expsym_cmds
19134
19135 # Commands used to build a loadable module if different from building
19136 # a shared archive.
19137 module_cmds=$lt_module_cmds
19138 module_expsym_cmds=$lt_module_expsym_cmds
19139
19140 # Whether we are building with GNU ld or not.
19141 with_gnu_ld=$lt_with_gnu_ld
19142
19143 # Flag that allows shared libraries with undefined symbols to be built.
19144 allow_undefined_flag=$lt_allow_undefined_flag
19145
19146 # Flag that enforces no undefined symbols.
19147 no_undefined_flag=$lt_no_undefined_flag
19148
19149 # Flag to hardcode \$libdir into a binary during linking.
19150 # This must work even if \$libdir does not exist
19151 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19152
19153 # If ld is used when linking, flag to hardcode \$libdir into a binary
19154 # during linking. This must work even if \$libdir does not exist.
19155 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19156
19157 # Whether we need a single "-rpath" flag with a separated argument.
19158 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19159
19160 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19161 # DIR into the resulting binary.
19162 hardcode_direct=$hardcode_direct
19163
19164 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19165 # DIR into the resulting binary and the resulting library dependency is
19166 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19167 # library is relocated.
19168 hardcode_direct_absolute=$hardcode_direct_absolute
19169
19170 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19171 # into the resulting binary.
19172 hardcode_minus_L=$hardcode_minus_L
19173
19174 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19175 # into the resulting binary.
19176 hardcode_shlibpath_var=$hardcode_shlibpath_var
19177
19178 # Set to "yes" if building a shared library automatically hardcodes DIR
19179 # into the library and all subsequent libraries and executables linked
19180 # against it.
19181 hardcode_automatic=$hardcode_automatic
19182
19183 # Set to yes if linker adds runtime paths of dependent libraries
19184 # to runtime path list.
19185 inherit_rpath=$inherit_rpath
19186
19187 # Whether libtool must link a program against all its dependency libraries.
19188 link_all_deplibs=$link_all_deplibs
19189
19190 # Fix the shell variable \$srcfile for the compiler.
19191 fix_srcfile_path=$lt_fix_srcfile_path
19192
19193 # Set to "yes" if exported symbols are required.
19194 always_export_symbols=$always_export_symbols
19195
19196 # The commands to list exported symbols.
19197 export_symbols_cmds=$lt_export_symbols_cmds
19198
19199 # Symbols that should not be listed in the preloaded symbols.
19200 exclude_expsyms=$lt_exclude_expsyms
19201
19202 # Symbols that must always be exported.
19203 include_expsyms=$lt_include_expsyms
19204
19205 # Commands necessary for linking programs (against libraries) with templates.
19206 prelink_cmds=$lt_prelink_cmds
19207
19208 # Specify filename containing input files.
19209 file_list_spec=$lt_file_list_spec
19210
19211 # How to hardcode a shared library path into an executable.
19212 hardcode_action=$hardcode_action
19213
19214 # ### END LIBTOOL CONFIG
19215
19216 _LT_EOF
19217
19218 case $host_os in
19219 aix3*)
19220 cat <<\_LT_EOF >> "$cfgfile"
19221 # AIX sometimes has problems with the GCC collect2 program. For some
19222 # reason, if we set the COLLECT_NAMES environment variable, the problems
19223 # vanish in a puff of smoke.
19224 if test "X${COLLECT_NAMES+set}" != Xset; then
19225 COLLECT_NAMES=
19226 export COLLECT_NAMES
19227 fi
19228 _LT_EOF
19229 ;;
19230 esac
19231
19232
19233 ltmain="$ac_aux_dir/ltmain.sh"
19234
19235
19236 # We use sed instead of cat because bash on DJGPP gets confused if
19237 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19238 # text mode, it properly converts lines to CR/LF. This bash problem
19239 # is reportedly fixed, but why not run on old versions too?
19240 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19241 || (rm -f "$cfgfile"; exit 1)
19242
19243 case $xsi_shell in
19244 yes)
19245 cat << \_LT_EOF >> "$cfgfile"
19246
19247 # func_dirname file append nondir_replacement
19248 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19249 # otherwise set result to NONDIR_REPLACEMENT.
19250 func_dirname ()
19251 {
19252 case ${1} in
19253 */*) func_dirname_result="${1%/*}${2}" ;;
19254 * ) func_dirname_result="${3}" ;;
19255 esac
19256 }
19257
19258 # func_basename file
19259 func_basename ()
19260 {
19261 func_basename_result="${1##*/}"
19262 }
19263
19264 # func_dirname_and_basename file append nondir_replacement
19265 # perform func_basename and func_dirname in a single function
19266 # call:
19267 # dirname: Compute the dirname of FILE. If nonempty,
19268 # add APPEND to the result, otherwise set result
19269 # to NONDIR_REPLACEMENT.
19270 # value returned in "$func_dirname_result"
19271 # basename: Compute filename of FILE.
19272 # value retuned in "$func_basename_result"
19273 # Implementation must be kept synchronized with func_dirname
19274 # and func_basename. For efficiency, we do not delegate to
19275 # those functions but instead duplicate the functionality here.
19276 func_dirname_and_basename ()
19277 {
19278 case ${1} in
19279 */*) func_dirname_result="${1%/*}${2}" ;;
19280 * ) func_dirname_result="${3}" ;;
19281 esac
19282 func_basename_result="${1##*/}"
19283 }
19284
19285 # func_stripname prefix suffix name
19286 # strip PREFIX and SUFFIX off of NAME.
19287 # PREFIX and SUFFIX must not contain globbing or regex special
19288 # characters, hashes, percent signs, but SUFFIX may contain a leading
19289 # dot (in which case that matches only a dot).
19290 func_stripname ()
19291 {
19292 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19293 # positional parameters, so assign one to ordinary parameter first.
19294 func_stripname_result=${3}
19295 func_stripname_result=${func_stripname_result#"${1}"}
19296 func_stripname_result=${func_stripname_result%"${2}"}
19297 }
19298
19299 # func_opt_split
19300 func_opt_split ()
19301 {
19302 func_opt_split_opt=${1%%=*}
19303 func_opt_split_arg=${1#*=}
19304 }
19305
19306 # func_lo2o object
19307 func_lo2o ()
19308 {
19309 case ${1} in
19310 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
19311 *) func_lo2o_result=${1} ;;
19312 esac
19313 }
19314
19315 # func_xform libobj-or-source
19316 func_xform ()
19317 {
19318 func_xform_result=${1%.*}.lo
19319 }
19320
19321 # func_arith arithmetic-term...
19322 func_arith ()
19323 {
19324 func_arith_result=$(( $* ))
19325 }
19326
19327 # func_len string
19328 # STRING may not start with a hyphen.
19329 func_len ()
19330 {
19331 func_len_result=${#1}
19332 }
19333
19334 _LT_EOF
19335 ;;
19336 *) # Bourne compatible functions.
19337 cat << \_LT_EOF >> "$cfgfile"
19338
19339 # func_dirname file append nondir_replacement
19340 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
19341 # otherwise set result to NONDIR_REPLACEMENT.
19342 func_dirname ()
19343 {
19344 # Extract subdirectory from the argument.
19345 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
19346 if test "X$func_dirname_result" = "X${1}"; then
19347 func_dirname_result="${3}"
19348 else
19349 func_dirname_result="$func_dirname_result${2}"
19350 fi
19351 }
19352
19353 # func_basename file
19354 func_basename ()
19355 {
19356 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
19357 }
19358
19359
19360 # func_stripname prefix suffix name
19361 # strip PREFIX and SUFFIX off of NAME.
19362 # PREFIX and SUFFIX must not contain globbing or regex special
19363 # characters, hashes, percent signs, but SUFFIX may contain a leading
19364 # dot (in which case that matches only a dot).
19365 # func_strip_suffix prefix name
19366 func_stripname ()
19367 {
19368 case ${2} in
19369 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
19370 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
19371 esac
19372 }
19373
19374 # sed scripts:
19375 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
19376 my_sed_long_arg='1s/^-[^=]*=//'
19377
19378 # func_opt_split
19379 func_opt_split ()
19380 {
19381 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
19382 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
19383 }
19384
19385 # func_lo2o object
19386 func_lo2o ()
19387 {
19388 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
19389 }
19390
19391 # func_xform libobj-or-source
19392 func_xform ()
19393 {
19394 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
19395 }
19396
19397 # func_arith arithmetic-term...
19398 func_arith ()
19399 {
19400 func_arith_result=`expr "$@"`
19401 }
19402
19403 # func_len string
19404 # STRING may not start with a hyphen.
19405 func_len ()
19406 {
19407 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19408 }
19409
19410 _LT_EOF
19411 esac
19412
19413 case $lt_shell_append in
19414 yes)
19415 cat << \_LT_EOF >> "$cfgfile"
19416
19417 # func_append var value
19418 # Append VALUE to the end of shell variable VAR.
19419 func_append ()
19420 {
19421 eval "$1+=\$2"
19422 }
19423 _LT_EOF
19424 ;;
19425 *)
19426 cat << \_LT_EOF >> "$cfgfile"
19427
19428 # func_append var value
19429 # Append VALUE to the end of shell variable VAR.
19430 func_append ()
19431 {
19432 eval "$1=\$$1\$2"
19433 }
19434
19435 _LT_EOF
19436 ;;
19437 esac
19438
19439
19440 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19441 || (rm -f "$cfgfile"; exit 1)
19442
19443 mv -f "$cfgfile" "$ofile" ||
19444 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19445 chmod +x "$ofile"
19446
19447 ;;
19448 "libtool_hack":C)
19449 cp -f libtool libtool_
19450 test -z "$SED" && SED=sed
19451 $SED '1,/^soname_spec/{
19452 /^soname_spec/i\
19453 # X.Org hack to match monolithic Xaw SONAME\
19454 xorglibxawname="libXaw"
19455 /^soname_spec/s/libname/xorglibxawname/
19456 }' libtool_ > libtool
19457 rm -f libtool_
19458 ;;
19459
19460 esac
19461 done # for ac_tag
19462
19463
19464 as_fn_exit 0
19465 _ACEOF
19466 ac_clean_files=$ac_clean_files_save
19467
19468 test $ac_write_fail = 0 ||
19469 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19470
19471
19472 # configure is writing to config.log, and then calls config.status.
19473 # config.status does its own redirection, appending to config.log.
19474 # Unfortunately, on DOS this fails, as config.log is still kept open
19475 # by configure, so config.status won't be able to write to it; its
19476 # output is simply discarded. So we exec the FD to /dev/null,
19477 # effectively closing config.log, so it can be properly (re)opened and
19478 # appended to by config.status. When coming back to configure, we
19479 # need to make the FD available again.
19480 if test "$no_create" != yes; then
19481 ac_cs_success=:
19482 ac_config_status_args=
19483 test "$silent" = yes &&
19484 ac_config_status_args="$ac_config_status_args --quiet"
19485 exec 5>/dev/null
19486 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19487 exec 5>>config.log
19488 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19489 # would make configure fail if this is the last instruction.
19490 $ac_cs_success || as_fn_exit 1
19491 fi
19492 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19494 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19495 fi
19496
19497 fi
19498