Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for NASPRO bridges 0.5.1.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 #
14 # Copyright (C) 2007-2014 Stefano D'Angelo
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 # Use a proper internal environment variable to ensure we don't fall
140 # into an infinite loop, continuously re-executing ourselves.
141 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
142 _as_can_reexec=no; export _as_can_reexec;
143 # We cannot yet assume a decent shell, so we have to provide a
144 # neutralization value for shells without unset; and this also
145 # works around shells that cannot unset nonexistent variables.
146 # Preserve -v and -x to the replacement shell.
147 BASH_ENV=/dev/null
148 ENV=/dev/null
149 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
150 case $- in # ((((
151 *v*x* | *x*v* ) as_opts=-vx ;;
152 *v* ) as_opts=-v ;;
153 *x* ) as_opts=-x ;;
154 * ) as_opts= ;;
155 esac
156 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157 # Admittedly, this is quite paranoid, since all the known shells bail
158 # out after a failed `exec'.
159 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 as_fn_exit 255
161 fi
162 # We don't want this to propagate to other subprocesses.
163 { _as_can_reexec=; unset _as_can_reexec;}
164 if test "x$CONFIG_SHELL" = x; then
165 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 emulate sh
167 NULLCMD=:
168 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169 # is contrary to our usage. Disable this feature.
170 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 setopt NO_GLOB_SUBST
172 else
173 case \`(set -o) 2>/dev/null\` in #(
174 *posix*) :
175 set -o posix ;; #(
176 *) :
177 ;;
178 esac
179 fi
180 "
181 as_required="as_fn_return () { (exit \$1); }
182 as_fn_success () { as_fn_return 0; }
183 as_fn_failure () { as_fn_return 1; }
184 as_fn_ret_success () { return 0; }
185 as_fn_ret_failure () { return 1; }
186
187 exitcode=0
188 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
194 else
195 exitcode=1; echo positional parameters were not saved.
196 fi
197 test x\$exitcode = x0 || exit 1
198 test -x / || exit 1"
199 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
200 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
201 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
203
204 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208 PATH=/empty FPATH=/empty; export PATH FPATH
209 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
211 test \$(( 1 + 1 )) = 2 || exit 1"
212 if (eval "$as_required") 2>/dev/null; then :
213 as_have_required=yes
214 else
215 as_have_required=no
216 fi
217 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218
219 else
220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221 as_found=false
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 do
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 as_found=:
227 case $as_dir in #(
228 /*)
229 for as_base in sh bash ksh sh5; do
230 # Try only shells that exist, to save several forks.
231 as_shell=$as_dir/$as_base
232 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
234 CONFIG_SHELL=$as_shell as_have_required=yes
235 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
236 break 2
237 fi
238 fi
239 done;;
240 esac
241 as_found=false
242 done
243 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
245 CONFIG_SHELL=$SHELL as_have_required=yes
246 fi; }
247 IFS=$as_save_IFS
248
249
250 if test "x$CONFIG_SHELL" != x; then :
251 export CONFIG_SHELL
252 # We cannot yet assume a decent shell, so we have to provide a
253 # neutralization value for shells without unset; and this also
254 # works around shells that cannot unset nonexistent variables.
255 # Preserve -v and -x to the replacement shell.
256 BASH_ENV=/dev/null
257 ENV=/dev/null
258 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
259 case $- in # ((((
260 *v*x* | *x*v* ) as_opts=-vx ;;
261 *v* ) as_opts=-v ;;
262 *x* ) as_opts=-x ;;
263 * ) as_opts= ;;
264 esac
265 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266 # Admittedly, this is quite paranoid, since all the known shells bail
267 # out after a failed `exec'.
268 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
269 exit 255
270 fi
271
272 if test x$as_have_required = xno; then :
273 $as_echo "$0: This script requires a shell more modern than all"
274 $as_echo "$0: the shells that I found on your system."
275 if test x${ZSH_VERSION+set} = xset ; then
276 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
278 else
279 $as_echo "$0: Please tell [email protected] and
280 $0: [email protected] about your system, including any
281 $0: error possibly output before this message. Then install
282 $0: a modern shell, or manually run the script under such a
283 $0: shell if you do have one."
284 fi
285 exit 1
286 fi
287 fi
288 fi
289 SHELL=${CONFIG_SHELL-/bin/sh}
290 export SHELL
291 # Unset more variables known to interfere with behavior of common tools.
292 CLICOLOR_FORCE= GREP_OPTIONS=
293 unset CLICOLOR_FORCE GREP_OPTIONS
294
295 ## --------------------- ##
296 ## M4sh Shell Functions. ##
297 ## --------------------- ##
298 # as_fn_unset VAR
299 # ---------------
300 # Portably unset VAR.
301 as_fn_unset ()
302 {
303 { eval $1=; unset $1;}
304 }
305 as_unset=as_fn_unset
306
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
310 as_fn_set_status ()
311 {
312 return $1
313 } # as_fn_set_status
314
315 # as_fn_exit STATUS
316 # -----------------
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 as_fn_exit ()
319 {
320 set +e
321 as_fn_set_status $1
322 exit $1
323 } # as_fn_exit
324
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
329 {
330
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 $as_echo X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
350 q
351 }
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
354 q
355 }
356 /^X\(\/\/\)$/{
357 s//\1/
358 q
359 }
360 /^X\(\/\).*/{
361 s//\1/
362 q
363 }
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
369
370
371 } # as_fn_mkdir_p
372
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
377 {
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
387 eval 'as_fn_append ()
388 {
389 eval $1+=\$2
390 }'
391 else
392 as_fn_append ()
393 {
394 eval $1=\$$1\$2
395 }
396 fi # as_fn_append
397
398 # as_fn_arith ARG...
399 # ------------------
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
404 eval 'as_fn_arith ()
405 {
406 as_val=$(( $* ))
407 }'
408 else
409 as_fn_arith ()
410 {
411 as_val=`expr "$@" || test $? -eq 1`
412 }
413 fi # as_fn_arith
414
415
416 # as_fn_error STATUS ERROR [LINENO LOG_FD]
417 # ----------------------------------------
418 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420 # script with STATUS, using 1 if that was 0.
421 as_fn_error ()
422 {
423 as_status=$1; test $as_status -eq 0 && as_status=1
424 if test "$4"; then
425 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
426 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 fi
428 $as_echo "$as_me: error: $2" >&2
429 as_fn_exit $as_status
430 } # as_fn_error
431
432 if expr a : '\(a\)' >/dev/null 2>&1 &&
433 test "X`expr 00001 : '.*\(...\)'`" = X001; then
434 as_expr=expr
435 else
436 as_expr=false
437 fi
438
439 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 as_basename=basename
441 else
442 as_basename=false
443 fi
444
445 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446 as_dirname=dirname
447 else
448 as_dirname=false
449 fi
450
451 as_me=`$as_basename -- "$0" ||
452 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453 X"$0" : 'X\(//\)$' \| \
454 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 $as_echo X/"$0" |
456 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 s//\1/
458 q
459 }
460 /^X\/\(\/\/\)$/{
461 s//\1/
462 q
463 }
464 /^X\/\(\/\).*/{
465 s//\1/
466 q
467 }
468 s/.*/./; q'`
469
470 # Avoid depending upon Character Ranges.
471 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
472 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
474 as_cr_digits='0123456789'
475 as_cr_alnum=$as_cr_Letters$as_cr_digits
476
477
478 as_lineno_1=$LINENO as_lineno_1a=$LINENO
479 as_lineno_2=$LINENO as_lineno_2a=$LINENO
480 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 sed -n '
484 p
485 /[$]LINENO/=
486 ' <$as_myself |
487 sed '
488 s/[$]LINENO.*/&-/
489 t lineno
490 b
491 :lineno
492 N
493 :loop
494 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
495 t loop
496 s/-\n.*//
497 ' >$as_me.lineno &&
498 chmod +x "$as_me.lineno" ||
499 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500
501 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502 # already done that, so ensure we don't try to do so again and fall
503 # in an infinite loop. This has already happened in practice.
504 _as_can_reexec=no; export _as_can_reexec
505 # Don't try to exec as it changes $[0], causing all sort of problems
506 # (the dirname of $[0] is not the place where we might find the
507 # original and so on. Autoconf is especially sensitive to this).
508 . "./$as_me.lineno"
509 # Exit status is that of the last command.
510 exit
511 }
512
513 ECHO_C= ECHO_N= ECHO_T=
514 case `echo -n x` in #(((((
515 -n*)
516 case `echo 'xy\c'` in
517 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 xy) ECHO_C='\c';;
519 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
520 ECHO_T=' ';;
521 esac;;
522 *)
523 ECHO_N='-n';;
524 esac
525
526 rm -f conf$$ conf$$.exe conf$$.file
527 if test -d conf$$.dir; then
528 rm -f conf$$.dir/conf$$.file
529 else
530 rm -f conf$$.dir
531 mkdir conf$$.dir 2>/dev/null
532 fi
533 if (echo >conf$$.file) 2>/dev/null; then
534 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 as_ln_s='ln -s'
536 # ... but there are two gotchas:
537 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539 # In both cases, we have to default to `cp -pR'.
540 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 as_ln_s='cp -pR'
542 elif ln conf$$.file conf$$ 2>/dev/null; then
543 as_ln_s=ln
544 else
545 as_ln_s='cp -pR'
546 fi
547 else
548 as_ln_s='cp -pR'
549 fi
550 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
551 rmdir conf$$.dir 2>/dev/null
552
553 if mkdir -p . 2>/dev/null; then
554 as_mkdir_p='mkdir -p "$as_dir"'
555 else
556 test -d ./-p && rmdir ./-p
557 as_mkdir_p=false
558 fi
559
560 as_test_x='test -x'
561 as_executable_p=as_fn_executable_p
562
563 # Sed expression to map a string onto a valid CPP name.
564 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565
566 # Sed expression to map a string onto a valid variable name.
567 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568
569 SHELL=${CONFIG_SHELL-/bin/sh}
570
571
572 test -n "$DJDIR" || exec 7<&0 </dev/null
573 exec 6>&1
574
575 # Name of the host.
576 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
577 # so uname gets run too.
578 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
579
580 #
581 # Initializations.
582 #
583 ac_default_prefix=/usr/local
584 ac_clean_files=
585 ac_config_libobj_dir=.
586 LIBOBJS=
587 cross_compiling=no
588 subdirs=
589 MFLAGS=
590 MAKEFLAGS=
591
592 # Identity of this package.
593 PACKAGE_NAME='NASPRO bridges'
594 PACKAGE_TARNAME='naspro-bridges'
595 PACKAGE_VERSION='0.5.1'
596 PACKAGE_STRING='NASPRO bridges 0.5.1'
597 PACKAGE_BUGREPORT='[email protected]'
598 PACKAGE_URL=''
599
600 ac_unique_file="ladspa/internal.h"
601 # Factoring default headers for most tests.
602 ac_includes_default="\
603 #include <stdio.h>
604 #ifdef HAVE_SYS_TYPES_H
605 # include <sys/types.h>
606 #endif
607 #ifdef HAVE_SYS_STAT_H
608 # include <sys/stat.h>
609 #endif
610 #ifdef STDC_HEADERS
611 # include <stdlib.h>
612 # include <stddef.h>
613 #else
614 # ifdef HAVE_STDLIB_H
615 # include <stdlib.h>
616 # endif
617 #endif
618 #ifdef HAVE_STRING_H
619 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
620 # include <memory.h>
621 # endif
622 # include <string.h>
623 #endif
624 #ifdef HAVE_STRINGS_H
625 # include <strings.h>
626 #endif
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
629 #endif
630 #ifdef HAVE_STDINT_H
631 # include <stdint.h>
632 #endif
633 #ifdef HAVE_UNISTD_H
634 # include <unistd.h>
635 #endif"
636
637 ac_subst_vars='am__EXEEXT_FALSE
638 am__EXEEXT_TRUE
639 LTLIBOBJS
640 LIBOBJS
641 MODULE_EXT
642 BUILD_DSSI_FALSE
643 BUILD_DSSI_TRUE
644 ALSA_LIBS
645 ALSA_CFLAGS
646 DSSI_LIBS
647 DSSI_CFLAGS
648 BUILD_LADSPA_FALSE
649 BUILD_LADSPA_TRUE
650 INSTALL_LRDF_FALSE
651 INSTALL_LRDF_TRUE
652 NABRIT_LIBS
653 NABRIT_CFLAGS
654 PKG_CONFIG_LIBDIR
655 PKG_CONFIG_PATH
656 PKG_CONFIG
657 CPP
658 OTOOL64
659 OTOOL
660 LIPO
661 NMEDIT
662 DSYMUTIL
663 MANIFEST_TOOL
664 RANLIB
665 ac_ct_AR
666 AR
667 LN_S
668 NM
669 ac_ct_DUMPBIN
670 DUMPBIN
671 LD
672 FGREP
673 EGREP
674 GREP
675 SED
676 LIBTOOL
677 OBJDUMP
678 DLLTOOL
679 AS
680 host_os
681 host_vendor
682 host_cpu
683 host
684 build_os
685 build_vendor
686 build_cpu
687 build
688 am__fastdepCC_FALSE
689 am__fastdepCC_TRUE
690 CCDEPMODE
691 am__nodep
692 AMDEPBACKSLASH
693 AMDEP_FALSE
694 AMDEP_TRUE
695 am__quote
696 am__include
697 DEPDIR
698 OBJEXT
699 EXEEXT
700 ac_ct_CC
701 CPPFLAGS
702 LDFLAGS
703 CFLAGS
704 CC
705 lv2dir
706 AM_BACKSLASH
707 AM_DEFAULT_VERBOSITY
708 AM_DEFAULT_V
709 AM_V
710 am__untar
711 am__tar
712 AMTAR
713 am__leading_dot
714 SET_MAKE
715 AWK
716 mkdir_p
717 MKDIR_P
718 INSTALL_STRIP_PROGRAM
719 STRIP
720 install_sh
721 MAKEINFO
722 AUTOHEADER
723 AUTOMAKE
724 AUTOCONF
725 ACLOCAL
726 VERSION
727 PACKAGE
728 CYGPATH_W
729 am__isrc
730 INSTALL_DATA
731 INSTALL_SCRIPT
732 INSTALL_PROGRAM
733 target_alias
734 host_alias
735 build_alias
736 LIBS
737 ECHO_T
738 ECHO_N
739 ECHO_C
740 DEFS
741 mandir
742 localedir
743 libdir
744 psdir
745 pdfdir
746 dvidir
747 htmldir
748 infodir
749 docdir
750 oldincludedir
751 includedir
752 localstatedir
753 sharedstatedir
754 sysconfdir
755 datadir
756 datarootdir
757 libexecdir
758 sbindir
759 bindir
760 program_transform_name
761 prefix
762 exec_prefix
763 PACKAGE_URL
764 PACKAGE_BUGREPORT
765 PACKAGE_STRING
766 PACKAGE_VERSION
767 PACKAGE_TARNAME
768 PACKAGE_NAME
769 PATH_SEPARATOR
770 SHELL'
771 ac_subst_files=''
772 ac_user_opts='
773 enable_option_checking
774 enable_silent_rules
775 with_lv2dir
776 enable_dependency_tracking
777 enable_static
778 enable_shared
779 with_pic
780 enable_fast_install
781 with_gnu_ld
782 with_sysroot
783 enable_libtool_lock
784 enable_lrdf_bundles
785 enable_dssi_presets
786 '
787 ac_precious_vars='build_alias
788 host_alias
789 target_alias
790 CC
791 CFLAGS
792 LDFLAGS
793 LIBS
794 CPPFLAGS
795 CPP
796 PKG_CONFIG
797 PKG_CONFIG_PATH
798 PKG_CONFIG_LIBDIR
799 NABRIT_CFLAGS
800 NABRIT_LIBS
801 DSSI_CFLAGS
802 DSSI_LIBS
803 ALSA_CFLAGS
804 ALSA_LIBS'
805
806
807 # Initialize some variables set by options.
808 ac_init_help=
809 ac_init_version=false
810 ac_unrecognized_opts=
811 ac_unrecognized_sep=
812 # The variables have the same names as the options, with
813 # dashes changed to underlines.
814 cache_file=/dev/null
815 exec_prefix=NONE
816 no_create=
817 no_recursion=
818 prefix=NONE
819 program_prefix=NONE
820 program_suffix=NONE
821 program_transform_name=s,x,x,
822 silent=
823 site=
824 srcdir=
825 verbose=
826 x_includes=NONE
827 x_libraries=NONE
828
829 # Installation directory options.
830 # These are left unexpanded so users can "make install exec_prefix=/foo"
831 # and all the variables that are supposed to be based on exec_prefix
832 # by default will actually change.
833 # Use braces instead of parens because sh, perl, etc. also accept them.
834 # (The list follows the same order as the GNU Coding Standards.)
835 bindir='${exec_prefix}/bin'
836 sbindir='${exec_prefix}/sbin'
837 libexecdir='${exec_prefix}/libexec'
838 datarootdir='${prefix}/share'
839 datadir='${datarootdir}'
840 sysconfdir='${prefix}/etc'
841 sharedstatedir='${prefix}/com'
842 localstatedir='${prefix}/var'
843 includedir='${prefix}/include'
844 oldincludedir='/usr/include'
845 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
846 infodir='${datarootdir}/info'
847 htmldir='${docdir}'
848 dvidir='${docdir}'
849 pdfdir='${docdir}'
850 psdir='${docdir}'
851 libdir='${exec_prefix}/lib'
852 localedir='${datarootdir}/locale'
853 mandir='${datarootdir}/man'
854
855 ac_prev=
856 ac_dashdash=
857 for ac_option
858 do
859 # If the previous option needs an argument, assign it.
860 if test -n "$ac_prev"; then
861 eval $ac_prev=\$ac_option
862 ac_prev=
863 continue
864 fi
865
866 case $ac_option in
867 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
868 *=) ac_optarg= ;;
869 *) ac_optarg=yes ;;
870 esac
871
872 # Accept the important Cygnus configure options, so we can diagnose typos.
873
874 case $ac_dashdash$ac_option in
875 --)
876 ac_dashdash=yes ;;
877
878 -bindir | --bindir | --bindi | --bind | --bin | --bi)
879 ac_prev=bindir ;;
880 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
881 bindir=$ac_optarg ;;
882
883 -build | --build | --buil | --bui | --bu)
884 ac_prev=build_alias ;;
885 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
886 build_alias=$ac_optarg ;;
887
888 -cache-file | --cache-file | --cache-fil | --cache-fi \
889 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
890 ac_prev=cache_file ;;
891 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
892 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
893 cache_file=$ac_optarg ;;
894
895 --config-cache | -C)
896 cache_file=config.cache ;;
897
898 -datadir | --datadir | --datadi | --datad)
899 ac_prev=datadir ;;
900 -datadir=* | --datadir=* | --datadi=* | --datad=*)
901 datadir=$ac_optarg ;;
902
903 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
904 | --dataroo | --dataro | --datar)
905 ac_prev=datarootdir ;;
906 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
907 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
908 datarootdir=$ac_optarg ;;
909
910 -disable-* | --disable-*)
911 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
914 as_fn_error $? "invalid feature name: $ac_useropt"
915 ac_useropt_orig=$ac_useropt
916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917 case $ac_user_opts in
918 *"
919 "enable_$ac_useropt"
920 "*) ;;
921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
922 ac_unrecognized_sep=', ';;
923 esac
924 eval enable_$ac_useropt=no ;;
925
926 -docdir | --docdir | --docdi | --doc | --do)
927 ac_prev=docdir ;;
928 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
929 docdir=$ac_optarg ;;
930
931 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
932 ac_prev=dvidir ;;
933 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
934 dvidir=$ac_optarg ;;
935
936 -enable-* | --enable-*)
937 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940 as_fn_error $? "invalid feature name: $ac_useropt"
941 ac_useropt_orig=$ac_useropt
942 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943 case $ac_user_opts in
944 *"
945 "enable_$ac_useropt"
946 "*) ;;
947 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
948 ac_unrecognized_sep=', ';;
949 esac
950 eval enable_$ac_useropt=\$ac_optarg ;;
951
952 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
953 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
954 | --exec | --exe | --ex)
955 ac_prev=exec_prefix ;;
956 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
957 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
958 | --exec=* | --exe=* | --ex=*)
959 exec_prefix=$ac_optarg ;;
960
961 -gas | --gas | --ga | --g)
962 # Obsolete; use --with-gas.
963 with_gas=yes ;;
964
965 -help | --help | --hel | --he | -h)
966 ac_init_help=long ;;
967 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
968 ac_init_help=recursive ;;
969 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
970 ac_init_help=short ;;
971
972 -host | --host | --hos | --ho)
973 ac_prev=host_alias ;;
974 -host=* | --host=* | --hos=* | --ho=*)
975 host_alias=$ac_optarg ;;
976
977 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
978 ac_prev=htmldir ;;
979 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
980 | --ht=*)
981 htmldir=$ac_optarg ;;
982
983 -includedir | --includedir | --includedi | --included | --include \
984 | --includ | --inclu | --incl | --inc)
985 ac_prev=includedir ;;
986 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
987 | --includ=* | --inclu=* | --incl=* | --inc=*)
988 includedir=$ac_optarg ;;
989
990 -infodir | --infodir | --infodi | --infod | --info | --inf)
991 ac_prev=infodir ;;
992 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
993 infodir=$ac_optarg ;;
994
995 -libdir | --libdir | --libdi | --libd)
996 ac_prev=libdir ;;
997 -libdir=* | --libdir=* | --libdi=* | --libd=*)
998 libdir=$ac_optarg ;;
999
1000 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1001 | --libexe | --libex | --libe)
1002 ac_prev=libexecdir ;;
1003 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1004 | --libexe=* | --libex=* | --libe=*)
1005 libexecdir=$ac_optarg ;;
1006
1007 -localedir | --localedir | --localedi | --localed | --locale)
1008 ac_prev=localedir ;;
1009 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1010 localedir=$ac_optarg ;;
1011
1012 -localstatedir | --localstatedir | --localstatedi | --localstated \
1013 | --localstate | --localstat | --localsta | --localst | --locals)
1014 ac_prev=localstatedir ;;
1015 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1016 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1017 localstatedir=$ac_optarg ;;
1018
1019 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1020 ac_prev=mandir ;;
1021 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1022 mandir=$ac_optarg ;;
1023
1024 -nfp | --nfp | --nf)
1025 # Obsolete; use --without-fp.
1026 with_fp=no ;;
1027
1028 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1029 | --no-cr | --no-c | -n)
1030 no_create=yes ;;
1031
1032 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1033 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1034 no_recursion=yes ;;
1035
1036 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1037 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1038 | --oldin | --oldi | --old | --ol | --o)
1039 ac_prev=oldincludedir ;;
1040 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1041 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1042 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1043 oldincludedir=$ac_optarg ;;
1044
1045 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1046 ac_prev=prefix ;;
1047 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1048 prefix=$ac_optarg ;;
1049
1050 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1051 | --program-pre | --program-pr | --program-p)
1052 ac_prev=program_prefix ;;
1053 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1054 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1055 program_prefix=$ac_optarg ;;
1056
1057 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1058 | --program-suf | --program-su | --program-s)
1059 ac_prev=program_suffix ;;
1060 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1061 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1062 program_suffix=$ac_optarg ;;
1063
1064 -program-transform-name | --program-transform-name \
1065 | --program-transform-nam | --program-transform-na \
1066 | --program-transform-n | --program-transform- \
1067 | --program-transform | --program-transfor \
1068 | --program-transfo | --program-transf \
1069 | --program-trans | --program-tran \
1070 | --progr-tra | --program-tr | --program-t)
1071 ac_prev=program_transform_name ;;
1072 -program-transform-name=* | --program-transform-name=* \
1073 | --program-transform-nam=* | --program-transform-na=* \
1074 | --program-transform-n=* | --program-transform-=* \
1075 | --program-transform=* | --program-transfor=* \
1076 | --program-transfo=* | --program-transf=* \
1077 | --program-trans=* | --program-tran=* \
1078 | --progr-tra=* | --program-tr=* | --program-t=*)
1079 program_transform_name=$ac_optarg ;;
1080
1081 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1082 ac_prev=pdfdir ;;
1083 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1084 pdfdir=$ac_optarg ;;
1085
1086 -psdir | --psdir | --psdi | --psd | --ps)
1087 ac_prev=psdir ;;
1088 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1089 psdir=$ac_optarg ;;
1090
1091 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1092 | -silent | --silent | --silen | --sile | --sil)
1093 silent=yes ;;
1094
1095 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1096 ac_prev=sbindir ;;
1097 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1098 | --sbi=* | --sb=*)
1099 sbindir=$ac_optarg ;;
1100
1101 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1102 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1103 | --sharedst | --shareds | --shared | --share | --shar \
1104 | --sha | --sh)
1105 ac_prev=sharedstatedir ;;
1106 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1107 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1108 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1109 | --sha=* | --sh=*)
1110 sharedstatedir=$ac_optarg ;;
1111
1112 -site | --site | --sit)
1113 ac_prev=site ;;
1114 -site=* | --site=* | --sit=*)
1115 site=$ac_optarg ;;
1116
1117 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1118 ac_prev=srcdir ;;
1119 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1120 srcdir=$ac_optarg ;;
1121
1122 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1123 | --syscon | --sysco | --sysc | --sys | --sy)
1124 ac_prev=sysconfdir ;;
1125 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1126 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1127 sysconfdir=$ac_optarg ;;
1128
1129 -target | --target | --targe | --targ | --tar | --ta | --t)
1130 ac_prev=target_alias ;;
1131 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1132 target_alias=$ac_optarg ;;
1133
1134 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1135 verbose=yes ;;
1136
1137 -version | --version | --versio | --versi | --vers | -V)
1138 ac_init_version=: ;;
1139
1140 -with-* | --with-*)
1141 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144 as_fn_error $? "invalid package name: $ac_useropt"
1145 ac_useropt_orig=$ac_useropt
1146 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147 case $ac_user_opts in
1148 *"
1149 "with_$ac_useropt"
1150 "*) ;;
1151 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1152 ac_unrecognized_sep=', ';;
1153 esac
1154 eval with_$ac_useropt=\$ac_optarg ;;
1155
1156 -without-* | --without-*)
1157 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1158 # Reject names that are not valid shell variable names.
1159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1160 as_fn_error $? "invalid package name: $ac_useropt"
1161 ac_useropt_orig=$ac_useropt
1162 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163 case $ac_user_opts in
1164 *"
1165 "with_$ac_useropt"
1166 "*) ;;
1167 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1168 ac_unrecognized_sep=', ';;
1169 esac
1170 eval with_$ac_useropt=no ;;
1171
1172 --x)
1173 # Obsolete; use --with-x.
1174 with_x=yes ;;
1175
1176 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1177 | --x-incl | --x-inc | --x-in | --x-i)
1178 ac_prev=x_includes ;;
1179 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1180 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1181 x_includes=$ac_optarg ;;
1182
1183 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1184 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1185 ac_prev=x_libraries ;;
1186 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1187 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1188 x_libraries=$ac_optarg ;;
1189
1190 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1191 Try \`$0 --help' for more information"
1192 ;;
1193
1194 *=*)
1195 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1196 # Reject names that are not valid shell variable names.
1197 case $ac_envvar in #(
1198 '' | [0-9]* | *[!_$as_cr_alnum]* )
1199 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1200 esac
1201 eval $ac_envvar=\$ac_optarg
1202 export $ac_envvar ;;
1203
1204 *)
1205 # FIXME: should be removed in autoconf 3.0.
1206 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1207 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1208 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1209 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1210 ;;
1211
1212 esac
1213 done
1214
1215 if test -n "$ac_prev"; then
1216 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1217 as_fn_error $? "missing argument to $ac_option"
1218 fi
1219
1220 if test -n "$ac_unrecognized_opts"; then
1221 case $enable_option_checking in
1222 no) ;;
1223 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1224 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1225 esac
1226 fi
1227
1228 # Check all directory arguments for consistency.
1229 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1230 datadir sysconfdir sharedstatedir localstatedir includedir \
1231 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1232 libdir localedir mandir
1233 do
1234 eval ac_val=\$$ac_var
1235 # Remove trailing slashes.
1236 case $ac_val in
1237 */ )
1238 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1239 eval $ac_var=\$ac_val;;
1240 esac
1241 # Be sure to have absolute directory names.
1242 case $ac_val in
1243 [\\/$]* | ?:[\\/]* ) continue;;
1244 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1245 esac
1246 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1247 done
1248
1249 # There might be people who depend on the old broken behavior: `$host'
1250 # used to hold the argument of --host etc.
1251 # FIXME: To remove some day.
1252 build=$build_alias
1253 host=$host_alias
1254 target=$target_alias
1255
1256 # FIXME: To remove some day.
1257 if test "x$host_alias" != x; then
1258 if test "x$build_alias" = x; then
1259 cross_compiling=maybe
1260 elif test "x$build_alias" != "x$host_alias"; then
1261 cross_compiling=yes
1262 fi
1263 fi
1264
1265 ac_tool_prefix=
1266 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1267
1268 test "$silent" = yes && exec 6>/dev/null
1269
1270
1271 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1272 ac_ls_di=`ls -di .` &&
1273 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1274 as_fn_error $? "working directory cannot be determined"
1275 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1276 as_fn_error $? "pwd does not report name of working directory"
1277
1278
1279 # Find the source files, if location was not specified.
1280 if test -z "$srcdir"; then
1281 ac_srcdir_defaulted=yes
1282 # Try the directory containing this script, then the parent directory.
1283 ac_confdir=`$as_dirname -- "$as_myself" ||
1284 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1285 X"$as_myself" : 'X\(//\)[^/]' \| \
1286 X"$as_myself" : 'X\(//\)$' \| \
1287 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1288 $as_echo X"$as_myself" |
1289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1290 s//\1/
1291 q
1292 }
1293 /^X\(\/\/\)[^/].*/{
1294 s//\1/
1295 q
1296 }
1297 /^X\(\/\/\)$/{
1298 s//\1/
1299 q
1300 }
1301 /^X\(\/\).*/{
1302 s//\1/
1303 q
1304 }
1305 s/.*/./; q'`
1306 srcdir=$ac_confdir
1307 if test ! -r "$srcdir/$ac_unique_file"; then
1308 srcdir=..
1309 fi
1310 else
1311 ac_srcdir_defaulted=no
1312 fi
1313 if test ! -r "$srcdir/$ac_unique_file"; then
1314 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1315 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1316 fi
1317 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1318 ac_abs_confdir=`(
1319 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1320 pwd)`
1321 # When building in place, set srcdir=.
1322 if test "$ac_abs_confdir" = "$ac_pwd"; then
1323 srcdir=.
1324 fi
1325 # Remove unnecessary trailing slashes from srcdir.
1326 # Double slashes in file names in object file debugging info
1327 # mess up M-x gdb in Emacs.
1328 case $srcdir in
1329 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1330 esac
1331 for ac_var in $ac_precious_vars; do
1332 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1333 eval ac_env_${ac_var}_value=\$${ac_var}
1334 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1335 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1336 done
1337
1338 #
1339 # Report the --help message.
1340 #
1341 if test "$ac_init_help" = "long"; then
1342 # Omit some internal or obsolete options to make the list less imposing.
1343 # This message is too long to be a string in the A/UX 3.1 sh.
1344 cat <<_ACEOF
1345 \`configure' configures NASPRO bridges 0.5.1 to adapt to many kinds of systems.
1346
1347 Usage: $0 [OPTION]... [VAR=VALUE]...
1348
1349 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1350 VAR=VALUE. See below for descriptions of some of the useful variables.
1351
1352 Defaults for the options are specified in brackets.
1353
1354 Configuration:
1355 -h, --help display this help and exit
1356 --help=short display options specific to this package
1357 --help=recursive display the short help of all the included packages
1358 -V, --version display version information and exit
1359 -q, --quiet, --silent do not print \`checking ...' messages
1360 --cache-file=FILE cache test results in FILE [disabled]
1361 -C, --config-cache alias for \`--cache-file=config.cache'
1362 -n, --no-create do not create output files
1363 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1364
1365 Installation directories:
1366 --prefix=PREFIX install architecture-independent files in PREFIX
1367 [$ac_default_prefix]
1368 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1369 [PREFIX]
1370
1371 By default, \`make install' will install all the files in
1372 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1373 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1374 for instance \`--prefix=\$HOME'.
1375
1376 For better control, use the options below.
1377
1378 Fine tuning of the installation directories:
1379 --bindir=DIR user executables [EPREFIX/bin]
1380 --sbindir=DIR system admin executables [EPREFIX/sbin]
1381 --libexecdir=DIR program executables [EPREFIX/libexec]
1382 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1383 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1384 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1385 --libdir=DIR object code libraries [EPREFIX/lib]
1386 --includedir=DIR C header files [PREFIX/include]
1387 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1390 --infodir=DIR info documentation [DATAROOTDIR/info]
1391 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1392 --mandir=DIR man documentation [DATAROOTDIR/man]
1393 --docdir=DIR documentation root [DATAROOTDIR/doc/naspro-bridges]
1394 --htmldir=DIR html documentation [DOCDIR]
1395 --dvidir=DIR dvi documentation [DOCDIR]
1396 --pdfdir=DIR pdf documentation [DOCDIR]
1397 --psdir=DIR ps documentation [DOCDIR]
1398 _ACEOF
1399
1400 cat <<\_ACEOF
1401
1402 Program names:
1403 --program-prefix=PREFIX prepend PREFIX to installed program names
1404 --program-suffix=SUFFIX append SUFFIX to installed program names
1405 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1406
1407 System types:
1408 --build=BUILD configure for building on BUILD [guessed]
1409 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1410 _ACEOF
1411 fi
1412
1413 if test -n "$ac_init_help"; then
1414 case $ac_init_help in
1415 short | recursive ) echo "Configuration of NASPRO bridges 0.5.1:";;
1416 esac
1417 cat <<\_ACEOF
1418
1419 Optional Features:
1420 --disable-option-checking ignore unrecognized --enable/--with options
1421 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1422 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1423 --enable-silent-rules less verbose build output (undo: "make V=1")
1424 --disable-silent-rules verbose build output (undo: "make V=0")
1425 --enable-dependency-tracking
1426 do not reject slow dependency extractors
1427 --disable-dependency-tracking
1428 speeds up one-time build
1429 --enable-static[=PKGS] build static libraries [default=no]
1430 --enable-shared[=PKGS] build shared libraries [default=yes]
1431 --enable-fast-install[=PKGS]
1432 optimize for fast installation [default=yes]
1433 --disable-libtool-lock avoid locking (might break parallel builds)
1434 --enable-lrdf-bundles install LRDF-equivalent LV2 bundles [default=yes]
1435 --enable-dssi-presets bridge DSSI programs as LV2 presets [default=yes]
1436
1437 Optional Packages:
1438 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1439 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1440 --with-lv2dir=DIR where to put LV2 bundles [LIBDIR/lv2]
1441 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1442 both]
1443 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1444 --with-sysroot=DIR Search for dependent libraries within DIR
1445 (or the compiler's sysroot if not specified).
1446
1447 Some influential environment variables:
1448 CC C compiler command
1449 CFLAGS C compiler flags
1450 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1451 nonstandard directory <lib dir>
1452 LIBS libraries to pass to the linker, e.g. -l<library>
1453 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1454 you have headers in a nonstandard directory <include dir>
1455 CPP C preprocessor
1456 PKG_CONFIG path to pkg-config utility
1457 PKG_CONFIG_PATH
1458 directories to add to pkg-config's search path
1459 PKG_CONFIG_LIBDIR
1460 path overriding pkg-config's built-in search path
1461 NABRIT_CFLAGS
1462 C compiler flags for NABRIT, overriding pkg-config
1463 NABRIT_LIBS linker flags for NABRIT, overriding pkg-config
1464 DSSI_CFLAGS C compiler flags for DSSI, overriding pkg-config
1465 DSSI_LIBS linker flags for DSSI, overriding pkg-config
1466 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1467 ALSA_LIBS linker flags for ALSA, overriding pkg-config
1468
1469 Use these variables to override the choices made by `configure' or to help
1470 it to find libraries and programs with nonstandard names/locations.
1471
1472 Report bugs to <[email protected]>.
1473 _ACEOF
1474 ac_status=$?
1475 fi
1476
1477 if test "$ac_init_help" = "recursive"; then
1478 # If there are subdirs, report their specific --help.
1479 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1480 test -d "$ac_dir" ||
1481 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1482 continue
1483 ac_builddir=.
1484
1485 case "$ac_dir" in
1486 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1487 *)
1488 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1489 # A ".." for each directory in $ac_dir_suffix.
1490 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1491 case $ac_top_builddir_sub in
1492 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1493 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1494 esac ;;
1495 esac
1496 ac_abs_top_builddir=$ac_pwd
1497 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1498 # for backward compatibility:
1499 ac_top_builddir=$ac_top_build_prefix
1500
1501 case $srcdir in
1502 .) # We are building in place.
1503 ac_srcdir=.
1504 ac_top_srcdir=$ac_top_builddir_sub
1505 ac_abs_top_srcdir=$ac_pwd ;;
1506 [\\/]* | ?:[\\/]* ) # Absolute name.
1507 ac_srcdir=$srcdir$ac_dir_suffix;
1508 ac_top_srcdir=$srcdir
1509 ac_abs_top_srcdir=$srcdir ;;
1510 *) # Relative name.
1511 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1512 ac_top_srcdir=$ac_top_build_prefix$srcdir
1513 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1514 esac
1515 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1516
1517 cd "$ac_dir" || { ac_status=$?; continue; }
1518 # Check for guested configure.
1519 if test -f "$ac_srcdir/configure.gnu"; then
1520 echo &&
1521 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1522 elif test -f "$ac_srcdir/configure"; then
1523 echo &&
1524 $SHELL "$ac_srcdir/configure" --help=recursive
1525 else
1526 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1527 fi || ac_status=$?
1528 cd "$ac_pwd" || { ac_status=$?; break; }
1529 done
1530 fi
1531
1532 test -n "$ac_init_help" && exit $ac_status
1533 if $ac_init_version; then
1534 cat <<\_ACEOF
1535 NASPRO bridges configure 0.5.1
1536 generated by GNU Autoconf 2.69
1537
1538 Copyright (C) 2012 Free Software Foundation, Inc.
1539 This configure script is free software; the Free Software Foundation
1540 gives unlimited permission to copy, distribute and modify it.
1541
1542 Copyright (C) 2007-2014 Stefano D'Angelo
1543 _ACEOF
1544 exit
1545 fi
1546
1547 ## ------------------------ ##
1548 ## Autoconf initialization. ##
1549 ## ------------------------ ##
1550
1551 # ac_fn_c_try_compile LINENO
1552 # --------------------------
1553 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1554 ac_fn_c_try_compile ()
1555 {
1556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557 rm -f conftest.$ac_objext
1558 if { { ac_try="$ac_compile"
1559 case "(($ac_try" in
1560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1561 *) ac_try_echo=$ac_try;;
1562 esac
1563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564 $as_echo "$ac_try_echo"; } >&5
1565 (eval "$ac_compile") 2>conftest.err
1566 ac_status=$?
1567 if test -s conftest.err; then
1568 grep -v '^ *+' conftest.err >conftest.er1
1569 cat conftest.er1 >&5
1570 mv -f conftest.er1 conftest.err
1571 fi
1572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573 test $ac_status = 0; } && {
1574 test -z "$ac_c_werror_flag" ||
1575 test ! -s conftest.err
1576 } && test -s conftest.$ac_objext; then :
1577 ac_retval=0
1578 else
1579 $as_echo "$as_me: failed program was:" >&5
1580 sed 's/^/| /' conftest.$ac_ext >&5
1581
1582 ac_retval=1
1583 fi
1584 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1585 as_fn_set_status $ac_retval
1586
1587 } # ac_fn_c_try_compile
1588
1589 # ac_fn_c_try_link LINENO
1590 # -----------------------
1591 # Try to link conftest.$ac_ext, and return whether this succeeded.
1592 ac_fn_c_try_link ()
1593 {
1594 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1595 rm -f conftest.$ac_objext conftest$ac_exeext
1596 if { { ac_try="$ac_link"
1597 case "(($ac_try" in
1598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1599 *) ac_try_echo=$ac_try;;
1600 esac
1601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602 $as_echo "$ac_try_echo"; } >&5
1603 (eval "$ac_link") 2>conftest.err
1604 ac_status=$?
1605 if test -s conftest.err; then
1606 grep -v '^ *+' conftest.err >conftest.er1
1607 cat conftest.er1 >&5
1608 mv -f conftest.er1 conftest.err
1609 fi
1610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611 test $ac_status = 0; } && {
1612 test -z "$ac_c_werror_flag" ||
1613 test ! -s conftest.err
1614 } && test -s conftest$ac_exeext && {
1615 test "$cross_compiling" = yes ||
1616 test -x conftest$ac_exeext
1617 }; then :
1618 ac_retval=0
1619 else
1620 $as_echo "$as_me: failed program was:" >&5
1621 sed 's/^/| /' conftest.$ac_ext >&5
1622
1623 ac_retval=1
1624 fi
1625 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1626 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1627 # interfere with the next link command; also delete a directory that is
1628 # left behind by Apple's compiler. We do this before executing the actions.
1629 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1631 as_fn_set_status $ac_retval
1632
1633 } # ac_fn_c_try_link
1634
1635 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1636 # -------------------------------------------------------
1637 # Tests whether HEADER exists and can be compiled using the include files in
1638 # INCLUDES, setting the cache variable VAR accordingly.
1639 ac_fn_c_check_header_compile ()
1640 {
1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1643 $as_echo_n "checking for $2... " >&6; }
1644 if eval \${$3+:} false; then :
1645 $as_echo_n "(cached) " >&6
1646 else
1647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1648 /* end confdefs.h. */
1649 $4
1650 #include <$2>
1651 _ACEOF
1652 if ac_fn_c_try_compile "$LINENO"; then :
1653 eval "$3=yes"
1654 else
1655 eval "$3=no"
1656 fi
1657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1658 fi
1659 eval ac_res=\$$3
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1661 $as_echo "$ac_res" >&6; }
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1663
1664 } # ac_fn_c_check_header_compile
1665
1666 # ac_fn_c_try_cpp LINENO
1667 # ----------------------
1668 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1669 ac_fn_c_try_cpp ()
1670 {
1671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672 if { { ac_try="$ac_cpp conftest.$ac_ext"
1673 case "(($ac_try" in
1674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1675 *) ac_try_echo=$ac_try;;
1676 esac
1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678 $as_echo "$ac_try_echo"; } >&5
1679 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1680 ac_status=$?
1681 if test -s conftest.err; then
1682 grep -v '^ *+' conftest.err >conftest.er1
1683 cat conftest.er1 >&5
1684 mv -f conftest.er1 conftest.err
1685 fi
1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687 test $ac_status = 0; } > conftest.i && {
1688 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1689 test ! -s conftest.err
1690 }; then :
1691 ac_retval=0
1692 else
1693 $as_echo "$as_me: failed program was:" >&5
1694 sed 's/^/| /' conftest.$ac_ext >&5
1695
1696 ac_retval=1
1697 fi
1698 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699 as_fn_set_status $ac_retval
1700
1701 } # ac_fn_c_try_cpp
1702
1703 # ac_fn_c_try_run LINENO
1704 # ----------------------
1705 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1706 # that executables *can* be run.
1707 ac_fn_c_try_run ()
1708 {
1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710 if { { ac_try="$ac_link"
1711 case "(($ac_try" in
1712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1713 *) ac_try_echo=$ac_try;;
1714 esac
1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_link") 2>&5
1718 ac_status=$?
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1721 { { case "(($ac_try" in
1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1724 esac
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_try") 2>&5
1728 ac_status=$?
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; }; }; then :
1731 ac_retval=0
1732 else
1733 $as_echo "$as_me: program exited with status $ac_status" >&5
1734 $as_echo "$as_me: failed program was:" >&5
1735 sed 's/^/| /' conftest.$ac_ext >&5
1736
1737 ac_retval=$ac_status
1738 fi
1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1741 as_fn_set_status $ac_retval
1742
1743 } # ac_fn_c_try_run
1744
1745 # ac_fn_c_check_func LINENO FUNC VAR
1746 # ----------------------------------
1747 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1748 ac_fn_c_check_func ()
1749 {
1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1752 $as_echo_n "checking for $2... " >&6; }
1753 if eval \${$3+:} false; then :
1754 $as_echo_n "(cached) " >&6
1755 else
1756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1757 /* end confdefs.h. */
1758 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1760 #define $2 innocuous_$2
1761
1762 /* System header to define __stub macros and hopefully few prototypes,
1763 which can conflict with char $2 (); below.
1764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1765 <limits.h> exists even on freestanding compilers. */
1766
1767 #ifdef __STDC__
1768 # include <limits.h>
1769 #else
1770 # include <assert.h>
1771 #endif
1772
1773 #undef $2
1774
1775 /* Override any GCC internal prototype to avoid an error.
1776 Use char because int might match the return type of a GCC
1777 builtin and then its argument prototype would still apply. */
1778 #ifdef __cplusplus
1779 extern "C"
1780 #endif
1781 char $2 ();
1782 /* The GNU C library defines this for functions which it implements
1783 to always fail with ENOSYS. Some functions are actually named
1784 something starting with __ and the normal name is an alias. */
1785 #if defined __stub_$2 || defined __stub___$2
1786 choke me
1787 #endif
1788
1789 int
1790 main ()
1791 {
1792 return $2 ();
1793 ;
1794 return 0;
1795 }
1796 _ACEOF
1797 if ac_fn_c_try_link "$LINENO"; then :
1798 eval "$3=yes"
1799 else
1800 eval "$3=no"
1801 fi
1802 rm -f core conftest.err conftest.$ac_objext \
1803 conftest$ac_exeext conftest.$ac_ext
1804 fi
1805 eval ac_res=\$$3
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807 $as_echo "$ac_res" >&6; }
1808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809
1810 } # ac_fn_c_check_func
1811
1812 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1813 # -------------------------------------------------------
1814 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1815 # the include files in INCLUDES and setting the cache variable VAR
1816 # accordingly.
1817 ac_fn_c_check_header_mongrel ()
1818 {
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 if eval \${$3+:} false; then :
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1822 $as_echo_n "checking for $2... " >&6; }
1823 if eval \${$3+:} false; then :
1824 $as_echo_n "(cached) " >&6
1825 fi
1826 eval ac_res=\$$3
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1828 $as_echo "$ac_res" >&6; }
1829 else
1830 # Is the header compilable?
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1832 $as_echo_n "checking $2 usability... " >&6; }
1833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834 /* end confdefs.h. */
1835 $4
1836 #include <$2>
1837 _ACEOF
1838 if ac_fn_c_try_compile "$LINENO"; then :
1839 ac_header_compiler=yes
1840 else
1841 ac_header_compiler=no
1842 fi
1843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1845 $as_echo "$ac_header_compiler" >&6; }
1846
1847 # Is the header present?
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1849 $as_echo_n "checking $2 presence... " >&6; }
1850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h. */
1852 #include <$2>
1853 _ACEOF
1854 if ac_fn_c_try_cpp "$LINENO"; then :
1855 ac_header_preproc=yes
1856 else
1857 ac_header_preproc=no
1858 fi
1859 rm -f conftest.err conftest.i conftest.$ac_ext
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1861 $as_echo "$ac_header_preproc" >&6; }
1862
1863 # So? What about this header?
1864 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1865 yes:no: )
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1867 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1869 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1870 ;;
1871 no:yes:* )
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1873 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1875 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1877 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1879 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1881 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1882 ( $as_echo "## ----------------------------------- ##
1883 ## Report this to [email protected] ##
1884 ## ----------------------------------- ##"
1885 ) | sed "s/^/$as_me: WARNING: /" >&2
1886 ;;
1887 esac
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889 $as_echo_n "checking for $2... " >&6; }
1890 if eval \${$3+:} false; then :
1891 $as_echo_n "(cached) " >&6
1892 else
1893 eval "$3=\$ac_header_compiler"
1894 fi
1895 eval ac_res=\$$3
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1898 fi
1899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900
1901 } # ac_fn_c_check_header_mongrel
1902 cat >config.log <<_ACEOF
1903 This file contains any messages produced by compilers while
1904 running configure, to aid debugging if configure makes a mistake.
1905
1906 It was created by NASPRO bridges $as_me 0.5.1, which was
1907 generated by GNU Autoconf 2.69. Invocation command line was
1908
1909 $ $0 $@
1910
1911 _ACEOF
1912 exec 5>>config.log
1913 {
1914 cat <<_ASUNAME
1915 ## --------- ##
1916 ## Platform. ##
1917 ## --------- ##
1918
1919 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1920 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1921 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1922 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1923 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1924
1925 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1926 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1927
1928 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1929 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1930 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1931 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1932 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1933 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1934 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1935
1936 _ASUNAME
1937
1938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939 for as_dir in $PATH
1940 do
1941 IFS=$as_save_IFS
1942 test -z "$as_dir" && as_dir=.
1943 $as_echo "PATH: $as_dir"
1944 done
1945 IFS=$as_save_IFS
1946
1947 } >&5
1948
1949 cat >&5 <<_ACEOF
1950
1951
1952 ## ----------- ##
1953 ## Core tests. ##
1954 ## ----------- ##
1955
1956 _ACEOF
1957
1958
1959 # Keep a trace of the command line.
1960 # Strip out --no-create and --no-recursion so they do not pile up.
1961 # Strip out --silent because we don't want to record it for future runs.
1962 # Also quote any args containing shell meta-characters.
1963 # Make two passes to allow for proper duplicate-argument suppression.
1964 ac_configure_args=
1965 ac_configure_args0=
1966 ac_configure_args1=
1967 ac_must_keep_next=false
1968 for ac_pass in 1 2
1969 do
1970 for ac_arg
1971 do
1972 case $ac_arg in
1973 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1975 | -silent | --silent | --silen | --sile | --sil)
1976 continue ;;
1977 *\'*)
1978 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1979 esac
1980 case $ac_pass in
1981 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1982 2)
1983 as_fn_append ac_configure_args1 " '$ac_arg'"
1984 if test $ac_must_keep_next = true; then
1985 ac_must_keep_next=false # Got value, back to normal.
1986 else
1987 case $ac_arg in
1988 *=* | --config-cache | -C | -disable-* | --disable-* \
1989 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1990 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1991 | -with-* | --with-* | -without-* | --without-* | --x)
1992 case "$ac_configure_args0 " in
1993 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1994 esac
1995 ;;
1996 -* ) ac_must_keep_next=true ;;
1997 esac
1998 fi
1999 as_fn_append ac_configure_args " '$ac_arg'"
2000 ;;
2001 esac
2002 done
2003 done
2004 { ac_configure_args0=; unset ac_configure_args0;}
2005 { ac_configure_args1=; unset ac_configure_args1;}
2006
2007 # When interrupted or exit'd, cleanup temporary files, and complete
2008 # config.log. We remove comments because anyway the quotes in there
2009 # would cause problems or look ugly.
2010 # WARNING: Use '\'' to represent an apostrophe within the trap.
2011 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2012 trap 'exit_status=$?
2013 # Save into config.log some information that might help in debugging.
2014 {
2015 echo
2016
2017 $as_echo "## ---------------- ##
2018 ## Cache variables. ##
2019 ## ---------------- ##"
2020 echo
2021 # The following way of writing the cache mishandles newlines in values,
2022 (
2023 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2024 eval ac_val=\$$ac_var
2025 case $ac_val in #(
2026 *${as_nl}*)
2027 case $ac_var in #(
2028 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2029 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2030 esac
2031 case $ac_var in #(
2032 _ | IFS | as_nl) ;; #(
2033 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2034 *) { eval $ac_var=; unset $ac_var;} ;;
2035 esac ;;
2036 esac
2037 done
2038 (set) 2>&1 |
2039 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2040 *${as_nl}ac_space=\ *)
2041 sed -n \
2042 "s/'\''/'\''\\\\'\'''\''/g;
2043 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2044 ;; #(
2045 *)
2046 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2047 ;;
2048 esac |
2049 sort
2050 )
2051 echo
2052
2053 $as_echo "## ----------------- ##
2054 ## Output variables. ##
2055 ## ----------------- ##"
2056 echo
2057 for ac_var in $ac_subst_vars
2058 do
2059 eval ac_val=\$$ac_var
2060 case $ac_val in
2061 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2062 esac
2063 $as_echo "$ac_var='\''$ac_val'\''"
2064 done | sort
2065 echo
2066
2067 if test -n "$ac_subst_files"; then
2068 $as_echo "## ------------------- ##
2069 ## File substitutions. ##
2070 ## ------------------- ##"
2071 echo
2072 for ac_var in $ac_subst_files
2073 do
2074 eval ac_val=\$$ac_var
2075 case $ac_val in
2076 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2077 esac
2078 $as_echo "$ac_var='\''$ac_val'\''"
2079 done | sort
2080 echo
2081 fi
2082
2083 if test -s confdefs.h; then
2084 $as_echo "## ----------- ##
2085 ## confdefs.h. ##
2086 ## ----------- ##"
2087 echo
2088 cat confdefs.h
2089 echo
2090 fi
2091 test "$ac_signal" != 0 &&
2092 $as_echo "$as_me: caught signal $ac_signal"
2093 $as_echo "$as_me: exit $exit_status"
2094 } >&5
2095 rm -f core *.core core.conftest.* &&
2096 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2097 exit $exit_status
2098 ' 0
2099 for ac_signal in 1 2 13 15; do
2100 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2101 done
2102 ac_signal=0
2103
2104 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2105 rm -f -r conftest* confdefs.h
2106
2107 $as_echo "/* confdefs.h */" > confdefs.h
2108
2109 # Predefined preprocessor variables.
2110
2111 cat >>confdefs.h <<_ACEOF
2112 #define PACKAGE_NAME "$PACKAGE_NAME"
2113 _ACEOF
2114
2115 cat >>confdefs.h <<_ACEOF
2116 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2117 _ACEOF
2118
2119 cat >>confdefs.h <<_ACEOF
2120 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2121 _ACEOF
2122
2123 cat >>confdefs.h <<_ACEOF
2124 #define PACKAGE_STRING "$PACKAGE_STRING"
2125 _ACEOF
2126
2127 cat >>confdefs.h <<_ACEOF
2128 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2129 _ACEOF
2130
2131 cat >>confdefs.h <<_ACEOF
2132 #define PACKAGE_URL "$PACKAGE_URL"
2133 _ACEOF
2134
2135
2136 # Let the site file select an alternate cache file if it wants to.
2137 # Prefer an explicitly selected file to automatically selected ones.
2138 ac_site_file1=NONE
2139 ac_site_file2=NONE
2140 if test -n "$CONFIG_SITE"; then
2141 # We do not want a PATH search for config.site.
2142 case $CONFIG_SITE in #((
2143 -*) ac_site_file1=./$CONFIG_SITE;;
2144 */*) ac_site_file1=$CONFIG_SITE;;
2145 *) ac_site_file1=./$CONFIG_SITE;;
2146 esac
2147 elif test "x$prefix" != xNONE; then
2148 ac_site_file1=$prefix/share/config.site
2149 ac_site_file2=$prefix/etc/config.site
2150 else
2151 ac_site_file1=$ac_default_prefix/share/config.site
2152 ac_site_file2=$ac_default_prefix/etc/config.site
2153 fi
2154 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2155 do
2156 test "x$ac_site_file" = xNONE && continue
2157 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2159 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2160 sed 's/^/| /' "$ac_site_file" >&5
2161 . "$ac_site_file" \
2162 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2164 as_fn_error $? "failed to load site script $ac_site_file
2165 See \`config.log' for more details" "$LINENO" 5; }
2166 fi
2167 done
2168
2169 if test -r "$cache_file"; then
2170 # Some versions of bash will fail to source /dev/null (special files
2171 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2172 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2174 $as_echo "$as_me: loading cache $cache_file" >&6;}
2175 case $cache_file in
2176 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2177 *) . "./$cache_file";;
2178 esac
2179 fi
2180 else
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2182 $as_echo "$as_me: creating cache $cache_file" >&6;}
2183 >$cache_file
2184 fi
2185
2186 # Check that the precious variables saved in the cache have kept the same
2187 # value.
2188 ac_cache_corrupted=false
2189 for ac_var in $ac_precious_vars; do
2190 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2191 eval ac_new_set=\$ac_env_${ac_var}_set
2192 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2193 eval ac_new_val=\$ac_env_${ac_var}_value
2194 case $ac_old_set,$ac_new_set in
2195 set,)
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2197 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2198 ac_cache_corrupted=: ;;
2199 ,set)
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2201 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2202 ac_cache_corrupted=: ;;
2203 ,);;
2204 *)
2205 if test "x$ac_old_val" != "x$ac_new_val"; then
2206 # differences in whitespace do not lead to failure.
2207 ac_old_val_w=`echo x $ac_old_val`
2208 ac_new_val_w=`echo x $ac_new_val`
2209 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2211 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2212 ac_cache_corrupted=:
2213 else
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2215 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2216 eval $ac_var=\$ac_old_val
2217 fi
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2219 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2221 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2222 fi;;
2223 esac
2224 # Pass precious variables to config.status.
2225 if test "$ac_new_set" = set; then
2226 case $ac_new_val in
2227 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2228 *) ac_arg=$ac_var=$ac_new_val ;;
2229 esac
2230 case " $ac_configure_args " in
2231 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2232 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2233 esac
2234 fi
2235 done
2236 if $ac_cache_corrupted; then
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2240 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2241 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2242 fi
2243 ## -------------------- ##
2244 ## Main body of script. ##
2245 ## -------------------- ##
2246
2247 ac_ext=c
2248 ac_cpp='$CPP $CPPFLAGS'
2249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2252
2253
2254
2255
2256
2257 ac_config_headers="$ac_config_headers config.h"
2258
2259
2260
2261 am__api_version='1.14'
2262
2263 ac_aux_dir=
2264 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2265 if test -f "$ac_dir/install-sh"; then
2266 ac_aux_dir=$ac_dir
2267 ac_install_sh="$ac_aux_dir/install-sh -c"
2268 break
2269 elif test -f "$ac_dir/install.sh"; then
2270 ac_aux_dir=$ac_dir
2271 ac_install_sh="$ac_aux_dir/install.sh -c"
2272 break
2273 elif test -f "$ac_dir/shtool"; then
2274 ac_aux_dir=$ac_dir
2275 ac_install_sh="$ac_aux_dir/shtool install -c"
2276 break
2277 fi
2278 done
2279 if test -z "$ac_aux_dir"; then
2280 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2281 fi
2282
2283 # These three variables are undocumented and unsupported,
2284 # and are intended to be withdrawn in a future Autoconf release.
2285 # They can cause serious problems if a builder's source tree is in a directory
2286 # whose full name contains unusual characters.
2287 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2288 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2289 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2290
2291
2292 # Find a good install program. We prefer a C program (faster),
2293 # so one script is as good as another. But avoid the broken or
2294 # incompatible versions:
2295 # SysV /etc/install, /usr/sbin/install
2296 # SunOS /usr/etc/install
2297 # IRIX /sbin/install
2298 # AIX /bin/install
2299 # AmigaOS /C/install, which installs bootblocks on floppy discs
2300 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2301 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2302 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2303 # OS/2's system install, which has a completely different semantic
2304 # ./install, which can be erroneously created by make from ./install.sh.
2305 # Reject install programs that cannot install multiple files.
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2307 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2308 if test -z "$INSTALL"; then
2309 if ${ac_cv_path_install+:} false; then :
2310 $as_echo_n "(cached) " >&6
2311 else
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313 for as_dir in $PATH
2314 do
2315 IFS=$as_save_IFS
2316 test -z "$as_dir" && as_dir=.
2317 # Account for people who put trailing slashes in PATH elements.
2318 case $as_dir/ in #((
2319 ./ | .// | /[cC]/* | \
2320 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2321 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2322 /usr/ucb/* ) ;;
2323 *)
2324 # OSF1 and SCO ODT 3.0 have their own names for install.
2325 # Don't use installbsd from OSF since it installs stuff as root
2326 # by default.
2327 for ac_prog in ginstall scoinst install; do
2328 for ac_exec_ext in '' $ac_executable_extensions; do
2329 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2330 if test $ac_prog = install &&
2331 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2332 # AIX install. It has an incompatible calling convention.
2333 :
2334 elif test $ac_prog = install &&
2335 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2336 # program-specific install script used by HP pwplus--don't use.
2337 :
2338 else
2339 rm -rf conftest.one conftest.two conftest.dir
2340 echo one > conftest.one
2341 echo two > conftest.two
2342 mkdir conftest.dir
2343 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2344 test -s conftest.one && test -s conftest.two &&
2345 test -s conftest.dir/conftest.one &&
2346 test -s conftest.dir/conftest.two
2347 then
2348 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2349 break 3
2350 fi
2351 fi
2352 fi
2353 done
2354 done
2355 ;;
2356 esac
2357
2358 done
2359 IFS=$as_save_IFS
2360
2361 rm -rf conftest.one conftest.two conftest.dir
2362
2363 fi
2364 if test "${ac_cv_path_install+set}" = set; then
2365 INSTALL=$ac_cv_path_install
2366 else
2367 # As a last resort, use the slow shell script. Don't cache a
2368 # value for INSTALL within a source directory, because that will
2369 # break other packages using the cache if that directory is
2370 # removed, or if the value is a relative name.
2371 INSTALL=$ac_install_sh
2372 fi
2373 fi
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2375 $as_echo "$INSTALL" >&6; }
2376
2377 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2378 # It thinks the first close brace ends the variable substitution.
2379 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2380
2381 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2382
2383 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2384
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2386 $as_echo_n "checking whether build environment is sane... " >&6; }
2387 # Reject unsafe characters in $srcdir or the absolute working directory
2388 # name. Accept space and tab only in the latter.
2389 am_lf='
2390 '
2391 case `pwd` in
2392 *[\\\"\#\$\&\'\`$am_lf]*)
2393 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2394 esac
2395 case $srcdir in
2396 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2397 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2398 esac
2399
2400 # Do 'set' in a subshell so we don't clobber the current shell's
2401 # arguments. Must try -L first in case configure is actually a
2402 # symlink; some systems play weird games with the mod time of symlinks
2403 # (eg FreeBSD returns the mod time of the symlink's containing
2404 # directory).
2405 if (
2406 am_has_slept=no
2407 for am_try in 1 2; do
2408 echo "timestamp, slept: $am_has_slept" > conftest.file
2409 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2410 if test "$*" = "X"; then
2411 # -L didn't work.
2412 set X `ls -t "$srcdir/configure" conftest.file`
2413 fi
2414 if test "$*" != "X $srcdir/configure conftest.file" \
2415 && test "$*" != "X conftest.file $srcdir/configure"; then
2416
2417 # If neither matched, then we have a broken ls. This can happen
2418 # if, for instance, CONFIG_SHELL is bash and it inherits a
2419 # broken ls alias from the environment. This has actually
2420 # happened. Such a system could not be considered "sane".
2421 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2422 alias in your environment" "$LINENO" 5
2423 fi
2424 if test "$2" = conftest.file || test $am_try -eq 2; then
2425 break
2426 fi
2427 # Just in case.
2428 sleep 1
2429 am_has_slept=yes
2430 done
2431 test "$2" = conftest.file
2432 )
2433 then
2434 # Ok.
2435 :
2436 else
2437 as_fn_error $? "newly created file is older than distributed files!
2438 Check your system clock" "$LINENO" 5
2439 fi
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2441 $as_echo "yes" >&6; }
2442 # If we didn't sleep, we still need to ensure time stamps of config.status and
2443 # generated files are strictly newer.
2444 am_sleep_pid=
2445 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2446 ( sleep 1 ) &
2447 am_sleep_pid=$!
2448 fi
2449
2450 rm -f conftest.file
2451
2452 test "$program_prefix" != NONE &&
2453 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2454 # Use a double $ so make ignores it.
2455 test "$program_suffix" != NONE &&
2456 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2457 # Double any \ or $.
2458 # By default was `s,x,x', remove it if useless.
2459 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2460 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2461
2462 # expand $ac_aux_dir to an absolute path
2463 am_aux_dir=`cd $ac_aux_dir && pwd`
2464
2465 if test x"${MISSING+set}" != xset; then
2466 case $am_aux_dir in
2467 *\ * | *\ *)
2468 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2469 *)
2470 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2471 esac
2472 fi
2473 # Use eval to expand $SHELL
2474 if eval "$MISSING --is-lightweight"; then
2475 am_missing_run="$MISSING "
2476 else
2477 am_missing_run=
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2479 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2480 fi
2481
2482 if test x"${install_sh}" != xset; then
2483 case $am_aux_dir in
2484 *\ * | *\ *)
2485 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2486 *)
2487 install_sh="\${SHELL} $am_aux_dir/install-sh"
2488 esac
2489 fi
2490
2491 # Installed binaries are usually stripped using 'strip' when the user
2492 # run "make install-strip". However 'strip' might not be the right
2493 # tool to use in cross-compilation environments, therefore Automake
2494 # will honor the 'STRIP' environment variable to overrule this program.
2495 if test "$cross_compiling" != no; then
2496 if test -n "$ac_tool_prefix"; then
2497 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2498 set dummy ${ac_tool_prefix}strip; ac_word=$2
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2500 $as_echo_n "checking for $ac_word... " >&6; }
2501 if ${ac_cv_prog_STRIP+:} false; then :
2502 $as_echo_n "(cached) " >&6
2503 else
2504 if test -n "$STRIP"; then
2505 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2506 else
2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508 for as_dir in $PATH
2509 do
2510 IFS=$as_save_IFS
2511 test -z "$as_dir" && as_dir=.
2512 for ac_exec_ext in '' $ac_executable_extensions; do
2513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2514 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2516 break 2
2517 fi
2518 done
2519 done
2520 IFS=$as_save_IFS
2521
2522 fi
2523 fi
2524 STRIP=$ac_cv_prog_STRIP
2525 if test -n "$STRIP"; then
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2527 $as_echo "$STRIP" >&6; }
2528 else
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2530 $as_echo "no" >&6; }
2531 fi
2532
2533
2534 fi
2535 if test -z "$ac_cv_prog_STRIP"; then
2536 ac_ct_STRIP=$STRIP
2537 # Extract the first word of "strip", so it can be a program name with args.
2538 set dummy strip; ac_word=$2
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2540 $as_echo_n "checking for $ac_word... " >&6; }
2541 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2542 $as_echo_n "(cached) " >&6
2543 else
2544 if test -n "$ac_ct_STRIP"; then
2545 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2546 else
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548 for as_dir in $PATH
2549 do
2550 IFS=$as_save_IFS
2551 test -z "$as_dir" && as_dir=.
2552 for ac_exec_ext in '' $ac_executable_extensions; do
2553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2554 ac_cv_prog_ac_ct_STRIP="strip"
2555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2556 break 2
2557 fi
2558 done
2559 done
2560 IFS=$as_save_IFS
2561
2562 fi
2563 fi
2564 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2565 if test -n "$ac_ct_STRIP"; then
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2567 $as_echo "$ac_ct_STRIP" >&6; }
2568 else
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2570 $as_echo "no" >&6; }
2571 fi
2572
2573 if test "x$ac_ct_STRIP" = x; then
2574 STRIP=":"
2575 else
2576 case $cross_compiling:$ac_tool_warned in
2577 yes:)
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2580 ac_tool_warned=yes ;;
2581 esac
2582 STRIP=$ac_ct_STRIP
2583 fi
2584 else
2585 STRIP="$ac_cv_prog_STRIP"
2586 fi
2587
2588 fi
2589 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2590
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2592 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2593 if test -z "$MKDIR_P"; then
2594 if ${ac_cv_path_mkdir+:} false; then :
2595 $as_echo_n "(cached) " >&6
2596 else
2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2599 do
2600 IFS=$as_save_IFS
2601 test -z "$as_dir" && as_dir=.
2602 for ac_prog in mkdir gmkdir; do
2603 for ac_exec_ext in '' $ac_executable_extensions; do
2604 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2605 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2606 'mkdir (GNU coreutils) '* | \
2607 'mkdir (coreutils) '* | \
2608 'mkdir (fileutils) '4.1*)
2609 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2610 break 3;;
2611 esac
2612 done
2613 done
2614 done
2615 IFS=$as_save_IFS
2616
2617 fi
2618
2619 test -d ./--version && rmdir ./--version
2620 if test "${ac_cv_path_mkdir+set}" = set; then
2621 MKDIR_P="$ac_cv_path_mkdir -p"
2622 else
2623 # As a last resort, use the slow shell script. Don't cache a
2624 # value for MKDIR_P within a source directory, because that will
2625 # break other packages using the cache if that directory is
2626 # removed, or if the value is a relative name.
2627 MKDIR_P="$ac_install_sh -d"
2628 fi
2629 fi
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2631 $as_echo "$MKDIR_P" >&6; }
2632
2633 for ac_prog in gawk mawk nawk awk
2634 do
2635 # Extract the first word of "$ac_prog", so it can be a program name with args.
2636 set dummy $ac_prog; ac_word=$2
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2638 $as_echo_n "checking for $ac_word... " >&6; }
2639 if ${ac_cv_prog_AWK+:} false; then :
2640 $as_echo_n "(cached) " >&6
2641 else
2642 if test -n "$AWK"; then
2643 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2644 else
2645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646 for as_dir in $PATH
2647 do
2648 IFS=$as_save_IFS
2649 test -z "$as_dir" && as_dir=.
2650 for ac_exec_ext in '' $ac_executable_extensions; do
2651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2652 ac_cv_prog_AWK="$ac_prog"
2653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2654 break 2
2655 fi
2656 done
2657 done
2658 IFS=$as_save_IFS
2659
2660 fi
2661 fi
2662 AWK=$ac_cv_prog_AWK
2663 if test -n "$AWK"; then
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2665 $as_echo "$AWK" >&6; }
2666 else
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668 $as_echo "no" >&6; }
2669 fi
2670
2671
2672 test -n "$AWK" && break
2673 done
2674
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2676 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2677 set x ${MAKE-make}
2678 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2679 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2680 $as_echo_n "(cached) " >&6
2681 else
2682 cat >conftest.make <<\_ACEOF
2683 SHELL = /bin/sh
2684 all:
2685 @echo '@@@%%%=$(MAKE)=@@@%%%'
2686 _ACEOF
2687 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2688 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2689 *@@@%%%=?*=@@@%%%*)
2690 eval ac_cv_prog_make_${ac_make}_set=yes;;
2691 *)
2692 eval ac_cv_prog_make_${ac_make}_set=no;;
2693 esac
2694 rm -f conftest.make
2695 fi
2696 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2698 $as_echo "yes" >&6; }
2699 SET_MAKE=
2700 else
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2703 SET_MAKE="MAKE=${MAKE-make}"
2704 fi
2705
2706 rm -rf .tst 2>/dev/null
2707 mkdir .tst 2>/dev/null
2708 if test -d .tst; then
2709 am__leading_dot=.
2710 else
2711 am__leading_dot=_
2712 fi
2713 rmdir .tst 2>/dev/null
2714
2715 # Check whether --enable-silent-rules was given.
2716 if test "${enable_silent_rules+set}" = set; then :
2717 enableval=$enable_silent_rules;
2718 fi
2719
2720 case $enable_silent_rules in # (((
2721 yes) AM_DEFAULT_VERBOSITY=0;;
2722 no) AM_DEFAULT_VERBOSITY=1;;
2723 *) AM_DEFAULT_VERBOSITY=1;;
2724 esac
2725 am_make=${MAKE-make}
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2727 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2728 if ${am_cv_make_support_nested_variables+:} false; then :
2729 $as_echo_n "(cached) " >&6
2730 else
2731 if $as_echo 'TRUE=$(BAR$(V))
2732 BAR0=false
2733 BAR1=true
2734 V=1
2735 am__doit:
2736 @$(TRUE)
2737 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2738 am_cv_make_support_nested_variables=yes
2739 else
2740 am_cv_make_support_nested_variables=no
2741 fi
2742 fi
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2744 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2745 if test $am_cv_make_support_nested_variables = yes; then
2746 AM_V='$(V)'
2747 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2748 else
2749 AM_V=$AM_DEFAULT_VERBOSITY
2750 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2751 fi
2752 AM_BACKSLASH='\'
2753
2754 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2755 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2756 # is not polluted with repeated "-I."
2757 am__isrc=' -I$(srcdir)'
2758 # test to see if srcdir already configured
2759 if test -f $srcdir/config.status; then
2760 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2761 fi
2762 fi
2763
2764 # test whether we have cygpath
2765 if test -z "$CYGPATH_W"; then
2766 if (cygpath --version) >/dev/null 2>/dev/null; then
2767 CYGPATH_W='cygpath -w'
2768 else
2769 CYGPATH_W=echo
2770 fi
2771 fi
2772
2773
2774 # Define the identity of the package.
2775 PACKAGE='naspro-bridges'
2776 VERSION='0.5.1'
2777
2778
2779 cat >>confdefs.h <<_ACEOF
2780 #define PACKAGE "$PACKAGE"
2781 _ACEOF
2782
2783
2784 cat >>confdefs.h <<_ACEOF
2785 #define VERSION "$VERSION"
2786 _ACEOF
2787
2788 # Some tools Automake needs.
2789
2790 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2791
2792
2793 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2794
2795
2796 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2797
2798
2799 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2800
2801
2802 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2803
2804 # For better backward compatibility. To be removed once Automake 1.9.x
2805 # dies out for good. For more background, see:
2806 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2807 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2808 mkdir_p='$(MKDIR_P)'
2809
2810 # We need awk for the "check" target. The system "awk" is bad on
2811 # some platforms.
2812 # Always define AMTAR for backward compatibility. Yes, it's still used
2813 # in the wild :-( We should find a proper way to deprecate it ...
2814 AMTAR='$${TAR-tar}'
2815
2816
2817 # We'll loop over all known methods to create a tar archive until one works.
2818 _am_tools='gnutar pax cpio none'
2819
2820 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2821
2822
2823
2824
2825
2826
2827 # POSIX will say in a future version that running "rm -f" with no argument
2828 # is OK; and we want to be able to make that assumption in our Makefile
2829 # recipes. So use an aggressive probe to check that the usage we want is
2830 # actually supported "in the wild" to an acceptable degree.
2831 # See automake bug#10828.
2832 # To make any issue more visible, cause the running configure to be aborted
2833 # by default if the 'rm' program in use doesn't match our expectations; the
2834 # user can still override this though.
2835 if rm -f && rm -fr && rm -rf; then : OK; else
2836 cat >&2 <<'END'
2837 Oops!
2838
2839 Your 'rm' program seems unable to run without file operands specified
2840 on the command line, even when the '-f' option is present. This is contrary
2841 to the behaviour of most rm programs out there, and not conforming with
2842 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2843
2844 Please tell [email protected] about your system, including the value
2845 of your $PATH and any error possibly output before this message. This
2846 can help us improve future automake versions.
2847
2848 END
2849 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2850 echo 'Configuration will proceed anyway, since you have set the' >&2
2851 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2852 echo >&2
2853 else
2854 cat >&2 <<'END'
2855 Aborting the configuration process, to ensure you take notice of the issue.
2856
2857 You can download and install GNU coreutils to get an 'rm' implementation
2858 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2859
2860 If you want to complete the configuration process using your problematic
2861 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2862 to "yes", and re-run configure.
2863
2864 END
2865 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2866 fi
2867 fi
2868
2869 # Command line options.
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to put LV2 bundles" >&5
2871 $as_echo_n "checking where to put LV2 bundles... " >&6; }
2872
2873 # Check whether --with-lv2dir was given.
2874 if test "${with_lv2dir+set}" = set; then :
2875 withval=$with_lv2dir; lv2dir="${withval}"
2876 else
2877 lv2dir="${libdir}/lv2"
2878 fi
2879
2880
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lv2dir" >&5
2882 $as_echo "$lv2dir" >&6; }
2883
2884 # Checks for programs.
2885 DEPDIR="${am__leading_dot}deps"
2886
2887 ac_config_commands="$ac_config_commands depfiles"
2888
2889
2890 am_make=${MAKE-make}
2891 cat > confinc << 'END'
2892 am__doit:
2893 @echo this is the am__doit target
2894 .PHONY: am__doit
2895 END
2896 # If we don't find an include directive, just comment out the code.
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2898 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2899 am__include="#"
2900 am__quote=
2901 _am_result=none
2902 # First try GNU make style include.
2903 echo "include confinc" > confmf
2904 # Ignore all kinds of additional output from 'make'.
2905 case `$am_make -s -f confmf 2> /dev/null` in #(
2906 *the\ am__doit\ target*)
2907 am__include=include
2908 am__quote=
2909 _am_result=GNU
2910 ;;
2911 esac
2912 # Now try BSD make style include.
2913 if test "$am__include" = "#"; then
2914 echo '.include "confinc"' > confmf
2915 case `$am_make -s -f confmf 2> /dev/null` in #(
2916 *the\ am__doit\ target*)
2917 am__include=.include
2918 am__quote="\""
2919 _am_result=BSD
2920 ;;
2921 esac
2922 fi
2923
2924
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2926 $as_echo "$_am_result" >&6; }
2927 rm -f confinc confmf
2928
2929 # Check whether --enable-dependency-tracking was given.
2930 if test "${enable_dependency_tracking+set}" = set; then :
2931 enableval=$enable_dependency_tracking;
2932 fi
2933
2934 if test "x$enable_dependency_tracking" != xno; then
2935 am_depcomp="$ac_aux_dir/depcomp"
2936 AMDEPBACKSLASH='\'
2937 am__nodep='_no'
2938 fi
2939 if test "x$enable_dependency_tracking" != xno; then
2940 AMDEP_TRUE=
2941 AMDEP_FALSE='#'
2942 else
2943 AMDEP_TRUE='#'
2944 AMDEP_FALSE=
2945 fi
2946
2947
2948 ac_ext=c
2949 ac_cpp='$CPP $CPPFLAGS'
2950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2953 if test -n "$ac_tool_prefix"; then
2954 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2955 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957 $as_echo_n "checking for $ac_word... " >&6; }
2958 if ${ac_cv_prog_CC+:} false; then :
2959 $as_echo_n "(cached) " >&6
2960 else
2961 if test -n "$CC"; then
2962 ac_cv_prog_CC="$CC" # Let the user override the test.
2963 else
2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 for as_dir in $PATH
2966 do
2967 IFS=$as_save_IFS
2968 test -z "$as_dir" && as_dir=.
2969 for ac_exec_ext in '' $ac_executable_extensions; do
2970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2971 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 break 2
2974 fi
2975 done
2976 done
2977 IFS=$as_save_IFS
2978
2979 fi
2980 fi
2981 CC=$ac_cv_prog_CC
2982 if test -n "$CC"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2984 $as_echo "$CC" >&6; }
2985 else
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987 $as_echo "no" >&6; }
2988 fi
2989
2990
2991 fi
2992 if test -z "$ac_cv_prog_CC"; then
2993 ac_ct_CC=$CC
2994 # Extract the first word of "gcc", so it can be a program name with args.
2995 set dummy gcc; ac_word=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2999 $as_echo_n "(cached) " >&6
3000 else
3001 if test -n "$ac_ct_CC"; then
3002 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3003 else
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 for as_dir in $PATH
3006 do
3007 IFS=$as_save_IFS
3008 test -z "$as_dir" && as_dir=.
3009 for ac_exec_ext in '' $ac_executable_extensions; do
3010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3011 ac_cv_prog_ac_ct_CC="gcc"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013 break 2
3014 fi
3015 done
3016 done
3017 IFS=$as_save_IFS
3018
3019 fi
3020 fi
3021 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3022 if test -n "$ac_ct_CC"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3024 $as_echo "$ac_ct_CC" >&6; }
3025 else
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3028 fi
3029
3030 if test "x$ac_ct_CC" = x; then
3031 CC=""
3032 else
3033 case $cross_compiling:$ac_tool_warned in
3034 yes:)
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3037 ac_tool_warned=yes ;;
3038 esac
3039 CC=$ac_ct_CC
3040 fi
3041 else
3042 CC="$ac_cv_prog_CC"
3043 fi
3044
3045 if test -z "$CC"; then
3046 if test -n "$ac_tool_prefix"; then
3047 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3048 set dummy ${ac_tool_prefix}cc; ac_word=$2
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3050 $as_echo_n "checking for $ac_word... " >&6; }
3051 if ${ac_cv_prog_CC+:} false; then :
3052 $as_echo_n "(cached) " >&6
3053 else
3054 if test -n "$CC"; then
3055 ac_cv_prog_CC="$CC" # Let the user override the test.
3056 else
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058 for as_dir in $PATH
3059 do
3060 IFS=$as_save_IFS
3061 test -z "$as_dir" && as_dir=.
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3064 ac_cv_prog_CC="${ac_tool_prefix}cc"
3065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 break 2
3067 fi
3068 done
3069 done
3070 IFS=$as_save_IFS
3071
3072 fi
3073 fi
3074 CC=$ac_cv_prog_CC
3075 if test -n "$CC"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3077 $as_echo "$CC" >&6; }
3078 else
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080 $as_echo "no" >&6; }
3081 fi
3082
3083
3084 fi
3085 fi
3086 if test -z "$CC"; then
3087 # Extract the first word of "cc", so it can be a program name with args.
3088 set dummy cc; ac_word=$2
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3090 $as_echo_n "checking for $ac_word... " >&6; }
3091 if ${ac_cv_prog_CC+:} false; then :
3092 $as_echo_n "(cached) " >&6
3093 else
3094 if test -n "$CC"; then
3095 ac_cv_prog_CC="$CC" # Let the user override the test.
3096 else
3097 ac_prog_rejected=no
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3099 for as_dir in $PATH
3100 do
3101 IFS=$as_save_IFS
3102 test -z "$as_dir" && as_dir=.
3103 for ac_exec_ext in '' $ac_executable_extensions; do
3104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3105 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3106 ac_prog_rejected=yes
3107 continue
3108 fi
3109 ac_cv_prog_CC="cc"
3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3111 break 2
3112 fi
3113 done
3114 done
3115 IFS=$as_save_IFS
3116
3117 if test $ac_prog_rejected = yes; then
3118 # We found a bogon in the path, so make sure we never use it.
3119 set dummy $ac_cv_prog_CC
3120 shift
3121 if test $# != 0; then
3122 # We chose a different compiler from the bogus one.
3123 # However, it has the same basename, so the bogon will be chosen
3124 # first if we set CC to just the basename; use the full file name.
3125 shift
3126 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3127 fi
3128 fi
3129 fi
3130 fi
3131 CC=$ac_cv_prog_CC
3132 if test -n "$CC"; then
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3134 $as_echo "$CC" >&6; }
3135 else
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137 $as_echo "no" >&6; }
3138 fi
3139
3140
3141 fi
3142 if test -z "$CC"; then
3143 if test -n "$ac_tool_prefix"; then
3144 for ac_prog in cl.exe
3145 do
3146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3147 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3149 $as_echo_n "checking for $ac_word... " >&6; }
3150 if ${ac_cv_prog_CC+:} false; then :
3151 $as_echo_n "(cached) " >&6
3152 else
3153 if test -n "$CC"; then
3154 ac_cv_prog_CC="$CC" # Let the user override the test.
3155 else
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 for as_dir in $PATH
3158 do
3159 IFS=$as_save_IFS
3160 test -z "$as_dir" && as_dir=.
3161 for ac_exec_ext in '' $ac_executable_extensions; do
3162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 break 2
3166 fi
3167 done
3168 done
3169 IFS=$as_save_IFS
3170
3171 fi
3172 fi
3173 CC=$ac_cv_prog_CC
3174 if test -n "$CC"; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3176 $as_echo "$CC" >&6; }
3177 else
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3180 fi
3181
3182
3183 test -n "$CC" && break
3184 done
3185 fi
3186 if test -z "$CC"; then
3187 ac_ct_CC=$CC
3188 for ac_prog in cl.exe
3189 do
3190 # Extract the first word of "$ac_prog", so it can be a program name with args.
3191 set dummy $ac_prog; ac_word=$2
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3193 $as_echo_n "checking for $ac_word... " >&6; }
3194 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3195 $as_echo_n "(cached) " >&6
3196 else
3197 if test -n "$ac_ct_CC"; then
3198 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3199 else
3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201 for as_dir in $PATH
3202 do
3203 IFS=$as_save_IFS
3204 test -z "$as_dir" && as_dir=.
3205 for ac_exec_ext in '' $ac_executable_extensions; do
3206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3207 ac_cv_prog_ac_ct_CC="$ac_prog"
3208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3209 break 2
3210 fi
3211 done
3212 done
3213 IFS=$as_save_IFS
3214
3215 fi
3216 fi
3217 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3218 if test -n "$ac_ct_CC"; then
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3220 $as_echo "$ac_ct_CC" >&6; }
3221 else
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3223 $as_echo "no" >&6; }
3224 fi
3225
3226
3227 test -n "$ac_ct_CC" && break
3228 done
3229
3230 if test "x$ac_ct_CC" = x; then
3231 CC=""
3232 else
3233 case $cross_compiling:$ac_tool_warned in
3234 yes:)
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3237 ac_tool_warned=yes ;;
3238 esac
3239 CC=$ac_ct_CC
3240 fi
3241 fi
3242
3243 fi
3244
3245
3246 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248 as_fn_error $? "no acceptable C compiler found in \$PATH
3249 See \`config.log' for more details" "$LINENO" 5; }
3250
3251 # Provide some information about the compiler.
3252 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3253 set X $ac_compile
3254 ac_compiler=$2
3255 for ac_option in --version -v -V -qversion; do
3256 { { ac_try="$ac_compiler $ac_option >&5"
3257 case "(($ac_try" in
3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3260 esac
3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3264 ac_status=$?
3265 if test -s conftest.err; then
3266 sed '10a\
3267 ... rest of stderr output deleted ...
3268 10q' conftest.err >conftest.er1
3269 cat conftest.er1 >&5
3270 fi
3271 rm -f conftest.er1 conftest.err
3272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3273 test $ac_status = 0; }
3274 done
3275
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3278
3279 int
3280 main ()
3281 {
3282
3283 ;
3284 return 0;
3285 }
3286 _ACEOF
3287 ac_clean_files_save=$ac_clean_files
3288 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3289 # Try to create an executable without -o first, disregard a.out.
3290 # It will help us diagnose broken compilers, and finding out an intuition
3291 # of exeext.
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3293 $as_echo_n "checking whether the C compiler works... " >&6; }
3294 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3295
3296 # The possible output files:
3297 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3298
3299 ac_rmfiles=
3300 for ac_file in $ac_files
3301 do
3302 case $ac_file in
3303 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3304 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3305 esac
3306 done
3307 rm -f $ac_rmfiles
3308
3309 if { { ac_try="$ac_link_default"
3310 case "(($ac_try" in
3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3313 esac
3314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3315 $as_echo "$ac_try_echo"; } >&5
3316 (eval "$ac_link_default") 2>&5
3317 ac_status=$?
3318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3319 test $ac_status = 0; }; then :
3320 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3321 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3322 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3323 # so that the user can short-circuit this test for compilers unknown to
3324 # Autoconf.
3325 for ac_file in $ac_files ''
3326 do
3327 test -f "$ac_file" || continue
3328 case $ac_file in
3329 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3330 ;;
3331 [ab].out )
3332 # We found the default executable, but exeext='' is most
3333 # certainly right.
3334 break;;
3335 *.* )
3336 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3337 then :; else
3338 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3339 fi
3340 # We set ac_cv_exeext here because the later test for it is not
3341 # safe: cross compilers may not add the suffix if given an `-o'
3342 # argument, so we may need to know it at that point already.
3343 # Even if this section looks crufty: it has the advantage of
3344 # actually working.
3345 break;;
3346 * )
3347 break;;
3348 esac
3349 done
3350 test "$ac_cv_exeext" = no && ac_cv_exeext=
3351
3352 else
3353 ac_file=''
3354 fi
3355 if test -z "$ac_file"; then :
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3357 $as_echo "no" >&6; }
3358 $as_echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3360
3361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3363 as_fn_error 77 "C compiler cannot create executables
3364 See \`config.log' for more details" "$LINENO" 5; }
3365 else
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3367 $as_echo "yes" >&6; }
3368 fi
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3370 $as_echo_n "checking for C compiler default output file name... " >&6; }
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3372 $as_echo "$ac_file" >&6; }
3373 ac_exeext=$ac_cv_exeext
3374
3375 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3376 ac_clean_files=$ac_clean_files_save
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3378 $as_echo_n "checking for suffix of executables... " >&6; }
3379 if { { ac_try="$ac_link"
3380 case "(($ac_try" in
3381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3382 *) ac_try_echo=$ac_try;;
3383 esac
3384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3385 $as_echo "$ac_try_echo"; } >&5
3386 (eval "$ac_link") 2>&5
3387 ac_status=$?
3388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3389 test $ac_status = 0; }; then :
3390 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3391 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3392 # work properly (i.e., refer to `conftest.exe'), while it won't with
3393 # `rm'.
3394 for ac_file in conftest.exe conftest conftest.*; do
3395 test -f "$ac_file" || continue
3396 case $ac_file in
3397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3398 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3399 break;;
3400 * ) break;;
3401 esac
3402 done
3403 else
3404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3406 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3407 See \`config.log' for more details" "$LINENO" 5; }
3408 fi
3409 rm -f conftest conftest$ac_cv_exeext
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3411 $as_echo "$ac_cv_exeext" >&6; }
3412
3413 rm -f conftest.$ac_ext
3414 EXEEXT=$ac_cv_exeext
3415 ac_exeext=$EXEEXT
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3418 #include <stdio.h>
3419 int
3420 main ()
3421 {
3422 FILE *f = fopen ("conftest.out", "w");
3423 return ferror (f) || fclose (f) != 0;
3424
3425 ;
3426 return 0;
3427 }
3428 _ACEOF
3429 ac_clean_files="$ac_clean_files conftest.out"
3430 # Check that the compiler produces executables we can run. If not, either
3431 # the compiler is broken, or we cross compile.
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3433 $as_echo_n "checking whether we are cross compiling... " >&6; }
3434 if test "$cross_compiling" != yes; then
3435 { { ac_try="$ac_link"
3436 case "(($ac_try" in
3437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438 *) ac_try_echo=$ac_try;;
3439 esac
3440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3441 $as_echo "$ac_try_echo"; } >&5
3442 (eval "$ac_link") 2>&5
3443 ac_status=$?
3444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3445 test $ac_status = 0; }
3446 if { ac_try='./conftest$ac_cv_exeext'
3447 { { case "(($ac_try" in
3448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3450 esac
3451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3452 $as_echo "$ac_try_echo"; } >&5
3453 (eval "$ac_try") 2>&5
3454 ac_status=$?
3455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3456 test $ac_status = 0; }; }; then
3457 cross_compiling=no
3458 else
3459 if test "$cross_compiling" = maybe; then
3460 cross_compiling=yes
3461 else
3462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464 as_fn_error $? "cannot run C compiled programs.
3465 If you meant to cross compile, use \`--host'.
3466 See \`config.log' for more details" "$LINENO" 5; }
3467 fi
3468 fi
3469 fi
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3471 $as_echo "$cross_compiling" >&6; }
3472
3473 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3474 ac_clean_files=$ac_clean_files_save
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3476 $as_echo_n "checking for suffix of object files... " >&6; }
3477 if ${ac_cv_objext+:} false; then :
3478 $as_echo_n "(cached) " >&6
3479 else
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3482
3483 int
3484 main ()
3485 {
3486
3487 ;
3488 return 0;
3489 }
3490 _ACEOF
3491 rm -f conftest.o conftest.obj
3492 if { { ac_try="$ac_compile"
3493 case "(($ac_try" in
3494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3496 esac
3497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3498 $as_echo "$ac_try_echo"; } >&5
3499 (eval "$ac_compile") 2>&5
3500 ac_status=$?
3501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3502 test $ac_status = 0; }; then :
3503 for ac_file in conftest.o conftest.obj conftest.*; do
3504 test -f "$ac_file" || continue;
3505 case $ac_file in
3506 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3507 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3508 break;;
3509 esac
3510 done
3511 else
3512 $as_echo "$as_me: failed program was:" >&5
3513 sed 's/^/| /' conftest.$ac_ext >&5
3514
3515 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3517 as_fn_error $? "cannot compute suffix of object files: cannot compile
3518 See \`config.log' for more details" "$LINENO" 5; }
3519 fi
3520 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3521 fi
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3523 $as_echo "$ac_cv_objext" >&6; }
3524 OBJEXT=$ac_cv_objext
3525 ac_objext=$OBJEXT
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3527 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3528 if ${ac_cv_c_compiler_gnu+:} false; then :
3529 $as_echo_n "(cached) " >&6
3530 else
3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3532 /* end confdefs.h. */
3533
3534 int
3535 main ()
3536 {
3537 #ifndef __GNUC__
3538 choke me
3539 #endif
3540
3541 ;
3542 return 0;
3543 }
3544 _ACEOF
3545 if ac_fn_c_try_compile "$LINENO"; then :
3546 ac_compiler_gnu=yes
3547 else
3548 ac_compiler_gnu=no
3549 fi
3550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3551 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3552
3553 fi
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3555 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3556 if test $ac_compiler_gnu = yes; then
3557 GCC=yes
3558 else
3559 GCC=
3560 fi
3561 ac_test_CFLAGS=${CFLAGS+set}
3562 ac_save_CFLAGS=$CFLAGS
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3564 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3565 if ${ac_cv_prog_cc_g+:} false; then :
3566 $as_echo_n "(cached) " >&6
3567 else
3568 ac_save_c_werror_flag=$ac_c_werror_flag
3569 ac_c_werror_flag=yes
3570 ac_cv_prog_cc_g=no
3571 CFLAGS="-g"
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3574
3575 int
3576 main ()
3577 {
3578
3579 ;
3580 return 0;
3581 }
3582 _ACEOF
3583 if ac_fn_c_try_compile "$LINENO"; then :
3584 ac_cv_prog_cc_g=yes
3585 else
3586 CFLAGS=""
3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h. */
3589
3590 int
3591 main ()
3592 {
3593
3594 ;
3595 return 0;
3596 }
3597 _ACEOF
3598 if ac_fn_c_try_compile "$LINENO"; then :
3599
3600 else
3601 ac_c_werror_flag=$ac_save_c_werror_flag
3602 CFLAGS="-g"
3603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3604 /* end confdefs.h. */
3605
3606 int
3607 main ()
3608 {
3609
3610 ;
3611 return 0;
3612 }
3613 _ACEOF
3614 if ac_fn_c_try_compile "$LINENO"; then :
3615 ac_cv_prog_cc_g=yes
3616 fi
3617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3618 fi
3619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3620 fi
3621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3622 ac_c_werror_flag=$ac_save_c_werror_flag
3623 fi
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3625 $as_echo "$ac_cv_prog_cc_g" >&6; }
3626 if test "$ac_test_CFLAGS" = set; then
3627 CFLAGS=$ac_save_CFLAGS
3628 elif test $ac_cv_prog_cc_g = yes; then
3629 if test "$GCC" = yes; then
3630 CFLAGS="-g -O2"
3631 else
3632 CFLAGS="-g"
3633 fi
3634 else
3635 if test "$GCC" = yes; then
3636 CFLAGS="-O2"
3637 else
3638 CFLAGS=
3639 fi
3640 fi
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3642 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3643 if ${ac_cv_prog_cc_c89+:} false; then :
3644 $as_echo_n "(cached) " >&6
3645 else
3646 ac_cv_prog_cc_c89=no
3647 ac_save_CC=$CC
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3650 #include <stdarg.h>
3651 #include <stdio.h>
3652 struct stat;
3653 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3654 struct buf { int x; };
3655 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3656 static char *e (p, i)
3657 char **p;
3658 int i;
3659 {
3660 return p[i];
3661 }
3662 static char *f (char * (*g) (char **, int), char **p, ...)
3663 {
3664 char *s;
3665 va_list v;
3666 va_start (v,p);
3667 s = g (p, va_arg (v,int));
3668 va_end (v);
3669 return s;
3670 }
3671
3672 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3673 function prototypes and stuff, but not '\xHH' hex character constants.
3674 These don't provoke an error unfortunately, instead are silently treated
3675 as 'x'. The following induces an error, until -std is added to get
3676 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3677 array size at least. It's necessary to write '\x00'==0 to get something
3678 that's true only with -std. */
3679 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3680
3681 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3682 inside strings and character constants. */
3683 #define FOO(x) 'x'
3684 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3685
3686 int test (int i, double x);
3687 struct s1 {int (*f) (int a);};
3688 struct s2 {int (*f) (double a);};
3689 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3690 int argc;
3691 char **argv;
3692 int
3693 main ()
3694 {
3695 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3696 ;
3697 return 0;
3698 }
3699 _ACEOF
3700 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3701 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3702 do
3703 CC="$ac_save_CC $ac_arg"
3704 if ac_fn_c_try_compile "$LINENO"; then :
3705 ac_cv_prog_cc_c89=$ac_arg
3706 fi
3707 rm -f core conftest.err conftest.$ac_objext
3708 test "x$ac_cv_prog_cc_c89" != "xno" && break
3709 done
3710 rm -f conftest.$ac_ext
3711 CC=$ac_save_CC
3712
3713 fi
3714 # AC_CACHE_VAL
3715 case "x$ac_cv_prog_cc_c89" in
3716 x)
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3718 $as_echo "none needed" >&6; } ;;
3719 xno)
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3721 $as_echo "unsupported" >&6; } ;;
3722 *)
3723 CC="$CC $ac_cv_prog_cc_c89"
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3725 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3726 esac
3727 if test "x$ac_cv_prog_cc_c89" != xno; then :
3728
3729 fi
3730
3731 ac_ext=c
3732 ac_cpp='$CPP $CPPFLAGS'
3733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3736
3737 ac_ext=c
3738 ac_cpp='$CPP $CPPFLAGS'
3739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3743 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3744 if ${am_cv_prog_cc_c_o+:} false; then :
3745 $as_echo_n "(cached) " >&6
3746 else
3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h. */
3749
3750 int
3751 main ()
3752 {
3753
3754 ;
3755 return 0;
3756 }
3757 _ACEOF
3758 # Make sure it works both with $CC and with simple cc.
3759 # Following AC_PROG_CC_C_O, we do the test twice because some
3760 # compilers refuse to overwrite an existing .o file with -o,
3761 # though they will create one.
3762 am_cv_prog_cc_c_o=yes
3763 for am_i in 1 2; do
3764 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3765 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3766 ac_status=$?
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); } \
3769 && test -f conftest2.$ac_objext; then
3770 : OK
3771 else
3772 am_cv_prog_cc_c_o=no
3773 break
3774 fi
3775 done
3776 rm -f core conftest*
3777 unset am_i
3778 fi
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3780 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3781 if test "$am_cv_prog_cc_c_o" != yes; then
3782 # Losing compiler, so override with the script.
3783 # FIXME: It is wrong to rewrite CC.
3784 # But if we don't then we get into trouble of one sort or another.
3785 # A longer-term fix would be to have automake use am__CC in this case,
3786 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3787 CC="$am_aux_dir/compile $CC"
3788 fi
3789 ac_ext=c
3790 ac_cpp='$CPP $CPPFLAGS'
3791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3794
3795
3796 depcc="$CC" am_compiler_list=
3797
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3799 $as_echo_n "checking dependency style of $depcc... " >&6; }
3800 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3801 $as_echo_n "(cached) " >&6
3802 else
3803 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3804 # We make a subdir and do the tests there. Otherwise we can end up
3805 # making bogus files that we don't know about and never remove. For
3806 # instance it was reported that on HP-UX the gcc test will end up
3807 # making a dummy file named 'D' -- because '-MD' means "put the output
3808 # in D".
3809 rm -rf conftest.dir
3810 mkdir conftest.dir
3811 # Copy depcomp to subdir because otherwise we won't find it if we're
3812 # using a relative directory.
3813 cp "$am_depcomp" conftest.dir
3814 cd conftest.dir
3815 # We will build objects and dependencies in a subdirectory because
3816 # it helps to detect inapplicable dependency modes. For instance
3817 # both Tru64's cc and ICC support -MD to output dependencies as a
3818 # side effect of compilation, but ICC will put the dependencies in
3819 # the current directory while Tru64 will put them in the object
3820 # directory.
3821 mkdir sub
3822
3823 am_cv_CC_dependencies_compiler_type=none
3824 if test "$am_compiler_list" = ""; then
3825 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3826 fi
3827 am__universal=false
3828 case " $depcc " in #(
3829 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3830 esac
3831
3832 for depmode in $am_compiler_list; do
3833 # Setup a source with many dependencies, because some compilers
3834 # like to wrap large dependency lists on column 80 (with \), and
3835 # we should not choose a depcomp mode which is confused by this.
3836 #
3837 # We need to recreate these files for each test, as the compiler may
3838 # overwrite some of them when testing with obscure command lines.
3839 # This happens at least with the AIX C compiler.
3840 : > sub/conftest.c
3841 for i in 1 2 3 4 5 6; do
3842 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3843 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3844 # Solaris 10 /bin/sh.
3845 echo '/* dummy */' > sub/conftst$i.h
3846 done
3847 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3848
3849 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3850 # mode. It turns out that the SunPro C++ compiler does not properly
3851 # handle '-M -o', and we need to detect this. Also, some Intel
3852 # versions had trouble with output in subdirs.
3853 am__obj=sub/conftest.${OBJEXT-o}
3854 am__minus_obj="-o $am__obj"
3855 case $depmode in
3856 gcc)
3857 # This depmode causes a compiler race in universal mode.
3858 test "$am__universal" = false || continue
3859 ;;
3860 nosideeffect)
3861 # After this tag, mechanisms are not by side-effect, so they'll
3862 # only be used when explicitly requested.
3863 if test "x$enable_dependency_tracking" = xyes; then
3864 continue
3865 else
3866 break
3867 fi
3868 ;;
3869 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3870 # This compiler won't grok '-c -o', but also, the minuso test has
3871 # not run yet. These depmodes are late enough in the game, and
3872 # so weak that their functioning should not be impacted.
3873 am__obj=conftest.${OBJEXT-o}
3874 am__minus_obj=
3875 ;;
3876 none) break ;;
3877 esac
3878 if depmode=$depmode \
3879 source=sub/conftest.c object=$am__obj \
3880 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3881 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3882 >/dev/null 2>conftest.err &&
3883 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3884 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3885 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3886 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3887 # icc doesn't choke on unknown options, it will just issue warnings
3888 # or remarks (even with -Werror). So we grep stderr for any message
3889 # that says an option was ignored or not supported.
3890 # When given -MP, icc 7.0 and 7.1 complain thusly:
3891 # icc: Command line warning: ignoring option '-M'; no argument required
3892 # The diagnosis changed in icc 8.0:
3893 # icc: Command line remark: option '-MP' not supported
3894 if (grep 'ignoring option' conftest.err ||
3895 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3896 am_cv_CC_dependencies_compiler_type=$depmode
3897 break
3898 fi
3899 fi
3900 done
3901
3902 cd ..
3903 rm -rf conftest.dir
3904 else
3905 am_cv_CC_dependencies_compiler_type=none
3906 fi
3907
3908 fi
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3910 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3911 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3912
3913 if
3914 test "x$enable_dependency_tracking" != xno \
3915 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3916 am__fastdepCC_TRUE=
3917 am__fastdepCC_FALSE='#'
3918 else
3919 am__fastdepCC_TRUE='#'
3920 am__fastdepCC_FALSE=
3921 fi
3922
3923
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3925 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3926 if ${ac_cv_prog_cc_c99+:} false; then :
3927 $as_echo_n "(cached) " >&6
3928 else
3929 ac_cv_prog_cc_c99=no
3930 ac_save_CC=$CC
3931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3932 /* end confdefs.h. */
3933 #include <stdarg.h>
3934 #include <stdbool.h>
3935 #include <stdlib.h>
3936 #include <wchar.h>
3937 #include <stdio.h>
3938
3939 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3940 #define debug(...) fprintf (stderr, __VA_ARGS__)
3941 #define showlist(...) puts (#__VA_ARGS__)
3942 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3943 static void
3944 test_varargs_macros (void)
3945 {
3946 int x = 1234;
3947 int y = 5678;
3948 debug ("Flag");
3949 debug ("X = %d\n", x);
3950 showlist (The first, second, and third items.);
3951 report (x>y, "x is %d but y is %d", x, y);
3952 }
3953
3954 // Check long long types.
3955 #define BIG64 18446744073709551615ull
3956 #define BIG32 4294967295ul
3957 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3958 #if !BIG_OK
3959 your preprocessor is broken;
3960 #endif
3961 #if BIG_OK
3962 #else
3963 your preprocessor is broken;
3964 #endif
3965 static long long int bignum = -9223372036854775807LL;
3966 static unsigned long long int ubignum = BIG64;
3967
3968 struct incomplete_array
3969 {
3970 int datasize;
3971 double data[];
3972 };
3973
3974 struct named_init {
3975 int number;
3976 const wchar_t *name;
3977 double average;
3978 };
3979
3980 typedef const char *ccp;
3981
3982 static inline int
3983 test_restrict (ccp restrict text)
3984 {
3985 // See if C++-style comments work.
3986 // Iterate through items via the restricted pointer.
3987 // Also check for declarations in for loops.
3988 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3989 continue;
3990 return 0;
3991 }
3992
3993 // Check varargs and va_copy.
3994 static void
3995 test_varargs (const char *format, ...)
3996 {
3997 va_list args;
3998 va_start (args, format);
3999 va_list args_copy;
4000 va_copy (args_copy, args);
4001
4002 const char *str;
4003 int number;
4004 float fnumber;
4005
4006 while (*format)
4007 {
4008 switch (*format++)
4009 {
4010 case 's': // string
4011 str = va_arg (args_copy, const char *);
4012 break;
4013 case 'd': // int
4014 number = va_arg (args_copy, int);
4015 break;
4016 case 'f': // float
4017 fnumber = va_arg (args_copy, double);
4018 break;
4019 default:
4020 break;
4021 }
4022 }
4023 va_end (args_copy);
4024 va_end (args);
4025 }
4026
4027 int
4028 main ()
4029 {
4030
4031 // Check bool.
4032 _Bool success = false;
4033
4034 // Check restrict.
4035 if (test_restrict ("String literal") == 0)
4036 success = true;
4037 char *restrict newvar = "Another string";
4038
4039 // Check varargs.
4040 test_varargs ("s, d' f .", "string", 65, 34.234);
4041 test_varargs_macros ();
4042
4043 // Check flexible array members.
4044 struct incomplete_array *ia =
4045 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4046 ia->datasize = 10;
4047 for (int i = 0; i < ia->datasize; ++i)
4048 ia->data[i] = i * 1.234;
4049
4050 // Check named initializers.
4051 struct named_init ni = {
4052 .number = 34,
4053 .name = L"Test wide string",
4054 .average = 543.34343,
4055 };
4056
4057 ni.number = 58;
4058
4059 int dynamic_array[ni.number];
4060 dynamic_array[ni.number - 1] = 543;
4061
4062 // work around unused variable warnings
4063 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4064 || dynamic_array[ni.number - 1] != 543);
4065
4066 ;
4067 return 0;
4068 }
4069 _ACEOF
4070 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4071 do
4072 CC="$ac_save_CC $ac_arg"
4073 if ac_fn_c_try_compile "$LINENO"; then :
4074 ac_cv_prog_cc_c99=$ac_arg
4075 fi
4076 rm -f core conftest.err conftest.$ac_objext
4077 test "x$ac_cv_prog_cc_c99" != "xno" && break
4078 done
4079 rm -f conftest.$ac_ext
4080 CC=$ac_save_CC
4081
4082 fi
4083 # AC_CACHE_VAL
4084 case "x$ac_cv_prog_cc_c99" in
4085 x)
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4087 $as_echo "none needed" >&6; } ;;
4088 xno)
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4090 $as_echo "unsupported" >&6; } ;;
4091 *)
4092 CC="$CC $ac_cv_prog_cc_c99"
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4094 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4095 esac
4096 if test "x$ac_cv_prog_cc_c99" != xno; then :
4097
4098 fi
4099
4100
4101 # Check whether --enable-static was given.
4102 if test "${enable_static+set}" = set; then :
4103 enableval=$enable_static; p=${PACKAGE-default}
4104 case $enableval in
4105 yes) enable_static=yes ;;
4106 no) enable_static=no ;;
4107 *)
4108 enable_static=no
4109 # Look at the argument we got. We use all the common list separators.
4110 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4111 for pkg in $enableval; do
4112 IFS="$lt_save_ifs"
4113 if test "X$pkg" = "X$p"; then
4114 enable_static=yes
4115 fi
4116 done
4117 IFS="$lt_save_ifs"
4118 ;;
4119 esac
4120 else
4121 enable_static=no
4122 fi
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132 # Make sure we can run config.sub.
4133 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4134 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4135
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4137 $as_echo_n "checking build system type... " >&6; }
4138 if ${ac_cv_build+:} false; then :
4139 $as_echo_n "(cached) " >&6
4140 else
4141 ac_build_alias=$build_alias
4142 test "x$ac_build_alias" = x &&
4143 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4144 test "x$ac_build_alias" = x &&
4145 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4146 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4147 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4148
4149 fi
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4151 $as_echo "$ac_cv_build" >&6; }
4152 case $ac_cv_build in
4153 *-*-*) ;;
4154 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4155 esac
4156 build=$ac_cv_build
4157 ac_save_IFS=$IFS; IFS='-'
4158 set x $ac_cv_build
4159 shift
4160 build_cpu=$1
4161 build_vendor=$2
4162 shift; shift
4163 # Remember, the first character of IFS is used to create $*,
4164 # except with old shells:
4165 build_os=$*
4166 IFS=$ac_save_IFS
4167 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4168
4169
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4171 $as_echo_n "checking host system type... " >&6; }
4172 if ${ac_cv_host+:} false; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 if test "x$host_alias" = x; then
4176 ac_cv_host=$ac_cv_build
4177 else
4178 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4179 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4180 fi
4181
4182 fi
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4184 $as_echo "$ac_cv_host" >&6; }
4185 case $ac_cv_host in
4186 *-*-*) ;;
4187 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4188 esac
4189 host=$ac_cv_host
4190 ac_save_IFS=$IFS; IFS='-'
4191 set x $ac_cv_host
4192 shift
4193 host_cpu=$1
4194 host_vendor=$2
4195 shift; shift
4196 # Remember, the first character of IFS is used to create $*,
4197 # except with old shells:
4198 host_os=$*
4199 IFS=$ac_save_IFS
4200 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4201
4202
4203 enable_win32_dll=yes
4204
4205 case $host in
4206 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4207 if test -n "$ac_tool_prefix"; then
4208 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4209 set dummy ${ac_tool_prefix}as; ac_word=$2
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4211 $as_echo_n "checking for $ac_word... " >&6; }
4212 if ${ac_cv_prog_AS+:} false; then :
4213 $as_echo_n "(cached) " >&6
4214 else
4215 if test -n "$AS"; then
4216 ac_cv_prog_AS="$AS" # Let the user override the test.
4217 else
4218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4219 for as_dir in $PATH
4220 do
4221 IFS=$as_save_IFS
4222 test -z "$as_dir" && as_dir=.
4223 for ac_exec_ext in '' $ac_executable_extensions; do
4224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4225 ac_cv_prog_AS="${ac_tool_prefix}as"
4226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4227 break 2
4228 fi
4229 done
4230 done
4231 IFS=$as_save_IFS
4232
4233 fi
4234 fi
4235 AS=$ac_cv_prog_AS
4236 if test -n "$AS"; then
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4238 $as_echo "$AS" >&6; }
4239 else
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4241 $as_echo "no" >&6; }
4242 fi
4243
4244
4245 fi
4246 if test -z "$ac_cv_prog_AS"; then
4247 ac_ct_AS=$AS
4248 # Extract the first word of "as", so it can be a program name with args.
4249 set dummy as; ac_word=$2
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4251 $as_echo_n "checking for $ac_word... " >&6; }
4252 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4253 $as_echo_n "(cached) " >&6
4254 else
4255 if test -n "$ac_ct_AS"; then
4256 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4257 else
4258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4259 for as_dir in $PATH
4260 do
4261 IFS=$as_save_IFS
4262 test -z "$as_dir" && as_dir=.
4263 for ac_exec_ext in '' $ac_executable_extensions; do
4264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4265 ac_cv_prog_ac_ct_AS="as"
4266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4267 break 2
4268 fi
4269 done
4270 done
4271 IFS=$as_save_IFS
4272
4273 fi
4274 fi
4275 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4276 if test -n "$ac_ct_AS"; then
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4278 $as_echo "$ac_ct_AS" >&6; }
4279 else
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4281 $as_echo "no" >&6; }
4282 fi
4283
4284 if test "x$ac_ct_AS" = x; then
4285 AS="false"
4286 else
4287 case $cross_compiling:$ac_tool_warned in
4288 yes:)
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4291 ac_tool_warned=yes ;;
4292 esac
4293 AS=$ac_ct_AS
4294 fi
4295 else
4296 AS="$ac_cv_prog_AS"
4297 fi
4298
4299 if test -n "$ac_tool_prefix"; then
4300 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4301 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4303 $as_echo_n "checking for $ac_word... " >&6; }
4304 if ${ac_cv_prog_DLLTOOL+:} false; then :
4305 $as_echo_n "(cached) " >&6
4306 else
4307 if test -n "$DLLTOOL"; then
4308 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4309 else
4310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311 for as_dir in $PATH
4312 do
4313 IFS=$as_save_IFS
4314 test -z "$as_dir" && as_dir=.
4315 for ac_exec_ext in '' $ac_executable_extensions; do
4316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4317 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4319 break 2
4320 fi
4321 done
4322 done
4323 IFS=$as_save_IFS
4324
4325 fi
4326 fi
4327 DLLTOOL=$ac_cv_prog_DLLTOOL
4328 if test -n "$DLLTOOL"; then
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4330 $as_echo "$DLLTOOL" >&6; }
4331 else
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4333 $as_echo "no" >&6; }
4334 fi
4335
4336
4337 fi
4338 if test -z "$ac_cv_prog_DLLTOOL"; then
4339 ac_ct_DLLTOOL=$DLLTOOL
4340 # Extract the first word of "dlltool", so it can be a program name with args.
4341 set dummy dlltool; ac_word=$2
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4343 $as_echo_n "checking for $ac_word... " >&6; }
4344 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4345 $as_echo_n "(cached) " >&6
4346 else
4347 if test -n "$ac_ct_DLLTOOL"; then
4348 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4349 else
4350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4351 for as_dir in $PATH
4352 do
4353 IFS=$as_save_IFS
4354 test -z "$as_dir" && as_dir=.
4355 for ac_exec_ext in '' $ac_executable_extensions; do
4356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4357 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4359 break 2
4360 fi
4361 done
4362 done
4363 IFS=$as_save_IFS
4364
4365 fi
4366 fi
4367 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4368 if test -n "$ac_ct_DLLTOOL"; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4370 $as_echo "$ac_ct_DLLTOOL" >&6; }
4371 else
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4374 fi
4375
4376 if test "x$ac_ct_DLLTOOL" = x; then
4377 DLLTOOL="false"
4378 else
4379 case $cross_compiling:$ac_tool_warned in
4380 yes:)
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4383 ac_tool_warned=yes ;;
4384 esac
4385 DLLTOOL=$ac_ct_DLLTOOL
4386 fi
4387 else
4388 DLLTOOL="$ac_cv_prog_DLLTOOL"
4389 fi
4390
4391 if test -n "$ac_tool_prefix"; then
4392 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4393 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if ${ac_cv_prog_OBJDUMP+:} false; then :
4397 $as_echo_n "(cached) " >&6
4398 else
4399 if test -n "$OBJDUMP"; then
4400 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4401 else
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 for as_dir in $PATH
4404 do
4405 IFS=$as_save_IFS
4406 test -z "$as_dir" && as_dir=.
4407 for ac_exec_ext in '' $ac_executable_extensions; do
4408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4411 break 2
4412 fi
4413 done
4414 done
4415 IFS=$as_save_IFS
4416
4417 fi
4418 fi
4419 OBJDUMP=$ac_cv_prog_OBJDUMP
4420 if test -n "$OBJDUMP"; then
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4422 $as_echo "$OBJDUMP" >&6; }
4423 else
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4426 fi
4427
4428
4429 fi
4430 if test -z "$ac_cv_prog_OBJDUMP"; then
4431 ac_ct_OBJDUMP=$OBJDUMP
4432 # Extract the first word of "objdump", so it can be a program name with args.
4433 set dummy objdump; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 if test -n "$ac_ct_OBJDUMP"; then
4440 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4441 else
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4444 do
4445 IFS=$as_save_IFS
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4449 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 break 2
4452 fi
4453 done
4454 done
4455 IFS=$as_save_IFS
4456
4457 fi
4458 fi
4459 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4460 if test -n "$ac_ct_OBJDUMP"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4462 $as_echo "$ac_ct_OBJDUMP" >&6; }
4463 else
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4466 fi
4467
4468 if test "x$ac_ct_OBJDUMP" = x; then
4469 OBJDUMP="false"
4470 else
4471 case $cross_compiling:$ac_tool_warned in
4472 yes:)
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4475 ac_tool_warned=yes ;;
4476 esac
4477 OBJDUMP=$ac_ct_OBJDUMP
4478 fi
4479 else
4480 OBJDUMP="$ac_cv_prog_OBJDUMP"
4481 fi
4482
4483 ;;
4484 esac
4485
4486 test -z "$AS" && AS=as
4487
4488
4489
4490
4491
4492 test -z "$DLLTOOL" && DLLTOOL=dlltool
4493
4494
4495
4496
4497
4498 test -z "$OBJDUMP" && OBJDUMP=objdump
4499
4500
4501
4502
4503
4504
4505
4506 case `pwd` in
4507 *\ * | *\ *)
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4509 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4510 esac
4511
4512
4513
4514 macro_version='2.4.2'
4515 macro_revision='1.3337'
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529 ltmain="$ac_aux_dir/ltmain.sh"
4530
4531 # Backslashify metacharacters that are still active within
4532 # double-quoted strings.
4533 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4534
4535 # Same as above, but do not quote variable references.
4536 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4537
4538 # Sed substitution to delay expansion of an escaped shell variable in a
4539 # double_quote_subst'ed string.
4540 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4541
4542 # Sed substitution to delay expansion of an escaped single quote.
4543 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4544
4545 # Sed substitution to avoid accidental globbing in evaled expressions
4546 no_glob_subst='s/\*/\\\*/g'
4547
4548 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4549 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4550 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4551
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4553 $as_echo_n "checking how to print strings... " >&6; }
4554 # Test print first, because it will be a builtin if present.
4555 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4556 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4557 ECHO='print -r --'
4558 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4559 ECHO='printf %s\n'
4560 else
4561 # Use this function as a fallback that always works.
4562 func_fallback_echo ()
4563 {
4564 eval 'cat <<_LTECHO_EOF
4565 $1
4566 _LTECHO_EOF'
4567 }
4568 ECHO='func_fallback_echo'
4569 fi
4570
4571 # func_echo_all arg...
4572 # Invoke $ECHO with all args, space-separated.
4573 func_echo_all ()
4574 {
4575 $ECHO ""
4576 }
4577
4578 case "$ECHO" in
4579 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4580 $as_echo "printf" >&6; } ;;
4581 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4582 $as_echo "print -r" >&6; } ;;
4583 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4584 $as_echo "cat" >&6; } ;;
4585 esac
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4601 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4602 if ${ac_cv_path_SED+:} false; then :
4603 $as_echo_n "(cached) " >&6
4604 else
4605 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4606 for ac_i in 1 2 3 4 5 6 7; do
4607 ac_script="$ac_script$as_nl$ac_script"
4608 done
4609 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4610 { ac_script=; unset ac_script;}
4611 if test -z "$SED"; then
4612 ac_path_SED_found=false
4613 # Loop through the user's path and test for each of PROGNAME-LIST
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH
4616 do
4617 IFS=$as_save_IFS
4618 test -z "$as_dir" && as_dir=.
4619 for ac_prog in sed gsed; do
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4622 as_fn_executable_p "$ac_path_SED" || continue
4623 # Check for GNU ac_path_SED and select it if it is found.
4624 # Check for GNU $ac_path_SED
4625 case `"$ac_path_SED" --version 2>&1` in
4626 *GNU*)
4627 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4628 *)
4629 ac_count=0
4630 $as_echo_n 0123456789 >"conftest.in"
4631 while :
4632 do
4633 cat "conftest.in" "conftest.in" >"conftest.tmp"
4634 mv "conftest.tmp" "conftest.in"
4635 cp "conftest.in" "conftest.nl"
4636 $as_echo '' >> "conftest.nl"
4637 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4638 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4639 as_fn_arith $ac_count + 1 && ac_count=$as_val
4640 if test $ac_count -gt ${ac_path_SED_max-0}; then
4641 # Best one so far, save it but keep looking for a better one
4642 ac_cv_path_SED="$ac_path_SED"
4643 ac_path_SED_max=$ac_count
4644 fi
4645 # 10*(2^10) chars as input seems more than enough
4646 test $ac_count -gt 10 && break
4647 done
4648 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4649 esac
4650
4651 $ac_path_SED_found && break 3
4652 done
4653 done
4654 done
4655 IFS=$as_save_IFS
4656 if test -z "$ac_cv_path_SED"; then
4657 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4658 fi
4659 else
4660 ac_cv_path_SED=$SED
4661 fi
4662
4663 fi
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4665 $as_echo "$ac_cv_path_SED" >&6; }
4666 SED="$ac_cv_path_SED"
4667 rm -f conftest.sed
4668
4669 test -z "$SED" && SED=sed
4670 Xsed="$SED -e 1s/^X//"
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4683 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4684 if ${ac_cv_path_GREP+:} false; then :
4685 $as_echo_n "(cached) " >&6
4686 else
4687 if test -z "$GREP"; then
4688 ac_path_GREP_found=false
4689 # Loop through the user's path and test for each of PROGNAME-LIST
4690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4691 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4692 do
4693 IFS=$as_save_IFS
4694 test -z "$as_dir" && as_dir=.
4695 for ac_prog in grep ggrep; do
4696 for ac_exec_ext in '' $ac_executable_extensions; do
4697 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4698 as_fn_executable_p "$ac_path_GREP" || continue
4699 # Check for GNU ac_path_GREP and select it if it is found.
4700 # Check for GNU $ac_path_GREP
4701 case `"$ac_path_GREP" --version 2>&1` in
4702 *GNU*)
4703 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4704 *)
4705 ac_count=0
4706 $as_echo_n 0123456789 >"conftest.in"
4707 while :
4708 do
4709 cat "conftest.in" "conftest.in" >"conftest.tmp"
4710 mv "conftest.tmp" "conftest.in"
4711 cp "conftest.in" "conftest.nl"
4712 $as_echo 'GREP' >> "conftest.nl"
4713 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4714 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4715 as_fn_arith $ac_count + 1 && ac_count=$as_val
4716 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4717 # Best one so far, save it but keep looking for a better one
4718 ac_cv_path_GREP="$ac_path_GREP"
4719 ac_path_GREP_max=$ac_count
4720 fi
4721 # 10*(2^10) chars as input seems more than enough
4722 test $ac_count -gt 10 && break
4723 done
4724 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4725 esac
4726
4727 $ac_path_GREP_found && break 3
4728 done
4729 done
4730 done
4731 IFS=$as_save_IFS
4732 if test -z "$ac_cv_path_GREP"; then
4733 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4734 fi
4735 else
4736 ac_cv_path_GREP=$GREP
4737 fi
4738
4739 fi
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4741 $as_echo "$ac_cv_path_GREP" >&6; }
4742 GREP="$ac_cv_path_GREP"
4743
4744
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4746 $as_echo_n "checking for egrep... " >&6; }
4747 if ${ac_cv_path_EGREP+:} false; then :
4748 $as_echo_n "(cached) " >&6
4749 else
4750 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4751 then ac_cv_path_EGREP="$GREP -E"
4752 else
4753 if test -z "$EGREP"; then
4754 ac_path_EGREP_found=false
4755 # Loop through the user's path and test for each of PROGNAME-LIST
4756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4757 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4758 do
4759 IFS=$as_save_IFS
4760 test -z "$as_dir" && as_dir=.
4761 for ac_prog in egrep; do
4762 for ac_exec_ext in '' $ac_executable_extensions; do
4763 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4764 as_fn_executable_p "$ac_path_EGREP" || continue
4765 # Check for GNU ac_path_EGREP and select it if it is found.
4766 # Check for GNU $ac_path_EGREP
4767 case `"$ac_path_EGREP" --version 2>&1` in
4768 *GNU*)
4769 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4770 *)
4771 ac_count=0
4772 $as_echo_n 0123456789 >"conftest.in"
4773 while :
4774 do
4775 cat "conftest.in" "conftest.in" >"conftest.tmp"
4776 mv "conftest.tmp" "conftest.in"
4777 cp "conftest.in" "conftest.nl"
4778 $as_echo 'EGREP' >> "conftest.nl"
4779 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4780 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4781 as_fn_arith $ac_count + 1 && ac_count=$as_val
4782 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4783 # Best one so far, save it but keep looking for a better one
4784 ac_cv_path_EGREP="$ac_path_EGREP"
4785 ac_path_EGREP_max=$ac_count
4786 fi
4787 # 10*(2^10) chars as input seems more than enough
4788 test $ac_count -gt 10 && break
4789 done
4790 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4791 esac
4792
4793 $ac_path_EGREP_found && break 3
4794 done
4795 done
4796 done
4797 IFS=$as_save_IFS
4798 if test -z "$ac_cv_path_EGREP"; then
4799 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4800 fi
4801 else
4802 ac_cv_path_EGREP=$EGREP
4803 fi
4804
4805 fi
4806 fi
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4808 $as_echo "$ac_cv_path_EGREP" >&6; }
4809 EGREP="$ac_cv_path_EGREP"
4810
4811
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4813 $as_echo_n "checking for fgrep... " >&6; }
4814 if ${ac_cv_path_FGREP+:} false; then :
4815 $as_echo_n "(cached) " >&6
4816 else
4817 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4818 then ac_cv_path_FGREP="$GREP -F"
4819 else
4820 if test -z "$FGREP"; then
4821 ac_path_FGREP_found=false
4822 # Loop through the user's path and test for each of PROGNAME-LIST
4823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4824 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4825 do
4826 IFS=$as_save_IFS
4827 test -z "$as_dir" && as_dir=.
4828 for ac_prog in fgrep; do
4829 for ac_exec_ext in '' $ac_executable_extensions; do
4830 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4831 as_fn_executable_p "$ac_path_FGREP" || continue
4832 # Check for GNU ac_path_FGREP and select it if it is found.
4833 # Check for GNU $ac_path_FGREP
4834 case `"$ac_path_FGREP" --version 2>&1` in
4835 *GNU*)
4836 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4837 *)
4838 ac_count=0
4839 $as_echo_n 0123456789 >"conftest.in"
4840 while :
4841 do
4842 cat "conftest.in" "conftest.in" >"conftest.tmp"
4843 mv "conftest.tmp" "conftest.in"
4844 cp "conftest.in" "conftest.nl"
4845 $as_echo 'FGREP' >> "conftest.nl"
4846 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4847 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4848 as_fn_arith $ac_count + 1 && ac_count=$as_val
4849 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4850 # Best one so far, save it but keep looking for a better one
4851 ac_cv_path_FGREP="$ac_path_FGREP"
4852 ac_path_FGREP_max=$ac_count
4853 fi
4854 # 10*(2^10) chars as input seems more than enough
4855 test $ac_count -gt 10 && break
4856 done
4857 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4858 esac
4859
4860 $ac_path_FGREP_found && break 3
4861 done
4862 done
4863 done
4864 IFS=$as_save_IFS
4865 if test -z "$ac_cv_path_FGREP"; then
4866 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4867 fi
4868 else
4869 ac_cv_path_FGREP=$FGREP
4870 fi
4871
4872 fi
4873 fi
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4875 $as_echo "$ac_cv_path_FGREP" >&6; }
4876 FGREP="$ac_cv_path_FGREP"
4877
4878
4879 test -z "$GREP" && GREP=grep
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899 # Check whether --with-gnu-ld was given.
4900 if test "${with_gnu_ld+set}" = set; then :
4901 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4902 else
4903 with_gnu_ld=no
4904 fi
4905
4906 ac_prog=ld
4907 if test "$GCC" = yes; then
4908 # Check if gcc -print-prog-name=ld gives a path.
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4910 $as_echo_n "checking for ld used by $CC... " >&6; }
4911 case $host in
4912 *-*-mingw*)
4913 # gcc leaves a trailing carriage return which upsets mingw
4914 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4915 *)
4916 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4917 esac
4918 case $ac_prog in
4919 # Accept absolute paths.
4920 [\\/]* | ?:[\\/]*)
4921 re_direlt='/[^/][^/]*/\.\./'
4922 # Canonicalize the pathname of ld
4923 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4924 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4925 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4926 done
4927 test -z "$LD" && LD="$ac_prog"
4928 ;;
4929 "")
4930 # If it fails, then pretend we aren't using GCC.
4931 ac_prog=ld
4932 ;;
4933 *)
4934 # If it is relative, then search for the first ld in PATH.
4935 with_gnu_ld=unknown
4936 ;;
4937 esac
4938 elif test "$with_gnu_ld" = yes; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4940 $as_echo_n "checking for GNU ld... " >&6; }
4941 else
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4943 $as_echo_n "checking for non-GNU ld... " >&6; }
4944 fi
4945 if ${lt_cv_path_LD+:} false; then :
4946 $as_echo_n "(cached) " >&6
4947 else
4948 if test -z "$LD"; then
4949 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4950 for ac_dir in $PATH; do
4951 IFS="$lt_save_ifs"
4952 test -z "$ac_dir" && ac_dir=.
4953 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4954 lt_cv_path_LD="$ac_dir/$ac_prog"
4955 # Check to see if the program is GNU ld. I'd rather use --version,
4956 # but apparently some variants of GNU ld only accept -v.
4957 # Break only if it was the GNU/non-GNU ld that we prefer.
4958 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4959 *GNU* | *'with BFD'*)
4960 test "$with_gnu_ld" != no && break
4961 ;;
4962 *)
4963 test "$with_gnu_ld" != yes && break
4964 ;;
4965 esac
4966 fi
4967 done
4968 IFS="$lt_save_ifs"
4969 else
4970 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4971 fi
4972 fi
4973
4974 LD="$lt_cv_path_LD"
4975 if test -n "$LD"; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4977 $as_echo "$LD" >&6; }
4978 else
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4980 $as_echo "no" >&6; }
4981 fi
4982 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4984 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4985 if ${lt_cv_prog_gnu_ld+:} false; then :
4986 $as_echo_n "(cached) " >&6
4987 else
4988 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4989 case `$LD -v 2>&1 </dev/null` in
4990 *GNU* | *'with BFD'*)
4991 lt_cv_prog_gnu_ld=yes
4992 ;;
4993 *)
4994 lt_cv_prog_gnu_ld=no
4995 ;;
4996 esac
4997 fi
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4999 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5000 with_gnu_ld=$lt_cv_prog_gnu_ld
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5011 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5012 if ${lt_cv_path_NM+:} false; then :
5013 $as_echo_n "(cached) " >&6
5014 else
5015 if test -n "$NM"; then
5016 # Let the user override the test.
5017 lt_cv_path_NM="$NM"
5018 else
5019 lt_nm_to_check="${ac_tool_prefix}nm"
5020 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5021 lt_nm_to_check="$lt_nm_to_check nm"
5022 fi
5023 for lt_tmp_nm in $lt_nm_to_check; do
5024 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5025 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5026 IFS="$lt_save_ifs"
5027 test -z "$ac_dir" && ac_dir=.
5028 tmp_nm="$ac_dir/$lt_tmp_nm"
5029 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5030 # Check to see if the nm accepts a BSD-compat flag.
5031 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5032 # nm: unknown option "B" ignored
5033 # Tru64's nm complains that /dev/null is an invalid object file
5034 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5035 */dev/null* | *'Invalid file or object type'*)
5036 lt_cv_path_NM="$tmp_nm -B"
5037 break
5038 ;;
5039 *)
5040 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5041 */dev/null*)
5042 lt_cv_path_NM="$tmp_nm -p"
5043 break
5044 ;;
5045 *)
5046 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5047 continue # so that we can try to find one that supports BSD flags
5048 ;;
5049 esac
5050 ;;
5051 esac
5052 fi
5053 done
5054 IFS="$lt_save_ifs"
5055 done
5056 : ${lt_cv_path_NM=no}
5057 fi
5058 fi
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5060 $as_echo "$lt_cv_path_NM" >&6; }
5061 if test "$lt_cv_path_NM" != "no"; then
5062 NM="$lt_cv_path_NM"
5063 else
5064 # Didn't find any BSD compatible name lister, look for dumpbin.
5065 if test -n "$DUMPBIN"; then :
5066 # Let the user override the test.
5067 else
5068 if test -n "$ac_tool_prefix"; then
5069 for ac_prog in dumpbin "link -dump"
5070 do
5071 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5072 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074 $as_echo_n "checking for $ac_word... " >&6; }
5075 if ${ac_cv_prog_DUMPBIN+:} false; then :
5076 $as_echo_n "(cached) " >&6
5077 else
5078 if test -n "$DUMPBIN"; then
5079 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5080 else
5081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5082 for as_dir in $PATH
5083 do
5084 IFS=$as_save_IFS
5085 test -z "$as_dir" && as_dir=.
5086 for ac_exec_ext in '' $ac_executable_extensions; do
5087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5088 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5090 break 2
5091 fi
5092 done
5093 done
5094 IFS=$as_save_IFS
5095
5096 fi
5097 fi
5098 DUMPBIN=$ac_cv_prog_DUMPBIN
5099 if test -n "$DUMPBIN"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5101 $as_echo "$DUMPBIN" >&6; }
5102 else
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5105 fi
5106
5107
5108 test -n "$DUMPBIN" && break
5109 done
5110 fi
5111 if test -z "$DUMPBIN"; then
5112 ac_ct_DUMPBIN=$DUMPBIN
5113 for ac_prog in dumpbin "link -dump"
5114 do
5115 # Extract the first word of "$ac_prog", so it can be a program name with args.
5116 set dummy $ac_prog; ac_word=$2
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5118 $as_echo_n "checking for $ac_word... " >&6; }
5119 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5120 $as_echo_n "(cached) " >&6
5121 else
5122 if test -n "$ac_ct_DUMPBIN"; then
5123 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5124 else
5125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5126 for as_dir in $PATH
5127 do
5128 IFS=$as_save_IFS
5129 test -z "$as_dir" && as_dir=.
5130 for ac_exec_ext in '' $ac_executable_extensions; do
5131 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5132 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5134 break 2
5135 fi
5136 done
5137 done
5138 IFS=$as_save_IFS
5139
5140 fi
5141 fi
5142 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5143 if test -n "$ac_ct_DUMPBIN"; then
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5145 $as_echo "$ac_ct_DUMPBIN" >&6; }
5146 else
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148 $as_echo "no" >&6; }
5149 fi
5150
5151
5152 test -n "$ac_ct_DUMPBIN" && break
5153 done
5154
5155 if test "x$ac_ct_DUMPBIN" = x; then
5156 DUMPBIN=":"
5157 else
5158 case $cross_compiling:$ac_tool_warned in
5159 yes:)
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5162 ac_tool_warned=yes ;;
5163 esac
5164 DUMPBIN=$ac_ct_DUMPBIN
5165 fi
5166 fi
5167
5168 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5169 *COFF*)
5170 DUMPBIN="$DUMPBIN -symbols"
5171 ;;
5172 *)
5173 DUMPBIN=:
5174 ;;
5175 esac
5176 fi
5177
5178 if test "$DUMPBIN" != ":"; then
5179 NM="$DUMPBIN"
5180 fi
5181 fi
5182 test -z "$NM" && NM=nm
5183
5184
5185
5186
5187
5188
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5190 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5191 if ${lt_cv_nm_interface+:} false; then :
5192 $as_echo_n "(cached) " >&6
5193 else
5194 lt_cv_nm_interface="BSD nm"
5195 echo "int some_variable = 0;" > conftest.$ac_ext
5196 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5197 (eval "$ac_compile" 2>conftest.err)
5198 cat conftest.err >&5
5199 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5200 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5201 cat conftest.err >&5
5202 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5203 cat conftest.out >&5
5204 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5205 lt_cv_nm_interface="MS dumpbin"
5206 fi
5207 rm -f conftest*
5208 fi
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5210 $as_echo "$lt_cv_nm_interface" >&6; }
5211
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5213 $as_echo_n "checking whether ln -s works... " >&6; }
5214 LN_S=$as_ln_s
5215 if test "$LN_S" = "ln -s"; then
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5217 $as_echo "yes" >&6; }
5218 else
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5220 $as_echo "no, using $LN_S" >&6; }
5221 fi
5222
5223 # find the maximum length of command line arguments
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5225 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5226 if ${lt_cv_sys_max_cmd_len+:} false; then :
5227 $as_echo_n "(cached) " >&6
5228 else
5229 i=0
5230 teststring="ABCD"
5231
5232 case $build_os in
5233 msdosdjgpp*)
5234 # On DJGPP, this test can blow up pretty badly due to problems in libc
5235 # (any single argument exceeding 2000 bytes causes a buffer overrun
5236 # during glob expansion). Even if it were fixed, the result of this
5237 # check would be larger than it should be.
5238 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5239 ;;
5240
5241 gnu*)
5242 # Under GNU Hurd, this test is not required because there is
5243 # no limit to the length of command line arguments.
5244 # Libtool will interpret -1 as no limit whatsoever
5245 lt_cv_sys_max_cmd_len=-1;
5246 ;;
5247
5248 cygwin* | mingw* | cegcc*)
5249 # On Win9x/ME, this test blows up -- it succeeds, but takes
5250 # about 5 minutes as the teststring grows exponentially.
5251 # Worse, since 9x/ME are not pre-emptively multitasking,
5252 # you end up with a "frozen" computer, even though with patience
5253 # the test eventually succeeds (with a max line length of 256k).
5254 # Instead, let's just punt: use the minimum linelength reported by
5255 # all of the supported platforms: 8192 (on NT/2K/XP).
5256 lt_cv_sys_max_cmd_len=8192;
5257 ;;
5258
5259 mint*)
5260 # On MiNT this can take a long time and run out of memory.
5261 lt_cv_sys_max_cmd_len=8192;
5262 ;;
5263
5264 amigaos*)
5265 # On AmigaOS with pdksh, this test takes hours, literally.
5266 # So we just punt and use a minimum line length of 8192.
5267 lt_cv_sys_max_cmd_len=8192;
5268 ;;
5269
5270 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5271 # This has been around since 386BSD, at least. Likely further.
5272 if test -x /sbin/sysctl; then
5273 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5274 elif test -x /usr/sbin/sysctl; then
5275 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5276 else
5277 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5278 fi
5279 # And add a safety zone
5280 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5281 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5282 ;;
5283
5284 interix*)
5285 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5286 lt_cv_sys_max_cmd_len=196608
5287 ;;
5288
5289 os2*)
5290 # The test takes a long time on OS/2.
5291 lt_cv_sys_max_cmd_len=8192
5292 ;;
5293
5294 osf*)
5295 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5296 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5297 # nice to cause kernel panics so lets avoid the loop below.
5298 # First set a reasonable default.
5299 lt_cv_sys_max_cmd_len=16384
5300 #
5301 if test -x /sbin/sysconfig; then
5302 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5303 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5304 esac
5305 fi
5306 ;;
5307 sco3.2v5*)
5308 lt_cv_sys_max_cmd_len=102400
5309 ;;
5310 sysv5* | sco5v6* | sysv4.2uw2*)
5311 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5312 if test -n "$kargmax"; then
5313 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5314 else
5315 lt_cv_sys_max_cmd_len=32768
5316 fi
5317 ;;
5318 *)
5319 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5320 if test -n "$lt_cv_sys_max_cmd_len"; then
5321 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5322 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5323 else
5324 # Make teststring a little bigger before we do anything with it.
5325 # a 1K string should be a reasonable start.
5326 for i in 1 2 3 4 5 6 7 8 ; do
5327 teststring=$teststring$teststring
5328 done
5329 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5330 # If test is not a shell built-in, we'll probably end up computing a
5331 # maximum length that is only half of the actual maximum length, but
5332 # we can't tell.
5333 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5334 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5335 test $i != 17 # 1/2 MB should be enough
5336 do
5337 i=`expr $i + 1`
5338 teststring=$teststring$teststring
5339 done
5340 # Only check the string length outside the loop.
5341 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5342 teststring=
5343 # Add a significant safety factor because C++ compilers can tack on
5344 # massive amounts of additional arguments before passing them to the
5345 # linker. It appears as though 1/2 is a usable value.
5346 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5347 fi
5348 ;;
5349 esac
5350
5351 fi
5352
5353 if test -n $lt_cv_sys_max_cmd_len ; then
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5355 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5356 else
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5358 $as_echo "none" >&6; }
5359 fi
5360 max_cmd_len=$lt_cv_sys_max_cmd_len
5361
5362
5363
5364
5365
5366
5367 : ${CP="cp -f"}
5368 : ${MV="mv -f"}
5369 : ${RM="rm -f"}
5370
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5372 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5373 # Try some XSI features
5374 xsi_shell=no
5375 ( _lt_dummy="a/b/c"
5376 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5377 = c,a/b,b/c, \
5378 && eval 'test $(( 1 + 1 )) -eq 2 \
5379 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5380 && xsi_shell=yes
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5382 $as_echo "$xsi_shell" >&6; }
5383
5384
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5386 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5387 lt_shell_append=no
5388 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5389 >/dev/null 2>&1 \
5390 && lt_shell_append=yes
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5392 $as_echo "$lt_shell_append" >&6; }
5393
5394
5395 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5396 lt_unset=unset
5397 else
5398 lt_unset=false
5399 fi
5400
5401
5402
5403
5404
5405 # test EBCDIC or ASCII
5406 case `echo X|tr X '\101'` in
5407 A) # ASCII based system
5408 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5409 lt_SP2NL='tr \040 \012'
5410 lt_NL2SP='tr \015\012 \040\040'
5411 ;;
5412 *) # EBCDIC based system
5413 lt_SP2NL='tr \100 \n'
5414 lt_NL2SP='tr \r\n \100\100'
5415 ;;
5416 esac
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5427 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5428 if ${lt_cv_to_host_file_cmd+:} false; then :
5429 $as_echo_n "(cached) " >&6
5430 else
5431 case $host in
5432 *-*-mingw* )
5433 case $build in
5434 *-*-mingw* ) # actually msys
5435 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5436 ;;
5437 *-*-cygwin* )
5438 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5439 ;;
5440 * ) # otherwise, assume *nix
5441 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5442 ;;
5443 esac
5444 ;;
5445 *-*-cygwin* )
5446 case $build in
5447 *-*-mingw* ) # actually msys
5448 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5449 ;;
5450 *-*-cygwin* )
5451 lt_cv_to_host_file_cmd=func_convert_file_noop
5452 ;;
5453 * ) # otherwise, assume *nix
5454 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5455 ;;
5456 esac
5457 ;;
5458 * ) # unhandled hosts (and "normal" native builds)
5459 lt_cv_to_host_file_cmd=func_convert_file_noop
5460 ;;
5461 esac
5462
5463 fi
5464
5465 to_host_file_cmd=$lt_cv_to_host_file_cmd
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5467 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5468
5469
5470
5471
5472
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5474 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5475 if ${lt_cv_to_tool_file_cmd+:} false; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 #assume ordinary cross tools, or native build.
5479 lt_cv_to_tool_file_cmd=func_convert_file_noop
5480 case $host in
5481 *-*-mingw* )
5482 case $build in
5483 *-*-mingw* ) # actually msys
5484 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5485 ;;
5486 esac
5487 ;;
5488 esac
5489
5490 fi
5491
5492 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5494 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5495
5496
5497
5498
5499
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5501 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5502 if ${lt_cv_ld_reload_flag+:} false; then :
5503 $as_echo_n "(cached) " >&6
5504 else
5505 lt_cv_ld_reload_flag='-r'
5506 fi
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5508 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5509 reload_flag=$lt_cv_ld_reload_flag
5510 case $reload_flag in
5511 "" | " "*) ;;
5512 *) reload_flag=" $reload_flag" ;;
5513 esac
5514 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5515 case $host_os in
5516 cygwin* | mingw* | pw32* | cegcc*)
5517 if test "$GCC" != yes; then
5518 reload_cmds=false
5519 fi
5520 ;;
5521 darwin*)
5522 if test "$GCC" = yes; then
5523 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5524 else
5525 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5526 fi
5527 ;;
5528 esac
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538 if test -n "$ac_tool_prefix"; then
5539 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5540 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542 $as_echo_n "checking for $ac_word... " >&6; }
5543 if ${ac_cv_prog_OBJDUMP+:} false; then :
5544 $as_echo_n "(cached) " >&6
5545 else
5546 if test -n "$OBJDUMP"; then
5547 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5548 else
5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550 for as_dir in $PATH
5551 do
5552 IFS=$as_save_IFS
5553 test -z "$as_dir" && as_dir=.
5554 for ac_exec_ext in '' $ac_executable_extensions; do
5555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5556 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 break 2
5559 fi
5560 done
5561 done
5562 IFS=$as_save_IFS
5563
5564 fi
5565 fi
5566 OBJDUMP=$ac_cv_prog_OBJDUMP
5567 if test -n "$OBJDUMP"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5569 $as_echo "$OBJDUMP" >&6; }
5570 else
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572 $as_echo "no" >&6; }
5573 fi
5574
5575
5576 fi
5577 if test -z "$ac_cv_prog_OBJDUMP"; then
5578 ac_ct_OBJDUMP=$OBJDUMP
5579 # Extract the first word of "objdump", so it can be a program name with args.
5580 set dummy objdump; ac_word=$2
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5582 $as_echo_n "checking for $ac_word... " >&6; }
5583 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5584 $as_echo_n "(cached) " >&6
5585 else
5586 if test -n "$ac_ct_OBJDUMP"; then
5587 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5588 else
5589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5590 for as_dir in $PATH
5591 do
5592 IFS=$as_save_IFS
5593 test -z "$as_dir" && as_dir=.
5594 for ac_exec_ext in '' $ac_executable_extensions; do
5595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5596 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598 break 2
5599 fi
5600 done
5601 done
5602 IFS=$as_save_IFS
5603
5604 fi
5605 fi
5606 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5607 if test -n "$ac_ct_OBJDUMP"; then
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5609 $as_echo "$ac_ct_OBJDUMP" >&6; }
5610 else
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5613 fi
5614
5615 if test "x$ac_ct_OBJDUMP" = x; then
5616 OBJDUMP="false"
5617 else
5618 case $cross_compiling:$ac_tool_warned in
5619 yes:)
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5622 ac_tool_warned=yes ;;
5623 esac
5624 OBJDUMP=$ac_ct_OBJDUMP
5625 fi
5626 else
5627 OBJDUMP="$ac_cv_prog_OBJDUMP"
5628 fi
5629
5630 test -z "$OBJDUMP" && OBJDUMP=objdump
5631
5632
5633
5634
5635
5636
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5638 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5639 if ${lt_cv_deplibs_check_method+:} false; then :
5640 $as_echo_n "(cached) " >&6
5641 else
5642 lt_cv_file_magic_cmd='$MAGIC_CMD'
5643 lt_cv_file_magic_test_file=
5644 lt_cv_deplibs_check_method='unknown'
5645 # Need to set the preceding variable on all platforms that support
5646 # interlibrary dependencies.
5647 # 'none' -- dependencies not supported.
5648 # `unknown' -- same as none, but documents that we really don't know.
5649 # 'pass_all' -- all dependencies passed with no checks.
5650 # 'test_compile' -- check by making test program.
5651 # 'file_magic [[regex]]' -- check by looking for files in library path
5652 # which responds to the $file_magic_cmd with a given extended regex.
5653 # If you have `file' or equivalent on your system and you're not sure
5654 # whether `pass_all' will *always* work, you probably want this one.
5655
5656 case $host_os in
5657 aix[4-9]*)
5658 lt_cv_deplibs_check_method=pass_all
5659 ;;
5660
5661 beos*)
5662 lt_cv_deplibs_check_method=pass_all
5663 ;;
5664
5665 bsdi[45]*)
5666 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5667 lt_cv_file_magic_cmd='/usr/bin/file -L'
5668 lt_cv_file_magic_test_file=/shlib/libc.so
5669 ;;
5670
5671 cygwin*)
5672 # func_win32_libid is a shell function defined in ltmain.sh
5673 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5674 lt_cv_file_magic_cmd='func_win32_libid'
5675 ;;
5676
5677 mingw* | pw32*)
5678 # Base MSYS/MinGW do not provide the 'file' command needed by
5679 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5680 # unless we find 'file', for example because we are cross-compiling.
5681 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5682 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5683 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5684 lt_cv_file_magic_cmd='func_win32_libid'
5685 else
5686 # Keep this pattern in sync with the one in func_win32_libid.
5687 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5688 lt_cv_file_magic_cmd='$OBJDUMP -f'
5689 fi
5690 ;;
5691
5692 cegcc*)
5693 # use the weaker test based on 'objdump'. See mingw*.
5694 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5695 lt_cv_file_magic_cmd='$OBJDUMP -f'
5696 ;;
5697
5698 darwin* | rhapsody*)
5699 lt_cv_deplibs_check_method=pass_all
5700 ;;
5701
5702 freebsd* | dragonfly*)
5703 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5704 case $host_cpu in
5705 i*86 )
5706 # Not sure whether the presence of OpenBSD here was a mistake.
5707 # Let's accept both of them until this is cleared up.
5708 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5709 lt_cv_file_magic_cmd=/usr/bin/file
5710 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5711 ;;
5712 esac
5713 else
5714 lt_cv_deplibs_check_method=pass_all
5715 fi
5716 ;;
5717
5718 gnu*)
5719 lt_cv_deplibs_check_method=pass_all
5720 ;;
5721
5722 haiku*)
5723 lt_cv_deplibs_check_method=pass_all
5724 ;;
5725
5726 hpux10.20* | hpux11*)
5727 lt_cv_file_magic_cmd=/usr/bin/file
5728 case $host_cpu in
5729 ia64*)
5730 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5731 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5732 ;;
5733 hppa*64*)
5734 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]'
5735 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5736 ;;
5737 *)
5738 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5739 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5740 ;;
5741 esac
5742 ;;
5743
5744 interix[3-9]*)
5745 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5746 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5747 ;;
5748
5749 irix5* | irix6* | nonstopux*)
5750 case $LD in
5751 *-32|*"-32 ") libmagic=32-bit;;
5752 *-n32|*"-n32 ") libmagic=N32;;
5753 *-64|*"-64 ") libmagic=64-bit;;
5754 *) libmagic=never-match;;
5755 esac
5756 lt_cv_deplibs_check_method=pass_all
5757 ;;
5758
5759 # This must be glibc/ELF.
5760 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5761 lt_cv_deplibs_check_method=pass_all
5762 ;;
5763
5764 netbsd*)
5765 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5766 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5767 else
5768 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5769 fi
5770 ;;
5771
5772 newos6*)
5773 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5774 lt_cv_file_magic_cmd=/usr/bin/file
5775 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5776 ;;
5777
5778 *nto* | *qnx*)
5779 lt_cv_deplibs_check_method=pass_all
5780 ;;
5781
5782 openbsd*)
5783 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5784 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5785 else
5786 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5787 fi
5788 ;;
5789
5790 osf3* | osf4* | osf5*)
5791 lt_cv_deplibs_check_method=pass_all
5792 ;;
5793
5794 rdos*)
5795 lt_cv_deplibs_check_method=pass_all
5796 ;;
5797
5798 solaris*)
5799 lt_cv_deplibs_check_method=pass_all
5800 ;;
5801
5802 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5803 lt_cv_deplibs_check_method=pass_all
5804 ;;
5805
5806 sysv4 | sysv4.3*)
5807 case $host_vendor in
5808 motorola)
5809 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]'
5810 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5811 ;;
5812 ncr)
5813 lt_cv_deplibs_check_method=pass_all
5814 ;;
5815 sequent)
5816 lt_cv_file_magic_cmd='/bin/file'
5817 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5818 ;;
5819 sni)
5820 lt_cv_file_magic_cmd='/bin/file'
5821 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5822 lt_cv_file_magic_test_file=/lib/libc.so
5823 ;;
5824 siemens)
5825 lt_cv_deplibs_check_method=pass_all
5826 ;;
5827 pc)
5828 lt_cv_deplibs_check_method=pass_all
5829 ;;
5830 esac
5831 ;;
5832
5833 tpf*)
5834 lt_cv_deplibs_check_method=pass_all
5835 ;;
5836 esac
5837
5838 fi
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5840 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5841
5842 file_magic_glob=
5843 want_nocaseglob=no
5844 if test "$build" = "$host"; then
5845 case $host_os in
5846 mingw* | pw32*)
5847 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5848 want_nocaseglob=yes
5849 else
5850 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5851 fi
5852 ;;
5853 esac
5854 fi
5855
5856 file_magic_cmd=$lt_cv_file_magic_cmd
5857 deplibs_check_method=$lt_cv_deplibs_check_method
5858 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881 if test -n "$ac_tool_prefix"; then
5882 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5883 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5885 $as_echo_n "checking for $ac_word... " >&6; }
5886 if ${ac_cv_prog_DLLTOOL+:} false; then :
5887 $as_echo_n "(cached) " >&6
5888 else
5889 if test -n "$DLLTOOL"; then
5890 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5891 else
5892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5893 for as_dir in $PATH
5894 do
5895 IFS=$as_save_IFS
5896 test -z "$as_dir" && as_dir=.
5897 for ac_exec_ext in '' $ac_executable_extensions; do
5898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5899 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5901 break 2
5902 fi
5903 done
5904 done
5905 IFS=$as_save_IFS
5906
5907 fi
5908 fi
5909 DLLTOOL=$ac_cv_prog_DLLTOOL
5910 if test -n "$DLLTOOL"; then
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5912 $as_echo "$DLLTOOL" >&6; }
5913 else
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5915 $as_echo "no" >&6; }
5916 fi
5917
5918
5919 fi
5920 if test -z "$ac_cv_prog_DLLTOOL"; then
5921 ac_ct_DLLTOOL=$DLLTOOL
5922 # Extract the first word of "dlltool", so it can be a program name with args.
5923 set dummy dlltool; ac_word=$2
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5925 $as_echo_n "checking for $ac_word... " >&6; }
5926 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5927 $as_echo_n "(cached) " >&6
5928 else
5929 if test -n "$ac_ct_DLLTOOL"; then
5930 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5931 else
5932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5933 for as_dir in $PATH
5934 do
5935 IFS=$as_save_IFS
5936 test -z "$as_dir" && as_dir=.
5937 for ac_exec_ext in '' $ac_executable_extensions; do
5938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5939 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5941 break 2
5942 fi
5943 done
5944 done
5945 IFS=$as_save_IFS
5946
5947 fi
5948 fi
5949 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5950 if test -n "$ac_ct_DLLTOOL"; then
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5952 $as_echo "$ac_ct_DLLTOOL" >&6; }
5953 else
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5955 $as_echo "no" >&6; }
5956 fi
5957
5958 if test "x$ac_ct_DLLTOOL" = x; then
5959 DLLTOOL="false"
5960 else
5961 case $cross_compiling:$ac_tool_warned in
5962 yes:)
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5965 ac_tool_warned=yes ;;
5966 esac
5967 DLLTOOL=$ac_ct_DLLTOOL
5968 fi
5969 else
5970 DLLTOOL="$ac_cv_prog_DLLTOOL"
5971 fi
5972
5973 test -z "$DLLTOOL" && DLLTOOL=dlltool
5974
5975
5976
5977
5978
5979
5980
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5982 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5983 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5984 $as_echo_n "(cached) " >&6
5985 else
5986 lt_cv_sharedlib_from_linklib_cmd='unknown'
5987
5988 case $host_os in
5989 cygwin* | mingw* | pw32* | cegcc*)
5990 # two different shell functions defined in ltmain.sh
5991 # decide which to use based on capabilities of $DLLTOOL
5992 case `$DLLTOOL --help 2>&1` in
5993 *--identify-strict*)
5994 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5995 ;;
5996 *)
5997 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5998 ;;
5999 esac
6000 ;;
6001 *)
6002 # fallback: assume linklib IS sharedlib
6003 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6004 ;;
6005 esac
6006
6007 fi
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6009 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6010 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6011 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6012
6013
6014
6015
6016
6017
6018
6019
6020 if test -n "$ac_tool_prefix"; then
6021 for ac_prog in ar
6022 do
6023 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6024 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 $as_echo_n "checking for $ac_word... " >&6; }
6027 if ${ac_cv_prog_AR+:} false; then :
6028 $as_echo_n "(cached) " >&6
6029 else
6030 if test -n "$AR"; then
6031 ac_cv_prog_AR="$AR" # Let the user override the test.
6032 else
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034 for as_dir in $PATH
6035 do
6036 IFS=$as_save_IFS
6037 test -z "$as_dir" && as_dir=.
6038 for ac_exec_ext in '' $ac_executable_extensions; do
6039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6040 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6042 break 2
6043 fi
6044 done
6045 done
6046 IFS=$as_save_IFS
6047
6048 fi
6049 fi
6050 AR=$ac_cv_prog_AR
6051 if test -n "$AR"; then
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6053 $as_echo "$AR" >&6; }
6054 else
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 $as_echo "no" >&6; }
6057 fi
6058
6059
6060 test -n "$AR" && break
6061 done
6062 fi
6063 if test -z "$AR"; then
6064 ac_ct_AR=$AR
6065 for ac_prog in ar
6066 do
6067 # Extract the first word of "$ac_prog", so it can be a program name with args.
6068 set dummy $ac_prog; ac_word=$2
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 $as_echo_n "checking for $ac_word... " >&6; }
6071 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6072 $as_echo_n "(cached) " >&6
6073 else
6074 if test -n "$ac_ct_AR"; then
6075 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6079 do
6080 IFS=$as_save_IFS
6081 test -z "$as_dir" && as_dir=.
6082 for ac_exec_ext in '' $ac_executable_extensions; do
6083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6084 ac_cv_prog_ac_ct_AR="$ac_prog"
6085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6086 break 2
6087 fi
6088 done
6089 done
6090 IFS=$as_save_IFS
6091
6092 fi
6093 fi
6094 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6095 if test -n "$ac_ct_AR"; then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6097 $as_echo "$ac_ct_AR" >&6; }
6098 else
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100 $as_echo "no" >&6; }
6101 fi
6102
6103
6104 test -n "$ac_ct_AR" && break
6105 done
6106
6107 if test "x$ac_ct_AR" = x; then
6108 AR="false"
6109 else
6110 case $cross_compiling:$ac_tool_warned in
6111 yes:)
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6114 ac_tool_warned=yes ;;
6115 esac
6116 AR=$ac_ct_AR
6117 fi
6118 fi
6119
6120 : ${AR=ar}
6121 : ${AR_FLAGS=cru}
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6134 $as_echo_n "checking for archiver @FILE support... " >&6; }
6135 if ${lt_cv_ar_at_file+:} false; then :
6136 $as_echo_n "(cached) " >&6
6137 else
6138 lt_cv_ar_at_file=no
6139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6140 /* end confdefs.h. */
6141
6142 int
6143 main ()
6144 {
6145
6146 ;
6147 return 0;
6148 }
6149 _ACEOF
6150 if ac_fn_c_try_compile "$LINENO"; then :
6151 echo conftest.$ac_objext > conftest.lst
6152 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6153 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6154 (eval $lt_ar_try) 2>&5
6155 ac_status=$?
6156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6157 test $ac_status = 0; }
6158 if test "$ac_status" -eq 0; then
6159 # Ensure the archiver fails upon bogus file names.
6160 rm -f conftest.$ac_objext libconftest.a
6161 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6162 (eval $lt_ar_try) 2>&5
6163 ac_status=$?
6164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6165 test $ac_status = 0; }
6166 if test "$ac_status" -ne 0; then
6167 lt_cv_ar_at_file=@
6168 fi
6169 fi
6170 rm -f conftest.* libconftest.a
6171
6172 fi
6173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6174
6175 fi
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6177 $as_echo "$lt_cv_ar_at_file" >&6; }
6178
6179 if test "x$lt_cv_ar_at_file" = xno; then
6180 archiver_list_spec=
6181 else
6182 archiver_list_spec=$lt_cv_ar_at_file
6183 fi
6184
6185
6186
6187
6188
6189
6190
6191 if test -n "$ac_tool_prefix"; then
6192 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6193 set dummy ${ac_tool_prefix}strip; ac_word=$2
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195 $as_echo_n "checking for $ac_word... " >&6; }
6196 if ${ac_cv_prog_STRIP+:} false; then :
6197 $as_echo_n "(cached) " >&6
6198 else
6199 if test -n "$STRIP"; then
6200 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6201 else
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203 for as_dir in $PATH
6204 do
6205 IFS=$as_save_IFS
6206 test -z "$as_dir" && as_dir=.
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6209 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6211 break 2
6212 fi
6213 done
6214 done
6215 IFS=$as_save_IFS
6216
6217 fi
6218 fi
6219 STRIP=$ac_cv_prog_STRIP
6220 if test -n "$STRIP"; then
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6222 $as_echo "$STRIP" >&6; }
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6226 fi
6227
6228
6229 fi
6230 if test -z "$ac_cv_prog_STRIP"; then
6231 ac_ct_STRIP=$STRIP
6232 # Extract the first word of "strip", so it can be a program name with args.
6233 set dummy strip; ac_word=$2
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6235 $as_echo_n "checking for $ac_word... " >&6; }
6236 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6237 $as_echo_n "(cached) " >&6
6238 else
6239 if test -n "$ac_ct_STRIP"; then
6240 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6241 else
6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6243 for as_dir in $PATH
6244 do
6245 IFS=$as_save_IFS
6246 test -z "$as_dir" && as_dir=.
6247 for ac_exec_ext in '' $ac_executable_extensions; do
6248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6249 ac_cv_prog_ac_ct_STRIP="strip"
6250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 break 2
6252 fi
6253 done
6254 done
6255 IFS=$as_save_IFS
6256
6257 fi
6258 fi
6259 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6260 if test -n "$ac_ct_STRIP"; then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6262 $as_echo "$ac_ct_STRIP" >&6; }
6263 else
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6265 $as_echo "no" >&6; }
6266 fi
6267
6268 if test "x$ac_ct_STRIP" = x; then
6269 STRIP=":"
6270 else
6271 case $cross_compiling:$ac_tool_warned in
6272 yes:)
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6275 ac_tool_warned=yes ;;
6276 esac
6277 STRIP=$ac_ct_STRIP
6278 fi
6279 else
6280 STRIP="$ac_cv_prog_STRIP"
6281 fi
6282
6283 test -z "$STRIP" && STRIP=:
6284
6285
6286
6287
6288
6289
6290 if test -n "$ac_tool_prefix"; then
6291 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6292 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6294 $as_echo_n "checking for $ac_word... " >&6; }
6295 if ${ac_cv_prog_RANLIB+:} false; then :
6296 $as_echo_n "(cached) " >&6
6297 else
6298 if test -n "$RANLIB"; then
6299 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6300 else
6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6302 for as_dir in $PATH
6303 do
6304 IFS=$as_save_IFS
6305 test -z "$as_dir" && as_dir=.
6306 for ac_exec_ext in '' $ac_executable_extensions; do
6307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6308 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6310 break 2
6311 fi
6312 done
6313 done
6314 IFS=$as_save_IFS
6315
6316 fi
6317 fi
6318 RANLIB=$ac_cv_prog_RANLIB
6319 if test -n "$RANLIB"; then
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6321 $as_echo "$RANLIB" >&6; }
6322 else
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6324 $as_echo "no" >&6; }
6325 fi
6326
6327
6328 fi
6329 if test -z "$ac_cv_prog_RANLIB"; then
6330 ac_ct_RANLIB=$RANLIB
6331 # Extract the first word of "ranlib", so it can be a program name with args.
6332 set dummy ranlib; ac_word=$2
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6334 $as_echo_n "checking for $ac_word... " >&6; }
6335 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6336 $as_echo_n "(cached) " >&6
6337 else
6338 if test -n "$ac_ct_RANLIB"; then
6339 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6340 else
6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6342 for as_dir in $PATH
6343 do
6344 IFS=$as_save_IFS
6345 test -z "$as_dir" && as_dir=.
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6348 ac_cv_prog_ac_ct_RANLIB="ranlib"
6349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6350 break 2
6351 fi
6352 done
6353 done
6354 IFS=$as_save_IFS
6355
6356 fi
6357 fi
6358 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6359 if test -n "$ac_ct_RANLIB"; then
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6361 $as_echo "$ac_ct_RANLIB" >&6; }
6362 else
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6364 $as_echo "no" >&6; }
6365 fi
6366
6367 if test "x$ac_ct_RANLIB" = x; then
6368 RANLIB=":"
6369 else
6370 case $cross_compiling:$ac_tool_warned in
6371 yes:)
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6374 ac_tool_warned=yes ;;
6375 esac
6376 RANLIB=$ac_ct_RANLIB
6377 fi
6378 else
6379 RANLIB="$ac_cv_prog_RANLIB"
6380 fi
6381
6382 test -z "$RANLIB" && RANLIB=:
6383
6384
6385
6386
6387
6388
6389 # Determine commands to create old-style static archives.
6390 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6391 old_postinstall_cmds='chmod 644 $oldlib'
6392 old_postuninstall_cmds=
6393
6394 if test -n "$RANLIB"; then
6395 case $host_os in
6396 openbsd*)
6397 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6398 ;;
6399 *)
6400 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6401 ;;
6402 esac
6403 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6404 fi
6405
6406 case $host_os in
6407 darwin*)
6408 lock_old_archive_extraction=yes ;;
6409 *)
6410 lock_old_archive_extraction=no ;;
6411 esac
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451 # If no C compiler was specified, use CC.
6452 LTCC=${LTCC-"$CC"}
6453
6454 # If no C compiler flags were specified, use CFLAGS.
6455 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6456
6457 # Allow CC to be a program name with arguments.
6458 compiler=$CC
6459
6460
6461 # Check for command to grab the raw symbol name followed by C symbol from nm.
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6463 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6464 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6465 $as_echo_n "(cached) " >&6
6466 else
6467
6468 # These are sane defaults that work on at least a few old systems.
6469 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6470
6471 # Character class describing NM global symbol codes.
6472 symcode='[BCDEGRST]'
6473
6474 # Regexp to match symbols that can be accessed directly from C.
6475 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6476
6477 # Define system-specific variables.
6478 case $host_os in
6479 aix*)
6480 symcode='[BCDT]'
6481 ;;
6482 cygwin* | mingw* | pw32* | cegcc*)
6483 symcode='[ABCDGISTW]'
6484 ;;
6485 hpux*)
6486 if test "$host_cpu" = ia64; then
6487 symcode='[ABCDEGRST]'
6488 fi
6489 ;;
6490 irix* | nonstopux*)
6491 symcode='[BCDEGRST]'
6492 ;;
6493 osf*)
6494 symcode='[BCDEGQRST]'
6495 ;;
6496 solaris*)
6497 symcode='[BDRT]'
6498 ;;
6499 sco3.2v5*)
6500 symcode='[DT]'
6501 ;;
6502 sysv4.2uw2*)
6503 symcode='[DT]'
6504 ;;
6505 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6506 symcode='[ABDT]'
6507 ;;
6508 sysv4)
6509 symcode='[DFNSTU]'
6510 ;;
6511 esac
6512
6513 # If we're using GNU nm, then use its standard symbol codes.
6514 case `$NM -V 2>&1` in
6515 *GNU* | *'with BFD'*)
6516 symcode='[ABCDGIRSTW]' ;;
6517 esac
6518
6519 # Transform an extracted symbol line into a proper C declaration.
6520 # Some systems (esp. on ia64) link data and code symbols differently,
6521 # so use this general approach.
6522 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6523
6524 # Transform an extracted symbol line into symbol name and symbol address
6525 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6526 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'"
6527
6528 # Handle CRLF in mingw tool chain
6529 opt_cr=
6530 case $build_os in
6531 mingw*)
6532 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6533 ;;
6534 esac
6535
6536 # Try without a prefix underscore, then with it.
6537 for ac_symprfx in "" "_"; do
6538
6539 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6540 symxfrm="\\1 $ac_symprfx\\2 \\2"
6541
6542 # Write the raw and C identifiers.
6543 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6544 # Fake it for dumpbin and say T for any non-static function
6545 # and D for any global variable.
6546 # Also find C++ and __fastcall symbols from MSVC++,
6547 # which start with @ or ?.
6548 lt_cv_sys_global_symbol_pipe="$AWK '"\
6549 " {last_section=section; section=\$ 3};"\
6550 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6551 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6552 " \$ 0!~/External *\|/{next};"\
6553 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6554 " {if(hide[section]) next};"\
6555 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6556 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6557 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6558 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6559 " ' prfx=^$ac_symprfx"
6560 else
6561 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6562 fi
6563 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6564
6565 # Check to see that the pipe works correctly.
6566 pipe_works=no
6567
6568 rm -f conftest*
6569 cat > conftest.$ac_ext <<_LT_EOF
6570 #ifdef __cplusplus
6571 extern "C" {
6572 #endif
6573 char nm_test_var;
6574 void nm_test_func(void);
6575 void nm_test_func(void){}
6576 #ifdef __cplusplus
6577 }
6578 #endif
6579 int main(){nm_test_var='a';nm_test_func();return(0);}
6580 _LT_EOF
6581
6582 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6583 (eval $ac_compile) 2>&5
6584 ac_status=$?
6585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6586 test $ac_status = 0; }; then
6587 # Now try to grab the symbols.
6588 nlist=conftest.nm
6589 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6590 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6591 ac_status=$?
6592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6593 test $ac_status = 0; } && test -s "$nlist"; then
6594 # Try sorting and uniquifying the output.
6595 if sort "$nlist" | uniq > "$nlist"T; then
6596 mv -f "$nlist"T "$nlist"
6597 else
6598 rm -f "$nlist"T
6599 fi
6600
6601 # Make sure that we snagged all the symbols we need.
6602 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6603 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6604 cat <<_LT_EOF > conftest.$ac_ext
6605 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6606 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6607 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6608 relocations are performed -- see ld's documentation on pseudo-relocs. */
6609 # define LT_DLSYM_CONST
6610 #elif defined(__osf__)
6611 /* This system does not cope well with relocations in const data. */
6612 # define LT_DLSYM_CONST
6613 #else
6614 # define LT_DLSYM_CONST const
6615 #endif
6616
6617 #ifdef __cplusplus
6618 extern "C" {
6619 #endif
6620
6621 _LT_EOF
6622 # Now generate the symbol file.
6623 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6624
6625 cat <<_LT_EOF >> conftest.$ac_ext
6626
6627 /* The mapping between symbol names and symbols. */
6628 LT_DLSYM_CONST struct {
6629 const char *name;
6630 void *address;
6631 }
6632 lt__PROGRAM__LTX_preloaded_symbols[] =
6633 {
6634 { "@PROGRAM@", (void *) 0 },
6635 _LT_EOF
6636 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6637 cat <<\_LT_EOF >> conftest.$ac_ext
6638 {0, (void *) 0}
6639 };
6640
6641 /* This works around a problem in FreeBSD linker */
6642 #ifdef FREEBSD_WORKAROUND
6643 static const void *lt_preloaded_setup() {
6644 return lt__PROGRAM__LTX_preloaded_symbols;
6645 }
6646 #endif
6647
6648 #ifdef __cplusplus
6649 }
6650 #endif
6651 _LT_EOF
6652 # Now try linking the two files.
6653 mv conftest.$ac_objext conftstm.$ac_objext
6654 lt_globsym_save_LIBS=$LIBS
6655 lt_globsym_save_CFLAGS=$CFLAGS
6656 LIBS="conftstm.$ac_objext"
6657 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6659 (eval $ac_link) 2>&5
6660 ac_status=$?
6661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6662 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6663 pipe_works=yes
6664 fi
6665 LIBS=$lt_globsym_save_LIBS
6666 CFLAGS=$lt_globsym_save_CFLAGS
6667 else
6668 echo "cannot find nm_test_func in $nlist" >&5
6669 fi
6670 else
6671 echo "cannot find nm_test_var in $nlist" >&5
6672 fi
6673 else
6674 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6675 fi
6676 else
6677 echo "$progname: failed program was:" >&5
6678 cat conftest.$ac_ext >&5
6679 fi
6680 rm -rf conftest* conftst*
6681
6682 # Do not use the global_symbol_pipe unless it works.
6683 if test "$pipe_works" = yes; then
6684 break
6685 else
6686 lt_cv_sys_global_symbol_pipe=
6687 fi
6688 done
6689
6690 fi
6691
6692 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6693 lt_cv_sys_global_symbol_to_cdecl=
6694 fi
6695 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6697 $as_echo "failed" >&6; }
6698 else
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6700 $as_echo "ok" >&6; }
6701 fi
6702
6703 # Response file support.
6704 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6705 nm_file_list_spec='@'
6706 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6707 nm_file_list_spec='@'
6708 fi
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6737 $as_echo_n "checking for sysroot... " >&6; }
6738
6739 # Check whether --with-sysroot was given.
6740 if test "${with_sysroot+set}" = set; then :
6741 withval=$with_sysroot;
6742 else
6743 with_sysroot=no
6744 fi
6745
6746
6747 lt_sysroot=
6748 case ${with_sysroot} in #(
6749 yes)
6750 if test "$GCC" = yes; then
6751 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6752 fi
6753 ;; #(
6754 /*)
6755 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6756 ;; #(
6757 no|'')
6758 ;; #(
6759 *)
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6761 $as_echo "${with_sysroot}" >&6; }
6762 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6763 ;;
6764 esac
6765
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6767 $as_echo "${lt_sysroot:-no}" >&6; }
6768
6769
6770
6771
6772
6773 # Check whether --enable-libtool-lock was given.
6774 if test "${enable_libtool_lock+set}" = set; then :
6775 enableval=$enable_libtool_lock;
6776 fi
6777
6778 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6779
6780 # Some flags need to be propagated to the compiler or linker for good
6781 # libtool support.
6782 case $host in
6783 ia64-*-hpux*)
6784 # Find out which ABI we are using.
6785 echo 'int i;' > conftest.$ac_ext
6786 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6787 (eval $ac_compile) 2>&5
6788 ac_status=$?
6789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6790 test $ac_status = 0; }; then
6791 case `/usr/bin/file conftest.$ac_objext` in
6792 *ELF-32*)
6793 HPUX_IA64_MODE="32"
6794 ;;
6795 *ELF-64*)
6796 HPUX_IA64_MODE="64"
6797 ;;
6798 esac
6799 fi
6800 rm -rf conftest*
6801 ;;
6802 *-*-irix6*)
6803 # Find out which ABI we are using.
6804 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6805 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6806 (eval $ac_compile) 2>&5
6807 ac_status=$?
6808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6809 test $ac_status = 0; }; then
6810 if test "$lt_cv_prog_gnu_ld" = yes; then
6811 case `/usr/bin/file conftest.$ac_objext` in
6812 *32-bit*)
6813 LD="${LD-ld} -melf32bsmip"
6814 ;;
6815 *N32*)
6816 LD="${LD-ld} -melf32bmipn32"
6817 ;;
6818 *64-bit*)
6819 LD="${LD-ld} -melf64bmip"
6820 ;;
6821 esac
6822 else
6823 case `/usr/bin/file conftest.$ac_objext` in
6824 *32-bit*)
6825 LD="${LD-ld} -32"
6826 ;;
6827 *N32*)
6828 LD="${LD-ld} -n32"
6829 ;;
6830 *64-bit*)
6831 LD="${LD-ld} -64"
6832 ;;
6833 esac
6834 fi
6835 fi
6836 rm -rf conftest*
6837 ;;
6838
6839 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6840 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6841 # Find out which ABI we are using.
6842 echo 'int i;' > conftest.$ac_ext
6843 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6844 (eval $ac_compile) 2>&5
6845 ac_status=$?
6846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6847 test $ac_status = 0; }; then
6848 case `/usr/bin/file conftest.o` in
6849 *32-bit*)
6850 case $host in
6851 x86_64-*kfreebsd*-gnu)
6852 LD="${LD-ld} -m elf_i386_fbsd"
6853 ;;
6854 x86_64-*linux*)
6855 LD="${LD-ld} -m elf_i386"
6856 ;;
6857 ppc64-*linux*|powerpc64-*linux*)
6858 LD="${LD-ld} -m elf32ppclinux"
6859 ;;
6860 s390x-*linux*)
6861 LD="${LD-ld} -m elf_s390"
6862 ;;
6863 sparc64-*linux*)
6864 LD="${LD-ld} -m elf32_sparc"
6865 ;;
6866 esac
6867 ;;
6868 *64-bit*)
6869 case $host in
6870 x86_64-*kfreebsd*-gnu)
6871 LD="${LD-ld} -m elf_x86_64_fbsd"
6872 ;;
6873 x86_64-*linux*)
6874 LD="${LD-ld} -m elf_x86_64"
6875 ;;
6876 ppc*-*linux*|powerpc*-*linux*)
6877 LD="${LD-ld} -m elf64ppc"
6878 ;;
6879 s390*-*linux*|s390*-*tpf*)
6880 LD="${LD-ld} -m elf64_s390"
6881 ;;
6882 sparc*-*linux*)
6883 LD="${LD-ld} -m elf64_sparc"
6884 ;;
6885 esac
6886 ;;
6887 esac
6888 fi
6889 rm -rf conftest*
6890 ;;
6891
6892 *-*-sco3.2v5*)
6893 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6894 SAVE_CFLAGS="$CFLAGS"
6895 CFLAGS="$CFLAGS -belf"
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6897 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6898 if ${lt_cv_cc_needs_belf+:} false; then :
6899 $as_echo_n "(cached) " >&6
6900 else
6901 ac_ext=c
6902 ac_cpp='$CPP $CPPFLAGS'
6903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6906
6907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6908 /* end confdefs.h. */
6909
6910 int
6911 main ()
6912 {
6913
6914 ;
6915 return 0;
6916 }
6917 _ACEOF
6918 if ac_fn_c_try_link "$LINENO"; then :
6919 lt_cv_cc_needs_belf=yes
6920 else
6921 lt_cv_cc_needs_belf=no
6922 fi
6923 rm -f core conftest.err conftest.$ac_objext \
6924 conftest$ac_exeext conftest.$ac_ext
6925 ac_ext=c
6926 ac_cpp='$CPP $CPPFLAGS'
6927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6930
6931 fi
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6933 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6934 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6935 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6936 CFLAGS="$SAVE_CFLAGS"
6937 fi
6938 ;;
6939 *-*solaris*)
6940 # Find out which ABI we are using.
6941 echo 'int i;' > conftest.$ac_ext
6942 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6943 (eval $ac_compile) 2>&5
6944 ac_status=$?
6945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6946 test $ac_status = 0; }; then
6947 case `/usr/bin/file conftest.o` in
6948 *64-bit*)
6949 case $lt_cv_prog_gnu_ld in
6950 yes*)
6951 case $host in
6952 i?86-*-solaris*)
6953 LD="${LD-ld} -m elf_x86_64"
6954 ;;
6955 sparc*-*-solaris*)
6956 LD="${LD-ld} -m elf64_sparc"
6957 ;;
6958 esac
6959 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6960 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6961 LD="${LD-ld}_sol2"
6962 fi
6963 ;;
6964 *)
6965 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6966 LD="${LD-ld} -64"
6967 fi
6968 ;;
6969 esac
6970 ;;
6971 esac
6972 fi
6973 rm -rf conftest*
6974 ;;
6975 esac
6976
6977 need_locks="$enable_libtool_lock"
6978
6979 if test -n "$ac_tool_prefix"; then
6980 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6981 set dummy ${ac_tool_prefix}mt; ac_word=$2
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6983 $as_echo_n "checking for $ac_word... " >&6; }
6984 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6985 $as_echo_n "(cached) " >&6
6986 else
6987 if test -n "$MANIFEST_TOOL"; then
6988 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6989 else
6990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6991 for as_dir in $PATH
6992 do
6993 IFS=$as_save_IFS
6994 test -z "$as_dir" && as_dir=.
6995 for ac_exec_ext in '' $ac_executable_extensions; do
6996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6997 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6999 break 2
7000 fi
7001 done
7002 done
7003 IFS=$as_save_IFS
7004
7005 fi
7006 fi
7007 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7008 if test -n "$MANIFEST_TOOL"; then
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7010 $as_echo "$MANIFEST_TOOL" >&6; }
7011 else
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7013 $as_echo "no" >&6; }
7014 fi
7015
7016
7017 fi
7018 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7019 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7020 # Extract the first word of "mt", so it can be a program name with args.
7021 set dummy mt; ac_word=$2
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7023 $as_echo_n "checking for $ac_word... " >&6; }
7024 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7025 $as_echo_n "(cached) " >&6
7026 else
7027 if test -n "$ac_ct_MANIFEST_TOOL"; then
7028 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7029 else
7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7031 for as_dir in $PATH
7032 do
7033 IFS=$as_save_IFS
7034 test -z "$as_dir" && as_dir=.
7035 for ac_exec_ext in '' $ac_executable_extensions; do
7036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7037 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7039 break 2
7040 fi
7041 done
7042 done
7043 IFS=$as_save_IFS
7044
7045 fi
7046 fi
7047 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7048 if test -n "$ac_ct_MANIFEST_TOOL"; then
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7050 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7051 else
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 $as_echo "no" >&6; }
7054 fi
7055
7056 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7057 MANIFEST_TOOL=":"
7058 else
7059 case $cross_compiling:$ac_tool_warned in
7060 yes:)
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7063 ac_tool_warned=yes ;;
7064 esac
7065 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7066 fi
7067 else
7068 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7069 fi
7070
7071 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7073 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7074 if ${lt_cv_path_mainfest_tool+:} false; then :
7075 $as_echo_n "(cached) " >&6
7076 else
7077 lt_cv_path_mainfest_tool=no
7078 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7079 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7080 cat conftest.err >&5
7081 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7082 lt_cv_path_mainfest_tool=yes
7083 fi
7084 rm -f conftest*
7085 fi
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7087 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7088 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7089 MANIFEST_TOOL=:
7090 fi
7091
7092
7093
7094
7095
7096
7097 case $host_os in
7098 rhapsody* | darwin*)
7099 if test -n "$ac_tool_prefix"; then
7100 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7101 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7103 $as_echo_n "checking for $ac_word... " >&6; }
7104 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7105 $as_echo_n "(cached) " >&6
7106 else
7107 if test -n "$DSYMUTIL"; then
7108 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7109 else
7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 for as_dir in $PATH
7112 do
7113 IFS=$as_save_IFS
7114 test -z "$as_dir" && as_dir=.
7115 for ac_exec_ext in '' $ac_executable_extensions; do
7116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7117 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7119 break 2
7120 fi
7121 done
7122 done
7123 IFS=$as_save_IFS
7124
7125 fi
7126 fi
7127 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7128 if test -n "$DSYMUTIL"; then
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7130 $as_echo "$DSYMUTIL" >&6; }
7131 else
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133 $as_echo "no" >&6; }
7134 fi
7135
7136
7137 fi
7138 if test -z "$ac_cv_prog_DSYMUTIL"; then
7139 ac_ct_DSYMUTIL=$DSYMUTIL
7140 # Extract the first word of "dsymutil", so it can be a program name with args.
7141 set dummy dsymutil; ac_word=$2
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7143 $as_echo_n "checking for $ac_word... " >&6; }
7144 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7145 $as_echo_n "(cached) " >&6
7146 else
7147 if test -n "$ac_ct_DSYMUTIL"; then
7148 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7149 else
7150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151 for as_dir in $PATH
7152 do
7153 IFS=$as_save_IFS
7154 test -z "$as_dir" && as_dir=.
7155 for ac_exec_ext in '' $ac_executable_extensions; do
7156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7157 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7159 break 2
7160 fi
7161 done
7162 done
7163 IFS=$as_save_IFS
7164
7165 fi
7166 fi
7167 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7168 if test -n "$ac_ct_DSYMUTIL"; then
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7170 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7171 else
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7173 $as_echo "no" >&6; }
7174 fi
7175
7176 if test "x$ac_ct_DSYMUTIL" = x; then
7177 DSYMUTIL=":"
7178 else
7179 case $cross_compiling:$ac_tool_warned in
7180 yes:)
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7183 ac_tool_warned=yes ;;
7184 esac
7185 DSYMUTIL=$ac_ct_DSYMUTIL
7186 fi
7187 else
7188 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7189 fi
7190
7191 if test -n "$ac_tool_prefix"; then
7192 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7193 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7195 $as_echo_n "checking for $ac_word... " >&6; }
7196 if ${ac_cv_prog_NMEDIT+:} false; then :
7197 $as_echo_n "(cached) " >&6
7198 else
7199 if test -n "$NMEDIT"; then
7200 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7201 else
7202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7203 for as_dir in $PATH
7204 do
7205 IFS=$as_save_IFS
7206 test -z "$as_dir" && as_dir=.
7207 for ac_exec_ext in '' $ac_executable_extensions; do
7208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7209 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7211 break 2
7212 fi
7213 done
7214 done
7215 IFS=$as_save_IFS
7216
7217 fi
7218 fi
7219 NMEDIT=$ac_cv_prog_NMEDIT
7220 if test -n "$NMEDIT"; then
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7222 $as_echo "$NMEDIT" >&6; }
7223 else
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 $as_echo "no" >&6; }
7226 fi
7227
7228
7229 fi
7230 if test -z "$ac_cv_prog_NMEDIT"; then
7231 ac_ct_NMEDIT=$NMEDIT
7232 # Extract the first word of "nmedit", so it can be a program name with args.
7233 set dummy nmedit; ac_word=$2
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7235 $as_echo_n "checking for $ac_word... " >&6; }
7236 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7237 $as_echo_n "(cached) " >&6
7238 else
7239 if test -n "$ac_ct_NMEDIT"; then
7240 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7241 else
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 for as_dir in $PATH
7244 do
7245 IFS=$as_save_IFS
7246 test -z "$as_dir" && as_dir=.
7247 for ac_exec_ext in '' $ac_executable_extensions; do
7248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7249 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7251 break 2
7252 fi
7253 done
7254 done
7255 IFS=$as_save_IFS
7256
7257 fi
7258 fi
7259 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7260 if test -n "$ac_ct_NMEDIT"; then
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7262 $as_echo "$ac_ct_NMEDIT" >&6; }
7263 else
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7265 $as_echo "no" >&6; }
7266 fi
7267
7268 if test "x$ac_ct_NMEDIT" = x; then
7269 NMEDIT=":"
7270 else
7271 case $cross_compiling:$ac_tool_warned in
7272 yes:)
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7275 ac_tool_warned=yes ;;
7276 esac
7277 NMEDIT=$ac_ct_NMEDIT
7278 fi
7279 else
7280 NMEDIT="$ac_cv_prog_NMEDIT"
7281 fi
7282
7283 if test -n "$ac_tool_prefix"; then
7284 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7285 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7287 $as_echo_n "checking for $ac_word... " >&6; }
7288 if ${ac_cv_prog_LIPO+:} false; then :
7289 $as_echo_n "(cached) " >&6
7290 else
7291 if test -n "$LIPO"; then
7292 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7293 else
7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 for as_dir in $PATH
7296 do
7297 IFS=$as_save_IFS
7298 test -z "$as_dir" && as_dir=.
7299 for ac_exec_ext in '' $ac_executable_extensions; do
7300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7301 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7303 break 2
7304 fi
7305 done
7306 done
7307 IFS=$as_save_IFS
7308
7309 fi
7310 fi
7311 LIPO=$ac_cv_prog_LIPO
7312 if test -n "$LIPO"; then
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7314 $as_echo "$LIPO" >&6; }
7315 else
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7317 $as_echo "no" >&6; }
7318 fi
7319
7320
7321 fi
7322 if test -z "$ac_cv_prog_LIPO"; then
7323 ac_ct_LIPO=$LIPO
7324 # Extract the first word of "lipo", so it can be a program name with args.
7325 set dummy lipo; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7327 $as_echo_n "checking for $ac_word... " >&6; }
7328 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7329 $as_echo_n "(cached) " >&6
7330 else
7331 if test -n "$ac_ct_LIPO"; then
7332 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7333 else
7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 for as_dir in $PATH
7336 do
7337 IFS=$as_save_IFS
7338 test -z "$as_dir" && as_dir=.
7339 for ac_exec_ext in '' $ac_executable_extensions; do
7340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7341 ac_cv_prog_ac_ct_LIPO="lipo"
7342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7343 break 2
7344 fi
7345 done
7346 done
7347 IFS=$as_save_IFS
7348
7349 fi
7350 fi
7351 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7352 if test -n "$ac_ct_LIPO"; then
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7354 $as_echo "$ac_ct_LIPO" >&6; }
7355 else
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7357 $as_echo "no" >&6; }
7358 fi
7359
7360 if test "x$ac_ct_LIPO" = x; then
7361 LIPO=":"
7362 else
7363 case $cross_compiling:$ac_tool_warned in
7364 yes:)
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7367 ac_tool_warned=yes ;;
7368 esac
7369 LIPO=$ac_ct_LIPO
7370 fi
7371 else
7372 LIPO="$ac_cv_prog_LIPO"
7373 fi
7374
7375 if test -n "$ac_tool_prefix"; then
7376 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7377 set dummy ${ac_tool_prefix}otool; ac_word=$2
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 $as_echo_n "checking for $ac_word... " >&6; }
7380 if ${ac_cv_prog_OTOOL+:} false; then :
7381 $as_echo_n "(cached) " >&6
7382 else
7383 if test -n "$OTOOL"; then
7384 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7385 else
7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 for as_dir in $PATH
7388 do
7389 IFS=$as_save_IFS
7390 test -z "$as_dir" && as_dir=.
7391 for ac_exec_ext in '' $ac_executable_extensions; do
7392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7393 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 break 2
7396 fi
7397 done
7398 done
7399 IFS=$as_save_IFS
7400
7401 fi
7402 fi
7403 OTOOL=$ac_cv_prog_OTOOL
7404 if test -n "$OTOOL"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7406 $as_echo "$OTOOL" >&6; }
7407 else
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7410 fi
7411
7412
7413 fi
7414 if test -z "$ac_cv_prog_OTOOL"; then
7415 ac_ct_OTOOL=$OTOOL
7416 # Extract the first word of "otool", so it can be a program name with args.
7417 set dummy otool; ac_word=$2
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7419 $as_echo_n "checking for $ac_word... " >&6; }
7420 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7421 $as_echo_n "(cached) " >&6
7422 else
7423 if test -n "$ac_ct_OTOOL"; then
7424 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7425 else
7426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 for as_dir in $PATH
7428 do
7429 IFS=$as_save_IFS
7430 test -z "$as_dir" && as_dir=.
7431 for ac_exec_ext in '' $ac_executable_extensions; do
7432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7433 ac_cv_prog_ac_ct_OTOOL="otool"
7434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7435 break 2
7436 fi
7437 done
7438 done
7439 IFS=$as_save_IFS
7440
7441 fi
7442 fi
7443 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7444 if test -n "$ac_ct_OTOOL"; then
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7446 $as_echo "$ac_ct_OTOOL" >&6; }
7447 else
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7449 $as_echo "no" >&6; }
7450 fi
7451
7452 if test "x$ac_ct_OTOOL" = x; then
7453 OTOOL=":"
7454 else
7455 case $cross_compiling:$ac_tool_warned in
7456 yes:)
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7459 ac_tool_warned=yes ;;
7460 esac
7461 OTOOL=$ac_ct_OTOOL
7462 fi
7463 else
7464 OTOOL="$ac_cv_prog_OTOOL"
7465 fi
7466
7467 if test -n "$ac_tool_prefix"; then
7468 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7469 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471 $as_echo_n "checking for $ac_word... " >&6; }
7472 if ${ac_cv_prog_OTOOL64+:} false; then :
7473 $as_echo_n "(cached) " >&6
7474 else
7475 if test -n "$OTOOL64"; then
7476 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7477 else
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 for as_dir in $PATH
7480 do
7481 IFS=$as_save_IFS
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7485 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7487 break 2
7488 fi
7489 done
7490 done
7491 IFS=$as_save_IFS
7492
7493 fi
7494 fi
7495 OTOOL64=$ac_cv_prog_OTOOL64
7496 if test -n "$OTOOL64"; then
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7498 $as_echo "$OTOOL64" >&6; }
7499 else
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501 $as_echo "no" >&6; }
7502 fi
7503
7504
7505 fi
7506 if test -z "$ac_cv_prog_OTOOL64"; then
7507 ac_ct_OTOOL64=$OTOOL64
7508 # Extract the first word of "otool64", so it can be a program name with args.
7509 set dummy otool64; ac_word=$2
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7511 $as_echo_n "checking for $ac_word... " >&6; }
7512 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7513 $as_echo_n "(cached) " >&6
7514 else
7515 if test -n "$ac_ct_OTOOL64"; then
7516 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7517 else
7518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 for as_dir in $PATH
7520 do
7521 IFS=$as_save_IFS
7522 test -z "$as_dir" && as_dir=.
7523 for ac_exec_ext in '' $ac_executable_extensions; do
7524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7525 ac_cv_prog_ac_ct_OTOOL64="otool64"
7526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7527 break 2
7528 fi
7529 done
7530 done
7531 IFS=$as_save_IFS
7532
7533 fi
7534 fi
7535 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7536 if test -n "$ac_ct_OTOOL64"; then
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7538 $as_echo "$ac_ct_OTOOL64" >&6; }
7539 else
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7541 $as_echo "no" >&6; }
7542 fi
7543
7544 if test "x$ac_ct_OTOOL64" = x; then
7545 OTOOL64=":"
7546 else
7547 case $cross_compiling:$ac_tool_warned in
7548 yes:)
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7551 ac_tool_warned=yes ;;
7552 esac
7553 OTOOL64=$ac_ct_OTOOL64
7554 fi
7555 else
7556 OTOOL64="$ac_cv_prog_OTOOL64"
7557 fi
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7586 $as_echo_n "checking for -single_module linker flag... " >&6; }
7587 if ${lt_cv_apple_cc_single_mod+:} false; then :
7588 $as_echo_n "(cached) " >&6
7589 else
7590 lt_cv_apple_cc_single_mod=no
7591 if test -z "${LT_MULTI_MODULE}"; then
7592 # By default we will add the -single_module flag. You can override
7593 # by either setting the environment variable LT_MULTI_MODULE
7594 # non-empty at configure time, or by adding -multi_module to the
7595 # link flags.
7596 rm -rf libconftest.dylib*
7597 echo "int foo(void){return 1;}" > conftest.c
7598 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7599 -dynamiclib -Wl,-single_module conftest.c" >&5
7600 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7601 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7602 _lt_result=$?
7603 # If there is a non-empty error log, and "single_module"
7604 # appears in it, assume the flag caused a linker warning
7605 if test -s conftest.err && $GREP single_module conftest.err; then
7606 cat conftest.err >&5
7607 # Otherwise, if the output was created with a 0 exit code from
7608 # the compiler, it worked.
7609 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7610 lt_cv_apple_cc_single_mod=yes
7611 else
7612 cat conftest.err >&5
7613 fi
7614 rm -rf libconftest.dylib*
7615 rm -f conftest.*
7616 fi
7617 fi
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7619 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7620
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7622 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7623 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7624 $as_echo_n "(cached) " >&6
7625 else
7626 lt_cv_ld_exported_symbols_list=no
7627 save_LDFLAGS=$LDFLAGS
7628 echo "_main" > conftest.sym
7629 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7631 /* end confdefs.h. */
7632
7633 int
7634 main ()
7635 {
7636
7637 ;
7638 return 0;
7639 }
7640 _ACEOF
7641 if ac_fn_c_try_link "$LINENO"; then :
7642 lt_cv_ld_exported_symbols_list=yes
7643 else
7644 lt_cv_ld_exported_symbols_list=no
7645 fi
7646 rm -f core conftest.err conftest.$ac_objext \
7647 conftest$ac_exeext conftest.$ac_ext
7648 LDFLAGS="$save_LDFLAGS"
7649
7650 fi
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7652 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7653
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7655 $as_echo_n "checking for -force_load linker flag... " >&6; }
7656 if ${lt_cv_ld_force_load+:} false; then :
7657 $as_echo_n "(cached) " >&6
7658 else
7659 lt_cv_ld_force_load=no
7660 cat > conftest.c << _LT_EOF
7661 int forced_loaded() { return 2;}
7662 _LT_EOF
7663 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7664 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7665 echo "$AR cru libconftest.a conftest.o" >&5
7666 $AR cru libconftest.a conftest.o 2>&5
7667 echo "$RANLIB libconftest.a" >&5
7668 $RANLIB libconftest.a 2>&5
7669 cat > conftest.c << _LT_EOF
7670 int main() { return 0;}
7671 _LT_EOF
7672 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7673 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7674 _lt_result=$?
7675 if test -s conftest.err && $GREP force_load conftest.err; then
7676 cat conftest.err >&5
7677 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7678 lt_cv_ld_force_load=yes
7679 else
7680 cat conftest.err >&5
7681 fi
7682 rm -f conftest.err libconftest.a conftest conftest.c
7683 rm -rf conftest.dSYM
7684
7685 fi
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7687 $as_echo "$lt_cv_ld_force_load" >&6; }
7688 case $host_os in
7689 rhapsody* | darwin1.[012])
7690 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7691 darwin1.*)
7692 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7693 darwin*) # darwin 5.x on
7694 # if running on 10.5 or later, the deployment target defaults
7695 # to the OS version, if on x86, and 10.4, the deployment
7696 # target defaults to 10.4. Don't you love it?
7697 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7698 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7699 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7700 10.[012]*)
7701 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7702 10.*)
7703 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7704 esac
7705 ;;
7706 esac
7707 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7708 _lt_dar_single_mod='$single_module'
7709 fi
7710 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7711 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7712 else
7713 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7714 fi
7715 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7716 _lt_dsymutil='~$DSYMUTIL $lib || :'
7717 else
7718 _lt_dsymutil=
7719 fi
7720 ;;
7721 esac
7722
7723 ac_ext=c
7724 ac_cpp='$CPP $CPPFLAGS'
7725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7729 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7730 # On Suns, sometimes $CPP names a directory.
7731 if test -n "$CPP" && test -d "$CPP"; then
7732 CPP=
7733 fi
7734 if test -z "$CPP"; then
7735 if ${ac_cv_prog_CPP+:} false; then :
7736 $as_echo_n "(cached) " >&6
7737 else
7738 # Double quotes because CPP needs to be expanded
7739 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7740 do
7741 ac_preproc_ok=false
7742 for ac_c_preproc_warn_flag in '' yes
7743 do
7744 # Use a header file that comes with gcc, so configuring glibc
7745 # with a fresh cross-compiler works.
7746 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7747 # <limits.h> exists even on freestanding compilers.
7748 # On the NeXT, cc -E runs the code through the compiler's parser,
7749 # not just through cpp. "Syntax error" is here to catch this case.
7750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7751 /* end confdefs.h. */
7752 #ifdef __STDC__
7753 # include <limits.h>
7754 #else
7755 # include <assert.h>
7756 #endif
7757 Syntax error
7758 _ACEOF
7759 if ac_fn_c_try_cpp "$LINENO"; then :
7760
7761 else
7762 # Broken: fails on valid input.
7763 continue
7764 fi
7765 rm -f conftest.err conftest.i conftest.$ac_ext
7766
7767 # OK, works on sane cases. Now check whether nonexistent headers
7768 # can be detected and how.
7769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h. */
7771 #include <ac_nonexistent.h>
7772 _ACEOF
7773 if ac_fn_c_try_cpp "$LINENO"; then :
7774 # Broken: success on invalid input.
7775 continue
7776 else
7777 # Passes both tests.
7778 ac_preproc_ok=:
7779 break
7780 fi
7781 rm -f conftest.err conftest.i conftest.$ac_ext
7782
7783 done
7784 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7785 rm -f conftest.i conftest.err conftest.$ac_ext
7786 if $ac_preproc_ok; then :
7787 break
7788 fi
7789
7790 done
7791 ac_cv_prog_CPP=$CPP
7792
7793 fi
7794 CPP=$ac_cv_prog_CPP
7795 else
7796 ac_cv_prog_CPP=$CPP
7797 fi
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7799 $as_echo "$CPP" >&6; }
7800 ac_preproc_ok=false
7801 for ac_c_preproc_warn_flag in '' yes
7802 do
7803 # Use a header file that comes with gcc, so configuring glibc
7804 # with a fresh cross-compiler works.
7805 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7806 # <limits.h> exists even on freestanding compilers.
7807 # On the NeXT, cc -E runs the code through the compiler's parser,
7808 # not just through cpp. "Syntax error" is here to catch this case.
7809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7810 /* end confdefs.h. */
7811 #ifdef __STDC__
7812 # include <limits.h>
7813 #else
7814 # include <assert.h>
7815 #endif
7816 Syntax error
7817 _ACEOF
7818 if ac_fn_c_try_cpp "$LINENO"; then :
7819
7820 else
7821 # Broken: fails on valid input.
7822 continue
7823 fi
7824 rm -f conftest.err conftest.i conftest.$ac_ext
7825
7826 # OK, works on sane cases. Now check whether nonexistent headers
7827 # can be detected and how.
7828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7829 /* end confdefs.h. */
7830 #include <ac_nonexistent.h>
7831 _ACEOF
7832 if ac_fn_c_try_cpp "$LINENO"; then :
7833 # Broken: success on invalid input.
7834 continue
7835 else
7836 # Passes both tests.
7837 ac_preproc_ok=:
7838 break
7839 fi
7840 rm -f conftest.err conftest.i conftest.$ac_ext
7841
7842 done
7843 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7844 rm -f conftest.i conftest.err conftest.$ac_ext
7845 if $ac_preproc_ok; then :
7846
7847 else
7848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7850 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7851 See \`config.log' for more details" "$LINENO" 5; }
7852 fi
7853
7854 ac_ext=c
7855 ac_cpp='$CPP $CPPFLAGS'
7856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7859
7860
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7862 $as_echo_n "checking for ANSI C header files... " >&6; }
7863 if ${ac_cv_header_stdc+:} false; then :
7864 $as_echo_n "(cached) " >&6
7865 else
7866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7867 /* end confdefs.h. */
7868 #include <stdlib.h>
7869 #include <stdarg.h>
7870 #include <string.h>
7871 #include <float.h>
7872
7873 int
7874 main ()
7875 {
7876
7877 ;
7878 return 0;
7879 }
7880 _ACEOF
7881 if ac_fn_c_try_compile "$LINENO"; then :
7882 ac_cv_header_stdc=yes
7883 else
7884 ac_cv_header_stdc=no
7885 fi
7886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7887
7888 if test $ac_cv_header_stdc = yes; then
7889 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7891 /* end confdefs.h. */
7892 #include <string.h>
7893
7894 _ACEOF
7895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7896 $EGREP "memchr" >/dev/null 2>&1; then :
7897
7898 else
7899 ac_cv_header_stdc=no
7900 fi
7901 rm -f conftest*
7902
7903 fi
7904
7905 if test $ac_cv_header_stdc = yes; then
7906 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7908 /* end confdefs.h. */
7909 #include <stdlib.h>
7910
7911 _ACEOF
7912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7913 $EGREP "free" >/dev/null 2>&1; then :
7914
7915 else
7916 ac_cv_header_stdc=no
7917 fi
7918 rm -f conftest*
7919
7920 fi
7921
7922 if test $ac_cv_header_stdc = yes; then
7923 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7924 if test "$cross_compiling" = yes; then :
7925 :
7926 else
7927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7928 /* end confdefs.h. */
7929 #include <ctype.h>
7930 #include <stdlib.h>
7931 #if ((' ' & 0x0FF) == 0x020)
7932 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7933 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7934 #else
7935 # define ISLOWER(c) \
7936 (('a' <= (c) && (c) <= 'i') \
7937 || ('j' <= (c) && (c) <= 'r') \
7938 || ('s' <= (c) && (c) <= 'z'))
7939 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7940 #endif
7941
7942 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7943 int
7944 main ()
7945 {
7946 int i;
7947 for (i = 0; i < 256; i++)
7948 if (XOR (islower (i), ISLOWER (i))
7949 || toupper (i) != TOUPPER (i))
7950 return 2;
7951 return 0;
7952 }
7953 _ACEOF
7954 if ac_fn_c_try_run "$LINENO"; then :
7955
7956 else
7957 ac_cv_header_stdc=no
7958 fi
7959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7960 conftest.$ac_objext conftest.beam conftest.$ac_ext
7961 fi
7962
7963 fi
7964 fi
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7966 $as_echo "$ac_cv_header_stdc" >&6; }
7967 if test $ac_cv_header_stdc = yes; then
7968
7969 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7970
7971 fi
7972
7973 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7974 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7975 inttypes.h stdint.h unistd.h
7976 do :
7977 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7978 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7979 "
7980 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7981 cat >>confdefs.h <<_ACEOF
7982 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7983 _ACEOF
7984
7985 fi
7986
7987 done
7988
7989
7990 for ac_header in dlfcn.h
7991 do :
7992 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7993 "
7994 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7995 cat >>confdefs.h <<_ACEOF
7996 #define HAVE_DLFCN_H 1
7997 _ACEOF
7998
7999 fi
8000
8001 done
8002
8003
8004
8005
8006
8007 # Set options
8008
8009
8010
8011 enable_dlopen=no
8012
8013
8014
8015 # Check whether --enable-shared was given.
8016 if test "${enable_shared+set}" = set; then :
8017 enableval=$enable_shared; p=${PACKAGE-default}
8018 case $enableval in
8019 yes) enable_shared=yes ;;
8020 no) enable_shared=no ;;
8021 *)
8022 enable_shared=no
8023 # Look at the argument we got. We use all the common list separators.
8024 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8025 for pkg in $enableval; do
8026 IFS="$lt_save_ifs"
8027 if test "X$pkg" = "X$p"; then
8028 enable_shared=yes
8029 fi
8030 done
8031 IFS="$lt_save_ifs"
8032 ;;
8033 esac
8034 else
8035 enable_shared=yes
8036 fi
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048 # Check whether --with-pic was given.
8049 if test "${with_pic+set}" = set; then :
8050 withval=$with_pic; lt_p=${PACKAGE-default}
8051 case $withval in
8052 yes|no) pic_mode=$withval ;;
8053 *)
8054 pic_mode=default
8055 # Look at the argument we got. We use all the common list separators.
8056 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8057 for lt_pkg in $withval; do
8058 IFS="$lt_save_ifs"
8059 if test "X$lt_pkg" = "X$lt_p"; then
8060 pic_mode=yes
8061 fi
8062 done
8063 IFS="$lt_save_ifs"
8064 ;;
8065 esac
8066 else
8067 pic_mode=default
8068 fi
8069
8070
8071 test -z "$pic_mode" && pic_mode=default
8072
8073
8074
8075
8076
8077
8078
8079 # Check whether --enable-fast-install was given.
8080 if test "${enable_fast_install+set}" = set; then :
8081 enableval=$enable_fast_install; p=${PACKAGE-default}
8082 case $enableval in
8083 yes) enable_fast_install=yes ;;
8084 no) enable_fast_install=no ;;
8085 *)
8086 enable_fast_install=no
8087 # Look at the argument we got. We use all the common list separators.
8088 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8089 for pkg in $enableval; do
8090 IFS="$lt_save_ifs"
8091 if test "X$pkg" = "X$p"; then
8092 enable_fast_install=yes
8093 fi
8094 done
8095 IFS="$lt_save_ifs"
8096 ;;
8097 esac
8098 else
8099 enable_fast_install=yes
8100 fi
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112 # This can be used to rebuild libtool when needed
8113 LIBTOOL_DEPS="$ltmain"
8114
8115 # Always use our own libtool.
8116 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147 test -z "$LN_S" && LN_S="ln -s"
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162 if test -n "${ZSH_VERSION+set}" ; then
8163 setopt NO_GLOB_SUBST
8164 fi
8165
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8167 $as_echo_n "checking for objdir... " >&6; }
8168 if ${lt_cv_objdir+:} false; then :
8169 $as_echo_n "(cached) " >&6
8170 else
8171 rm -f .libs 2>/dev/null
8172 mkdir .libs 2>/dev/null
8173 if test -d .libs; then
8174 lt_cv_objdir=.libs
8175 else
8176 # MS-DOS does not allow filenames that begin with a dot.
8177 lt_cv_objdir=_libs
8178 fi
8179 rmdir .libs 2>/dev/null
8180 fi
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8182 $as_echo "$lt_cv_objdir" >&6; }
8183 objdir=$lt_cv_objdir
8184
8185
8186
8187
8188
8189 cat >>confdefs.h <<_ACEOF
8190 #define LT_OBJDIR "$lt_cv_objdir/"
8191 _ACEOF
8192
8193
8194
8195
8196 case $host_os in
8197 aix3*)
8198 # AIX sometimes has problems with the GCC collect2 program. For some
8199 # reason, if we set the COLLECT_NAMES environment variable, the problems
8200 # vanish in a puff of smoke.
8201 if test "X${COLLECT_NAMES+set}" != Xset; then
8202 COLLECT_NAMES=
8203 export COLLECT_NAMES
8204 fi
8205 ;;
8206 esac
8207
8208 # Global variables:
8209 ofile=libtool
8210 can_build_shared=yes
8211
8212 # All known linkers require a `.a' archive for static linking (except MSVC,
8213 # which needs '.lib').
8214 libext=a
8215
8216 with_gnu_ld="$lt_cv_prog_gnu_ld"
8217
8218 old_CC="$CC"
8219 old_CFLAGS="$CFLAGS"
8220
8221 # Set sane defaults for various variables
8222 test -z "$CC" && CC=cc
8223 test -z "$LTCC" && LTCC=$CC
8224 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8225 test -z "$LD" && LD=ld
8226 test -z "$ac_objext" && ac_objext=o
8227
8228 for cc_temp in $compiler""; do
8229 case $cc_temp in
8230 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8231 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8232 \-*) ;;
8233 *) break;;
8234 esac
8235 done
8236 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8237
8238
8239 # Only perform the check for file, if the check method requires it
8240 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8241 case $deplibs_check_method in
8242 file_magic*)
8243 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8245 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8246 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8247 $as_echo_n "(cached) " >&6
8248 else
8249 case $MAGIC_CMD in
8250 [\\/*] | ?:[\\/]*)
8251 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8252 ;;
8253 *)
8254 lt_save_MAGIC_CMD="$MAGIC_CMD"
8255 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8256 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8257 for ac_dir in $ac_dummy; do
8258 IFS="$lt_save_ifs"
8259 test -z "$ac_dir" && ac_dir=.
8260 if test -f $ac_dir/${ac_tool_prefix}file; then
8261 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8262 if test -n "$file_magic_test_file"; then
8263 case $deplibs_check_method in
8264 "file_magic "*)
8265 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8266 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8267 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8268 $EGREP "$file_magic_regex" > /dev/null; then
8269 :
8270 else
8271 cat <<_LT_EOF 1>&2
8272
8273 *** Warning: the command libtool uses to detect shared libraries,
8274 *** $file_magic_cmd, produces output that libtool cannot recognize.
8275 *** The result is that libtool may fail to recognize shared libraries
8276 *** as such. This will affect the creation of libtool libraries that
8277 *** depend on shared libraries, but programs linked with such libtool
8278 *** libraries will work regardless of this problem. Nevertheless, you
8279 *** may want to report the problem to your system manager and/or to
8280 *** [email protected]
8281
8282 _LT_EOF
8283 fi ;;
8284 esac
8285 fi
8286 break
8287 fi
8288 done
8289 IFS="$lt_save_ifs"
8290 MAGIC_CMD="$lt_save_MAGIC_CMD"
8291 ;;
8292 esac
8293 fi
8294
8295 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8296 if test -n "$MAGIC_CMD"; then
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8298 $as_echo "$MAGIC_CMD" >&6; }
8299 else
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8301 $as_echo "no" >&6; }
8302 fi
8303
8304
8305
8306
8307
8308 if test -z "$lt_cv_path_MAGIC_CMD"; then
8309 if test -n "$ac_tool_prefix"; then
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8311 $as_echo_n "checking for file... " >&6; }
8312 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8313 $as_echo_n "(cached) " >&6
8314 else
8315 case $MAGIC_CMD in
8316 [\\/*] | ?:[\\/]*)
8317 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8318 ;;
8319 *)
8320 lt_save_MAGIC_CMD="$MAGIC_CMD"
8321 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8322 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8323 for ac_dir in $ac_dummy; do
8324 IFS="$lt_save_ifs"
8325 test -z "$ac_dir" && ac_dir=.
8326 if test -f $ac_dir/file; then
8327 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8328 if test -n "$file_magic_test_file"; then
8329 case $deplibs_check_method in
8330 "file_magic "*)
8331 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8332 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8333 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8334 $EGREP "$file_magic_regex" > /dev/null; then
8335 :
8336 else
8337 cat <<_LT_EOF 1>&2
8338
8339 *** Warning: the command libtool uses to detect shared libraries,
8340 *** $file_magic_cmd, produces output that libtool cannot recognize.
8341 *** The result is that libtool may fail to recognize shared libraries
8342 *** as such. This will affect the creation of libtool libraries that
8343 *** depend on shared libraries, but programs linked with such libtool
8344 *** libraries will work regardless of this problem. Nevertheless, you
8345 *** may want to report the problem to your system manager and/or to
8346 *** [email protected]
8347
8348 _LT_EOF
8349 fi ;;
8350 esac
8351 fi
8352 break
8353 fi
8354 done
8355 IFS="$lt_save_ifs"
8356 MAGIC_CMD="$lt_save_MAGIC_CMD"
8357 ;;
8358 esac
8359 fi
8360
8361 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8362 if test -n "$MAGIC_CMD"; then
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8364 $as_echo "$MAGIC_CMD" >&6; }
8365 else
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8367 $as_echo "no" >&6; }
8368 fi
8369
8370
8371 else
8372 MAGIC_CMD=:
8373 fi
8374 fi
8375
8376 fi
8377 ;;
8378 esac
8379
8380 # Use C for the default configuration in the libtool script
8381
8382 lt_save_CC="$CC"
8383 ac_ext=c
8384 ac_cpp='$CPP $CPPFLAGS'
8385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8388
8389
8390 # Source file extension for C test sources.
8391 ac_ext=c
8392
8393 # Object file extension for compiled C test sources.
8394 objext=o
8395 objext=$objext
8396
8397 # Code to be used in simple compile tests
8398 lt_simple_compile_test_code="int some_variable = 0;"
8399
8400 # Code to be used in simple link tests
8401 lt_simple_link_test_code='int main(){return(0);}'
8402
8403
8404
8405
8406
8407
8408
8409 # If no C compiler was specified, use CC.
8410 LTCC=${LTCC-"$CC"}
8411
8412 # If no C compiler flags were specified, use CFLAGS.
8413 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8414
8415 # Allow CC to be a program name with arguments.
8416 compiler=$CC
8417
8418 # Save the default compiler, since it gets overwritten when the other
8419 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8420 compiler_DEFAULT=$CC
8421
8422 # save warnings/boilerplate of simple test code
8423 ac_outfile=conftest.$ac_objext
8424 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8425 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8426 _lt_compiler_boilerplate=`cat conftest.err`
8427 $RM conftest*
8428
8429 ac_outfile=conftest.$ac_objext
8430 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8431 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8432 _lt_linker_boilerplate=`cat conftest.err`
8433 $RM -r conftest*
8434
8435
8436 if test -n "$compiler"; then
8437
8438 lt_prog_compiler_no_builtin_flag=
8439
8440 if test "$GCC" = yes; then
8441 case $cc_basename in
8442 nvcc*)
8443 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8444 *)
8445 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8446 esac
8447
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8449 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8450 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8451 $as_echo_n "(cached) " >&6
8452 else
8453 lt_cv_prog_compiler_rtti_exceptions=no
8454 ac_outfile=conftest.$ac_objext
8455 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8456 lt_compiler_flag="-fno-rtti -fno-exceptions"
8457 # Insert the option either (1) after the last *FLAGS variable, or
8458 # (2) before a word containing "conftest.", or (3) at the end.
8459 # Note that $ac_compile itself does not contain backslashes and begins
8460 # with a dollar sign (not a hyphen), so the echo should work correctly.
8461 # The option is referenced via a variable to avoid confusing sed.
8462 lt_compile=`echo "$ac_compile" | $SED \
8463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8465 -e 's:$: $lt_compiler_flag:'`
8466 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8467 (eval "$lt_compile" 2>conftest.err)
8468 ac_status=$?
8469 cat conftest.err >&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 if (exit $ac_status) && test -s "$ac_outfile"; then
8472 # The compiler can only warn and ignore the option if not recognized
8473 # So say no if there are warnings other than the usual output.
8474 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8475 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8476 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8477 lt_cv_prog_compiler_rtti_exceptions=yes
8478 fi
8479 fi
8480 $RM conftest*
8481
8482 fi
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8484 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8485
8486 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8487 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8488 else
8489 :
8490 fi
8491
8492 fi
8493
8494
8495
8496
8497
8498
8499 lt_prog_compiler_wl=
8500 lt_prog_compiler_pic=
8501 lt_prog_compiler_static=
8502
8503
8504 if test "$GCC" = yes; then
8505 lt_prog_compiler_wl='-Wl,'
8506 lt_prog_compiler_static='-static'
8507
8508 case $host_os in
8509 aix*)
8510 # All AIX code is PIC.
8511 if test "$host_cpu" = ia64; then
8512 # AIX 5 now supports IA64 processor
8513 lt_prog_compiler_static='-Bstatic'
8514 fi
8515 ;;
8516
8517 amigaos*)
8518 case $host_cpu in
8519 powerpc)
8520 # see comment about AmigaOS4 .so support
8521 lt_prog_compiler_pic='-fPIC'
8522 ;;
8523 m68k)
8524 # FIXME: we need at least 68020 code to build shared libraries, but
8525 # adding the `-m68020' flag to GCC prevents building anything better,
8526 # like `-m68040'.
8527 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8528 ;;
8529 esac
8530 ;;
8531
8532 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8533 # PIC is the default for these OSes.
8534 ;;
8535
8536 mingw* | cygwin* | pw32* | os2* | cegcc*)
8537 # This hack is so that the source file can tell whether it is being
8538 # built for inclusion in a dll (and should export symbols for example).
8539 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8540 # (--disable-auto-import) libraries
8541 lt_prog_compiler_pic='-DDLL_EXPORT'
8542 ;;
8543
8544 darwin* | rhapsody*)
8545 # PIC is the default on this platform
8546 # Common symbols not allowed in MH_DYLIB files
8547 lt_prog_compiler_pic='-fno-common'
8548 ;;
8549
8550 haiku*)
8551 # PIC is the default for Haiku.
8552 # The "-static" flag exists, but is broken.
8553 lt_prog_compiler_static=
8554 ;;
8555
8556 hpux*)
8557 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8558 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8559 # sets the default TLS model and affects inlining.
8560 case $host_cpu in
8561 hppa*64*)
8562 # +Z the default
8563 ;;
8564 *)
8565 lt_prog_compiler_pic='-fPIC'
8566 ;;
8567 esac
8568 ;;
8569
8570 interix[3-9]*)
8571 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8572 # Instead, we relocate shared libraries at runtime.
8573 ;;
8574
8575 msdosdjgpp*)
8576 # Just because we use GCC doesn't mean we suddenly get shared libraries
8577 # on systems that don't support them.
8578 lt_prog_compiler_can_build_shared=no
8579 enable_shared=no
8580 ;;
8581
8582 *nto* | *qnx*)
8583 # QNX uses GNU C++, but need to define -shared option too, otherwise
8584 # it will coredump.
8585 lt_prog_compiler_pic='-fPIC -shared'
8586 ;;
8587
8588 sysv4*MP*)
8589 if test -d /usr/nec; then
8590 lt_prog_compiler_pic=-Kconform_pic
8591 fi
8592 ;;
8593
8594 *)
8595 lt_prog_compiler_pic='-fPIC'
8596 ;;
8597 esac
8598
8599 case $cc_basename in
8600 nvcc*) # Cuda Compiler Driver 2.2
8601 lt_prog_compiler_wl='-Xlinker '
8602 if test -n "$lt_prog_compiler_pic"; then
8603 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8604 fi
8605 ;;
8606 esac
8607 else
8608 # PORTME Check for flag to pass linker flags through the system compiler.
8609 case $host_os in
8610 aix*)
8611 lt_prog_compiler_wl='-Wl,'
8612 if test "$host_cpu" = ia64; then
8613 # AIX 5 now supports IA64 processor
8614 lt_prog_compiler_static='-Bstatic'
8615 else
8616 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8617 fi
8618 ;;
8619
8620 mingw* | cygwin* | pw32* | os2* | cegcc*)
8621 # This hack is so that the source file can tell whether it is being
8622 # built for inclusion in a dll (and should export symbols for example).
8623 lt_prog_compiler_pic='-DDLL_EXPORT'
8624 ;;
8625
8626 hpux9* | hpux10* | hpux11*)
8627 lt_prog_compiler_wl='-Wl,'
8628 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8629 # not for PA HP-UX.
8630 case $host_cpu in
8631 hppa*64*|ia64*)
8632 # +Z the default
8633 ;;
8634 *)
8635 lt_prog_compiler_pic='+Z'
8636 ;;
8637 esac
8638 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8639 lt_prog_compiler_static='${wl}-a ${wl}archive'
8640 ;;
8641
8642 irix5* | irix6* | nonstopux*)
8643 lt_prog_compiler_wl='-Wl,'
8644 # PIC (with -KPIC) is the default.
8645 lt_prog_compiler_static='-non_shared'
8646 ;;
8647
8648 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8649 case $cc_basename in
8650 # old Intel for x86_64 which still supported -KPIC.
8651 ecc*)
8652 lt_prog_compiler_wl='-Wl,'
8653 lt_prog_compiler_pic='-KPIC'
8654 lt_prog_compiler_static='-static'
8655 ;;
8656 # icc used to be incompatible with GCC.
8657 # ICC 10 doesn't accept -KPIC any more.
8658 icc* | ifort*)
8659 lt_prog_compiler_wl='-Wl,'
8660 lt_prog_compiler_pic='-fPIC'
8661 lt_prog_compiler_static='-static'
8662 ;;
8663 # Lahey Fortran 8.1.
8664 lf95*)
8665 lt_prog_compiler_wl='-Wl,'
8666 lt_prog_compiler_pic='--shared'
8667 lt_prog_compiler_static='--static'
8668 ;;
8669 nagfor*)
8670 # NAG Fortran compiler
8671 lt_prog_compiler_wl='-Wl,-Wl,,'
8672 lt_prog_compiler_pic='-PIC'
8673 lt_prog_compiler_static='-Bstatic'
8674 ;;
8675 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8676 # Portland Group compilers (*not* the Pentium gcc compiler,
8677 # which looks to be a dead project)
8678 lt_prog_compiler_wl='-Wl,'
8679 lt_prog_compiler_pic='-fpic'
8680 lt_prog_compiler_static='-Bstatic'
8681 ;;
8682 ccc*)
8683 lt_prog_compiler_wl='-Wl,'
8684 # All Alpha code is PIC.
8685 lt_prog_compiler_static='-non_shared'
8686 ;;
8687 xl* | bgxl* | bgf* | mpixl*)
8688 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8689 lt_prog_compiler_wl='-Wl,'
8690 lt_prog_compiler_pic='-qpic'
8691 lt_prog_compiler_static='-qstaticlink'
8692 ;;
8693 *)
8694 case `$CC -V 2>&1 | sed 5q` in
8695 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8696 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8697 lt_prog_compiler_pic='-KPIC'
8698 lt_prog_compiler_static='-Bstatic'
8699 lt_prog_compiler_wl=''
8700 ;;
8701 *Sun\ F* | *Sun*Fortran*)
8702 lt_prog_compiler_pic='-KPIC'
8703 lt_prog_compiler_static='-Bstatic'
8704 lt_prog_compiler_wl='-Qoption ld '
8705 ;;
8706 *Sun\ C*)
8707 # Sun C 5.9
8708 lt_prog_compiler_pic='-KPIC'
8709 lt_prog_compiler_static='-Bstatic'
8710 lt_prog_compiler_wl='-Wl,'
8711 ;;
8712 *Intel*\ [CF]*Compiler*)
8713 lt_prog_compiler_wl='-Wl,'
8714 lt_prog_compiler_pic='-fPIC'
8715 lt_prog_compiler_static='-static'
8716 ;;
8717 *Portland\ Group*)
8718 lt_prog_compiler_wl='-Wl,'
8719 lt_prog_compiler_pic='-fpic'
8720 lt_prog_compiler_static='-Bstatic'
8721 ;;
8722 esac
8723 ;;
8724 esac
8725 ;;
8726
8727 newsos6)
8728 lt_prog_compiler_pic='-KPIC'
8729 lt_prog_compiler_static='-Bstatic'
8730 ;;
8731
8732 *nto* | *qnx*)
8733 # QNX uses GNU C++, but need to define -shared option too, otherwise
8734 # it will coredump.
8735 lt_prog_compiler_pic='-fPIC -shared'
8736 ;;
8737
8738 osf3* | osf4* | osf5*)
8739 lt_prog_compiler_wl='-Wl,'
8740 # All OSF/1 code is PIC.
8741 lt_prog_compiler_static='-non_shared'
8742 ;;
8743
8744 rdos*)
8745 lt_prog_compiler_static='-non_shared'
8746 ;;
8747
8748 solaris*)
8749 lt_prog_compiler_pic='-KPIC'
8750 lt_prog_compiler_static='-Bstatic'
8751 case $cc_basename in
8752 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8753 lt_prog_compiler_wl='-Qoption ld ';;
8754 *)
8755 lt_prog_compiler_wl='-Wl,';;
8756 esac
8757 ;;
8758
8759 sunos4*)
8760 lt_prog_compiler_wl='-Qoption ld '
8761 lt_prog_compiler_pic='-PIC'
8762 lt_prog_compiler_static='-Bstatic'
8763 ;;
8764
8765 sysv4 | sysv4.2uw2* | sysv4.3*)
8766 lt_prog_compiler_wl='-Wl,'
8767 lt_prog_compiler_pic='-KPIC'
8768 lt_prog_compiler_static='-Bstatic'
8769 ;;
8770
8771 sysv4*MP*)
8772 if test -d /usr/nec ;then
8773 lt_prog_compiler_pic='-Kconform_pic'
8774 lt_prog_compiler_static='-Bstatic'
8775 fi
8776 ;;
8777
8778 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='-KPIC'
8781 lt_prog_compiler_static='-Bstatic'
8782 ;;
8783
8784 unicos*)
8785 lt_prog_compiler_wl='-Wl,'
8786 lt_prog_compiler_can_build_shared=no
8787 ;;
8788
8789 uts4*)
8790 lt_prog_compiler_pic='-pic'
8791 lt_prog_compiler_static='-Bstatic'
8792 ;;
8793
8794 *)
8795 lt_prog_compiler_can_build_shared=no
8796 ;;
8797 esac
8798 fi
8799
8800 case $host_os in
8801 # For platforms which do not support PIC, -DPIC is meaningless:
8802 *djgpp*)
8803 lt_prog_compiler_pic=
8804 ;;
8805 *)
8806 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8807 ;;
8808 esac
8809
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8811 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8812 if ${lt_cv_prog_compiler_pic+:} false; then :
8813 $as_echo_n "(cached) " >&6
8814 else
8815 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8816 fi
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8818 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8819 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8820
8821 #
8822 # Check to make sure the PIC flag actually works.
8823 #
8824 if test -n "$lt_prog_compiler_pic"; then
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8826 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8827 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8828 $as_echo_n "(cached) " >&6
8829 else
8830 lt_cv_prog_compiler_pic_works=no
8831 ac_outfile=conftest.$ac_objext
8832 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8833 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8834 # Insert the option either (1) after the last *FLAGS variable, or
8835 # (2) before a word containing "conftest.", or (3) at the end.
8836 # Note that $ac_compile itself does not contain backslashes and begins
8837 # with a dollar sign (not a hyphen), so the echo should work correctly.
8838 # The option is referenced via a variable to avoid confusing sed.
8839 lt_compile=`echo "$ac_compile" | $SED \
8840 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8841 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8842 -e 's:$: $lt_compiler_flag:'`
8843 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8844 (eval "$lt_compile" 2>conftest.err)
8845 ac_status=$?
8846 cat conftest.err >&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 if (exit $ac_status) && test -s "$ac_outfile"; then
8849 # The compiler can only warn and ignore the option if not recognized
8850 # So say no if there are warnings other than the usual output.
8851 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8852 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8853 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8854 lt_cv_prog_compiler_pic_works=yes
8855 fi
8856 fi
8857 $RM conftest*
8858
8859 fi
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8861 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8862
8863 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8864 case $lt_prog_compiler_pic in
8865 "" | " "*) ;;
8866 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8867 esac
8868 else
8869 lt_prog_compiler_pic=
8870 lt_prog_compiler_can_build_shared=no
8871 fi
8872
8873 fi
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885 #
8886 # Check to make sure the static flag actually works.
8887 #
8888 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8890 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8891 if ${lt_cv_prog_compiler_static_works+:} false; then :
8892 $as_echo_n "(cached) " >&6
8893 else
8894 lt_cv_prog_compiler_static_works=no
8895 save_LDFLAGS="$LDFLAGS"
8896 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8897 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8898 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8899 # The linker can only warn and ignore the option if not recognized
8900 # So say no if there are warnings
8901 if test -s conftest.err; then
8902 # Append any errors to the config.log.
8903 cat conftest.err 1>&5
8904 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8905 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8906 if diff conftest.exp conftest.er2 >/dev/null; then
8907 lt_cv_prog_compiler_static_works=yes
8908 fi
8909 else
8910 lt_cv_prog_compiler_static_works=yes
8911 fi
8912 fi
8913 $RM -r conftest*
8914 LDFLAGS="$save_LDFLAGS"
8915
8916 fi
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8918 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8919
8920 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8921 :
8922 else
8923 lt_prog_compiler_static=
8924 fi
8925
8926
8927
8928
8929
8930
8931
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8933 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8934 if ${lt_cv_prog_compiler_c_o+:} false; then :
8935 $as_echo_n "(cached) " >&6
8936 else
8937 lt_cv_prog_compiler_c_o=no
8938 $RM -r conftest 2>/dev/null
8939 mkdir conftest
8940 cd conftest
8941 mkdir out
8942 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8943
8944 lt_compiler_flag="-o out/conftest2.$ac_objext"
8945 # Insert the option either (1) after the last *FLAGS variable, or
8946 # (2) before a word containing "conftest.", or (3) at the end.
8947 # Note that $ac_compile itself does not contain backslashes and begins
8948 # with a dollar sign (not a hyphen), so the echo should work correctly.
8949 lt_compile=`echo "$ac_compile" | $SED \
8950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8952 -e 's:$: $lt_compiler_flag:'`
8953 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8954 (eval "$lt_compile" 2>out/conftest.err)
8955 ac_status=$?
8956 cat out/conftest.err >&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8959 then
8960 # The compiler can only warn and ignore the option if not recognized
8961 # So say no if there are warnings
8962 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8963 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8964 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8965 lt_cv_prog_compiler_c_o=yes
8966 fi
8967 fi
8968 chmod u+w . 2>&5
8969 $RM conftest*
8970 # SGI C++ compiler will create directory out/ii_files/ for
8971 # template instantiation
8972 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8973 $RM out/* && rmdir out
8974 cd ..
8975 $RM -r conftest
8976 $RM conftest*
8977
8978 fi
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8980 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8981
8982
8983
8984
8985
8986
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8988 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8989 if ${lt_cv_prog_compiler_c_o+:} false; then :
8990 $as_echo_n "(cached) " >&6
8991 else
8992 lt_cv_prog_compiler_c_o=no
8993 $RM -r conftest 2>/dev/null
8994 mkdir conftest
8995 cd conftest
8996 mkdir out
8997 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8998
8999 lt_compiler_flag="-o out/conftest2.$ac_objext"
9000 # Insert the option either (1) after the last *FLAGS variable, or
9001 # (2) before a word containing "conftest.", or (3) at the end.
9002 # Note that $ac_compile itself does not contain backslashes and begins
9003 # with a dollar sign (not a hyphen), so the echo should work correctly.
9004 lt_compile=`echo "$ac_compile" | $SED \
9005 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9006 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9007 -e 's:$: $lt_compiler_flag:'`
9008 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9009 (eval "$lt_compile" 2>out/conftest.err)
9010 ac_status=$?
9011 cat out/conftest.err >&5
9012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9013 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9014 then
9015 # The compiler can only warn and ignore the option if not recognized
9016 # So say no if there are warnings
9017 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9018 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9019 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9020 lt_cv_prog_compiler_c_o=yes
9021 fi
9022 fi
9023 chmod u+w . 2>&5
9024 $RM conftest*
9025 # SGI C++ compiler will create directory out/ii_files/ for
9026 # template instantiation
9027 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9028 $RM out/* && rmdir out
9029 cd ..
9030 $RM -r conftest
9031 $RM conftest*
9032
9033 fi
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9035 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9036
9037
9038
9039
9040 hard_links="nottested"
9041 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9042 # do not overwrite the value of need_locks provided by the user
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9044 $as_echo_n "checking if we can lock with hard links... " >&6; }
9045 hard_links=yes
9046 $RM conftest*
9047 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9048 touch conftest.a
9049 ln conftest.a conftest.b 2>&5 || hard_links=no
9050 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9052 $as_echo "$hard_links" >&6; }
9053 if test "$hard_links" = no; then
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9055 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9056 need_locks=warn
9057 fi
9058 else
9059 need_locks=no
9060 fi
9061
9062
9063
9064
9065
9066
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9068 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9069
9070 runpath_var=
9071 allow_undefined_flag=
9072 always_export_symbols=no
9073 archive_cmds=
9074 archive_expsym_cmds=
9075 compiler_needs_object=no
9076 enable_shared_with_static_runtimes=no
9077 export_dynamic_flag_spec=
9078 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9079 hardcode_automatic=no
9080 hardcode_direct=no
9081 hardcode_direct_absolute=no
9082 hardcode_libdir_flag_spec=
9083 hardcode_libdir_separator=
9084 hardcode_minus_L=no
9085 hardcode_shlibpath_var=unsupported
9086 inherit_rpath=no
9087 link_all_deplibs=unknown
9088 module_cmds=
9089 module_expsym_cmds=
9090 old_archive_from_new_cmds=
9091 old_archive_from_expsyms_cmds=
9092 thread_safe_flag_spec=
9093 whole_archive_flag_spec=
9094 # include_expsyms should be a list of space-separated symbols to be *always*
9095 # included in the symbol list
9096 include_expsyms=
9097 # exclude_expsyms can be an extended regexp of symbols to exclude
9098 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9099 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9100 # as well as any symbol that contains `d'.
9101 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9102 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9103 # platforms (ab)use it in PIC code, but their linkers get confused if
9104 # the symbol is explicitly referenced. Since portable code cannot
9105 # rely on this symbol name, it's probably fine to never include it in
9106 # preloaded symbol tables.
9107 # Exclude shared library initialization/finalization symbols.
9108 extract_expsyms_cmds=
9109
9110 case $host_os in
9111 cygwin* | mingw* | pw32* | cegcc*)
9112 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9113 # When not using gcc, we currently assume that we are using
9114 # Microsoft Visual C++.
9115 if test "$GCC" != yes; then
9116 with_gnu_ld=no
9117 fi
9118 ;;
9119 interix*)
9120 # we just hope/assume this is gcc and not c89 (= MSVC++)
9121 with_gnu_ld=yes
9122 ;;
9123 openbsd*)
9124 with_gnu_ld=no
9125 ;;
9126 esac
9127
9128 ld_shlibs=yes
9129
9130 # On some targets, GNU ld is compatible enough with the native linker
9131 # that we're better off using the native interface for both.
9132 lt_use_gnu_ld_interface=no
9133 if test "$with_gnu_ld" = yes; then
9134 case $host_os in
9135 aix*)
9136 # The AIX port of GNU ld has always aspired to compatibility
9137 # with the native linker. However, as the warning in the GNU ld
9138 # block says, versions before 2.19.5* couldn't really create working
9139 # shared libraries, regardless of the interface used.
9140 case `$LD -v 2>&1` in
9141 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9142 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9143 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9144 *)
9145 lt_use_gnu_ld_interface=yes
9146 ;;
9147 esac
9148 ;;
9149 *)
9150 lt_use_gnu_ld_interface=yes
9151 ;;
9152 esac
9153 fi
9154
9155 if test "$lt_use_gnu_ld_interface" = yes; then
9156 # If archive_cmds runs LD, not CC, wlarc should be empty
9157 wlarc='${wl}'
9158
9159 # Set some defaults for GNU ld with shared library support. These
9160 # are reset later if shared libraries are not supported. Putting them
9161 # here allows them to be overridden if necessary.
9162 runpath_var=LD_RUN_PATH
9163 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9164 export_dynamic_flag_spec='${wl}--export-dynamic'
9165 # ancient GNU ld didn't support --whole-archive et. al.
9166 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9167 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9168 else
9169 whole_archive_flag_spec=
9170 fi
9171 supports_anon_versioning=no
9172 case `$LD -v 2>&1` in
9173 *GNU\ gold*) supports_anon_versioning=yes ;;
9174 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9175 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9176 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9177 *\ 2.11.*) ;; # other 2.11 versions
9178 *) supports_anon_versioning=yes ;;
9179 esac
9180
9181 # See if GNU ld supports shared libraries.
9182 case $host_os in
9183 aix[3-9]*)
9184 # On AIX/PPC, the GNU linker is very broken
9185 if test "$host_cpu" != ia64; then
9186 ld_shlibs=no
9187 cat <<_LT_EOF 1>&2
9188
9189 *** Warning: the GNU linker, at least up to release 2.19, is reported
9190 *** to be unable to reliably create shared libraries on AIX.
9191 *** Therefore, libtool is disabling shared libraries support. If you
9192 *** really care for shared libraries, you may want to install binutils
9193 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9194 *** You will then need to restart the configuration process.
9195
9196 _LT_EOF
9197 fi
9198 ;;
9199
9200 amigaos*)
9201 case $host_cpu in
9202 powerpc)
9203 # see comment about AmigaOS4 .so support
9204 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9205 archive_expsym_cmds=''
9206 ;;
9207 m68k)
9208 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)'
9209 hardcode_libdir_flag_spec='-L$libdir'
9210 hardcode_minus_L=yes
9211 ;;
9212 esac
9213 ;;
9214
9215 beos*)
9216 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9217 allow_undefined_flag=unsupported
9218 # Joseph Beckenbach <[email protected]> says some releases of gcc
9219 # support --undefined. This deserves some investigation. FIXME
9220 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9221 else
9222 ld_shlibs=no
9223 fi
9224 ;;
9225
9226 cygwin* | mingw* | pw32* | cegcc*)
9227 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9228 # as there is no search path for DLLs.
9229 hardcode_libdir_flag_spec='-L$libdir'
9230 export_dynamic_flag_spec='${wl}--export-all-symbols'
9231 allow_undefined_flag=unsupported
9232 always_export_symbols=no
9233 enable_shared_with_static_runtimes=yes
9234 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9235 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9236
9237 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9238 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9239 # If the export-symbols file already is a .def file (1st line
9240 # is EXPORTS), use it as is; otherwise, prepend...
9241 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9242 cp $export_symbols $output_objdir/$soname.def;
9243 else
9244 echo EXPORTS > $output_objdir/$soname.def;
9245 cat $export_symbols >> $output_objdir/$soname.def;
9246 fi~
9247 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9248 else
9249 ld_shlibs=no
9250 fi
9251 ;;
9252
9253 haiku*)
9254 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9255 link_all_deplibs=yes
9256 ;;
9257
9258 interix[3-9]*)
9259 hardcode_direct=no
9260 hardcode_shlibpath_var=no
9261 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9262 export_dynamic_flag_spec='${wl}-E'
9263 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9264 # Instead, shared libraries are loaded at an image base (0x10000000 by
9265 # default) and relocated if they conflict, which is a slow very memory
9266 # consuming and fragmenting process. To avoid this, we pick a random,
9267 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9268 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9269 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9270 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'
9271 ;;
9272
9273 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9274 tmp_diet=no
9275 if test "$host_os" = linux-dietlibc; then
9276 case $cc_basename in
9277 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9278 esac
9279 fi
9280 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9281 && test "$tmp_diet" = no
9282 then
9283 tmp_addflag=' $pic_flag'
9284 tmp_sharedflag='-shared'
9285 case $cc_basename,$host_cpu in
9286 pgcc*) # Portland Group C compiler
9287 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'
9288 tmp_addflag=' $pic_flag'
9289 ;;
9290 pgf77* | pgf90* | pgf95* | pgfortran*)
9291 # Portland Group f77 and f90 compilers
9292 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'
9293 tmp_addflag=' $pic_flag -Mnomain' ;;
9294 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9295 tmp_addflag=' -i_dynamic' ;;
9296 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9297 tmp_addflag=' -i_dynamic -nofor_main' ;;
9298 ifc* | ifort*) # Intel Fortran compiler
9299 tmp_addflag=' -nofor_main' ;;
9300 lf95*) # Lahey Fortran 8.1
9301 whole_archive_flag_spec=
9302 tmp_sharedflag='--shared' ;;
9303 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9304 tmp_sharedflag='-qmkshrobj'
9305 tmp_addflag= ;;
9306 nvcc*) # Cuda Compiler Driver 2.2
9307 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'
9308 compiler_needs_object=yes
9309 ;;
9310 esac
9311 case `$CC -V 2>&1 | sed 5q` in
9312 *Sun\ C*) # Sun C 5.9
9313 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'
9314 compiler_needs_object=yes
9315 tmp_sharedflag='-G' ;;
9316 *Sun\ F*) # Sun Fortran 8.3
9317 tmp_sharedflag='-G' ;;
9318 esac
9319 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9320
9321 if test "x$supports_anon_versioning" = xyes; then
9322 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9323 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9324 echo "local: *; };" >> $output_objdir/$libname.ver~
9325 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9326 fi
9327
9328 case $cc_basename in
9329 xlf* | bgf* | bgxlf* | mpixlf*)
9330 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9331 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9332 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9333 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9334 if test "x$supports_anon_versioning" = xyes; then
9335 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9336 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9337 echo "local: *; };" >> $output_objdir/$libname.ver~
9338 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9339 fi
9340 ;;
9341 esac
9342 else
9343 ld_shlibs=no
9344 fi
9345 ;;
9346
9347 netbsd*)
9348 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9349 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9350 wlarc=
9351 else
9352 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9353 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9354 fi
9355 ;;
9356
9357 solaris*)
9358 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9359 ld_shlibs=no
9360 cat <<_LT_EOF 1>&2
9361
9362 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9363 *** create shared libraries on Solaris systems. Therefore, libtool
9364 *** is disabling shared libraries support. We urge you to upgrade GNU
9365 *** binutils to release 2.9.1 or newer. Another option is to modify
9366 *** your PATH or compiler configuration so that the native linker is
9367 *** used, and then restart.
9368
9369 _LT_EOF
9370 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9371 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9372 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9373 else
9374 ld_shlibs=no
9375 fi
9376 ;;
9377
9378 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9379 case `$LD -v 2>&1` in
9380 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9381 ld_shlibs=no
9382 cat <<_LT_EOF 1>&2
9383
9384 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9385 *** reliably create shared libraries on SCO systems. Therefore, libtool
9386 *** is disabling shared libraries support. We urge you to upgrade GNU
9387 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9388 *** your PATH or compiler configuration so that the native linker is
9389 *** used, and then restart.
9390
9391 _LT_EOF
9392 ;;
9393 *)
9394 # For security reasons, it is highly recommended that you always
9395 # use absolute paths for naming shared libraries, and exclude the
9396 # DT_RUNPATH tag from executables and libraries. But doing so
9397 # requires that you compile everything twice, which is a pain.
9398 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9399 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9400 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9401 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9402 else
9403 ld_shlibs=no
9404 fi
9405 ;;
9406 esac
9407 ;;
9408
9409 sunos4*)
9410 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9411 wlarc=
9412 hardcode_direct=yes
9413 hardcode_shlibpath_var=no
9414 ;;
9415
9416 *)
9417 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9418 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9419 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9420 else
9421 ld_shlibs=no
9422 fi
9423 ;;
9424 esac
9425
9426 if test "$ld_shlibs" = no; then
9427 runpath_var=
9428 hardcode_libdir_flag_spec=
9429 export_dynamic_flag_spec=
9430 whole_archive_flag_spec=
9431 fi
9432 else
9433 # PORTME fill in a description of your system's linker (not GNU ld)
9434 case $host_os in
9435 aix3*)
9436 allow_undefined_flag=unsupported
9437 always_export_symbols=yes
9438 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'
9439 # Note: this linker hardcodes the directories in LIBPATH if there
9440 # are no directories specified by -L.
9441 hardcode_minus_L=yes
9442 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9443 # Neither direct hardcoding nor static linking is supported with a
9444 # broken collect2.
9445 hardcode_direct=unsupported
9446 fi
9447 ;;
9448
9449 aix[4-9]*)
9450 if test "$host_cpu" = ia64; then
9451 # On IA64, the linker does run time linking by default, so we don't
9452 # have to do anything special.
9453 aix_use_runtimelinking=no
9454 exp_sym_flag='-Bexport'
9455 no_entry_flag=""
9456 else
9457 # If we're using GNU nm, then we don't want the "-C" option.
9458 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9459 # Also, AIX nm treats weak defined symbols like other global
9460 # defined symbols, whereas GNU nm marks them as "W".
9461 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9462 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'
9463 else
9464 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'
9465 fi
9466 aix_use_runtimelinking=no
9467
9468 # Test if we are trying to use run time linking or normal
9469 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9470 # need to do runtime linking.
9471 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9472 for ld_flag in $LDFLAGS; do
9473 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9474 aix_use_runtimelinking=yes
9475 break
9476 fi
9477 done
9478 ;;
9479 esac
9480
9481 exp_sym_flag='-bexport'
9482 no_entry_flag='-bnoentry'
9483 fi
9484
9485 # When large executables or shared objects are built, AIX ld can
9486 # have problems creating the table of contents. If linking a library
9487 # or program results in "error TOC overflow" add -mminimal-toc to
9488 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9489 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9490
9491 archive_cmds=''
9492 hardcode_direct=yes
9493 hardcode_direct_absolute=yes
9494 hardcode_libdir_separator=':'
9495 link_all_deplibs=yes
9496 file_list_spec='${wl}-f,'
9497
9498 if test "$GCC" = yes; then
9499 case $host_os in aix4.[012]|aix4.[012].*)
9500 # We only want to do this on AIX 4.2 and lower, the check
9501 # below for broken collect2 doesn't work under 4.3+
9502 collect2name=`${CC} -print-prog-name=collect2`
9503 if test -f "$collect2name" &&
9504 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9505 then
9506 # We have reworked collect2
9507 :
9508 else
9509 # We have old collect2
9510 hardcode_direct=unsupported
9511 # It fails to find uninstalled libraries when the uninstalled
9512 # path is not listed in the libpath. Setting hardcode_minus_L
9513 # to unsupported forces relinking
9514 hardcode_minus_L=yes
9515 hardcode_libdir_flag_spec='-L$libdir'
9516 hardcode_libdir_separator=
9517 fi
9518 ;;
9519 esac
9520 shared_flag='-shared'
9521 if test "$aix_use_runtimelinking" = yes; then
9522 shared_flag="$shared_flag "'${wl}-G'
9523 fi
9524 else
9525 # not using gcc
9526 if test "$host_cpu" = ia64; then
9527 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9528 # chokes on -Wl,-G. The following line is correct:
9529 shared_flag='-G'
9530 else
9531 if test "$aix_use_runtimelinking" = yes; then
9532 shared_flag='${wl}-G'
9533 else
9534 shared_flag='${wl}-bM:SRE'
9535 fi
9536 fi
9537 fi
9538
9539 export_dynamic_flag_spec='${wl}-bexpall'
9540 # It seems that -bexpall does not export symbols beginning with
9541 # underscore (_), so it is better to generate a list of symbols to export.
9542 always_export_symbols=yes
9543 if test "$aix_use_runtimelinking" = yes; then
9544 # Warning - without using the other runtime loading flags (-brtl),
9545 # -berok will link without error, but may produce a broken library.
9546 allow_undefined_flag='-berok'
9547 # Determine the default libpath from the value encoded in an
9548 # empty executable.
9549 if test "${lt_cv_aix_libpath+set}" = set; then
9550 aix_libpath=$lt_cv_aix_libpath
9551 else
9552 if ${lt_cv_aix_libpath_+:} false; then :
9553 $as_echo_n "(cached) " >&6
9554 else
9555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9556 /* end confdefs.h. */
9557
9558 int
9559 main ()
9560 {
9561
9562 ;
9563 return 0;
9564 }
9565 _ACEOF
9566 if ac_fn_c_try_link "$LINENO"; then :
9567
9568 lt_aix_libpath_sed='
9569 /Import File Strings/,/^$/ {
9570 /^0/ {
9571 s/^0 *\([^ ]*\) *$/\1/
9572 p
9573 }
9574 }'
9575 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9576 # Check for a 64-bit object if we didn't find anything.
9577 if test -z "$lt_cv_aix_libpath_"; then
9578 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9579 fi
9580 fi
9581 rm -f core conftest.err conftest.$ac_objext \
9582 conftest$ac_exeext conftest.$ac_ext
9583 if test -z "$lt_cv_aix_libpath_"; then
9584 lt_cv_aix_libpath_="/usr/lib:/lib"
9585 fi
9586
9587 fi
9588
9589 aix_libpath=$lt_cv_aix_libpath_
9590 fi
9591
9592 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9593 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"
9594 else
9595 if test "$host_cpu" = ia64; then
9596 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9597 allow_undefined_flag="-z nodefs"
9598 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"
9599 else
9600 # Determine the default libpath from the value encoded in an
9601 # empty executable.
9602 if test "${lt_cv_aix_libpath+set}" = set; then
9603 aix_libpath=$lt_cv_aix_libpath
9604 else
9605 if ${lt_cv_aix_libpath_+:} false; then :
9606 $as_echo_n "(cached) " >&6
9607 else
9608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9609 /* end confdefs.h. */
9610
9611 int
9612 main ()
9613 {
9614
9615 ;
9616 return 0;
9617 }
9618 _ACEOF
9619 if ac_fn_c_try_link "$LINENO"; then :
9620
9621 lt_aix_libpath_sed='
9622 /Import File Strings/,/^$/ {
9623 /^0/ {
9624 s/^0 *\([^ ]*\) *$/\1/
9625 p
9626 }
9627 }'
9628 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9629 # Check for a 64-bit object if we didn't find anything.
9630 if test -z "$lt_cv_aix_libpath_"; then
9631 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9632 fi
9633 fi
9634 rm -f core conftest.err conftest.$ac_objext \
9635 conftest$ac_exeext conftest.$ac_ext
9636 if test -z "$lt_cv_aix_libpath_"; then
9637 lt_cv_aix_libpath_="/usr/lib:/lib"
9638 fi
9639
9640 fi
9641
9642 aix_libpath=$lt_cv_aix_libpath_
9643 fi
9644
9645 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9646 # Warning - without using the other run time loading flags,
9647 # -berok will link without error, but may produce a broken library.
9648 no_undefined_flag=' ${wl}-bernotok'
9649 allow_undefined_flag=' ${wl}-berok'
9650 if test "$with_gnu_ld" = yes; then
9651 # We only use this code for GNU lds that support --whole-archive.
9652 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9653 else
9654 # Exported symbols can be pulled into shared objects from archives
9655 whole_archive_flag_spec='$convenience'
9656 fi
9657 archive_cmds_need_lc=yes
9658 # This is similar to how AIX traditionally builds its shared libraries.
9659 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'
9660 fi
9661 fi
9662 ;;
9663
9664 amigaos*)
9665 case $host_cpu in
9666 powerpc)
9667 # see comment about AmigaOS4 .so support
9668 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9669 archive_expsym_cmds=''
9670 ;;
9671 m68k)
9672 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)'
9673 hardcode_libdir_flag_spec='-L$libdir'
9674 hardcode_minus_L=yes
9675 ;;
9676 esac
9677 ;;
9678
9679 bsdi[45]*)
9680 export_dynamic_flag_spec=-rdynamic
9681 ;;
9682
9683 cygwin* | mingw* | pw32* | cegcc*)
9684 # When not using gcc, we currently assume that we are using
9685 # Microsoft Visual C++.
9686 # hardcode_libdir_flag_spec is actually meaningless, as there is
9687 # no search path for DLLs.
9688 case $cc_basename in
9689 cl*)
9690 # Native MSVC
9691 hardcode_libdir_flag_spec=' '
9692 allow_undefined_flag=unsupported
9693 always_export_symbols=yes
9694 file_list_spec='@'
9695 # Tell ltmain to make .lib files, not .a files.
9696 libext=lib
9697 # Tell ltmain to make .dll files, not .so files.
9698 shrext_cmds=".dll"
9699 # FIXME: Setting linknames here is a bad hack.
9700 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9701 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9702 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9703 else
9704 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9705 fi~
9706 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9707 linknames='
9708 # The linker will not automatically build a static lib if we build a DLL.
9709 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9710 enable_shared_with_static_runtimes=yes
9711 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9712 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9713 # Don't use ranlib
9714 old_postinstall_cmds='chmod 644 $oldlib'
9715 postlink_cmds='lt_outputfile="@OUTPUT@"~
9716 lt_tool_outputfile="@TOOL_OUTPUT@"~
9717 case $lt_outputfile in
9718 *.exe|*.EXE) ;;
9719 *)
9720 lt_outputfile="$lt_outputfile.exe"
9721 lt_tool_outputfile="$lt_tool_outputfile.exe"
9722 ;;
9723 esac~
9724 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9725 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9726 $RM "$lt_outputfile.manifest";
9727 fi'
9728 ;;
9729 *)
9730 # Assume MSVC wrapper
9731 hardcode_libdir_flag_spec=' '
9732 allow_undefined_flag=unsupported
9733 # Tell ltmain to make .lib files, not .a files.
9734 libext=lib
9735 # Tell ltmain to make .dll files, not .so files.
9736 shrext_cmds=".dll"
9737 # FIXME: Setting linknames here is a bad hack.
9738 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9739 # The linker will automatically build a .lib file if we build a DLL.
9740 old_archive_from_new_cmds='true'
9741 # FIXME: Should let the user specify the lib program.
9742 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9743 enable_shared_with_static_runtimes=yes
9744 ;;
9745 esac
9746 ;;
9747
9748 darwin* | rhapsody*)
9749
9750
9751 archive_cmds_need_lc=no
9752 hardcode_direct=no
9753 hardcode_automatic=yes
9754 hardcode_shlibpath_var=unsupported
9755 if test "$lt_cv_ld_force_load" = "yes"; then
9756 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\"`'
9757
9758 else
9759 whole_archive_flag_spec=''
9760 fi
9761 link_all_deplibs=yes
9762 allow_undefined_flag="$_lt_dar_allow_undefined"
9763 case $cc_basename in
9764 ifort*) _lt_dar_can_shared=yes ;;
9765 *) _lt_dar_can_shared=$GCC ;;
9766 esac
9767 if test "$_lt_dar_can_shared" = "yes"; then
9768 output_verbose_link_cmd=func_echo_all
9769 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9770 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9771 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}"
9772 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}"
9773
9774 else
9775 ld_shlibs=no
9776 fi
9777
9778 ;;
9779
9780 dgux*)
9781 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9782 hardcode_libdir_flag_spec='-L$libdir'
9783 hardcode_shlibpath_var=no
9784 ;;
9785
9786 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9787 # support. Future versions do this automatically, but an explicit c++rt0.o
9788 # does not break anything, and helps significantly (at the cost of a little
9789 # extra space).
9790 freebsd2.2*)
9791 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9792 hardcode_libdir_flag_spec='-R$libdir'
9793 hardcode_direct=yes
9794 hardcode_shlibpath_var=no
9795 ;;
9796
9797 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9798 freebsd2.*)
9799 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9800 hardcode_direct=yes
9801 hardcode_minus_L=yes
9802 hardcode_shlibpath_var=no
9803 ;;
9804
9805 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9806 freebsd* | dragonfly*)
9807 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9808 hardcode_libdir_flag_spec='-R$libdir'
9809 hardcode_direct=yes
9810 hardcode_shlibpath_var=no
9811 ;;
9812
9813 hpux9*)
9814 if test "$GCC" = yes; then
9815 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9816 else
9817 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'
9818 fi
9819 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9820 hardcode_libdir_separator=:
9821 hardcode_direct=yes
9822
9823 # hardcode_minus_L: Not really in the search PATH,
9824 # but as the default location of the library.
9825 hardcode_minus_L=yes
9826 export_dynamic_flag_spec='${wl}-E'
9827 ;;
9828
9829 hpux10*)
9830 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9831 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9832 else
9833 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9834 fi
9835 if test "$with_gnu_ld" = no; then
9836 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9837 hardcode_libdir_separator=:
9838 hardcode_direct=yes
9839 hardcode_direct_absolute=yes
9840 export_dynamic_flag_spec='${wl}-E'
9841 # hardcode_minus_L: Not really in the search PATH,
9842 # but as the default location of the library.
9843 hardcode_minus_L=yes
9844 fi
9845 ;;
9846
9847 hpux11*)
9848 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9849 case $host_cpu in
9850 hppa*64*)
9851 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9852 ;;
9853 ia64*)
9854 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9855 ;;
9856 *)
9857 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9858 ;;
9859 esac
9860 else
9861 case $host_cpu in
9862 hppa*64*)
9863 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9864 ;;
9865 ia64*)
9866 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9867 ;;
9868 *)
9869
9870 # Older versions of the 11.00 compiler do not understand -b yet
9871 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9873 $as_echo_n "checking if $CC understands -b... " >&6; }
9874 if ${lt_cv_prog_compiler__b+:} false; then :
9875 $as_echo_n "(cached) " >&6
9876 else
9877 lt_cv_prog_compiler__b=no
9878 save_LDFLAGS="$LDFLAGS"
9879 LDFLAGS="$LDFLAGS -b"
9880 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9881 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9882 # The linker can only warn and ignore the option if not recognized
9883 # So say no if there are warnings
9884 if test -s conftest.err; then
9885 # Append any errors to the config.log.
9886 cat conftest.err 1>&5
9887 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9888 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9889 if diff conftest.exp conftest.er2 >/dev/null; then
9890 lt_cv_prog_compiler__b=yes
9891 fi
9892 else
9893 lt_cv_prog_compiler__b=yes
9894 fi
9895 fi
9896 $RM -r conftest*
9897 LDFLAGS="$save_LDFLAGS"
9898
9899 fi
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9901 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9902
9903 if test x"$lt_cv_prog_compiler__b" = xyes; then
9904 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9905 else
9906 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9907 fi
9908
9909 ;;
9910 esac
9911 fi
9912 if test "$with_gnu_ld" = no; then
9913 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9914 hardcode_libdir_separator=:
9915
9916 case $host_cpu in
9917 hppa*64*|ia64*)
9918 hardcode_direct=no
9919 hardcode_shlibpath_var=no
9920 ;;
9921 *)
9922 hardcode_direct=yes
9923 hardcode_direct_absolute=yes
9924 export_dynamic_flag_spec='${wl}-E'
9925
9926 # hardcode_minus_L: Not really in the search PATH,
9927 # but as the default location of the library.
9928 hardcode_minus_L=yes
9929 ;;
9930 esac
9931 fi
9932 ;;
9933
9934 irix5* | irix6* | nonstopux*)
9935 if test "$GCC" = yes; then
9936 archive_cmds='$CC -shared $pic_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'
9937 # Try to use the -exported_symbol ld option, if it does not
9938 # work, assume that -exports_file does not work either and
9939 # implicitly export all symbols.
9940 # This should be the same for all languages, so no per-tag cache variable.
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9942 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9943 if ${lt_cv_irix_exported_symbol+:} false; then :
9944 $as_echo_n "(cached) " >&6
9945 else
9946 save_LDFLAGS="$LDFLAGS"
9947 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9949 /* end confdefs.h. */
9950 int foo (void) { return 0; }
9951 _ACEOF
9952 if ac_fn_c_try_link "$LINENO"; then :
9953 lt_cv_irix_exported_symbol=yes
9954 else
9955 lt_cv_irix_exported_symbol=no
9956 fi
9957 rm -f core conftest.err conftest.$ac_objext \
9958 conftest$ac_exeext conftest.$ac_ext
9959 LDFLAGS="$save_LDFLAGS"
9960 fi
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9962 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9963 if test "$lt_cv_irix_exported_symbol" = yes; then
9964 archive_expsym_cmds='$CC -shared $pic_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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
9965 fi
9966 else
9967 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'
9968 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'
9969 fi
9970 archive_cmds_need_lc='no'
9971 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9972 hardcode_libdir_separator=:
9973 inherit_rpath=yes
9974 link_all_deplibs=yes
9975 ;;
9976
9977 netbsd*)
9978 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9979 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9980 else
9981 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9982 fi
9983 hardcode_libdir_flag_spec='-R$libdir'
9984 hardcode_direct=yes
9985 hardcode_shlibpath_var=no
9986 ;;
9987
9988 newsos6)
9989 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9990 hardcode_direct=yes
9991 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9992 hardcode_libdir_separator=:
9993 hardcode_shlibpath_var=no
9994 ;;
9995
9996 *nto* | *qnx*)
9997 ;;
9998
9999 openbsd*)
10000 if test -f /usr/libexec/ld.so; then
10001 hardcode_direct=yes
10002 hardcode_shlibpath_var=no
10003 hardcode_direct_absolute=yes
10004 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10005 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10007 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10008 export_dynamic_flag_spec='${wl}-E'
10009 else
10010 case $host_os in
10011 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10012 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10013 hardcode_libdir_flag_spec='-R$libdir'
10014 ;;
10015 *)
10016 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10017 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10018 ;;
10019 esac
10020 fi
10021 else
10022 ld_shlibs=no
10023 fi
10024 ;;
10025
10026 os2*)
10027 hardcode_libdir_flag_spec='-L$libdir'
10028 hardcode_minus_L=yes
10029 allow_undefined_flag=unsupported
10030 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'
10031 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10032 ;;
10033
10034 osf3*)
10035 if test "$GCC" = yes; then
10036 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10037 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'
10038 else
10039 allow_undefined_flag=' -expect_unresolved \*'
10040 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'
10041 fi
10042 archive_cmds_need_lc='no'
10043 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10044 hardcode_libdir_separator=:
10045 ;;
10046
10047 osf4* | osf5*) # as osf3* with the addition of -msym flag
10048 if test "$GCC" = yes; then
10049 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10050 archive_cmds='$CC -shared${allow_undefined_flag} $pic_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'
10051 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10052 else
10053 allow_undefined_flag=' -expect_unresolved \*'
10054 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'
10055 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~
10056 $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'
10057
10058 # Both c and cxx compiler support -rpath directly
10059 hardcode_libdir_flag_spec='-rpath $libdir'
10060 fi
10061 archive_cmds_need_lc='no'
10062 hardcode_libdir_separator=:
10063 ;;
10064
10065 solaris*)
10066 no_undefined_flag=' -z defs'
10067 if test "$GCC" = yes; then
10068 wlarc='${wl}'
10069 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10070 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10071 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10072 else
10073 case `$CC -V 2>&1` in
10074 *"Compilers 5.0"*)
10075 wlarc=''
10076 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10077 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10078 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10079 ;;
10080 *)
10081 wlarc='${wl}'
10082 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10083 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10084 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10085 ;;
10086 esac
10087 fi
10088 hardcode_libdir_flag_spec='-R$libdir'
10089 hardcode_shlibpath_var=no
10090 case $host_os in
10091 solaris2.[0-5] | solaris2.[0-5].*) ;;
10092 *)
10093 # The compiler driver will combine and reorder linker options,
10094 # but understands `-z linker_flag'. GCC discards it without `$wl',
10095 # but is careful enough not to reorder.
10096 # Supported since Solaris 2.6 (maybe 2.5.1?)
10097 if test "$GCC" = yes; then
10098 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10099 else
10100 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10101 fi
10102 ;;
10103 esac
10104 link_all_deplibs=yes
10105 ;;
10106
10107 sunos4*)
10108 if test "x$host_vendor" = xsequent; then
10109 # Use $CC to link under sequent, because it throws in some extra .o
10110 # files that make .init and .fini sections work.
10111 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10112 else
10113 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10114 fi
10115 hardcode_libdir_flag_spec='-L$libdir'
10116 hardcode_direct=yes
10117 hardcode_minus_L=yes
10118 hardcode_shlibpath_var=no
10119 ;;
10120
10121 sysv4)
10122 case $host_vendor in
10123 sni)
10124 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125 hardcode_direct=yes # is this really true???
10126 ;;
10127 siemens)
10128 ## LD is ld it makes a PLAMLIB
10129 ## CC just makes a GrossModule.
10130 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10131 reload_cmds='$CC -r -o $output$reload_objs'
10132 hardcode_direct=no
10133 ;;
10134 motorola)
10135 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10136 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10137 ;;
10138 esac
10139 runpath_var='LD_RUN_PATH'
10140 hardcode_shlibpath_var=no
10141 ;;
10142
10143 sysv4.3*)
10144 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10145 hardcode_shlibpath_var=no
10146 export_dynamic_flag_spec='-Bexport'
10147 ;;
10148
10149 sysv4*MP*)
10150 if test -d /usr/nec; then
10151 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10152 hardcode_shlibpath_var=no
10153 runpath_var=LD_RUN_PATH
10154 hardcode_runpath_var=yes
10155 ld_shlibs=yes
10156 fi
10157 ;;
10158
10159 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10160 no_undefined_flag='${wl}-z,text'
10161 archive_cmds_need_lc=no
10162 hardcode_shlibpath_var=no
10163 runpath_var='LD_RUN_PATH'
10164
10165 if test "$GCC" = yes; then
10166 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10167 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10168 else
10169 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10170 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10171 fi
10172 ;;
10173
10174 sysv5* | sco3.2v5* | sco5v6*)
10175 # Note: We can NOT use -z defs as we might desire, because we do not
10176 # link with -lc, and that would cause any symbols used from libc to
10177 # always be unresolved, which means just about no library would
10178 # ever link correctly. If we're not using GNU ld we use -z text
10179 # though, which does catch some bad symbols but isn't as heavy-handed
10180 # as -z defs.
10181 no_undefined_flag='${wl}-z,text'
10182 allow_undefined_flag='${wl}-z,nodefs'
10183 archive_cmds_need_lc=no
10184 hardcode_shlibpath_var=no
10185 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10186 hardcode_libdir_separator=':'
10187 link_all_deplibs=yes
10188 export_dynamic_flag_spec='${wl}-Bexport'
10189 runpath_var='LD_RUN_PATH'
10190
10191 if test "$GCC" = yes; then
10192 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10193 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10194 else
10195 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10196 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10197 fi
10198 ;;
10199
10200 uts4*)
10201 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10202 hardcode_libdir_flag_spec='-L$libdir'
10203 hardcode_shlibpath_var=no
10204 ;;
10205
10206 *)
10207 ld_shlibs=no
10208 ;;
10209 esac
10210
10211 if test x$host_vendor = xsni; then
10212 case $host in
10213 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10214 export_dynamic_flag_spec='${wl}-Blargedynsym'
10215 ;;
10216 esac
10217 fi
10218 fi
10219
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10221 $as_echo "$ld_shlibs" >&6; }
10222 test "$ld_shlibs" = no && can_build_shared=no
10223
10224 with_gnu_ld=$with_gnu_ld
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240 #
10241 # Do we need to explicitly link libc?
10242 #
10243 case "x$archive_cmds_need_lc" in
10244 x|xyes)
10245 # Assume -lc should be added
10246 archive_cmds_need_lc=yes
10247
10248 if test "$enable_shared" = yes && test "$GCC" = yes; then
10249 case $archive_cmds in
10250 *'~'*)
10251 # FIXME: we may have to deal with multi-command sequences.
10252 ;;
10253 '$CC '*)
10254 # Test whether the compiler implicitly links with -lc since on some
10255 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10256 # to ld, don't add -lc before -lgcc.
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10258 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10259 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10260 $as_echo_n "(cached) " >&6
10261 else
10262 $RM conftest*
10263 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10264
10265 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10266 (eval $ac_compile) 2>&5
10267 ac_status=$?
10268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10269 test $ac_status = 0; } 2>conftest.err; then
10270 soname=conftest
10271 lib=conftest
10272 libobjs=conftest.$ac_objext
10273 deplibs=
10274 wl=$lt_prog_compiler_wl
10275 pic_flag=$lt_prog_compiler_pic
10276 compiler_flags=-v
10277 linker_flags=-v
10278 verstring=
10279 output_objdir=.
10280 libname=conftest
10281 lt_save_allow_undefined_flag=$allow_undefined_flag
10282 allow_undefined_flag=
10283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10284 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10285 ac_status=$?
10286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10287 test $ac_status = 0; }
10288 then
10289 lt_cv_archive_cmds_need_lc=no
10290 else
10291 lt_cv_archive_cmds_need_lc=yes
10292 fi
10293 allow_undefined_flag=$lt_save_allow_undefined_flag
10294 else
10295 cat conftest.err 1>&5
10296 fi
10297 $RM conftest*
10298
10299 fi
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10301 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10302 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10303 ;;
10304 esac
10305 fi
10306 ;;
10307 esac
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10461 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10462
10463 if test "$GCC" = yes; then
10464 case $host_os in
10465 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10466 *) lt_awk_arg="/^libraries:/" ;;
10467 esac
10468 case $host_os in
10469 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10470 *) lt_sed_strip_eq="s,=/,/,g" ;;
10471 esac
10472 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10473 case $lt_search_path_spec in
10474 *\;*)
10475 # if the path contains ";" then we assume it to be the separator
10476 # otherwise default to the standard path separator (i.e. ":") - it is
10477 # assumed that no part of a normal pathname contains ";" but that should
10478 # okay in the real world where ";" in dirpaths is itself problematic.
10479 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10480 ;;
10481 *)
10482 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10483 ;;
10484 esac
10485 # Ok, now we have the path, separated by spaces, we can step through it
10486 # and add multilib dir if necessary.
10487 lt_tmp_lt_search_path_spec=
10488 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10489 for lt_sys_path in $lt_search_path_spec; do
10490 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10491 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10492 else
10493 test -d "$lt_sys_path" && \
10494 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10495 fi
10496 done
10497 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10498 BEGIN {RS=" "; FS="/|\n";} {
10499 lt_foo="";
10500 lt_count=0;
10501 for (lt_i = NF; lt_i > 0; lt_i--) {
10502 if ($lt_i != "" && $lt_i != ".") {
10503 if ($lt_i == "..") {
10504 lt_count++;
10505 } else {
10506 if (lt_count == 0) {
10507 lt_foo="/" $lt_i lt_foo;
10508 } else {
10509 lt_count--;
10510 }
10511 }
10512 }
10513 }
10514 if (lt_foo != "") { lt_freq[lt_foo]++; }
10515 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10516 }'`
10517 # AWK program above erroneously prepends '/' to C:/dos/paths
10518 # for these hosts.
10519 case $host_os in
10520 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10521 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10522 esac
10523 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10524 else
10525 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10526 fi
10527 library_names_spec=
10528 libname_spec='lib$name'
10529 soname_spec=
10530 shrext_cmds=".so"
10531 postinstall_cmds=
10532 postuninstall_cmds=
10533 finish_cmds=
10534 finish_eval=
10535 shlibpath_var=
10536 shlibpath_overrides_runpath=unknown
10537 version_type=none
10538 dynamic_linker="$host_os ld.so"
10539 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10540 need_lib_prefix=unknown
10541 hardcode_into_libs=no
10542
10543 # when you set need_version to no, make sure it does not cause -set_version
10544 # flags to be left without arguments
10545 need_version=unknown
10546
10547 case $host_os in
10548 aix3*)
10549 version_type=linux # correct to gnu/linux during the next big refactor
10550 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10551 shlibpath_var=LIBPATH
10552
10553 # AIX 3 has no versioning support, so we append a major version to the name.
10554 soname_spec='${libname}${release}${shared_ext}$major'
10555 ;;
10556
10557 aix[4-9]*)
10558 version_type=linux # correct to gnu/linux during the next big refactor
10559 need_lib_prefix=no
10560 need_version=no
10561 hardcode_into_libs=yes
10562 if test "$host_cpu" = ia64; then
10563 # AIX 5 supports IA64
10564 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10565 shlibpath_var=LD_LIBRARY_PATH
10566 else
10567 # With GCC up to 2.95.x, collect2 would create an import file
10568 # for dependence libraries. The import file would start with
10569 # the line `#! .'. This would cause the generated library to
10570 # depend on `.', always an invalid library. This was fixed in
10571 # development snapshots of GCC prior to 3.0.
10572 case $host_os in
10573 aix4 | aix4.[01] | aix4.[01].*)
10574 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10575 echo ' yes '
10576 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10577 :
10578 else
10579 can_build_shared=no
10580 fi
10581 ;;
10582 esac
10583 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10584 # soname into executable. Probably we can add versioning support to
10585 # collect2, so additional links can be useful in future.
10586 if test "$aix_use_runtimelinking" = yes; then
10587 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10588 # instead of lib<name>.a to let people know that these are not
10589 # typical AIX shared libraries.
10590 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10591 else
10592 # We preserve .a as extension for shared libraries through AIX4.2
10593 # and later when we are not doing run time linking.
10594 library_names_spec='${libname}${release}.a $libname.a'
10595 soname_spec='${libname}${release}${shared_ext}$major'
10596 fi
10597 shlibpath_var=LIBPATH
10598 fi
10599 ;;
10600
10601 amigaos*)
10602 case $host_cpu in
10603 powerpc)
10604 # Since July 2007 AmigaOS4 officially supports .so libraries.
10605 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10607 ;;
10608 m68k)
10609 library_names_spec='$libname.ixlibrary $libname.a'
10610 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10611 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'
10612 ;;
10613 esac
10614 ;;
10615
10616 beos*)
10617 library_names_spec='${libname}${shared_ext}'
10618 dynamic_linker="$host_os ld.so"
10619 shlibpath_var=LIBRARY_PATH
10620 ;;
10621
10622 bsdi[45]*)
10623 version_type=linux # correct to gnu/linux during the next big refactor
10624 need_version=no
10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10626 soname_spec='${libname}${release}${shared_ext}$major'
10627 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10628 shlibpath_var=LD_LIBRARY_PATH
10629 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10630 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10631 # the default ld.so.conf also contains /usr/contrib/lib and
10632 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10633 # libtool to hard-code these into programs
10634 ;;
10635
10636 cygwin* | mingw* | pw32* | cegcc*)
10637 version_type=windows
10638 shrext_cmds=".dll"
10639 need_version=no
10640 need_lib_prefix=no
10641
10642 case $GCC,$cc_basename in
10643 yes,*)
10644 # gcc
10645 library_names_spec='$libname.dll.a'
10646 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10647 postinstall_cmds='base_file=`basename \${file}`~
10648 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10649 dldir=$destdir/`dirname \$dlpath`~
10650 test -d \$dldir || mkdir -p \$dldir~
10651 $install_prog $dir/$dlname \$dldir/$dlname~
10652 chmod a+x \$dldir/$dlname~
10653 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10654 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10655 fi'
10656 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10657 dlpath=$dir/\$dldll~
10658 $RM \$dlpath'
10659 shlibpath_overrides_runpath=yes
10660
10661 case $host_os in
10662 cygwin*)
10663 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10664 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10665
10666 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10667 ;;
10668 mingw* | cegcc*)
10669 # MinGW DLLs use traditional 'lib' prefix
10670 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10671 ;;
10672 pw32*)
10673 # pw32 DLLs use 'pw' prefix rather than 'lib'
10674 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10675 ;;
10676 esac
10677 dynamic_linker='Win32 ld.exe'
10678 ;;
10679
10680 *,cl*)
10681 # Native MSVC
10682 libname_spec='$name'
10683 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10684 library_names_spec='${libname}.dll.lib'
10685
10686 case $build_os in
10687 mingw*)
10688 sys_lib_search_path_spec=
10689 lt_save_ifs=$IFS
10690 IFS=';'
10691 for lt_path in $LIB
10692 do
10693 IFS=$lt_save_ifs
10694 # Let DOS variable expansion print the short 8.3 style file name.
10695 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10696 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10697 done
10698 IFS=$lt_save_ifs
10699 # Convert to MSYS style.
10700 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10701 ;;
10702 cygwin*)
10703 # Convert to unix form, then to dos form, then back to unix form
10704 # but this time dos style (no spaces!) so that the unix form looks
10705 # like /cygdrive/c/PROGRA~1:/cygdr...
10706 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10707 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10708 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10709 ;;
10710 *)
10711 sys_lib_search_path_spec="$LIB"
10712 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10713 # It is most probably a Windows format PATH.
10714 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10715 else
10716 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10717 fi
10718 # FIXME: find the short name or the path components, as spaces are
10719 # common. (e.g. "Program Files" -> "PROGRA~1")
10720 ;;
10721 esac
10722
10723 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10724 postinstall_cmds='base_file=`basename \${file}`~
10725 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10726 dldir=$destdir/`dirname \$dlpath`~
10727 test -d \$dldir || mkdir -p \$dldir~
10728 $install_prog $dir/$dlname \$dldir/$dlname'
10729 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10730 dlpath=$dir/\$dldll~
10731 $RM \$dlpath'
10732 shlibpath_overrides_runpath=yes
10733 dynamic_linker='Win32 link.exe'
10734 ;;
10735
10736 *)
10737 # Assume MSVC wrapper
10738 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10739 dynamic_linker='Win32 ld.exe'
10740 ;;
10741 esac
10742 # FIXME: first we should search . and the directory the executable is in
10743 shlibpath_var=PATH
10744 ;;
10745
10746 darwin* | rhapsody*)
10747 dynamic_linker="$host_os dyld"
10748 version_type=darwin
10749 need_lib_prefix=no
10750 need_version=no
10751 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10752 soname_spec='${libname}${release}${major}$shared_ext'
10753 shlibpath_overrides_runpath=yes
10754 shlibpath_var=DYLD_LIBRARY_PATH
10755 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10756
10757 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10758 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10759 ;;
10760
10761 dgux*)
10762 version_type=linux # correct to gnu/linux during the next big refactor
10763 need_lib_prefix=no
10764 need_version=no
10765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10766 soname_spec='${libname}${release}${shared_ext}$major'
10767 shlibpath_var=LD_LIBRARY_PATH
10768 ;;
10769
10770 freebsd* | dragonfly*)
10771 # DragonFly does not have aout. When/if they implement a new
10772 # versioning mechanism, adjust this.
10773 if test -x /usr/bin/objformat; then
10774 objformat=`/usr/bin/objformat`
10775 else
10776 case $host_os in
10777 freebsd[23].*) objformat=aout ;;
10778 *) objformat=elf ;;
10779 esac
10780 fi
10781 version_type=freebsd-$objformat
10782 case $version_type in
10783 freebsd-elf*)
10784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10785 need_version=no
10786 need_lib_prefix=no
10787 ;;
10788 freebsd-*)
10789 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10790 need_version=yes
10791 ;;
10792 esac
10793 shlibpath_var=LD_LIBRARY_PATH
10794 case $host_os in
10795 freebsd2.*)
10796 shlibpath_overrides_runpath=yes
10797 ;;
10798 freebsd3.[01]* | freebsdelf3.[01]*)
10799 shlibpath_overrides_runpath=yes
10800 hardcode_into_libs=yes
10801 ;;
10802 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10803 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10804 shlibpath_overrides_runpath=no
10805 hardcode_into_libs=yes
10806 ;;
10807 *) # from 4.6 on, and DragonFly
10808 shlibpath_overrides_runpath=yes
10809 hardcode_into_libs=yes
10810 ;;
10811 esac
10812 ;;
10813
10814 gnu*)
10815 version_type=linux # correct to gnu/linux during the next big refactor
10816 need_lib_prefix=no
10817 need_version=no
10818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10819 soname_spec='${libname}${release}${shared_ext}$major'
10820 shlibpath_var=LD_LIBRARY_PATH
10821 shlibpath_overrides_runpath=no
10822 hardcode_into_libs=yes
10823 ;;
10824
10825 haiku*)
10826 version_type=linux # correct to gnu/linux during the next big refactor
10827 need_lib_prefix=no
10828 need_version=no
10829 dynamic_linker="$host_os runtime_loader"
10830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10831 soname_spec='${libname}${release}${shared_ext}$major'
10832 shlibpath_var=LIBRARY_PATH
10833 shlibpath_overrides_runpath=yes
10834 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10835 hardcode_into_libs=yes
10836 ;;
10837
10838 hpux9* | hpux10* | hpux11*)
10839 # Give a soname corresponding to the major version so that dld.sl refuses to
10840 # link against other versions.
10841 version_type=sunos
10842 need_lib_prefix=no
10843 need_version=no
10844 case $host_cpu in
10845 ia64*)
10846 shrext_cmds='.so'
10847 hardcode_into_libs=yes
10848 dynamic_linker="$host_os dld.so"
10849 shlibpath_var=LD_LIBRARY_PATH
10850 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10852 soname_spec='${libname}${release}${shared_ext}$major'
10853 if test "X$HPUX_IA64_MODE" = X32; then
10854 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10855 else
10856 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10857 fi
10858 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10859 ;;
10860 hppa*64*)
10861 shrext_cmds='.sl'
10862 hardcode_into_libs=yes
10863 dynamic_linker="$host_os dld.sl"
10864 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10865 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867 soname_spec='${libname}${release}${shared_ext}$major'
10868 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10869 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10870 ;;
10871 *)
10872 shrext_cmds='.sl'
10873 dynamic_linker="$host_os dld.sl"
10874 shlibpath_var=SHLIB_PATH
10875 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10877 soname_spec='${libname}${release}${shared_ext}$major'
10878 ;;
10879 esac
10880 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10881 postinstall_cmds='chmod 555 $lib'
10882 # or fails outright, so override atomically:
10883 install_override_mode=555
10884 ;;
10885
10886 interix[3-9]*)
10887 version_type=linux # correct to gnu/linux during the next big refactor
10888 need_lib_prefix=no
10889 need_version=no
10890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10891 soname_spec='${libname}${release}${shared_ext}$major'
10892 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10893 shlibpath_var=LD_LIBRARY_PATH
10894 shlibpath_overrides_runpath=no
10895 hardcode_into_libs=yes
10896 ;;
10897
10898 irix5* | irix6* | nonstopux*)
10899 case $host_os in
10900 nonstopux*) version_type=nonstopux ;;
10901 *)
10902 if test "$lt_cv_prog_gnu_ld" = yes; then
10903 version_type=linux # correct to gnu/linux during the next big refactor
10904 else
10905 version_type=irix
10906 fi ;;
10907 esac
10908 need_lib_prefix=no
10909 need_version=no
10910 soname_spec='${libname}${release}${shared_ext}$major'
10911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10912 case $host_os in
10913 irix5* | nonstopux*)
10914 libsuff= shlibsuff=
10915 ;;
10916 *)
10917 case $LD in # libtool.m4 will add one of these switches to LD
10918 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10919 libsuff= shlibsuff= libmagic=32-bit;;
10920 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10921 libsuff=32 shlibsuff=N32 libmagic=N32;;
10922 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10923 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10924 *) libsuff= shlibsuff= libmagic=never-match;;
10925 esac
10926 ;;
10927 esac
10928 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10929 shlibpath_overrides_runpath=no
10930 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10931 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10932 hardcode_into_libs=yes
10933 ;;
10934
10935 # No shared lib support for Linux oldld, aout, or coff.
10936 linux*oldld* | linux*aout* | linux*coff*)
10937 dynamic_linker=no
10938 ;;
10939
10940 # This must be glibc/ELF.
10941 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10942 version_type=linux # correct to gnu/linux during the next big refactor
10943 need_lib_prefix=no
10944 need_version=no
10945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10946 soname_spec='${libname}${release}${shared_ext}$major'
10947 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10948 shlibpath_var=LD_LIBRARY_PATH
10949 shlibpath_overrides_runpath=no
10950
10951 # Some binutils ld are patched to set DT_RUNPATH
10952 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10953 $as_echo_n "(cached) " >&6
10954 else
10955 lt_cv_shlibpath_overrides_runpath=no
10956 save_LDFLAGS=$LDFLAGS
10957 save_libdir=$libdir
10958 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10959 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10962
10963 int
10964 main ()
10965 {
10966
10967 ;
10968 return 0;
10969 }
10970 _ACEOF
10971 if ac_fn_c_try_link "$LINENO"; then :
10972 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10973 lt_cv_shlibpath_overrides_runpath=yes
10974 fi
10975 fi
10976 rm -f core conftest.err conftest.$ac_objext \
10977 conftest$ac_exeext conftest.$ac_ext
10978 LDFLAGS=$save_LDFLAGS
10979 libdir=$save_libdir
10980
10981 fi
10982
10983 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10984
10985 # This implies no fast_install, which is unacceptable.
10986 # Some rework will be needed to allow for fast_install
10987 # before this can be enabled.
10988 hardcode_into_libs=yes
10989
10990 # Append ld.so.conf contents to the search path
10991 if test -f /etc/ld.so.conf; then
10992 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' ' '`
10993 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10994 fi
10995
10996 # We used to test for /lib/ld.so.1 and disable shared libraries on
10997 # powerpc, because MkLinux only supported shared libraries with the
10998 # GNU dynamic linker. Since this was broken with cross compilers,
10999 # most powerpc-linux boxes support dynamic linking these days and
11000 # people can always --disable-shared, the test was removed, and we
11001 # assume the GNU/Linux dynamic linker is in use.
11002 dynamic_linker='GNU/Linux ld.so'
11003 ;;
11004
11005 netbsd*)
11006 version_type=sunos
11007 need_lib_prefix=no
11008 need_version=no
11009 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11011 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11012 dynamic_linker='NetBSD (a.out) ld.so'
11013 else
11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11015 soname_spec='${libname}${release}${shared_ext}$major'
11016 dynamic_linker='NetBSD ld.elf_so'
11017 fi
11018 shlibpath_var=LD_LIBRARY_PATH
11019 shlibpath_overrides_runpath=yes
11020 hardcode_into_libs=yes
11021 ;;
11022
11023 newsos6)
11024 version_type=linux # correct to gnu/linux during the next big refactor
11025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11026 shlibpath_var=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath=yes
11028 ;;
11029
11030 *nto* | *qnx*)
11031 version_type=qnx
11032 need_lib_prefix=no
11033 need_version=no
11034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035 soname_spec='${libname}${release}${shared_ext}$major'
11036 shlibpath_var=LD_LIBRARY_PATH
11037 shlibpath_overrides_runpath=no
11038 hardcode_into_libs=yes
11039 dynamic_linker='ldqnx.so'
11040 ;;
11041
11042 openbsd*)
11043 version_type=sunos
11044 sys_lib_dlsearch_path_spec="/usr/lib"
11045 need_lib_prefix=no
11046 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11047 case $host_os in
11048 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11049 *) need_version=no ;;
11050 esac
11051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11052 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11053 shlibpath_var=LD_LIBRARY_PATH
11054 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11055 case $host_os in
11056 openbsd2.[89] | openbsd2.[89].*)
11057 shlibpath_overrides_runpath=no
11058 ;;
11059 *)
11060 shlibpath_overrides_runpath=yes
11061 ;;
11062 esac
11063 else
11064 shlibpath_overrides_runpath=yes
11065 fi
11066 ;;
11067
11068 os2*)
11069 libname_spec='$name'
11070 shrext_cmds=".dll"
11071 need_lib_prefix=no
11072 library_names_spec='$libname${shared_ext} $libname.a'
11073 dynamic_linker='OS/2 ld.exe'
11074 shlibpath_var=LIBPATH
11075 ;;
11076
11077 osf3* | osf4* | osf5*)
11078 version_type=osf
11079 need_lib_prefix=no
11080 need_version=no
11081 soname_spec='${libname}${release}${shared_ext}$major'
11082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11083 shlibpath_var=LD_LIBRARY_PATH
11084 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11085 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11086 ;;
11087
11088 rdos*)
11089 dynamic_linker=no
11090 ;;
11091
11092 solaris*)
11093 version_type=linux # correct to gnu/linux during the next big refactor
11094 need_lib_prefix=no
11095 need_version=no
11096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11097 soname_spec='${libname}${release}${shared_ext}$major'
11098 shlibpath_var=LD_LIBRARY_PATH
11099 shlibpath_overrides_runpath=yes
11100 hardcode_into_libs=yes
11101 # ldd complains unless libraries are executable
11102 postinstall_cmds='chmod +x $lib'
11103 ;;
11104
11105 sunos4*)
11106 version_type=sunos
11107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11108 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11109 shlibpath_var=LD_LIBRARY_PATH
11110 shlibpath_overrides_runpath=yes
11111 if test "$with_gnu_ld" = yes; then
11112 need_lib_prefix=no
11113 fi
11114 need_version=yes
11115 ;;
11116
11117 sysv4 | sysv4.3*)
11118 version_type=linux # correct to gnu/linux during the next big refactor
11119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11120 soname_spec='${libname}${release}${shared_ext}$major'
11121 shlibpath_var=LD_LIBRARY_PATH
11122 case $host_vendor in
11123 sni)
11124 shlibpath_overrides_runpath=no
11125 need_lib_prefix=no
11126 runpath_var=LD_RUN_PATH
11127 ;;
11128 siemens)
11129 need_lib_prefix=no
11130 ;;
11131 motorola)
11132 need_lib_prefix=no
11133 need_version=no
11134 shlibpath_overrides_runpath=no
11135 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11136 ;;
11137 esac
11138 ;;
11139
11140 sysv4*MP*)
11141 if test -d /usr/nec ;then
11142 version_type=linux # correct to gnu/linux during the next big refactor
11143 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11144 soname_spec='$libname${shared_ext}.$major'
11145 shlibpath_var=LD_LIBRARY_PATH
11146 fi
11147 ;;
11148
11149 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11150 version_type=freebsd-elf
11151 need_lib_prefix=no
11152 need_version=no
11153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11154 soname_spec='${libname}${release}${shared_ext}$major'
11155 shlibpath_var=LD_LIBRARY_PATH
11156 shlibpath_overrides_runpath=yes
11157 hardcode_into_libs=yes
11158 if test "$with_gnu_ld" = yes; then
11159 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11160 else
11161 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11162 case $host_os in
11163 sco3.2v5*)
11164 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11165 ;;
11166 esac
11167 fi
11168 sys_lib_dlsearch_path_spec='/usr/lib'
11169 ;;
11170
11171 tpf*)
11172 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11173 version_type=linux # correct to gnu/linux during the next big refactor
11174 need_lib_prefix=no
11175 need_version=no
11176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11177 shlibpath_var=LD_LIBRARY_PATH
11178 shlibpath_overrides_runpath=no
11179 hardcode_into_libs=yes
11180 ;;
11181
11182 uts4*)
11183 version_type=linux # correct to gnu/linux during the next big refactor
11184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11185 soname_spec='${libname}${release}${shared_ext}$major'
11186 shlibpath_var=LD_LIBRARY_PATH
11187 ;;
11188
11189 *)
11190 dynamic_linker=no
11191 ;;
11192 esac
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11194 $as_echo "$dynamic_linker" >&6; }
11195 test "$dynamic_linker" = no && can_build_shared=no
11196
11197 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11198 if test "$GCC" = yes; then
11199 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11200 fi
11201
11202 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11203 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11204 fi
11205 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11206 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11207 fi
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11301 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11302 hardcode_action=
11303 if test -n "$hardcode_libdir_flag_spec" ||
11304 test -n "$runpath_var" ||
11305 test "X$hardcode_automatic" = "Xyes" ; then
11306
11307 # We can hardcode non-existent directories.
11308 if test "$hardcode_direct" != no &&
11309 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11310 # have to relink, otherwise we might link with an installed library
11311 # when we should be linking with a yet-to-be-installed one
11312 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11313 test "$hardcode_minus_L" != no; then
11314 # Linking always hardcodes the temporary library directory.
11315 hardcode_action=relink
11316 else
11317 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11318 hardcode_action=immediate
11319 fi
11320 else
11321 # We cannot hardcode anything, or else we can only hardcode existing
11322 # directories.
11323 hardcode_action=unsupported
11324 fi
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11326 $as_echo "$hardcode_action" >&6; }
11327
11328 if test "$hardcode_action" = relink ||
11329 test "$inherit_rpath" = yes; then
11330 # Fast installation is not supported
11331 enable_fast_install=no
11332 elif test "$shlibpath_overrides_runpath" = yes ||
11333 test "$enable_shared" = no; then
11334 # Fast installation is not necessary
11335 enable_fast_install=needless
11336 fi
11337
11338
11339
11340
11341
11342
11343 if test "x$enable_dlopen" != xyes; then
11344 enable_dlopen=unknown
11345 enable_dlopen_self=unknown
11346 enable_dlopen_self_static=unknown
11347 else
11348 lt_cv_dlopen=no
11349 lt_cv_dlopen_libs=
11350
11351 case $host_os in
11352 beos*)
11353 lt_cv_dlopen="load_add_on"
11354 lt_cv_dlopen_libs=
11355 lt_cv_dlopen_self=yes
11356 ;;
11357
11358 mingw* | pw32* | cegcc*)
11359 lt_cv_dlopen="LoadLibrary"
11360 lt_cv_dlopen_libs=
11361 ;;
11362
11363 cygwin*)
11364 lt_cv_dlopen="dlopen"
11365 lt_cv_dlopen_libs=
11366 ;;
11367
11368 darwin*)
11369 # if libdl is installed we need to link against it
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11371 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11372 if ${ac_cv_lib_dl_dlopen+:} false; then :
11373 $as_echo_n "(cached) " >&6
11374 else
11375 ac_check_lib_save_LIBS=$LIBS
11376 LIBS="-ldl $LIBS"
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11379
11380 /* Override any GCC internal prototype to avoid an error.
11381 Use char because int might match the return type of a GCC
11382 builtin and then its argument prototype would still apply. */
11383 #ifdef __cplusplus
11384 extern "C"
11385 #endif
11386 char dlopen ();
11387 int
11388 main ()
11389 {
11390 return dlopen ();
11391 ;
11392 return 0;
11393 }
11394 _ACEOF
11395 if ac_fn_c_try_link "$LINENO"; then :
11396 ac_cv_lib_dl_dlopen=yes
11397 else
11398 ac_cv_lib_dl_dlopen=no
11399 fi
11400 rm -f core conftest.err conftest.$ac_objext \
11401 conftest$ac_exeext conftest.$ac_ext
11402 LIBS=$ac_check_lib_save_LIBS
11403 fi
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11405 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11406 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11407 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11408 else
11409
11410 lt_cv_dlopen="dyld"
11411 lt_cv_dlopen_libs=
11412 lt_cv_dlopen_self=yes
11413
11414 fi
11415
11416 ;;
11417
11418 *)
11419 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11420 if test "x$ac_cv_func_shl_load" = xyes; then :
11421 lt_cv_dlopen="shl_load"
11422 else
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11424 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11425 if ${ac_cv_lib_dld_shl_load+:} false; then :
11426 $as_echo_n "(cached) " >&6
11427 else
11428 ac_check_lib_save_LIBS=$LIBS
11429 LIBS="-ldld $LIBS"
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11432
11433 /* Override any GCC internal prototype to avoid an error.
11434 Use char because int might match the return type of a GCC
11435 builtin and then its argument prototype would still apply. */
11436 #ifdef __cplusplus
11437 extern "C"
11438 #endif
11439 char shl_load ();
11440 int
11441 main ()
11442 {
11443 return shl_load ();
11444 ;
11445 return 0;
11446 }
11447 _ACEOF
11448 if ac_fn_c_try_link "$LINENO"; then :
11449 ac_cv_lib_dld_shl_load=yes
11450 else
11451 ac_cv_lib_dld_shl_load=no
11452 fi
11453 rm -f core conftest.err conftest.$ac_objext \
11454 conftest$ac_exeext conftest.$ac_ext
11455 LIBS=$ac_check_lib_save_LIBS
11456 fi
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11458 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11459 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11460 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11461 else
11462 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11463 if test "x$ac_cv_func_dlopen" = xyes; then :
11464 lt_cv_dlopen="dlopen"
11465 else
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11467 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11468 if ${ac_cv_lib_dl_dlopen+:} false; then :
11469 $as_echo_n "(cached) " >&6
11470 else
11471 ac_check_lib_save_LIBS=$LIBS
11472 LIBS="-ldl $LIBS"
11473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11474 /* end confdefs.h. */
11475
11476 /* Override any GCC internal prototype to avoid an error.
11477 Use char because int might match the return type of a GCC
11478 builtin and then its argument prototype would still apply. */
11479 #ifdef __cplusplus
11480 extern "C"
11481 #endif
11482 char dlopen ();
11483 int
11484 main ()
11485 {
11486 return dlopen ();
11487 ;
11488 return 0;
11489 }
11490 _ACEOF
11491 if ac_fn_c_try_link "$LINENO"; then :
11492 ac_cv_lib_dl_dlopen=yes
11493 else
11494 ac_cv_lib_dl_dlopen=no
11495 fi
11496 rm -f core conftest.err conftest.$ac_objext \
11497 conftest$ac_exeext conftest.$ac_ext
11498 LIBS=$ac_check_lib_save_LIBS
11499 fi
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11501 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11502 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11503 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11504 else
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11506 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11507 if ${ac_cv_lib_svld_dlopen+:} false; then :
11508 $as_echo_n "(cached) " >&6
11509 else
11510 ac_check_lib_save_LIBS=$LIBS
11511 LIBS="-lsvld $LIBS"
11512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11513 /* end confdefs.h. */
11514
11515 /* Override any GCC internal prototype to avoid an error.
11516 Use char because int might match the return type of a GCC
11517 builtin and then its argument prototype would still apply. */
11518 #ifdef __cplusplus
11519 extern "C"
11520 #endif
11521 char dlopen ();
11522 int
11523 main ()
11524 {
11525 return dlopen ();
11526 ;
11527 return 0;
11528 }
11529 _ACEOF
11530 if ac_fn_c_try_link "$LINENO"; then :
11531 ac_cv_lib_svld_dlopen=yes
11532 else
11533 ac_cv_lib_svld_dlopen=no
11534 fi
11535 rm -f core conftest.err conftest.$ac_objext \
11536 conftest$ac_exeext conftest.$ac_ext
11537 LIBS=$ac_check_lib_save_LIBS
11538 fi
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11540 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11541 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11542 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11543 else
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11545 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11546 if ${ac_cv_lib_dld_dld_link+:} false; then :
11547 $as_echo_n "(cached) " >&6
11548 else
11549 ac_check_lib_save_LIBS=$LIBS
11550 LIBS="-ldld $LIBS"
11551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11552 /* end confdefs.h. */
11553
11554 /* Override any GCC internal prototype to avoid an error.
11555 Use char because int might match the return type of a GCC
11556 builtin and then its argument prototype would still apply. */
11557 #ifdef __cplusplus
11558 extern "C"
11559 #endif
11560 char dld_link ();
11561 int
11562 main ()
11563 {
11564 return dld_link ();
11565 ;
11566 return 0;
11567 }
11568 _ACEOF
11569 if ac_fn_c_try_link "$LINENO"; then :
11570 ac_cv_lib_dld_dld_link=yes
11571 else
11572 ac_cv_lib_dld_dld_link=no
11573 fi
11574 rm -f core conftest.err conftest.$ac_objext \
11575 conftest$ac_exeext conftest.$ac_ext
11576 LIBS=$ac_check_lib_save_LIBS
11577 fi
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11579 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11580 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11581 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11582 fi
11583
11584
11585 fi
11586
11587
11588 fi
11589
11590
11591 fi
11592
11593
11594 fi
11595
11596
11597 fi
11598
11599 ;;
11600 esac
11601
11602 if test "x$lt_cv_dlopen" != xno; then
11603 enable_dlopen=yes
11604 else
11605 enable_dlopen=no
11606 fi
11607
11608 case $lt_cv_dlopen in
11609 dlopen)
11610 save_CPPFLAGS="$CPPFLAGS"
11611 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11612
11613 save_LDFLAGS="$LDFLAGS"
11614 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11615
11616 save_LIBS="$LIBS"
11617 LIBS="$lt_cv_dlopen_libs $LIBS"
11618
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11620 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11621 if ${lt_cv_dlopen_self+:} false; then :
11622 $as_echo_n "(cached) " >&6
11623 else
11624 if test "$cross_compiling" = yes; then :
11625 lt_cv_dlopen_self=cross
11626 else
11627 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11628 lt_status=$lt_dlunknown
11629 cat > conftest.$ac_ext <<_LT_EOF
11630 #line $LINENO "configure"
11631 #include "confdefs.h"
11632
11633 #if HAVE_DLFCN_H
11634 #include <dlfcn.h>
11635 #endif
11636
11637 #include <stdio.h>
11638
11639 #ifdef RTLD_GLOBAL
11640 # define LT_DLGLOBAL RTLD_GLOBAL
11641 #else
11642 # ifdef DL_GLOBAL
11643 # define LT_DLGLOBAL DL_GLOBAL
11644 # else
11645 # define LT_DLGLOBAL 0
11646 # endif
11647 #endif
11648
11649 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11650 find out it does not work in some platform. */
11651 #ifndef LT_DLLAZY_OR_NOW
11652 # ifdef RTLD_LAZY
11653 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11654 # else
11655 # ifdef DL_LAZY
11656 # define LT_DLLAZY_OR_NOW DL_LAZY
11657 # else
11658 # ifdef RTLD_NOW
11659 # define LT_DLLAZY_OR_NOW RTLD_NOW
11660 # else
11661 # ifdef DL_NOW
11662 # define LT_DLLAZY_OR_NOW DL_NOW
11663 # else
11664 # define LT_DLLAZY_OR_NOW 0
11665 # endif
11666 # endif
11667 # endif
11668 # endif
11669 #endif
11670
11671 /* When -fvisbility=hidden is used, assume the code has been annotated
11672 correspondingly for the symbols needed. */
11673 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11674 int fnord () __attribute__((visibility("default")));
11675 #endif
11676
11677 int fnord () { return 42; }
11678 int main ()
11679 {
11680 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11681 int status = $lt_dlunknown;
11682
11683 if (self)
11684 {
11685 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11686 else
11687 {
11688 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11689 else puts (dlerror ());
11690 }
11691 /* dlclose (self); */
11692 }
11693 else
11694 puts (dlerror ());
11695
11696 return status;
11697 }
11698 _LT_EOF
11699 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11700 (eval $ac_link) 2>&5
11701 ac_status=$?
11702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11703 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11704 (./conftest; exit; ) >&5 2>/dev/null
11705 lt_status=$?
11706 case x$lt_status in
11707 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11708 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11709 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11710 esac
11711 else :
11712 # compilation failed
11713 lt_cv_dlopen_self=no
11714 fi
11715 fi
11716 rm -fr conftest*
11717
11718
11719 fi
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11721 $as_echo "$lt_cv_dlopen_self" >&6; }
11722
11723 if test "x$lt_cv_dlopen_self" = xyes; then
11724 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11726 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11727 if ${lt_cv_dlopen_self_static+:} false; then :
11728 $as_echo_n "(cached) " >&6
11729 else
11730 if test "$cross_compiling" = yes; then :
11731 lt_cv_dlopen_self_static=cross
11732 else
11733 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11734 lt_status=$lt_dlunknown
11735 cat > conftest.$ac_ext <<_LT_EOF
11736 #line $LINENO "configure"
11737 #include "confdefs.h"
11738
11739 #if HAVE_DLFCN_H
11740 #include <dlfcn.h>
11741 #endif
11742
11743 #include <stdio.h>
11744
11745 #ifdef RTLD_GLOBAL
11746 # define LT_DLGLOBAL RTLD_GLOBAL
11747 #else
11748 # ifdef DL_GLOBAL
11749 # define LT_DLGLOBAL DL_GLOBAL
11750 # else
11751 # define LT_DLGLOBAL 0
11752 # endif
11753 #endif
11754
11755 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11756 find out it does not work in some platform. */
11757 #ifndef LT_DLLAZY_OR_NOW
11758 # ifdef RTLD_LAZY
11759 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11760 # else
11761 # ifdef DL_LAZY
11762 # define LT_DLLAZY_OR_NOW DL_LAZY
11763 # else
11764 # ifdef RTLD_NOW
11765 # define LT_DLLAZY_OR_NOW RTLD_NOW
11766 # else
11767 # ifdef DL_NOW
11768 # define LT_DLLAZY_OR_NOW DL_NOW
11769 # else
11770 # define LT_DLLAZY_OR_NOW 0
11771 # endif
11772 # endif
11773 # endif
11774 # endif
11775 #endif
11776
11777 /* When -fvisbility=hidden is used, assume the code has been annotated
11778 correspondingly for the symbols needed. */
11779 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11780 int fnord () __attribute__((visibility("default")));
11781 #endif
11782
11783 int fnord () { return 42; }
11784 int main ()
11785 {
11786 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11787 int status = $lt_dlunknown;
11788
11789 if (self)
11790 {
11791 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11792 else
11793 {
11794 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11795 else puts (dlerror ());
11796 }
11797 /* dlclose (self); */
11798 }
11799 else
11800 puts (dlerror ());
11801
11802 return status;
11803 }
11804 _LT_EOF
11805 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11806 (eval $ac_link) 2>&5
11807 ac_status=$?
11808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11809 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11810 (./conftest; exit; ) >&5 2>/dev/null
11811 lt_status=$?
11812 case x$lt_status in
11813 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11814 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11815 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11816 esac
11817 else :
11818 # compilation failed
11819 lt_cv_dlopen_self_static=no
11820 fi
11821 fi
11822 rm -fr conftest*
11823
11824
11825 fi
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11827 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11828 fi
11829
11830 CPPFLAGS="$save_CPPFLAGS"
11831 LDFLAGS="$save_LDFLAGS"
11832 LIBS="$save_LIBS"
11833 ;;
11834 esac
11835
11836 case $lt_cv_dlopen_self in
11837 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11838 *) enable_dlopen_self=unknown ;;
11839 esac
11840
11841 case $lt_cv_dlopen_self_static in
11842 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11843 *) enable_dlopen_self_static=unknown ;;
11844 esac
11845 fi
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863 striplib=
11864 old_striplib=
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11866 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11867 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11868 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11869 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11871 $as_echo "yes" >&6; }
11872 else
11873 # FIXME - insert some real tests, host_os isn't really good enough
11874 case $host_os in
11875 darwin*)
11876 if test -n "$STRIP" ; then
11877 striplib="$STRIP -x"
11878 old_striplib="$STRIP -S"
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11880 $as_echo "yes" >&6; }
11881 else
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11883 $as_echo "no" >&6; }
11884 fi
11885 ;;
11886 *)
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11888 $as_echo "no" >&6; }
11889 ;;
11890 esac
11891 fi
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904 # Report which library types will actually be built
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11906 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11908 $as_echo "$can_build_shared" >&6; }
11909
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11911 $as_echo_n "checking whether to build shared libraries... " >&6; }
11912 test "$can_build_shared" = "no" && enable_shared=no
11913
11914 # On AIX, shared libraries and static libraries use the same namespace, and
11915 # are all built from PIC.
11916 case $host_os in
11917 aix3*)
11918 test "$enable_shared" = yes && enable_static=no
11919 if test -n "$RANLIB"; then
11920 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11921 postinstall_cmds='$RANLIB $lib'
11922 fi
11923 ;;
11924
11925 aix[4-9]*)
11926 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11927 test "$enable_shared" = yes && enable_static=no
11928 fi
11929 ;;
11930 esac
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11932 $as_echo "$enable_shared" >&6; }
11933
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11935 $as_echo_n "checking whether to build static libraries... " >&6; }
11936 # Make sure either enable_shared or enable_static is yes.
11937 test "$enable_shared" = yes || enable_static=yes
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11939 $as_echo "$enable_static" >&6; }
11940
11941
11942
11943
11944 fi
11945 ac_ext=c
11946 ac_cpp='$CPP $CPPFLAGS'
11947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11950
11951 CC="$lt_save_CC"
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967 ac_config_commands="$ac_config_commands libtool"
11968
11969
11970
11971
11972 # Only expand once:
11973
11974
11975
11976 # Checks for libraries.
11977
11978
11979
11980
11981
11982
11983
11984 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11985 if test -n "$ac_tool_prefix"; then
11986 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11987 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11989 $as_echo_n "checking for $ac_word... " >&6; }
11990 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11991 $as_echo_n "(cached) " >&6
11992 else
11993 case $PKG_CONFIG in
11994 [\\/]* | ?:[\\/]*)
11995 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11996 ;;
11997 *)
11998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11999 for as_dir in $PATH
12000 do
12001 IFS=$as_save_IFS
12002 test -z "$as_dir" && as_dir=.
12003 for ac_exec_ext in '' $ac_executable_extensions; do
12004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12005 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12007 break 2
12008 fi
12009 done
12010 done
12011 IFS=$as_save_IFS
12012
12013 ;;
12014 esac
12015 fi
12016 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12017 if test -n "$PKG_CONFIG"; then
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12019 $as_echo "$PKG_CONFIG" >&6; }
12020 else
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12022 $as_echo "no" >&6; }
12023 fi
12024
12025
12026 fi
12027 if test -z "$ac_cv_path_PKG_CONFIG"; then
12028 ac_pt_PKG_CONFIG=$PKG_CONFIG
12029 # Extract the first word of "pkg-config", so it can be a program name with args.
12030 set dummy pkg-config; ac_word=$2
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12032 $as_echo_n "checking for $ac_word... " >&6; }
12033 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12034 $as_echo_n "(cached) " >&6
12035 else
12036 case $ac_pt_PKG_CONFIG in
12037 [\\/]* | ?:[\\/]*)
12038 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12039 ;;
12040 *)
12041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12042 for as_dir in $PATH
12043 do
12044 IFS=$as_save_IFS
12045 test -z "$as_dir" && as_dir=.
12046 for ac_exec_ext in '' $ac_executable_extensions; do
12047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12048 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12050 break 2
12051 fi
12052 done
12053 done
12054 IFS=$as_save_IFS
12055
12056 ;;
12057 esac
12058 fi
12059 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12060 if test -n "$ac_pt_PKG_CONFIG"; then
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12062 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12063 else
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12065 $as_echo "no" >&6; }
12066 fi
12067
12068 if test "x$ac_pt_PKG_CONFIG" = x; then
12069 PKG_CONFIG=""
12070 else
12071 case $cross_compiling:$ac_tool_warned in
12072 yes:)
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12075 ac_tool_warned=yes ;;
12076 esac
12077 PKG_CONFIG=$ac_pt_PKG_CONFIG
12078 fi
12079 else
12080 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12081 fi
12082
12083 fi
12084 if test -n "$PKG_CONFIG"; then
12085 _pkg_min_version=0.9.0
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12087 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12088 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12090 $as_echo "yes" >&6; }
12091 else
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12093 $as_echo "no" >&6; }
12094 PKG_CONFIG=""
12095 fi
12096 fi
12097
12098 pkg_failed=no
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NABRIT" >&5
12100 $as_echo_n "checking for NABRIT... " >&6; }
12101
12102 if test -n "$NABRIT_CFLAGS"; then
12103 pkg_cv_NABRIT_CFLAGS="$NABRIT_CFLAGS"
12104 elif test -n "$PKG_CONFIG"; then
12105 if test -n "$PKG_CONFIG" && \
12106 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nabrit-3 >= 0.4.1\""; } >&5
12107 ($PKG_CONFIG --exists --print-errors "nabrit-3 >= 0.4.1") 2>&5
12108 ac_status=$?
12109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12110 test $ac_status = 0; }; then
12111 pkg_cv_NABRIT_CFLAGS=`$PKG_CONFIG --cflags "nabrit-3 >= 0.4.1" 2>/dev/null`
12112 test "x$?" != "x0" && pkg_failed=yes
12113 else
12114 pkg_failed=yes
12115 fi
12116 else
12117 pkg_failed=untried
12118 fi
12119 if test -n "$NABRIT_LIBS"; then
12120 pkg_cv_NABRIT_LIBS="$NABRIT_LIBS"
12121 elif test -n "$PKG_CONFIG"; then
12122 if test -n "$PKG_CONFIG" && \
12123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nabrit-3 >= 0.4.1\""; } >&5
12124 ($PKG_CONFIG --exists --print-errors "nabrit-3 >= 0.4.1") 2>&5
12125 ac_status=$?
12126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12127 test $ac_status = 0; }; then
12128 pkg_cv_NABRIT_LIBS=`$PKG_CONFIG --libs "nabrit-3 >= 0.4.1" 2>/dev/null`
12129 test "x$?" != "x0" && pkg_failed=yes
12130 else
12131 pkg_failed=yes
12132 fi
12133 else
12134 pkg_failed=untried
12135 fi
12136
12137
12138
12139 if test $pkg_failed = yes; then
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12141 $as_echo "no" >&6; }
12142
12143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12144 _pkg_short_errors_supported=yes
12145 else
12146 _pkg_short_errors_supported=no
12147 fi
12148 if test $_pkg_short_errors_supported = yes; then
12149 NABRIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nabrit-3 >= 0.4.1" 2>&1`
12150 else
12151 NABRIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nabrit-3 >= 0.4.1" 2>&1`
12152 fi
12153 # Put the nasty error message in config.log where it belongs
12154 echo "$NABRIT_PKG_ERRORS" >&5
12155
12156 as_fn_error $? "Package requirements (nabrit-3 >= 0.4.1) were not met:
12157
12158 $NABRIT_PKG_ERRORS
12159
12160 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12161 installed software in a non-standard prefix.
12162
12163 Alternatively, you may set the environment variables NABRIT_CFLAGS
12164 and NABRIT_LIBS to avoid the need to call pkg-config.
12165 See the pkg-config man page for more details." "$LINENO" 5
12166 elif test $pkg_failed = untried; then
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12168 $as_echo "no" >&6; }
12169 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12171 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12172 is in your PATH or set the PKG_CONFIG environment variable to the full
12173 path to pkg-config.
12174
12175 Alternatively, you may set the environment variables NABRIT_CFLAGS
12176 and NABRIT_LIBS to avoid the need to call pkg-config.
12177 See the pkg-config man page for more details.
12178
12179 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12180 See \`config.log' for more details" "$LINENO" 5; }
12181 else
12182 NABRIT_CFLAGS=$pkg_cv_NABRIT_CFLAGS
12183 NABRIT_LIBS=$pkg_cv_NABRIT_LIBS
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12185 $as_echo "yes" >&6; }
12186
12187 fi
12188
12189 # Checks for header files.
12190 ac_fn_c_check_header_mongrel "$LINENO" "ladspa.h" "ac_cv_header_ladspa_h" "$ac_includes_default"
12191 if test "x$ac_cv_header_ladspa_h" = xyes; then :
12192 build_ladspa=yes
12193 else
12194 build_ladspa=no
12195 fi
12196
12197
12198 lrdfinst=no
12199 if test $build_ladspa = yes; then
12200 lrdfinst=yes
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether LRDF-equivalent LV2 bundles should be installed" >&5
12202 $as_echo_n "checking whether LRDF-equivalent LV2 bundles should be installed... " >&6; }
12203 # Check whether --enable-lrdf-bundles was given.
12204 if test "${enable_lrdf_bundles+set}" = set; then :
12205 enableval=$enable_lrdf_bundles; lrdfinst="${enableval}"
12206 else
12207 lrdfinst=yes
12208 fi
12209
12210 if test "$lrdfinst" != no; then
12211 lrdfinst=yes
12212 fi
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lrdfinst" >&5
12214 $as_echo "$lrdfinst" >&6; }
12215 fi
12216 if test $lrdfinst = yes; then
12217 INSTALL_LRDF_TRUE=
12218 INSTALL_LRDF_FALSE='#'
12219 else
12220 INSTALL_LRDF_TRUE='#'
12221 INSTALL_LRDF_FALSE=
12222 fi
12223
12224 if test $build_ladspa = yes; then
12225 BUILD_LADSPA_TRUE=
12226 BUILD_LADSPA_FALSE='#'
12227 else
12228 BUILD_LADSPA_TRUE='#'
12229 BUILD_LADSPA_FALSE=
12230 fi
12231
12232
12233
12234 pkg_failed=no
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DSSI" >&5
12236 $as_echo_n "checking for DSSI... " >&6; }
12237
12238 if test -n "$DSSI_CFLAGS"; then
12239 pkg_cv_DSSI_CFLAGS="$DSSI_CFLAGS"
12240 elif test -n "$PKG_CONFIG"; then
12241 if test -n "$PKG_CONFIG" && \
12242 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dssi >= 1.0.0\""; } >&5
12243 ($PKG_CONFIG --exists --print-errors "dssi >= 1.0.0") 2>&5
12244 ac_status=$?
12245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12246 test $ac_status = 0; }; then
12247 pkg_cv_DSSI_CFLAGS=`$PKG_CONFIG --cflags "dssi >= 1.0.0" 2>/dev/null`
12248 test "x$?" != "x0" && pkg_failed=yes
12249 else
12250 pkg_failed=yes
12251 fi
12252 else
12253 pkg_failed=untried
12254 fi
12255 if test -n "$DSSI_LIBS"; then
12256 pkg_cv_DSSI_LIBS="$DSSI_LIBS"
12257 elif test -n "$PKG_CONFIG"; then
12258 if test -n "$PKG_CONFIG" && \
12259 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dssi >= 1.0.0\""; } >&5
12260 ($PKG_CONFIG --exists --print-errors "dssi >= 1.0.0") 2>&5
12261 ac_status=$?
12262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12263 test $ac_status = 0; }; then
12264 pkg_cv_DSSI_LIBS=`$PKG_CONFIG --libs "dssi >= 1.0.0" 2>/dev/null`
12265 test "x$?" != "x0" && pkg_failed=yes
12266 else
12267 pkg_failed=yes
12268 fi
12269 else
12270 pkg_failed=untried
12271 fi
12272
12273
12274
12275 if test $pkg_failed = yes; then
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12277 $as_echo "no" >&6; }
12278
12279 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12280 _pkg_short_errors_supported=yes
12281 else
12282 _pkg_short_errors_supported=no
12283 fi
12284 if test $_pkg_short_errors_supported = yes; then
12285 DSSI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dssi >= 1.0.0" 2>&1`
12286 else
12287 DSSI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dssi >= 1.0.0" 2>&1`
12288 fi
12289 # Put the nasty error message in config.log where it belongs
12290 echo "$DSSI_PKG_ERRORS" >&5
12291
12292 build_dssi=no
12293 elif test $pkg_failed = untried; then
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12295 $as_echo "no" >&6; }
12296 build_dssi=no
12297 else
12298 DSSI_CFLAGS=$pkg_cv_DSSI_CFLAGS
12299 DSSI_LIBS=$pkg_cv_DSSI_LIBS
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12301 $as_echo "yes" >&6; }
12302 build_dssi=yes
12303 fi
12304 if test $build_dssi = yes; then
12305
12306 pkg_failed=no
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
12308 $as_echo_n "checking for ALSA... " >&6; }
12309
12310 if test -n "$ALSA_CFLAGS"; then
12311 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
12312 elif test -n "$PKG_CONFIG"; then
12313 if test -n "$PKG_CONFIG" && \
12314 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5
12315 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
12316 ac_status=$?
12317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12318 test $ac_status = 0; }; then
12319 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
12320 test "x$?" != "x0" && pkg_failed=yes
12321 else
12322 pkg_failed=yes
12323 fi
12324 else
12325 pkg_failed=untried
12326 fi
12327 if test -n "$ALSA_LIBS"; then
12328 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
12329 elif test -n "$PKG_CONFIG"; then
12330 if test -n "$PKG_CONFIG" && \
12331 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa\""; } >&5
12332 ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
12333 ac_status=$?
12334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12335 test $ac_status = 0; }; then
12336 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
12337 test "x$?" != "x0" && pkg_failed=yes
12338 else
12339 pkg_failed=yes
12340 fi
12341 else
12342 pkg_failed=untried
12343 fi
12344
12345
12346
12347 if test $pkg_failed = yes; then
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12349 $as_echo "no" >&6; }
12350
12351 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12352 _pkg_short_errors_supported=yes
12353 else
12354 _pkg_short_errors_supported=no
12355 fi
12356 if test $_pkg_short_errors_supported = yes; then
12357 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa" 2>&1`
12358 else
12359 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa" 2>&1`
12360 fi
12361 # Put the nasty error message in config.log where it belongs
12362 echo "$ALSA_PKG_ERRORS" >&5
12363
12364
12365 pkg_failed=no
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
12367 $as_echo_n "checking for ALSA... " >&6; }
12368
12369 if test -n "$ALSA_CFLAGS"; then
12370 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
12371 elif test -n "$PKG_CONFIG"; then
12372 if test -n "$PKG_CONFIG" && \
12373 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat\""; } >&5
12374 ($PKG_CONFIG --exists --print-errors "libdssialsacompat") 2>&5
12375 ac_status=$?
12376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12377 test $ac_status = 0; }; then
12378 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "libdssialsacompat" 2>/dev/null`
12379 test "x$?" != "x0" && pkg_failed=yes
12380 else
12381 pkg_failed=yes
12382 fi
12383 else
12384 pkg_failed=untried
12385 fi
12386 if test -n "$ALSA_LIBS"; then
12387 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
12388 elif test -n "$PKG_CONFIG"; then
12389 if test -n "$PKG_CONFIG" && \
12390 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat\""; } >&5
12391 ($PKG_CONFIG --exists --print-errors "libdssialsacompat") 2>&5
12392 ac_status=$?
12393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12394 test $ac_status = 0; }; then
12395 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "libdssialsacompat" 2>/dev/null`
12396 test "x$?" != "x0" && pkg_failed=yes
12397 else
12398 pkg_failed=yes
12399 fi
12400 else
12401 pkg_failed=untried
12402 fi
12403
12404
12405
12406 if test $pkg_failed = yes; then
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12408 $as_echo "no" >&6; }
12409
12410 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12411 _pkg_short_errors_supported=yes
12412 else
12413 _pkg_short_errors_supported=no
12414 fi
12415 if test $_pkg_short_errors_supported = yes; then
12416 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdssialsacompat" 2>&1`
12417 else
12418 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdssialsacompat" 2>&1`
12419 fi
12420 # Put the nasty error message in config.log where it belongs
12421 echo "$ALSA_PKG_ERRORS" >&5
12422
12423 build_dssi=no
12424 elif test $pkg_failed = untried; then
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12426 $as_echo "no" >&6; }
12427 build_dssi=no
12428 else
12429 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
12430 ALSA_LIBS=$pkg_cv_ALSA_LIBS
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12432 $as_echo "yes" >&6; }
12433
12434 fi
12435 elif test $pkg_failed = untried; then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12437 $as_echo "no" >&6; }
12438
12439 pkg_failed=no
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
12441 $as_echo_n "checking for ALSA... " >&6; }
12442
12443 if test -n "$ALSA_CFLAGS"; then
12444 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
12445 elif test -n "$PKG_CONFIG"; then
12446 if test -n "$PKG_CONFIG" && \
12447 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat\""; } >&5
12448 ($PKG_CONFIG --exists --print-errors "libdssialsacompat") 2>&5
12449 ac_status=$?
12450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12451 test $ac_status = 0; }; then
12452 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "libdssialsacompat" 2>/dev/null`
12453 test "x$?" != "x0" && pkg_failed=yes
12454 else
12455 pkg_failed=yes
12456 fi
12457 else
12458 pkg_failed=untried
12459 fi
12460 if test -n "$ALSA_LIBS"; then
12461 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
12462 elif test -n "$PKG_CONFIG"; then
12463 if test -n "$PKG_CONFIG" && \
12464 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdssialsacompat\""; } >&5
12465 ($PKG_CONFIG --exists --print-errors "libdssialsacompat") 2>&5
12466 ac_status=$?
12467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12468 test $ac_status = 0; }; then
12469 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "libdssialsacompat" 2>/dev/null`
12470 test "x$?" != "x0" && pkg_failed=yes
12471 else
12472 pkg_failed=yes
12473 fi
12474 else
12475 pkg_failed=untried
12476 fi
12477
12478
12479
12480 if test $pkg_failed = yes; then
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12482 $as_echo "no" >&6; }
12483
12484 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12485 _pkg_short_errors_supported=yes
12486 else
12487 _pkg_short_errors_supported=no
12488 fi
12489 if test $_pkg_short_errors_supported = yes; then
12490 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdssialsacompat" 2>&1`
12491 else
12492 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdssialsacompat" 2>&1`
12493 fi
12494 # Put the nasty error message in config.log where it belongs
12495 echo "$ALSA_PKG_ERRORS" >&5
12496
12497 build_dssi=no
12498 elif test $pkg_failed = untried; then
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12500 $as_echo "no" >&6; }
12501 build_dssi=no
12502 else
12503 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
12504 ALSA_LIBS=$pkg_cv_ALSA_LIBS
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12506 $as_echo "yes" >&6; }
12507
12508 fi
12509 else
12510 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
12511 ALSA_LIBS=$pkg_cv_ALSA_LIBS
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12513 $as_echo "yes" >&6; }
12514
12515 fi
12516 fi
12517 dssi_presets=no
12518 if test $build_dssi = yes; then
12519 dssi_presets=yes
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable bridging of DSSI programs as LV2 presets" >&5
12521 $as_echo_n "checking whether to enable bridging of DSSI programs as LV2 presets... " >&6; }
12522 # Check whether --enable-dssi-presets was given.
12523 if test "${enable_dssi_presets+set}" = set; then :
12524 enableval=$enable_dssi_presets; dssi_presets="${enableval}"
12525 else
12526 dssi_presets=yes
12527 fi
12528
12529 if test "$dssi_presets" != no; then
12530 dssi_presets=yes
12531
12532 $as_echo "#define ENABLE_DSSI_PRESETS 1" >>confdefs.h
12533
12534 fi
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dssi_presets" >&5
12536 $as_echo "$dssi_presets" >&6; }
12537 fi
12538 if test $build_dssi = yes; then
12539 BUILD_DSSI_TRUE=
12540 BUILD_DSSI_FALSE='#'
12541 else
12542 BUILD_DSSI_TRUE='#'
12543 BUILD_DSSI_FALSE=
12544 fi
12545
12546
12547 # Checks for typedefs, structures, and compiler characteristics.
12548
12549 # Checks for library functions.
12550
12551 # Output.
12552 oldmodule=$module
12553 module=yes
12554 eval MODULE_EXT=$shrext_cmds
12555 module=$oldmodule
12556
12557
12558 cat >>confdefs.h <<_ACEOF
12559 #define MODULE_EXT "$MODULE_EXT"
12560 _ACEOF
12561
12562
12563 ac_config_files="$ac_config_files Makefile ladspa/manifest.ttl ladspa/Makefile ladspa/data/Makefile dssi/manifest.ttl dssi/Makefile"
12564
12565 cat >confcache <<\_ACEOF
12566 # This file is a shell script that caches the results of configure
12567 # tests run on this system so they can be shared between configure
12568 # scripts and configure runs, see configure's option --config-cache.
12569 # It is not useful on other systems. If it contains results you don't
12570 # want to keep, you may remove or edit it.
12571 #
12572 # config.status only pays attention to the cache file if you give it
12573 # the --recheck option to rerun configure.
12574 #
12575 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12576 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12577 # following values.
12578
12579 _ACEOF
12580
12581 # The following way of writing the cache mishandles newlines in values,
12582 # but we know of no workaround that is simple, portable, and efficient.
12583 # So, we kill variables containing newlines.
12584 # Ultrix sh set writes to stderr and can't be redirected directly,
12585 # and sets the high bit in the cache file unless we assign to the vars.
12586 (
12587 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12588 eval ac_val=\$$ac_var
12589 case $ac_val in #(
12590 *${as_nl}*)
12591 case $ac_var in #(
12592 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12593 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12594 esac
12595 case $ac_var in #(
12596 _ | IFS | as_nl) ;; #(
12597 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12598 *) { eval $ac_var=; unset $ac_var;} ;;
12599 esac ;;
12600 esac
12601 done
12602
12603 (set) 2>&1 |
12604 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12605 *${as_nl}ac_space=\ *)
12606 # `set' does not quote correctly, so add quotes: double-quote
12607 # substitution turns \\\\ into \\, and sed turns \\ into \.
12608 sed -n \
12609 "s/'/'\\\\''/g;
12610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12611 ;; #(
12612 *)
12613 # `set' quotes correctly as required by POSIX, so do not add quotes.
12614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12615 ;;
12616 esac |
12617 sort
12618 ) |
12619 sed '
12620 /^ac_cv_env_/b end
12621 t clear
12622 :clear
12623 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12624 t end
12625 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12626 :end' >>confcache
12627 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12628 if test -w "$cache_file"; then
12629 if test "x$cache_file" != "x/dev/null"; then
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12631 $as_echo "$as_me: updating cache $cache_file" >&6;}
12632 if test ! -f "$cache_file" || test -h "$cache_file"; then
12633 cat confcache >"$cache_file"
12634 else
12635 case $cache_file in #(
12636 */* | ?:*)
12637 mv -f confcache "$cache_file"$$ &&
12638 mv -f "$cache_file"$$ "$cache_file" ;; #(
12639 *)
12640 mv -f confcache "$cache_file" ;;
12641 esac
12642 fi
12643 fi
12644 else
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12646 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12647 fi
12648 fi
12649 rm -f confcache
12650
12651 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12652 # Let make expand exec_prefix.
12653 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12654
12655 DEFS=-DHAVE_CONFIG_H
12656
12657 ac_libobjs=
12658 ac_ltlibobjs=
12659 U=
12660 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12661 # 1. Remove the extension, and $U if already installed.
12662 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12663 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12664 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12665 # will be set to the directory where LIBOBJS objects are built.
12666 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12667 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12668 done
12669 LIBOBJS=$ac_libobjs
12670
12671 LTLIBOBJS=$ac_ltlibobjs
12672
12673
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12675 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12676 if test -n "$am_sleep_pid"; then
12677 # Hide warnings about reused PIDs.
12678 wait $am_sleep_pid 2>/dev/null
12679 fi
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12681 $as_echo "done" >&6; }
12682 if test -n "$EXEEXT"; then
12683 am__EXEEXT_TRUE=
12684 am__EXEEXT_FALSE='#'
12685 else
12686 am__EXEEXT_TRUE='#'
12687 am__EXEEXT_FALSE=
12688 fi
12689
12690 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12691 as_fn_error $? "conditional \"AMDEP\" was never defined.
12692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12693 fi
12694 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12695 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12697 fi
12698 if test -z "${INSTALL_LRDF_TRUE}" && test -z "${INSTALL_LRDF_FALSE}"; then
12699 as_fn_error $? "conditional \"INSTALL_LRDF\" was never defined.
12700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12701 fi
12702 if test -z "${BUILD_LADSPA_TRUE}" && test -z "${BUILD_LADSPA_FALSE}"; then
12703 as_fn_error $? "conditional \"BUILD_LADSPA\" was never defined.
12704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12705 fi
12706 if test -z "${BUILD_DSSI_TRUE}" && test -z "${BUILD_DSSI_FALSE}"; then
12707 as_fn_error $? "conditional \"BUILD_DSSI\" was never defined.
12708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12709 fi
12710
12711 : "${CONFIG_STATUS=./config.status}"
12712 ac_write_fail=0
12713 ac_clean_files_save=$ac_clean_files
12714 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12716 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12717 as_write_fail=0
12718 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12719 #! $SHELL
12720 # Generated by $as_me.
12721 # Run this file to recreate the current configuration.
12722 # Compiler output produced by configure, useful for debugging
12723 # configure, is in config.log if it exists.
12724
12725 debug=false
12726 ac_cs_recheck=false
12727 ac_cs_silent=false
12728
12729 SHELL=\${CONFIG_SHELL-$SHELL}
12730 export SHELL
12731 _ASEOF
12732 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12733 ## -------------------- ##
12734 ## M4sh Initialization. ##
12735 ## -------------------- ##
12736
12737 # Be more Bourne compatible
12738 DUALCASE=1; export DUALCASE # for MKS sh
12739 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12740 emulate sh
12741 NULLCMD=:
12742 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12743 # is contrary to our usage. Disable this feature.
12744 alias -g '${1+"$@"}'='"$@"'
12745 setopt NO_GLOB_SUBST
12746 else
12747 case `(set -o) 2>/dev/null` in #(
12748 *posix*) :
12749 set -o posix ;; #(
12750 *) :
12751 ;;
12752 esac
12753 fi
12754
12755
12756 as_nl='
12757 '
12758 export as_nl
12759 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12760 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12761 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12762 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12763 # Prefer a ksh shell builtin over an external printf program on Solaris,
12764 # but without wasting forks for bash or zsh.
12765 if test -z "$BASH_VERSION$ZSH_VERSION" \
12766 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12767 as_echo='print -r --'
12768 as_echo_n='print -rn --'
12769 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12770 as_echo='printf %s\n'
12771 as_echo_n='printf %s'
12772 else
12773 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12774 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12775 as_echo_n='/usr/ucb/echo -n'
12776 else
12777 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12778 as_echo_n_body='eval
12779 arg=$1;
12780 case $arg in #(
12781 *"$as_nl"*)
12782 expr "X$arg" : "X\\(.*\\)$as_nl";
12783 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12784 esac;
12785 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12786 '
12787 export as_echo_n_body
12788 as_echo_n='sh -c $as_echo_n_body as_echo'
12789 fi
12790 export as_echo_body
12791 as_echo='sh -c $as_echo_body as_echo'
12792 fi
12793
12794 # The user is always right.
12795 if test "${PATH_SEPARATOR+set}" != set; then
12796 PATH_SEPARATOR=:
12797 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12798 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12799 PATH_SEPARATOR=';'
12800 }
12801 fi
12802
12803
12804 # IFS
12805 # We need space, tab and new line, in precisely that order. Quoting is
12806 # there to prevent editors from complaining about space-tab.
12807 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12808 # splitting by setting IFS to empty value.)
12809 IFS=" "" $as_nl"
12810
12811 # Find who we are. Look in the path if we contain no directory separator.
12812 as_myself=
12813 case $0 in #((
12814 *[\\/]* ) as_myself=$0 ;;
12815 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12816 for as_dir in $PATH
12817 do
12818 IFS=$as_save_IFS
12819 test -z "$as_dir" && as_dir=.
12820 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12821 done
12822 IFS=$as_save_IFS
12823
12824 ;;
12825 esac
12826 # We did not find ourselves, most probably we were run as `sh COMMAND'
12827 # in which case we are not to be found in the path.
12828 if test "x$as_myself" = x; then
12829 as_myself=$0
12830 fi
12831 if test ! -f "$as_myself"; then
12832 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12833 exit 1
12834 fi
12835
12836 # Unset variables that we do not need and which cause bugs (e.g. in
12837 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12838 # suppresses any "Segmentation fault" message there. '((' could
12839 # trigger a bug in pdksh 5.2.14.
12840 for as_var in BASH_ENV ENV MAIL MAILPATH
12841 do eval test x\${$as_var+set} = xset \
12842 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12843 done
12844 PS1='$ '
12845 PS2='> '
12846 PS4='+ '
12847
12848 # NLS nuisances.
12849 LC_ALL=C
12850 export LC_ALL
12851 LANGUAGE=C
12852 export LANGUAGE
12853
12854 # CDPATH.
12855 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12856
12857
12858 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12859 # ----------------------------------------
12860 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12861 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12862 # script with STATUS, using 1 if that was 0.
12863 as_fn_error ()
12864 {
12865 as_status=$1; test $as_status -eq 0 && as_status=1
12866 if test "$4"; then
12867 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12868 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12869 fi
12870 $as_echo "$as_me: error: $2" >&2
12871 as_fn_exit $as_status
12872 } # as_fn_error
12873
12874
12875 # as_fn_set_status STATUS
12876 # -----------------------
12877 # Set $? to STATUS, without forking.
12878 as_fn_set_status ()
12879 {
12880 return $1
12881 } # as_fn_set_status
12882
12883 # as_fn_exit STATUS
12884 # -----------------
12885 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12886 as_fn_exit ()
12887 {
12888 set +e
12889 as_fn_set_status $1
12890 exit $1
12891 } # as_fn_exit
12892
12893 # as_fn_unset VAR
12894 # ---------------
12895 # Portably unset VAR.
12896 as_fn_unset ()
12897 {
12898 { eval $1=; unset $1;}
12899 }
12900 as_unset=as_fn_unset
12901 # as_fn_append VAR VALUE
12902 # ----------------------
12903 # Append the text in VALUE to the end of the definition contained in VAR. Take
12904 # advantage of any shell optimizations that allow amortized linear growth over
12905 # repeated appends, instead of the typical quadratic growth present in naive
12906 # implementations.
12907 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12908 eval 'as_fn_append ()
12909 {
12910 eval $1+=\$2
12911 }'
12912 else
12913 as_fn_append ()
12914 {
12915 eval $1=\$$1\$2
12916 }
12917 fi # as_fn_append
12918
12919 # as_fn_arith ARG...
12920 # ------------------
12921 # Perform arithmetic evaluation on the ARGs, and store the result in the
12922 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12923 # must be portable across $(()) and expr.
12924 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12925 eval 'as_fn_arith ()
12926 {
12927 as_val=$(( $* ))
12928 }'
12929 else
12930 as_fn_arith ()
12931 {
12932 as_val=`expr "$@" || test $? -eq 1`
12933 }
12934 fi # as_fn_arith
12935
12936
12937 if expr a : '\(a\)' >/dev/null 2>&1 &&
12938 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12939 as_expr=expr
12940 else
12941 as_expr=false
12942 fi
12943
12944 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12945 as_basename=basename
12946 else
12947 as_basename=false
12948 fi
12949
12950 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12951 as_dirname=dirname
12952 else
12953 as_dirname=false
12954 fi
12955
12956 as_me=`$as_basename -- "$0" ||
12957 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12958 X"$0" : 'X\(//\)$' \| \
12959 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12960 $as_echo X/"$0" |
12961 sed '/^.*\/\([^/][^/]*\)\/*$/{
12962 s//\1/
12963 q
12964 }
12965 /^X\/\(\/\/\)$/{
12966 s//\1/
12967 q
12968 }
12969 /^X\/\(\/\).*/{
12970 s//\1/
12971 q
12972 }
12973 s/.*/./; q'`
12974
12975 # Avoid depending upon Character Ranges.
12976 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12977 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12978 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12979 as_cr_digits='0123456789'
12980 as_cr_alnum=$as_cr_Letters$as_cr_digits
12981
12982 ECHO_C= ECHO_N= ECHO_T=
12983 case `echo -n x` in #(((((
12984 -n*)
12985 case `echo 'xy\c'` in
12986 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12987 xy) ECHO_C='\c';;
12988 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12989 ECHO_T=' ';;
12990 esac;;
12991 *)
12992 ECHO_N='-n';;
12993 esac
12994
12995 rm -f conf$$ conf$$.exe conf$$.file
12996 if test -d conf$$.dir; then
12997 rm -f conf$$.dir/conf$$.file
12998 else
12999 rm -f conf$$.dir
13000 mkdir conf$$.dir 2>/dev/null
13001 fi
13002 if (echo >conf$$.file) 2>/dev/null; then
13003 if ln -s conf$$.file conf$$ 2>/dev/null; then
13004 as_ln_s='ln -s'
13005 # ... but there are two gotchas:
13006 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13007 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13008 # In both cases, we have to default to `cp -pR'.
13009 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13010 as_ln_s='cp -pR'
13011 elif ln conf$$.file conf$$ 2>/dev/null; then
13012 as_ln_s=ln
13013 else
13014 as_ln_s='cp -pR'
13015 fi
13016 else
13017 as_ln_s='cp -pR'
13018 fi
13019 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13020 rmdir conf$$.dir 2>/dev/null
13021
13022
13023 # as_fn_mkdir_p
13024 # -------------
13025 # Create "$as_dir" as a directory, including parents if necessary.
13026 as_fn_mkdir_p ()
13027 {
13028
13029 case $as_dir in #(
13030 -*) as_dir=./$as_dir;;
13031 esac
13032 test -d "$as_dir" || eval $as_mkdir_p || {
13033 as_dirs=
13034 while :; do
13035 case $as_dir in #(
13036 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13037 *) as_qdir=$as_dir;;
13038 esac
13039 as_dirs="'$as_qdir' $as_dirs"
13040 as_dir=`$as_dirname -- "$as_dir" ||
13041 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13042 X"$as_dir" : 'X\(//\)[^/]' \| \
13043 X"$as_dir" : 'X\(//\)$' \| \
13044 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13045 $as_echo X"$as_dir" |
13046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13047 s//\1/
13048 q
13049 }
13050 /^X\(\/\/\)[^/].*/{
13051 s//\1/
13052 q
13053 }
13054 /^X\(\/\/\)$/{
13055 s//\1/
13056 q
13057 }
13058 /^X\(\/\).*/{
13059 s//\1/
13060 q
13061 }
13062 s/.*/./; q'`
13063 test -d "$as_dir" && break
13064 done
13065 test -z "$as_dirs" || eval "mkdir $as_dirs"
13066 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13067
13068
13069 } # as_fn_mkdir_p
13070 if mkdir -p . 2>/dev/null; then
13071 as_mkdir_p='mkdir -p "$as_dir"'
13072 else
13073 test -d ./-p && rmdir ./-p
13074 as_mkdir_p=false
13075 fi
13076
13077
13078 # as_fn_executable_p FILE
13079 # -----------------------
13080 # Test if FILE is an executable regular file.
13081 as_fn_executable_p ()
13082 {
13083 test -f "$1" && test -x "$1"
13084 } # as_fn_executable_p
13085 as_test_x='test -x'
13086 as_executable_p=as_fn_executable_p
13087
13088 # Sed expression to map a string onto a valid CPP name.
13089 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13090
13091 # Sed expression to map a string onto a valid variable name.
13092 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13093
13094
13095 exec 6>&1
13096 ## ----------------------------------- ##
13097 ## Main body of $CONFIG_STATUS script. ##
13098 ## ----------------------------------- ##
13099 _ASEOF
13100 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13101
13102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13103 # Save the log message, to keep $0 and so on meaningful, and to
13104 # report actual input values of CONFIG_FILES etc. instead of their
13105 # values after options handling.
13106 ac_log="
13107 This file was extended by NASPRO bridges $as_me 0.5.1, which was
13108 generated by GNU Autoconf 2.69. Invocation command line was
13109
13110 CONFIG_FILES = $CONFIG_FILES
13111 CONFIG_HEADERS = $CONFIG_HEADERS
13112 CONFIG_LINKS = $CONFIG_LINKS
13113 CONFIG_COMMANDS = $CONFIG_COMMANDS
13114 $ $0 $@
13115
13116 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13117 "
13118
13119 _ACEOF
13120
13121 case $ac_config_files in *"
13122 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13123 esac
13124
13125 case $ac_config_headers in *"
13126 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13127 esac
13128
13129
13130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13131 # Files that config.status was made for.
13132 config_files="$ac_config_files"
13133 config_headers="$ac_config_headers"
13134 config_commands="$ac_config_commands"
13135
13136 _ACEOF
13137
13138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13139 ac_cs_usage="\
13140 \`$as_me' instantiates files and other configuration actions
13141 from templates according to the current configuration. Unless the files
13142 and actions are specified as TAGs, all are instantiated by default.
13143
13144 Usage: $0 [OPTION]... [TAG]...
13145
13146 -h, --help print this help, then exit
13147 -V, --version print version number and configuration settings, then exit
13148 --config print configuration, then exit
13149 -q, --quiet, --silent
13150 do not print progress messages
13151 -d, --debug don't remove temporary files
13152 --recheck update $as_me by reconfiguring in the same conditions
13153 --file=FILE[:TEMPLATE]
13154 instantiate the configuration file FILE
13155 --header=FILE[:TEMPLATE]
13156 instantiate the configuration header FILE
13157
13158 Configuration files:
13159 $config_files
13160
13161 Configuration headers:
13162 $config_headers
13163
13164 Configuration commands:
13165 $config_commands
13166
13167 Report bugs to <[email protected]>."
13168
13169 _ACEOF
13170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13171 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13172 ac_cs_version="\\
13173 NASPRO bridges config.status 0.5.1
13174 configured by $0, generated by GNU Autoconf 2.69,
13175 with options \\"\$ac_cs_config\\"
13176
13177 Copyright (C) 2012 Free Software Foundation, Inc.
13178 This config.status script is free software; the Free Software Foundation
13179 gives unlimited permission to copy, distribute and modify it."
13180
13181 ac_pwd='$ac_pwd'
13182 srcdir='$srcdir'
13183 INSTALL='$INSTALL'
13184 MKDIR_P='$MKDIR_P'
13185 AWK='$AWK'
13186 test -n "\$AWK" || AWK=awk
13187 _ACEOF
13188
13189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13190 # The default lists apply if the user does not specify any file.
13191 ac_need_defaults=:
13192 while test $# != 0
13193 do
13194 case $1 in
13195 --*=?*)
13196 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13197 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13198 ac_shift=:
13199 ;;
13200 --*=)
13201 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13202 ac_optarg=
13203 ac_shift=:
13204 ;;
13205 *)
13206 ac_option=$1
13207 ac_optarg=$2
13208 ac_shift=shift
13209 ;;
13210 esac
13211
13212 case $ac_option in
13213 # Handling of the options.
13214 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13215 ac_cs_recheck=: ;;
13216 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13217 $as_echo "$ac_cs_version"; exit ;;
13218 --config | --confi | --conf | --con | --co | --c )
13219 $as_echo "$ac_cs_config"; exit ;;
13220 --debug | --debu | --deb | --de | --d | -d )
13221 debug=: ;;
13222 --file | --fil | --fi | --f )
13223 $ac_shift
13224 case $ac_optarg in
13225 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13226 '') as_fn_error $? "missing file argument" ;;
13227 esac
13228 as_fn_append CONFIG_FILES " '$ac_optarg'"
13229 ac_need_defaults=false;;
13230 --header | --heade | --head | --hea )
13231 $ac_shift
13232 case $ac_optarg in
13233 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13234 esac
13235 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13236 ac_need_defaults=false;;
13237 --he | --h)
13238 # Conflict between --help and --header
13239 as_fn_error $? "ambiguous option: \`$1'
13240 Try \`$0 --help' for more information.";;
13241 --help | --hel | -h )
13242 $as_echo "$ac_cs_usage"; exit ;;
13243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13244 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13245 ac_cs_silent=: ;;
13246
13247 # This is an error.
13248 -*) as_fn_error $? "unrecognized option: \`$1'
13249 Try \`$0 --help' for more information." ;;
13250
13251 *) as_fn_append ac_config_targets " $1"
13252 ac_need_defaults=false ;;
13253
13254 esac
13255 shift
13256 done
13257
13258 ac_configure_extra_args=
13259
13260 if $ac_cs_silent; then
13261 exec 6>/dev/null
13262 ac_configure_extra_args="$ac_configure_extra_args --silent"
13263 fi
13264
13265 _ACEOF
13266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13267 if \$ac_cs_recheck; then
13268 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13269 shift
13270 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13271 CONFIG_SHELL='$SHELL'
13272 export CONFIG_SHELL
13273 exec "\$@"
13274 fi
13275
13276 _ACEOF
13277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13278 exec 5>>config.log
13279 {
13280 echo
13281 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13282 ## Running $as_me. ##
13283 _ASBOX
13284 $as_echo "$ac_log"
13285 } >&5
13286
13287 _ACEOF
13288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13289 #
13290 # INIT-COMMANDS
13291 #
13292 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13293
13294
13295 # The HP-UX ksh and POSIX shell print the target directory to stdout
13296 # if CDPATH is set.
13297 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13298
13299 sed_quote_subst='$sed_quote_subst'
13300 double_quote_subst='$double_quote_subst'
13301 delay_variable_subst='$delay_variable_subst'
13302 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13303 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
13304 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13305 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13306 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13307 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13308 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13309 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13310 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13311 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13312 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13313 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13314 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13315 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13316 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13317 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13318 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13319 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13320 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13321 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13322 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13323 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13324 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13325 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13326 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13327 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13328 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13329 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13330 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13331 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13332 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13333 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13334 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13335 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13336 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13337 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13338 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13339 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13340 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13341 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13342 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13343 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13344 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13345 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13346 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13347 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13348 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13349 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13350 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13351 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13352 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13353 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13354 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13355 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13356 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13357 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13358 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13359 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"`'
13360 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13361 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13362 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13363 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13364 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13365 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13366 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13367 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13368 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13369 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13370 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13371 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13372 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13373 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13374 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13375 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13376 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13377 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13378 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13379 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13380 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13381 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13382 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13383 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13384 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13385 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13386 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13387 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13388 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13389 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13390 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13391 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13392 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13393 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13394 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13395 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13396 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13397 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13398 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13399 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13400 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13401 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13402 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13403 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13404 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13405 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13406 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13407 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13408 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13409 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13410 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13411 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13412 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13413 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13414 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13415 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13416 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13417 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13418 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13419 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13420 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13421 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13422 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13423 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13424 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13425 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13426 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13427 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13428 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13429 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13430 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13431 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13432 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13433
13434 LTCC='$LTCC'
13435 LTCFLAGS='$LTCFLAGS'
13436 compiler='$compiler_DEFAULT'
13437
13438 # A function that is used when there is no print builtin or printf.
13439 func_fallback_echo ()
13440 {
13441 eval 'cat <<_LTECHO_EOF
13442 \$1
13443 _LTECHO_EOF'
13444 }
13445
13446 # Quote evaled strings.
13447 for var in AS \
13448 DLLTOOL \
13449 OBJDUMP \
13450 SHELL \
13451 ECHO \
13452 PATH_SEPARATOR \
13453 SED \
13454 GREP \
13455 EGREP \
13456 FGREP \
13457 LD \
13458 NM \
13459 LN_S \
13460 lt_SP2NL \
13461 lt_NL2SP \
13462 reload_flag \
13463 deplibs_check_method \
13464 file_magic_cmd \
13465 file_magic_glob \
13466 want_nocaseglob \
13467 sharedlib_from_linklib_cmd \
13468 AR \
13469 AR_FLAGS \
13470 archiver_list_spec \
13471 STRIP \
13472 RANLIB \
13473 CC \
13474 CFLAGS \
13475 compiler \
13476 lt_cv_sys_global_symbol_pipe \
13477 lt_cv_sys_global_symbol_to_cdecl \
13478 lt_cv_sys_global_symbol_to_c_name_address \
13479 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13480 nm_file_list_spec \
13481 lt_prog_compiler_no_builtin_flag \
13482 lt_prog_compiler_pic \
13483 lt_prog_compiler_wl \
13484 lt_prog_compiler_static \
13485 lt_cv_prog_compiler_c_o \
13486 need_locks \
13487 MANIFEST_TOOL \
13488 DSYMUTIL \
13489 NMEDIT \
13490 LIPO \
13491 OTOOL \
13492 OTOOL64 \
13493 shrext_cmds \
13494 export_dynamic_flag_spec \
13495 whole_archive_flag_spec \
13496 compiler_needs_object \
13497 with_gnu_ld \
13498 allow_undefined_flag \
13499 no_undefined_flag \
13500 hardcode_libdir_flag_spec \
13501 hardcode_libdir_separator \
13502 exclude_expsyms \
13503 include_expsyms \
13504 file_list_spec \
13505 variables_saved_for_relink \
13506 libname_spec \
13507 library_names_spec \
13508 soname_spec \
13509 install_override_mode \
13510 finish_eval \
13511 old_striplib \
13512 striplib; do
13513 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13514 *[\\\\\\\`\\"\\\$]*)
13515 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13516 ;;
13517 *)
13518 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13519 ;;
13520 esac
13521 done
13522
13523 # Double-quote double-evaled strings.
13524 for var in reload_cmds \
13525 old_postinstall_cmds \
13526 old_postuninstall_cmds \
13527 old_archive_cmds \
13528 extract_expsyms_cmds \
13529 old_archive_from_new_cmds \
13530 old_archive_from_expsyms_cmds \
13531 archive_cmds \
13532 archive_expsym_cmds \
13533 module_cmds \
13534 module_expsym_cmds \
13535 export_symbols_cmds \
13536 prelink_cmds \
13537 postlink_cmds \
13538 postinstall_cmds \
13539 postuninstall_cmds \
13540 finish_cmds \
13541 sys_lib_search_path_spec \
13542 sys_lib_dlsearch_path_spec; do
13543 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13544 *[\\\\\\\`\\"\\\$]*)
13545 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13546 ;;
13547 *)
13548 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13549 ;;
13550 esac
13551 done
13552
13553 ac_aux_dir='$ac_aux_dir'
13554 xsi_shell='$xsi_shell'
13555 lt_shell_append='$lt_shell_append'
13556
13557 # See if we are running on zsh, and set the options which allow our
13558 # commands through without removal of \ escapes INIT.
13559 if test -n "\${ZSH_VERSION+set}" ; then
13560 setopt NO_GLOB_SUBST
13561 fi
13562
13563
13564 PACKAGE='$PACKAGE'
13565 VERSION='$VERSION'
13566 TIMESTAMP='$TIMESTAMP'
13567 RM='$RM'
13568 ofile='$ofile'
13569
13570
13571
13572
13573 _ACEOF
13574
13575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13576
13577 # Handling of arguments.
13578 for ac_config_target in $ac_config_targets
13579 do
13580 case $ac_config_target in
13581 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13582 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13583 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13584 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13585 "ladspa/manifest.ttl") CONFIG_FILES="$CONFIG_FILES ladspa/manifest.ttl" ;;
13586 "ladspa/Makefile") CONFIG_FILES="$CONFIG_FILES ladspa/Makefile" ;;
13587 "ladspa/data/Makefile") CONFIG_FILES="$CONFIG_FILES ladspa/data/Makefile" ;;
13588 "dssi/manifest.ttl") CONFIG_FILES="$CONFIG_FILES dssi/manifest.ttl" ;;
13589 "dssi/Makefile") CONFIG_FILES="$CONFIG_FILES dssi/Makefile" ;;
13590
13591 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13592 esac
13593 done
13594
13595
13596 # If the user did not use the arguments to specify the items to instantiate,
13597 # then the envvar interface is used. Set only those that are not.
13598 # We use the long form for the default assignment because of an extremely
13599 # bizarre bug on SunOS 4.1.3.
13600 if $ac_need_defaults; then
13601 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13602 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13603 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13604 fi
13605
13606 # Have a temporary directory for convenience. Make it in the build tree
13607 # simply because there is no reason against having it here, and in addition,
13608 # creating and moving files from /tmp can sometimes cause problems.
13609 # Hook for its removal unless debugging.
13610 # Note that there is a small window in which the directory will not be cleaned:
13611 # after its creation but before its name has been assigned to `$tmp'.
13612 $debug ||
13613 {
13614 tmp= ac_tmp=
13615 trap 'exit_status=$?
13616 : "${ac_tmp:=$tmp}"
13617 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13618 ' 0
13619 trap 'as_fn_exit 1' 1 2 13 15
13620 }
13621 # Create a (secure) tmp directory for tmp files.
13622
13623 {
13624 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13625 test -d "$tmp"
13626 } ||
13627 {
13628 tmp=./conf$$-$RANDOM
13629 (umask 077 && mkdir "$tmp")
13630 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13631 ac_tmp=$tmp
13632
13633 # Set up the scripts for CONFIG_FILES section.
13634 # No need to generate them if there are no CONFIG_FILES.
13635 # This happens for instance with `./config.status config.h'.
13636 if test -n "$CONFIG_FILES"; then
13637
13638
13639 ac_cr=`echo X | tr X '\015'`
13640 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13641 # But we know of no other shell where ac_cr would be empty at this
13642 # point, so we can use a bashism as a fallback.
13643 if test "x$ac_cr" = x; then
13644 eval ac_cr=\$\'\\r\'
13645 fi
13646 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13647 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13648 ac_cs_awk_cr='\\r'
13649 else
13650 ac_cs_awk_cr=$ac_cr
13651 fi
13652
13653 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13654 _ACEOF
13655
13656
13657 {
13658 echo "cat >conf$$subs.awk <<_ACEOF" &&
13659 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13660 echo "_ACEOF"
13661 } >conf$$subs.sh ||
13662 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13663 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13664 ac_delim='%!_!# '
13665 for ac_last_try in false false false false false :; do
13666 . ./conf$$subs.sh ||
13667 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13668
13669 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13670 if test $ac_delim_n = $ac_delim_num; then
13671 break
13672 elif $ac_last_try; then
13673 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13674 else
13675 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13676 fi
13677 done
13678 rm -f conf$$subs.sh
13679
13680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13681 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13682 _ACEOF
13683 sed -n '
13684 h
13685 s/^/S["/; s/!.*/"]=/
13686 p
13687 g
13688 s/^[^!]*!//
13689 :repl
13690 t repl
13691 s/'"$ac_delim"'$//
13692 t delim
13693 :nl
13694 h
13695 s/\(.\{148\}\)..*/\1/
13696 t more1
13697 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13698 p
13699 n
13700 b repl
13701 :more1
13702 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13703 p
13704 g
13705 s/.\{148\}//
13706 t nl
13707 :delim
13708 h
13709 s/\(.\{148\}\)..*/\1/
13710 t more2
13711 s/["\\]/\\&/g; s/^/"/; s/$/"/
13712 p
13713 b
13714 :more2
13715 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13716 p
13717 g
13718 s/.\{148\}//
13719 t delim
13720 ' <conf$$subs.awk | sed '
13721 /^[^""]/{
13722 N
13723 s/\n//
13724 }
13725 ' >>$CONFIG_STATUS || ac_write_fail=1
13726 rm -f conf$$subs.awk
13727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13728 _ACAWK
13729 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13730 for (key in S) S_is_set[key] = 1
13731 FS = ""
13732
13733 }
13734 {
13735 line = $ 0
13736 nfields = split(line, field, "@")
13737 substed = 0
13738 len = length(field[1])
13739 for (i = 2; i < nfields; i++) {
13740 key = field[i]
13741 keylen = length(key)
13742 if (S_is_set[key]) {
13743 value = S[key]
13744 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13745 len += length(value) + length(field[++i])
13746 substed = 1
13747 } else
13748 len += 1 + keylen
13749 }
13750
13751 print line
13752 }
13753
13754 _ACAWK
13755 _ACEOF
13756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13757 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13758 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13759 else
13760 cat
13761 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13762 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13763 _ACEOF
13764
13765 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13766 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13767 # trailing colons and then remove the whole line if VPATH becomes empty
13768 # (actually we leave an empty line to preserve line numbers).
13769 if test "x$srcdir" = x.; then
13770 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13771 h
13772 s///
13773 s/^/:/
13774 s/[ ]*$/:/
13775 s/:\$(srcdir):/:/g
13776 s/:\${srcdir}:/:/g
13777 s/:@srcdir@:/:/g
13778 s/^:*//
13779 s/:*$//
13780 x
13781 s/\(=[ ]*\).*/\1/
13782 G
13783 s/\n//
13784 s/^[^=]*=[ ]*$//
13785 }'
13786 fi
13787
13788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13789 fi # test -n "$CONFIG_FILES"
13790
13791 # Set up the scripts for CONFIG_HEADERS section.
13792 # No need to generate them if there are no CONFIG_HEADERS.
13793 # This happens for instance with `./config.status Makefile'.
13794 if test -n "$CONFIG_HEADERS"; then
13795 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13796 BEGIN {
13797 _ACEOF
13798
13799 # Transform confdefs.h into an awk script `defines.awk', embedded as
13800 # here-document in config.status, that substitutes the proper values into
13801 # config.h.in to produce config.h.
13802
13803 # Create a delimiter string that does not exist in confdefs.h, to ease
13804 # handling of long lines.
13805 ac_delim='%!_!# '
13806 for ac_last_try in false false :; do
13807 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13808 if test -z "$ac_tt"; then
13809 break
13810 elif $ac_last_try; then
13811 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13812 else
13813 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13814 fi
13815 done
13816
13817 # For the awk script, D is an array of macro values keyed by name,
13818 # likewise P contains macro parameters if any. Preserve backslash
13819 # newline sequences.
13820
13821 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13822 sed -n '
13823 s/.\{148\}/&'"$ac_delim"'/g
13824 t rset
13825 :rset
13826 s/^[ ]*#[ ]*define[ ][ ]*/ /
13827 t def
13828 d
13829 :def
13830 s/\\$//
13831 t bsnl
13832 s/["\\]/\\&/g
13833 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13834 D["\1"]=" \3"/p
13835 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13836 d
13837 :bsnl
13838 s/["\\]/\\&/g
13839 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13840 D["\1"]=" \3\\\\\\n"\\/p
13841 t cont
13842 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13843 t cont
13844 d
13845 :cont
13846 n
13847 s/.\{148\}/&'"$ac_delim"'/g
13848 t clear
13849 :clear
13850 s/\\$//
13851 t bsnlc
13852 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13853 d
13854 :bsnlc
13855 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13856 b cont
13857 ' <confdefs.h | sed '
13858 s/'"$ac_delim"'/"\\\
13859 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13860
13861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13862 for (key in D) D_is_set[key] = 1
13863 FS = ""
13864 }
13865 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13866 line = \$ 0
13867 split(line, arg, " ")
13868 if (arg[1] == "#") {
13869 defundef = arg[2]
13870 mac1 = arg[3]
13871 } else {
13872 defundef = substr(arg[1], 2)
13873 mac1 = arg[2]
13874 }
13875 split(mac1, mac2, "(") #)
13876 macro = mac2[1]
13877 prefix = substr(line, 1, index(line, defundef) - 1)
13878 if (D_is_set[macro]) {
13879 # Preserve the white space surrounding the "#".
13880 print prefix "define", macro P[macro] D[macro]
13881 next
13882 } else {
13883 # Replace #undef with comments. This is necessary, for example,
13884 # in the case of _POSIX_SOURCE, which is predefined and required
13885 # on some systems where configure will not decide to define it.
13886 if (defundef == "undef") {
13887 print "/*", prefix defundef, macro, "*/"
13888 next
13889 }
13890 }
13891 }
13892 { print }
13893 _ACAWK
13894 _ACEOF
13895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13896 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13897 fi # test -n "$CONFIG_HEADERS"
13898
13899
13900 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13901 shift
13902 for ac_tag
13903 do
13904 case $ac_tag in
13905 :[FHLC]) ac_mode=$ac_tag; continue;;
13906 esac
13907 case $ac_mode$ac_tag in
13908 :[FHL]*:*);;
13909 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13910 :[FH]-) ac_tag=-:-;;
13911 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13912 esac
13913 ac_save_IFS=$IFS
13914 IFS=:
13915 set x $ac_tag
13916 IFS=$ac_save_IFS
13917 shift
13918 ac_file=$1
13919 shift
13920
13921 case $ac_mode in
13922 :L) ac_source=$1;;
13923 :[FH])
13924 ac_file_inputs=
13925 for ac_f
13926 do
13927 case $ac_f in
13928 -) ac_f="$ac_tmp/stdin";;
13929 *) # Look for the file first in the build tree, then in the source tree
13930 # (if the path is not absolute). The absolute path cannot be DOS-style,
13931 # because $ac_f cannot contain `:'.
13932 test -f "$ac_f" ||
13933 case $ac_f in
13934 [\\/$]*) false;;
13935 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13936 esac ||
13937 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13938 esac
13939 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13940 as_fn_append ac_file_inputs " '$ac_f'"
13941 done
13942
13943 # Let's still pretend it is `configure' which instantiates (i.e., don't
13944 # use $as_me), people would be surprised to read:
13945 # /* config.h. Generated by config.status. */
13946 configure_input='Generated from '`
13947 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13948 `' by configure.'
13949 if test x"$ac_file" != x-; then
13950 configure_input="$ac_file. $configure_input"
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13952 $as_echo "$as_me: creating $ac_file" >&6;}
13953 fi
13954 # Neutralize special characters interpreted by sed in replacement strings.
13955 case $configure_input in #(
13956 *\&* | *\|* | *\\* )
13957 ac_sed_conf_input=`$as_echo "$configure_input" |
13958 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13959 *) ac_sed_conf_input=$configure_input;;
13960 esac
13961
13962 case $ac_tag in
13963 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13964 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13965 esac
13966 ;;
13967 esac
13968
13969 ac_dir=`$as_dirname -- "$ac_file" ||
13970 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13971 X"$ac_file" : 'X\(//\)[^/]' \| \
13972 X"$ac_file" : 'X\(//\)$' \| \
13973 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13974 $as_echo X"$ac_file" |
13975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13976 s//\1/
13977 q
13978 }
13979 /^X\(\/\/\)[^/].*/{
13980 s//\1/
13981 q
13982 }
13983 /^X\(\/\/\)$/{
13984 s//\1/
13985 q
13986 }
13987 /^X\(\/\).*/{
13988 s//\1/
13989 q
13990 }
13991 s/.*/./; q'`
13992 as_dir="$ac_dir"; as_fn_mkdir_p
13993 ac_builddir=.
13994
13995 case "$ac_dir" in
13996 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13997 *)
13998 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13999 # A ".." for each directory in $ac_dir_suffix.
14000 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14001 case $ac_top_builddir_sub in
14002 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14003 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14004 esac ;;
14005 esac
14006 ac_abs_top_builddir=$ac_pwd
14007 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14008 # for backward compatibility:
14009 ac_top_builddir=$ac_top_build_prefix
14010
14011 case $srcdir in
14012 .) # We are building in place.
14013 ac_srcdir=.
14014 ac_top_srcdir=$ac_top_builddir_sub
14015 ac_abs_top_srcdir=$ac_pwd ;;
14016 [\\/]* | ?:[\\/]* ) # Absolute name.
14017 ac_srcdir=$srcdir$ac_dir_suffix;
14018 ac_top_srcdir=$srcdir
14019 ac_abs_top_srcdir=$srcdir ;;
14020 *) # Relative name.
14021 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14022 ac_top_srcdir=$ac_top_build_prefix$srcdir
14023 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14024 esac
14025 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14026
14027
14028 case $ac_mode in
14029 :F)
14030 #
14031 # CONFIG_FILE
14032 #
14033
14034 case $INSTALL in
14035 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14036 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14037 esac
14038 ac_MKDIR_P=$MKDIR_P
14039 case $MKDIR_P in
14040 [\\/$]* | ?:[\\/]* ) ;;
14041 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14042 esac
14043 _ACEOF
14044
14045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14046 # If the template does not know about datarootdir, expand it.
14047 # FIXME: This hack should be removed a few years after 2.60.
14048 ac_datarootdir_hack=; ac_datarootdir_seen=
14049 ac_sed_dataroot='
14050 /datarootdir/ {
14051 p
14052 q
14053 }
14054 /@datadir@/p
14055 /@docdir@/p
14056 /@infodir@/p
14057 /@localedir@/p
14058 /@mandir@/p'
14059 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14060 *datarootdir*) ac_datarootdir_seen=yes;;
14061 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14063 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14064 _ACEOF
14065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14066 ac_datarootdir_hack='
14067 s&@datadir@&$datadir&g
14068 s&@docdir@&$docdir&g
14069 s&@infodir@&$infodir&g
14070 s&@localedir@&$localedir&g
14071 s&@mandir@&$mandir&g
14072 s&\\\${datarootdir}&$datarootdir&g' ;;
14073 esac
14074 _ACEOF
14075
14076 # Neutralize VPATH when `$srcdir' = `.'.
14077 # Shell code in configure.ac might set extrasub.
14078 # FIXME: do we really want to maintain this feature?
14079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14080 ac_sed_extra="$ac_vpsub
14081 $extrasub
14082 _ACEOF
14083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14084 :t
14085 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14086 s|@configure_input@|$ac_sed_conf_input|;t t
14087 s&@top_builddir@&$ac_top_builddir_sub&;t t
14088 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14089 s&@srcdir@&$ac_srcdir&;t t
14090 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14091 s&@top_srcdir@&$ac_top_srcdir&;t t
14092 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14093 s&@builddir@&$ac_builddir&;t t
14094 s&@abs_builddir@&$ac_abs_builddir&;t t
14095 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14096 s&@INSTALL@&$ac_INSTALL&;t t
14097 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14098 $ac_datarootdir_hack
14099 "
14100 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14101 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14102
14103 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14104 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14105 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
14106 "$ac_tmp/out"`; test -z "$ac_out"; } &&
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14108 which seems to be undefined. Please make sure it is defined" >&5
14109 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14110 which seems to be undefined. Please make sure it is defined" >&2;}
14111
14112 rm -f "$ac_tmp/stdin"
14113 case $ac_file in
14114 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14115 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14116 esac \
14117 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14118 ;;
14119 :H)
14120 #
14121 # CONFIG_HEADER
14122 #
14123 if test x"$ac_file" != x-; then
14124 {
14125 $as_echo "/* $configure_input */" \
14126 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14127 } >"$ac_tmp/config.h" \
14128 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14129 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14131 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14132 else
14133 rm -f "$ac_file"
14134 mv "$ac_tmp/config.h" "$ac_file" \
14135 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14136 fi
14137 else
14138 $as_echo "/* $configure_input */" \
14139 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14140 || as_fn_error $? "could not create -" "$LINENO" 5
14141 fi
14142 # Compute "$ac_file"'s index in $config_headers.
14143 _am_arg="$ac_file"
14144 _am_stamp_count=1
14145 for _am_header in $config_headers :; do
14146 case $_am_header in
14147 $_am_arg | $_am_arg:* )
14148 break ;;
14149 * )
14150 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14151 esac
14152 done
14153 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14154 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14155 X"$_am_arg" : 'X\(//\)[^/]' \| \
14156 X"$_am_arg" : 'X\(//\)$' \| \
14157 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14158 $as_echo X"$_am_arg" |
14159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14160 s//\1/
14161 q
14162 }
14163 /^X\(\/\/\)[^/].*/{
14164 s//\1/
14165 q
14166 }
14167 /^X\(\/\/\)$/{
14168 s//\1/
14169 q
14170 }
14171 /^X\(\/\).*/{
14172 s//\1/
14173 q
14174 }
14175 s/.*/./; q'`/stamp-h$_am_stamp_count
14176 ;;
14177
14178 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14179 $as_echo "$as_me: executing $ac_file commands" >&6;}
14180 ;;
14181 esac
14182
14183
14184 case $ac_file$ac_mode in
14185 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14186 # Older Autoconf quotes --file arguments for eval, but not when files
14187 # are listed without --file. Let's play safe and only enable the eval
14188 # if we detect the quoting.
14189 case $CONFIG_FILES in
14190 *\'*) eval set x "$CONFIG_FILES" ;;
14191 *) set x $CONFIG_FILES ;;
14192 esac
14193 shift
14194 for mf
14195 do
14196 # Strip MF so we end up with the name of the file.
14197 mf=`echo "$mf" | sed -e 's/:.*$//'`
14198 # Check whether this is an Automake generated Makefile or not.
14199 # We used to match only the files named 'Makefile.in', but
14200 # some people rename them; so instead we look at the file content.
14201 # Grep'ing the first line is not enough: some people post-process
14202 # each Makefile.in and add a new line on top of each file to say so.
14203 # Grep'ing the whole file is not good either: AIX grep has a line
14204 # limit of 2048, but all sed's we know have understand at least 4000.
14205 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14206 dirpart=`$as_dirname -- "$mf" ||
14207 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14208 X"$mf" : 'X\(//\)[^/]' \| \
14209 X"$mf" : 'X\(//\)$' \| \
14210 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14211 $as_echo X"$mf" |
14212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14213 s//\1/
14214 q
14215 }
14216 /^X\(\/\/\)[^/].*/{
14217 s//\1/
14218 q
14219 }
14220 /^X\(\/\/\)$/{
14221 s//\1/
14222 q
14223 }
14224 /^X\(\/\).*/{
14225 s//\1/
14226 q
14227 }
14228 s/.*/./; q'`
14229 else
14230 continue
14231 fi
14232 # Extract the definition of DEPDIR, am__include, and am__quote
14233 # from the Makefile without running 'make'.
14234 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14235 test -z "$DEPDIR" && continue
14236 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14237 test -z "$am__include" && continue
14238 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14239 # Find all dependency output files, they are included files with
14240 # $(DEPDIR) in their names. We invoke sed twice because it is the
14241 # simplest approach to changing $(DEPDIR) to its actual value in the
14242 # expansion.
14243 for file in `sed -n "
14244 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14245 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14246 # Make sure the directory exists.
14247 test -f "$dirpart/$file" && continue
14248 fdir=`$as_dirname -- "$file" ||
14249 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14250 X"$file" : 'X\(//\)[^/]' \| \
14251 X"$file" : 'X\(//\)$' \| \
14252 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14253 $as_echo X"$file" |
14254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14255 s//\1/
14256 q
14257 }
14258 /^X\(\/\/\)[^/].*/{
14259 s//\1/
14260 q
14261 }
14262 /^X\(\/\/\)$/{
14263 s//\1/
14264 q
14265 }
14266 /^X\(\/\).*/{
14267 s//\1/
14268 q
14269 }
14270 s/.*/./; q'`
14271 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14272 # echo "creating $dirpart/$file"
14273 echo '# dummy' > "$dirpart/$file"
14274 done
14275 done
14276 }
14277 ;;
14278 "libtool":C)
14279
14280 # See if we are running on zsh, and set the options which allow our
14281 # commands through without removal of \ escapes.
14282 if test -n "${ZSH_VERSION+set}" ; then
14283 setopt NO_GLOB_SUBST
14284 fi
14285
14286 cfgfile="${ofile}T"
14287 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14288 $RM "$cfgfile"
14289
14290 cat <<_LT_EOF >> "$cfgfile"
14291 #! $SHELL
14292
14293 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14294 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14295 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14296 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14297 #
14298 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14299 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14300 # Foundation, Inc.
14301 # Written by Gordon Matzigkeit, 1996
14302 #
14303 # This file is part of GNU Libtool.
14304 #
14305 # GNU Libtool is free software; you can redistribute it and/or
14306 # modify it under the terms of the GNU General Public License as
14307 # published by the Free Software Foundation; either version 2 of
14308 # the License, or (at your option) any later version.
14309 #
14310 # As a special exception to the GNU General Public License,
14311 # if you distribute this file as part of a program or library that
14312 # is built using GNU Libtool, you may include this file under the
14313 # same distribution terms that you use for the rest of that program.
14314 #
14315 # GNU Libtool is distributed in the hope that it will be useful,
14316 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14317 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14318 # GNU General Public License for more details.
14319 #
14320 # You should have received a copy of the GNU General Public License
14321 # along with GNU Libtool; see the file COPYING. If not, a copy
14322 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14323 # obtained by writing to the Free Software Foundation, Inc.,
14324 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14325
14326
14327 # The names of the tagged configurations supported by this script.
14328 available_tags=""
14329
14330 # ### BEGIN LIBTOOL CONFIG
14331
14332 # Whether or not to build static libraries.
14333 build_old_libs=$enable_static
14334
14335 # Assembler program.
14336 AS=$lt_AS
14337
14338 # DLL creation program.
14339 DLLTOOL=$lt_DLLTOOL
14340
14341 # Object dumper program.
14342 OBJDUMP=$lt_OBJDUMP
14343
14344 # Which release of libtool.m4 was used?
14345 macro_version=$macro_version
14346 macro_revision=$macro_revision
14347
14348 # Whether or not to build shared libraries.
14349 build_libtool_libs=$enable_shared
14350
14351 # What type of objects to build.
14352 pic_mode=$pic_mode
14353
14354 # Whether or not to optimize for fast installation.
14355 fast_install=$enable_fast_install
14356
14357 # Shell to use when invoking shell scripts.
14358 SHELL=$lt_SHELL
14359
14360 # An echo program that protects backslashes.
14361 ECHO=$lt_ECHO
14362
14363 # The PATH separator for the build system.
14364 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14365
14366 # The host system.
14367 host_alias=$host_alias
14368 host=$host
14369 host_os=$host_os
14370
14371 # The build system.
14372 build_alias=$build_alias
14373 build=$build
14374 build_os=$build_os
14375
14376 # A sed program that does not truncate output.
14377 SED=$lt_SED
14378
14379 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14380 Xsed="\$SED -e 1s/^X//"
14381
14382 # A grep program that handles long lines.
14383 GREP=$lt_GREP
14384
14385 # An ERE matcher.
14386 EGREP=$lt_EGREP
14387
14388 # A literal string matcher.
14389 FGREP=$lt_FGREP
14390
14391 # A BSD- or MS-compatible name lister.
14392 NM=$lt_NM
14393
14394 # Whether we need soft or hard links.
14395 LN_S=$lt_LN_S
14396
14397 # What is the maximum length of a command?
14398 max_cmd_len=$max_cmd_len
14399
14400 # Object file suffix (normally "o").
14401 objext=$ac_objext
14402
14403 # Executable file suffix (normally "").
14404 exeext=$exeext
14405
14406 # whether the shell understands "unset".
14407 lt_unset=$lt_unset
14408
14409 # turn spaces into newlines.
14410 SP2NL=$lt_lt_SP2NL
14411
14412 # turn newlines into spaces.
14413 NL2SP=$lt_lt_NL2SP
14414
14415 # convert \$build file names to \$host format.
14416 to_host_file_cmd=$lt_cv_to_host_file_cmd
14417
14418 # convert \$build files to toolchain format.
14419 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14420
14421 # Method to check whether dependent libraries are shared objects.
14422 deplibs_check_method=$lt_deplibs_check_method
14423
14424 # Command to use when deplibs_check_method = "file_magic".
14425 file_magic_cmd=$lt_file_magic_cmd
14426
14427 # How to find potential files when deplibs_check_method = "file_magic".
14428 file_magic_glob=$lt_file_magic_glob
14429
14430 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14431 want_nocaseglob=$lt_want_nocaseglob
14432
14433 # Command to associate shared and link libraries.
14434 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14435
14436 # The archiver.
14437 AR=$lt_AR
14438
14439 # Flags to create an archive.
14440 AR_FLAGS=$lt_AR_FLAGS
14441
14442 # How to feed a file listing to the archiver.
14443 archiver_list_spec=$lt_archiver_list_spec
14444
14445 # A symbol stripping program.
14446 STRIP=$lt_STRIP
14447
14448 # Commands used to install an old-style archive.
14449 RANLIB=$lt_RANLIB
14450 old_postinstall_cmds=$lt_old_postinstall_cmds
14451 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14452
14453 # Whether to use a lock for old archive extraction.
14454 lock_old_archive_extraction=$lock_old_archive_extraction
14455
14456 # A C compiler.
14457 LTCC=$lt_CC
14458
14459 # LTCC compiler flags.
14460 LTCFLAGS=$lt_CFLAGS
14461
14462 # Take the output of nm and produce a listing of raw symbols and C names.
14463 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14464
14465 # Transform the output of nm in a proper C declaration.
14466 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14467
14468 # Transform the output of nm in a C name address pair.
14469 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14470
14471 # Transform the output of nm in a C name address pair when lib prefix is needed.
14472 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14473
14474 # Specify filename containing input files for \$NM.
14475 nm_file_list_spec=$lt_nm_file_list_spec
14476
14477 # The root where to search for dependent libraries,and in which our libraries should be installed.
14478 lt_sysroot=$lt_sysroot
14479
14480 # The name of the directory that contains temporary libtool files.
14481 objdir=$objdir
14482
14483 # Used to examine libraries when file_magic_cmd begins with "file".
14484 MAGIC_CMD=$MAGIC_CMD
14485
14486 # Must we lock files when doing compilation?
14487 need_locks=$lt_need_locks
14488
14489 # Manifest tool.
14490 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14491
14492 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14493 DSYMUTIL=$lt_DSYMUTIL
14494
14495 # Tool to change global to local symbols on Mac OS X.
14496 NMEDIT=$lt_NMEDIT
14497
14498 # Tool to manipulate fat objects and archives on Mac OS X.
14499 LIPO=$lt_LIPO
14500
14501 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14502 OTOOL=$lt_OTOOL
14503
14504 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14505 OTOOL64=$lt_OTOOL64
14506
14507 # Old archive suffix (normally "a").
14508 libext=$libext
14509
14510 # Shared library suffix (normally ".so").
14511 shrext_cmds=$lt_shrext_cmds
14512
14513 # The commands to extract the exported symbol list from a shared archive.
14514 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14515
14516 # Variables whose values should be saved in libtool wrapper scripts and
14517 # restored at link time.
14518 variables_saved_for_relink=$lt_variables_saved_for_relink
14519
14520 # Do we need the "lib" prefix for modules?
14521 need_lib_prefix=$need_lib_prefix
14522
14523 # Do we need a version for libraries?
14524 need_version=$need_version
14525
14526 # Library versioning type.
14527 version_type=$version_type
14528
14529 # Shared library runtime path variable.
14530 runpath_var=$runpath_var
14531
14532 # Shared library path variable.
14533 shlibpath_var=$shlibpath_var
14534
14535 # Is shlibpath searched before the hard-coded library search path?
14536 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14537
14538 # Format of library name prefix.
14539 libname_spec=$lt_libname_spec
14540
14541 # List of archive names. First name is the real one, the rest are links.
14542 # The last name is the one that the linker finds with -lNAME
14543 library_names_spec=$lt_library_names_spec
14544
14545 # The coded name of the library, if different from the real name.
14546 soname_spec=$lt_soname_spec
14547
14548 # Permission mode override for installation of shared libraries.
14549 install_override_mode=$lt_install_override_mode
14550
14551 # Command to use after installation of a shared archive.
14552 postinstall_cmds=$lt_postinstall_cmds
14553
14554 # Command to use after uninstallation of a shared archive.
14555 postuninstall_cmds=$lt_postuninstall_cmds
14556
14557 # Commands used to finish a libtool library installation in a directory.
14558 finish_cmds=$lt_finish_cmds
14559
14560 # As "finish_cmds", except a single script fragment to be evaled but
14561 # not shown.
14562 finish_eval=$lt_finish_eval
14563
14564 # Whether we should hardcode library paths into libraries.
14565 hardcode_into_libs=$hardcode_into_libs
14566
14567 # Compile-time system search path for libraries.
14568 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14569
14570 # Run-time system search path for libraries.
14571 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14572
14573 # Whether dlopen is supported.
14574 dlopen_support=$enable_dlopen
14575
14576 # Whether dlopen of programs is supported.
14577 dlopen_self=$enable_dlopen_self
14578
14579 # Whether dlopen of statically linked programs is supported.
14580 dlopen_self_static=$enable_dlopen_self_static
14581
14582 # Commands to strip libraries.
14583 old_striplib=$lt_old_striplib
14584 striplib=$lt_striplib
14585
14586
14587 # The linker used to build libraries.
14588 LD=$lt_LD
14589
14590 # How to create reloadable object files.
14591 reload_flag=$lt_reload_flag
14592 reload_cmds=$lt_reload_cmds
14593
14594 # Commands used to build an old-style archive.
14595 old_archive_cmds=$lt_old_archive_cmds
14596
14597 # A language specific compiler.
14598 CC=$lt_compiler
14599
14600 # Is the compiler the GNU compiler?
14601 with_gcc=$GCC
14602
14603 # Compiler flag to turn off builtin functions.
14604 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14605
14606 # Additional compiler flags for building library objects.
14607 pic_flag=$lt_lt_prog_compiler_pic
14608
14609 # How to pass a linker flag through the compiler.
14610 wl=$lt_lt_prog_compiler_wl
14611
14612 # Compiler flag to prevent dynamic linking.
14613 link_static_flag=$lt_lt_prog_compiler_static
14614
14615 # Does compiler simultaneously support -c and -o options?
14616 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14617
14618 # Whether or not to add -lc for building shared libraries.
14619 build_libtool_need_lc=$archive_cmds_need_lc
14620
14621 # Whether or not to disallow shared libs when runtime libs are static.
14622 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14623
14624 # Compiler flag to allow reflexive dlopens.
14625 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14626
14627 # Compiler flag to generate shared objects directly from archives.
14628 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14629
14630 # Whether the compiler copes with passing no objects directly.
14631 compiler_needs_object=$lt_compiler_needs_object
14632
14633 # Create an old-style archive from a shared archive.
14634 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14635
14636 # Create a temporary old-style archive to link instead of a shared archive.
14637 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14638
14639 # Commands used to build a shared archive.
14640 archive_cmds=$lt_archive_cmds
14641 archive_expsym_cmds=$lt_archive_expsym_cmds
14642
14643 # Commands used to build a loadable module if different from building
14644 # a shared archive.
14645 module_cmds=$lt_module_cmds
14646 module_expsym_cmds=$lt_module_expsym_cmds
14647
14648 # Whether we are building with GNU ld or not.
14649 with_gnu_ld=$lt_with_gnu_ld
14650
14651 # Flag that allows shared libraries with undefined symbols to be built.
14652 allow_undefined_flag=$lt_allow_undefined_flag
14653
14654 # Flag that enforces no undefined symbols.
14655 no_undefined_flag=$lt_no_undefined_flag
14656
14657 # Flag to hardcode \$libdir into a binary during linking.
14658 # This must work even if \$libdir does not exist
14659 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14660
14661 # Whether we need a single "-rpath" flag with a separated argument.
14662 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14663
14664 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14665 # DIR into the resulting binary.
14666 hardcode_direct=$hardcode_direct
14667
14668 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14669 # DIR into the resulting binary and the resulting library dependency is
14670 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14671 # library is relocated.
14672 hardcode_direct_absolute=$hardcode_direct_absolute
14673
14674 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14675 # into the resulting binary.
14676 hardcode_minus_L=$hardcode_minus_L
14677
14678 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14679 # into the resulting binary.
14680 hardcode_shlibpath_var=$hardcode_shlibpath_var
14681
14682 # Set to "yes" if building a shared library automatically hardcodes DIR
14683 # into the library and all subsequent libraries and executables linked
14684 # against it.
14685 hardcode_automatic=$hardcode_automatic
14686
14687 # Set to yes if linker adds runtime paths of dependent libraries
14688 # to runtime path list.
14689 inherit_rpath=$inherit_rpath
14690
14691 # Whether libtool must link a program against all its dependency libraries.
14692 link_all_deplibs=$link_all_deplibs
14693
14694 # Set to "yes" if exported symbols are required.
14695 always_export_symbols=$always_export_symbols
14696
14697 # The commands to list exported symbols.
14698 export_symbols_cmds=$lt_export_symbols_cmds
14699
14700 # Symbols that should not be listed in the preloaded symbols.
14701 exclude_expsyms=$lt_exclude_expsyms
14702
14703 # Symbols that must always be exported.
14704 include_expsyms=$lt_include_expsyms
14705
14706 # Commands necessary for linking programs (against libraries) with templates.
14707 prelink_cmds=$lt_prelink_cmds
14708
14709 # Commands necessary for finishing linking programs.
14710 postlink_cmds=$lt_postlink_cmds
14711
14712 # Specify filename containing input files.
14713 file_list_spec=$lt_file_list_spec
14714
14715 # How to hardcode a shared library path into an executable.
14716 hardcode_action=$hardcode_action
14717
14718 # ### END LIBTOOL CONFIG
14719
14720 _LT_EOF
14721
14722 case $host_os in
14723 aix3*)
14724 cat <<\_LT_EOF >> "$cfgfile"
14725 # AIX sometimes has problems with the GCC collect2 program. For some
14726 # reason, if we set the COLLECT_NAMES environment variable, the problems
14727 # vanish in a puff of smoke.
14728 if test "X${COLLECT_NAMES+set}" != Xset; then
14729 COLLECT_NAMES=
14730 export COLLECT_NAMES
14731 fi
14732 _LT_EOF
14733 ;;
14734 esac
14735
14736
14737 ltmain="$ac_aux_dir/ltmain.sh"
14738
14739
14740 # We use sed instead of cat because bash on DJGPP gets confused if
14741 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14742 # text mode, it properly converts lines to CR/LF. This bash problem
14743 # is reportedly fixed, but why not run on old versions too?
14744 sed '$q' "$ltmain" >> "$cfgfile" \
14745 || (rm -f "$cfgfile"; exit 1)
14746
14747 if test x"$xsi_shell" = xyes; then
14748 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14749 func_dirname ()\
14750 {\
14751 \ case ${1} in\
14752 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14753 \ * ) func_dirname_result="${3}" ;;\
14754 \ esac\
14755 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14756 && mv -f "$cfgfile.tmp" "$cfgfile" \
14757 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14758 test 0 -eq $? || _lt_function_replace_fail=:
14759
14760
14761 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14762 func_basename ()\
14763 {\
14764 \ func_basename_result="${1##*/}"\
14765 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14766 && mv -f "$cfgfile.tmp" "$cfgfile" \
14767 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14768 test 0 -eq $? || _lt_function_replace_fail=:
14769
14770
14771 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14772 func_dirname_and_basename ()\
14773 {\
14774 \ case ${1} in\
14775 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14776 \ * ) func_dirname_result="${3}" ;;\
14777 \ esac\
14778 \ func_basename_result="${1##*/}"\
14779 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14780 && mv -f "$cfgfile.tmp" "$cfgfile" \
14781 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14782 test 0 -eq $? || _lt_function_replace_fail=:
14783
14784
14785 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14786 func_stripname ()\
14787 {\
14788 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14789 \ # positional parameters, so assign one to ordinary parameter first.\
14790 \ func_stripname_result=${3}\
14791 \ func_stripname_result=${func_stripname_result#"${1}"}\
14792 \ func_stripname_result=${func_stripname_result%"${2}"}\
14793 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14794 && mv -f "$cfgfile.tmp" "$cfgfile" \
14795 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14796 test 0 -eq $? || _lt_function_replace_fail=:
14797
14798
14799 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14800 func_split_long_opt ()\
14801 {\
14802 \ func_split_long_opt_name=${1%%=*}\
14803 \ func_split_long_opt_arg=${1#*=}\
14804 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14805 && mv -f "$cfgfile.tmp" "$cfgfile" \
14806 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14807 test 0 -eq $? || _lt_function_replace_fail=:
14808
14809
14810 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14811 func_split_short_opt ()\
14812 {\
14813 \ func_split_short_opt_arg=${1#??}\
14814 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14815 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14816 && mv -f "$cfgfile.tmp" "$cfgfile" \
14817 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14818 test 0 -eq $? || _lt_function_replace_fail=:
14819
14820
14821 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14822 func_lo2o ()\
14823 {\
14824 \ case ${1} in\
14825 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14826 \ *) func_lo2o_result=${1} ;;\
14827 \ esac\
14828 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14829 && mv -f "$cfgfile.tmp" "$cfgfile" \
14830 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14831 test 0 -eq $? || _lt_function_replace_fail=:
14832
14833
14834 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14835 func_xform ()\
14836 {\
14837 func_xform_result=${1%.*}.lo\
14838 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14839 && mv -f "$cfgfile.tmp" "$cfgfile" \
14840 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14841 test 0 -eq $? || _lt_function_replace_fail=:
14842
14843
14844 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14845 func_arith ()\
14846 {\
14847 func_arith_result=$(( $* ))\
14848 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14849 && mv -f "$cfgfile.tmp" "$cfgfile" \
14850 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14851 test 0 -eq $? || _lt_function_replace_fail=:
14852
14853
14854 sed -e '/^func_len ()$/,/^} # func_len /c\
14855 func_len ()\
14856 {\
14857 func_len_result=${#1}\
14858 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14859 && mv -f "$cfgfile.tmp" "$cfgfile" \
14860 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14861 test 0 -eq $? || _lt_function_replace_fail=:
14862
14863 fi
14864
14865 if test x"$lt_shell_append" = xyes; then
14866 sed -e '/^func_append ()$/,/^} # func_append /c\
14867 func_append ()\
14868 {\
14869 eval "${1}+=\\${2}"\
14870 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14871 && mv -f "$cfgfile.tmp" "$cfgfile" \
14872 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14873 test 0 -eq $? || _lt_function_replace_fail=:
14874
14875
14876 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14877 func_append_quoted ()\
14878 {\
14879 \ func_quote_for_eval "${2}"\
14880 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14881 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14882 && mv -f "$cfgfile.tmp" "$cfgfile" \
14883 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14884 test 0 -eq $? || _lt_function_replace_fail=:
14885
14886
14887 # Save a `func_append' function call where possible by direct use of '+='
14888 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14889 && mv -f "$cfgfile.tmp" "$cfgfile" \
14890 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14891 test 0 -eq $? || _lt_function_replace_fail=:
14892 else
14893 # Save a `func_append' function call even when '+=' is not available
14894 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14895 && mv -f "$cfgfile.tmp" "$cfgfile" \
14896 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14897 test 0 -eq $? || _lt_function_replace_fail=:
14898 fi
14899
14900 if test x"$_lt_function_replace_fail" = x":"; then
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14902 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14903 fi
14904
14905
14906 mv -f "$cfgfile" "$ofile" ||
14907 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14908 chmod +x "$ofile"
14909
14910 ;;
14911
14912 esac
14913 done # for ac_tag
14914
14915
14916 as_fn_exit 0
14917 _ACEOF
14918 ac_clean_files=$ac_clean_files_save
14919
14920 test $ac_write_fail = 0 ||
14921 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14922
14923
14924 # configure is writing to config.log, and then calls config.status.
14925 # config.status does its own redirection, appending to config.log.
14926 # Unfortunately, on DOS this fails, as config.log is still kept open
14927 # by configure, so config.status won't be able to write to it; its
14928 # output is simply discarded. So we exec the FD to /dev/null,
14929 # effectively closing config.log, so it can be properly (re)opened and
14930 # appended to by config.status. When coming back to configure, we
14931 # need to make the FD available again.
14932 if test "$no_create" != yes; then
14933 ac_cs_success=:
14934 ac_config_status_args=
14935 test "$silent" = yes &&
14936 ac_config_status_args="$ac_config_status_args --quiet"
14937 exec 5>/dev/null
14938 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14939 exec 5>>config.log
14940 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14941 # would make configure fail if this is the last instruction.
14942 $ac_cs_success || as_fn_exit 1
14943 fi
14944 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14946 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14947 fi
14948
14949
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: LADSPA bridge: $build_ladspa" >&5
14951 $as_echo "$as_me: LADSPA bridge: $build_ladspa" >&6;}
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: LRDF-equivalent bundles: $lrdfinst" >&5
14953 $as_echo "$as_me: LRDF-equivalent bundles: $lrdfinst" >&6;}
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: DSSI bridge: $build_dssi" >&5
14955 $as_echo "$as_me: DSSI bridge: $build_dssi" >&6;}
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: DSSI programs as LV2 presets: $dssi_presets" >&5
14957 $as_echo "$as_me: DSSI programs as LV2 presets: $dssi_presets" >&6;}