Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for librostlab 1.0.20.
4 #
5 # Report bugs to <https://rostlab.org/cgi-bin/bugzilla3/enter_bug.cgi?product=librostlab>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" "" $as_nl"
92
93 # Find who we are. Look in the path if we contain no directory separator.
94 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
104
105 ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110 as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 emulate sh
141 NULLCMD=:
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 setopt NO_GLOB_SUBST
146 else
147 case \`(set -o) 2>/dev/null\` in #(
148 *posix*) :
149 set -o posix ;; #(
150 *) :
151 ;;
152 esac
153 fi
154 "
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168 else
169 exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
178 as_have_required=yes
179 else
180 as_have_required=no
181 fi
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184 else
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 do
189 IFS=$as_save_IFS
190 test -z "$as_dir" && as_dir=.
191 as_found=:
192 case $as_dir in #(
193 /*)
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201 break 2
202 fi
203 fi
204 done;;
205 esac
206 as_found=false
207 done
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; }
212 IFS=$as_save_IFS
213
214
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
219 BASH_ENV=/dev/null
220 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 fi
225
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232 else
233 $as_echo "$0: Please tell [email protected] and
234 $0: https://rostlab.org/cgi-bin/bugzilla3/enter_bug.cgi?product=librostlab
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
238 $0: have one."
239 fi
240 exit 1
241 fi
242 fi
243 fi
244 SHELL=${CONFIG_SHELL-/bin/sh}
245 export SHELL
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
249
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
253 # as_fn_unset VAR
254 # ---------------
255 # Portably unset VAR.
256 as_fn_unset ()
257 {
258 { eval $1=; unset $1;}
259 }
260 as_unset=as_fn_unset
261
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
265 as_fn_set_status ()
266 {
267 return $1
268 } # as_fn_set_status
269
270 # as_fn_exit STATUS
271 # -----------------
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273 as_fn_exit ()
274 {
275 set +e
276 as_fn_set_status $1
277 exit $1
278 } # as_fn_exit
279
280 # as_fn_mkdir_p
281 # -------------
282 # Create "$as_dir" as a directory, including parents if necessary.
283 as_fn_mkdir_p ()
284 {
285
286 case $as_dir in #(
287 -*) as_dir=./$as_dir;;
288 esac
289 test -d "$as_dir" || eval $as_mkdir_p || {
290 as_dirs=
291 while :; do
292 case $as_dir in #(
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294 *) as_qdir=$as_dir;;
295 esac
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)[^/].*/{
308 s//\1/
309 q
310 }
311 /^X\(\/\/\)$/{
312 s//\1/
313 q
314 }
315 /^X\(\/\).*/{
316 s//\1/
317 q
318 }
319 s/.*/./; q'`
320 test -d "$as_dir" && break
321 done
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324
325
326 } # as_fn_mkdir_p
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
332 # implementations.
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
335 {
336 eval $1+=\$2
337 }'
338 else
339 as_fn_append ()
340 {
341 eval $1=\$$1\$2
342 }
343 fi # as_fn_append
344
345 # as_fn_arith ARG...
346 # ------------------
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351 eval 'as_fn_arith ()
352 {
353 as_val=$(( $* ))
354 }'
355 else
356 as_fn_arith ()
357 {
358 as_val=`expr "$@" || test $? -eq 1`
359 }
360 fi # as_fn_arith
361
362
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
368 as_fn_error ()
369 {
370 as_status=$1; test $as_status -eq 0 && as_status=1
371 if test "$4"; then
372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 fi
375 $as_echo "$as_me: error: $2" >&2
376 as_fn_exit $as_status
377 } # as_fn_error
378
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
381 as_expr=expr
382 else
383 as_expr=false
384 fi
385
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387 as_basename=basename
388 else
389 as_basename=false
390 fi
391
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393 as_dirname=dirname
394 else
395 as_dirname=false
396 fi
397
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 $as_echo X/"$0" |
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
404 s//\1/
405 q
406 }
407 /^X\/\(\/\/\)$/{
408 s//\1/
409 q
410 }
411 /^X\/\(\/\).*/{
412 s//\1/
413 q
414 }
415 s/.*/./; q'`
416
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
423
424
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
430 sed -n '
431 p
432 /[$]LINENO/=
433 ' <$as_myself |
434 sed '
435 s/[$]LINENO.*/&-/
436 t lineno
437 b
438 :lineno
439 N
440 :loop
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442 t loop
443 s/-\n.*//
444 ' >$as_me.lineno &&
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
451 . "./$as_me.lineno"
452 # Exit status is that of the last command.
453 exit
454 }
455
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
458 -n*)
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 xy) ECHO_C='\c';;
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 ECHO_T=' ';;
464 esac;;
465 *)
466 ECHO_N='-n';;
467 esac
468
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
472 else
473 rm -f conf$$.dir
474 mkdir conf$$.dir 2>/dev/null
475 fi
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 as_ln_s='ln -s'
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 as_ln_s='cp -p'
485 elif ln conf$$.file conf$$ 2>/dev/null; then
486 as_ln_s=ln
487 else
488 as_ln_s='cp -p'
489 fi
490 else
491 as_ln_s='cp -p'
492 fi
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
495
496 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
498 else
499 test -d ./-p && rmdir ./-p
500 as_mkdir_p=false
501 fi
502
503 if test -x / >/dev/null 2>&1; then
504 as_test_x='test -x'
505 else
506 if ls -dL / >/dev/null 2>&1; then
507 as_ls_L_option=L
508 else
509 as_ls_L_option=
510 fi
511 as_test_x='
512 eval sh -c '\''
513 if test -d "$1"; then
514 test -d "$1/.";
515 else
516 case $1 in #(
517 -*)set "./$1";;
518 esac;
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
521 '\'' sh
522 '
523 fi
524 as_executable_p=$as_test_x
525
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
532
533
534 # Check that we are running under the correct shell.
535 SHELL=${CONFIG_SHELL-/bin/sh}
536
537 case X$lt_ECHO in
538 X*--fallback-echo)
539 # Remove one level of quotation (which was required for Make).
540 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 ;;
542 esac
543
544 ECHO=${lt_ECHO-echo}
545 if test "X$1" = X--no-reexec; then
546 # Discard the --no-reexec flag, and continue.
547 shift
548 elif test "X$1" = X--fallback-echo; then
549 # Avoid inline document here, it may be left over
550 :
551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552 # Yippee, $ECHO works!
553 :
554 else
555 # Restart under the correct shell.
556 exec $SHELL "$0" --no-reexec ${1+"$@"}
557 fi
558
559 if test "X$1" = X--fallback-echo; then
560 # used as fallback echo
561 shift
562 cat <<_LT_EOF
563 $*
564 _LT_EOF
565 exit 0
566 fi
567
568 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 # if CDPATH is set.
570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
572 if test -z "$lt_ECHO"; then
573 if test "X${echo_test_string+set}" != Xset; then
574 # find a string as large as possible, as long as the shell can cope with it
575 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
579 then
580 break
581 fi
582 done
583 fi
584
585 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587 test "X$echo_testing_string" = "X$echo_test_string"; then
588 :
589 else
590 # The Solaris, AIX, and Digital Unix default echo programs unquote
591 # backslashes. This makes it impossible to quote backslashes using
592 # echo "$something" | sed 's/\\/\\\\/g'
593 #
594 # So, first we look for a working echo in the user's PATH.
595
596 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597 for dir in $PATH /usr/ucb; do
598 IFS="$lt_save_ifs"
599 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602 test "X$echo_testing_string" = "X$echo_test_string"; then
603 ECHO="$dir/echo"
604 break
605 fi
606 done
607 IFS="$lt_save_ifs"
608
609 if test "X$ECHO" = Xecho; then
610 # We didn't find a better echo, so look for alternatives.
611 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613 test "X$echo_testing_string" = "X$echo_test_string"; then
614 # This shell has a builtin print -r that does the trick.
615 ECHO='print -r'
616 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617 test "X$CONFIG_SHELL" != X/bin/ksh; then
618 # If we have ksh, try running configure again with it.
619 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620 export ORIGINAL_CONFIG_SHELL
621 CONFIG_SHELL=/bin/ksh
622 export CONFIG_SHELL
623 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
624 else
625 # Try using printf.
626 ECHO='printf %s\n'
627 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
630 # Cool, printf works
631 :
632 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633 test "X$echo_testing_string" = 'X\t' &&
634 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637 export CONFIG_SHELL
638 SHELL="$CONFIG_SHELL"
639 export SHELL
640 ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642 test "X$echo_testing_string" = 'X\t' &&
643 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644 test "X$echo_testing_string" = "X$echo_test_string"; then
645 ECHO="$CONFIG_SHELL $0 --fallback-echo"
646 else
647 # maybe with a smaller string...
648 prev=:
649
650 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
652 then
653 break
654 fi
655 prev="$cmd"
656 done
657
658 if test "$prev" != 'sed 50q "$0"'; then
659 echo_test_string=`eval $prev`
660 export echo_test_string
661 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 else
663 # Oops. We lost completely, so just stick with echo.
664 ECHO=echo
665 fi
666 fi
667 fi
668 fi
669 fi
670 fi
671
672 # Copy echo and quote the copy suitably for passing to libtool from
673 # the Makefile, instead of quoting the original, which is used later.
674 lt_ECHO=$ECHO
675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
677 fi
678
679
680
681
682 test -n "$DJDIR" || exec 7<&0 </dev/null
683 exec 6>&1
684
685 # Name of the host.
686 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
687 # so uname gets run too.
688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689
690 #
691 # Initializations.
692 #
693 ac_default_prefix=/usr/local
694 ac_clean_files=
695 ac_config_libobj_dir=.
696 LIBOBJS=
697 cross_compiling=no
698 subdirs=
699 MFLAGS=
700 MAKEFLAGS=
701
702 # Identity of this package.
703 PACKAGE_NAME='librostlab'
704 PACKAGE_TARNAME='librostlab'
705 PACKAGE_VERSION='1.0.20'
706 PACKAGE_STRING='librostlab 1.0.20'
707 PACKAGE_BUGREPORT='https://rostlab.org/cgi-bin/bugzilla3/enter_bug.cgi?product=librostlab'
708 PACKAGE_URL=''
709
710 ac_unique_file="lib/rostlab/aux_functions.h"
711 # Factoring default headers for most tests.
712 ac_includes_default="\
713 #include <stdio.h>
714 #ifdef HAVE_SYS_TYPES_H
715 # include <sys/types.h>
716 #endif
717 #ifdef HAVE_SYS_STAT_H
718 # include <sys/stat.h>
719 #endif
720 #ifdef STDC_HEADERS
721 # include <stdlib.h>
722 # include <stddef.h>
723 #else
724 # ifdef HAVE_STDLIB_H
725 # include <stdlib.h>
726 # endif
727 #endif
728 #ifdef HAVE_STRING_H
729 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730 # include <memory.h>
731 # endif
732 # include <string.h>
733 #endif
734 #ifdef HAVE_STRINGS_H
735 # include <strings.h>
736 #endif
737 #ifdef HAVE_INTTYPES_H
738 # include <inttypes.h>
739 #endif
740 #ifdef HAVE_STDINT_H
741 # include <stdint.h>
742 #endif
743 #ifdef HAVE_UNISTD_H
744 # include <unistd.h>
745 #endif"
746
747 ac_subst_vars='am__EXEEXT_FALSE
748 am__EXEEXT_TRUE
749 LTLIBOBJS
750 LIBOBJS
751 DOXYGEN_PAPER_SIZE
752 DX_COND_latex_FALSE
753 DX_COND_latex_TRUE
754 DX_COND_pdf_FALSE
755 DX_COND_pdf_TRUE
756 DX_PDFLATEX
757 DX_FLAG_pdf
758 DX_COND_ps_FALSE
759 DX_COND_ps_TRUE
760 DX_EGREP
761 DX_DVIPS
762 DX_MAKEINDEX
763 DX_LATEX
764 DX_FLAG_ps
765 DX_COND_html_FALSE
766 DX_COND_html_TRUE
767 DX_FLAG_html
768 DX_COND_chi_FALSE
769 DX_COND_chi_TRUE
770 DX_FLAG_chi
771 DX_COND_chm_FALSE
772 DX_COND_chm_TRUE
773 DX_HHC
774 DX_FLAG_chm
775 DX_COND_xml_FALSE
776 DX_COND_xml_TRUE
777 DX_FLAG_xml
778 DX_COND_rtf_FALSE
779 DX_COND_rtf_TRUE
780 DX_FLAG_rtf
781 DX_COND_man_FALSE
782 DX_COND_man_TRUE
783 DX_FLAG_man
784 DX_COND_dot_FALSE
785 DX_COND_dot_TRUE
786 DX_DOT
787 DX_FLAG_dot
788 DX_COND_doc_FALSE
789 DX_COND_doc_TRUE
790 DX_PERL
791 DX_DOXYGEN
792 DX_FLAG_doc
793 DX_ENV
794 DX_DOCDIR
795 DX_CONFIG
796 DX_PROJECT
797 CXXCPP
798 CPP
799 OTOOL64
800 OTOOL
801 LIPO
802 NMEDIT
803 DSYMUTIL
804 lt_ECHO
805 RANLIB
806 AR
807 OBJDUMP
808 LN_S
809 NM
810 ac_ct_DUMPBIN
811 DUMPBIN
812 LD
813 FGREP
814 EGREP
815 GREP
816 SED
817 host_os
818 host_vendor
819 host_cpu
820 host
821 build_os
822 build_vendor
823 build_cpu
824 build
825 LIBTOOL
826 am__fastdepCXX_FALSE
827 am__fastdepCXX_TRUE
828 CXXDEPMODE
829 ac_ct_CXX
830 CXXFLAGS
831 CXX
832 am__fastdepCC_FALSE
833 am__fastdepCC_TRUE
834 CCDEPMODE
835 AMDEPBACKSLASH
836 AMDEP_FALSE
837 AMDEP_TRUE
838 am__quote
839 am__include
840 DEPDIR
841 OBJEXT
842 EXEEXT
843 ac_ct_CC
844 CPPFLAGS
845 LDFLAGS
846 CFLAGS
847 CC
848 am__untar
849 am__tar
850 AMTAR
851 am__leading_dot
852 SET_MAKE
853 AWK
854 mkdir_p
855 MKDIR_P
856 INSTALL_STRIP_PROGRAM
857 STRIP
858 install_sh
859 MAKEINFO
860 AUTOHEADER
861 AUTOMAKE
862 AUTOCONF
863 ACLOCAL
864 VERSION
865 PACKAGE
866 CYGPATH_W
867 am__isrc
868 INSTALL_DATA
869 INSTALL_SCRIPT
870 INSTALL_PROGRAM
871 target_alias
872 host_alias
873 build_alias
874 LIBS
875 ECHO_T
876 ECHO_N
877 ECHO_C
878 DEFS
879 mandir
880 localedir
881 libdir
882 psdir
883 pdfdir
884 dvidir
885 htmldir
886 infodir
887 docdir
888 oldincludedir
889 includedir
890 localstatedir
891 sharedstatedir
892 sysconfdir
893 datadir
894 datarootdir
895 libexecdir
896 sbindir
897 bindir
898 program_transform_name
899 prefix
900 exec_prefix
901 PACKAGE_URL
902 PACKAGE_BUGREPORT
903 PACKAGE_STRING
904 PACKAGE_VERSION
905 PACKAGE_TARNAME
906 PACKAGE_NAME
907 PATH_SEPARATOR
908 SHELL'
909 ac_subst_files=''
910 ac_user_opts='
911 enable_option_checking
912 enable_dependency_tracking
913 enable_shared
914 enable_static
915 with_pic
916 enable_fast_install
917 with_gnu_ld
918 enable_libtool_lock
919 enable_doxygen_doc
920 enable_doxygen_dot
921 enable_doxygen_man
922 enable_doxygen_rtf
923 enable_doxygen_xml
924 enable_doxygen_chm
925 enable_doxygen_chi
926 enable_doxygen_html
927 enable_doxygen_ps
928 enable_doxygen_pdf
929 '
930 ac_precious_vars='build_alias
931 host_alias
932 target_alias
933 CC
934 CFLAGS
935 LDFLAGS
936 LIBS
937 CPPFLAGS
938 CXX
939 CXXFLAGS
940 CCC
941 CPP
942 CXXCPP
943 DOXYGEN_PAPER_SIZE'
944
945
946 # Initialize some variables set by options.
947 ac_init_help=
948 ac_init_version=false
949 ac_unrecognized_opts=
950 ac_unrecognized_sep=
951 # The variables have the same names as the options, with
952 # dashes changed to underlines.
953 cache_file=/dev/null
954 exec_prefix=NONE
955 no_create=
956 no_recursion=
957 prefix=NONE
958 program_prefix=NONE
959 program_suffix=NONE
960 program_transform_name=s,x,x,
961 silent=
962 site=
963 srcdir=
964 verbose=
965 x_includes=NONE
966 x_libraries=NONE
967
968 # Installation directory options.
969 # These are left unexpanded so users can "make install exec_prefix=/foo"
970 # and all the variables that are supposed to be based on exec_prefix
971 # by default will actually change.
972 # Use braces instead of parens because sh, perl, etc. also accept them.
973 # (The list follows the same order as the GNU Coding Standards.)
974 bindir='${exec_prefix}/bin'
975 sbindir='${exec_prefix}/sbin'
976 libexecdir='${exec_prefix}/libexec'
977 datarootdir='${prefix}/share'
978 datadir='${datarootdir}'
979 sysconfdir='${prefix}/etc'
980 sharedstatedir='${prefix}/com'
981 localstatedir='${prefix}/var'
982 includedir='${prefix}/include'
983 oldincludedir='/usr/include'
984 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
985 infodir='${datarootdir}/info'
986 htmldir='${docdir}'
987 dvidir='${docdir}'
988 pdfdir='${docdir}'
989 psdir='${docdir}'
990 libdir='${exec_prefix}/lib'
991 localedir='${datarootdir}/locale'
992 mandir='${datarootdir}/man'
993
994 ac_prev=
995 ac_dashdash=
996 for ac_option
997 do
998 # If the previous option needs an argument, assign it.
999 if test -n "$ac_prev"; then
1000 eval $ac_prev=\$ac_option
1001 ac_prev=
1002 continue
1003 fi
1004
1005 case $ac_option in
1006 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1007 *=) ac_optarg= ;;
1008 *) ac_optarg=yes ;;
1009 esac
1010
1011 # Accept the important Cygnus configure options, so we can diagnose typos.
1012
1013 case $ac_dashdash$ac_option in
1014 --)
1015 ac_dashdash=yes ;;
1016
1017 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1018 ac_prev=bindir ;;
1019 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1020 bindir=$ac_optarg ;;
1021
1022 -build | --build | --buil | --bui | --bu)
1023 ac_prev=build_alias ;;
1024 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1025 build_alias=$ac_optarg ;;
1026
1027 -cache-file | --cache-file | --cache-fil | --cache-fi \
1028 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1029 ac_prev=cache_file ;;
1030 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1031 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1032 cache_file=$ac_optarg ;;
1033
1034 --config-cache | -C)
1035 cache_file=config.cache ;;
1036
1037 -datadir | --datadir | --datadi | --datad)
1038 ac_prev=datadir ;;
1039 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1040 datadir=$ac_optarg ;;
1041
1042 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1043 | --dataroo | --dataro | --datar)
1044 ac_prev=datarootdir ;;
1045 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1046 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1047 datarootdir=$ac_optarg ;;
1048
1049 -disable-* | --disable-*)
1050 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1053 as_fn_error $? "invalid feature name: $ac_useropt"
1054 ac_useropt_orig=$ac_useropt
1055 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1056 case $ac_user_opts in
1057 *"
1058 "enable_$ac_useropt"
1059 "*) ;;
1060 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1061 ac_unrecognized_sep=', ';;
1062 esac
1063 eval enable_$ac_useropt=no ;;
1064
1065 -docdir | --docdir | --docdi | --doc | --do)
1066 ac_prev=docdir ;;
1067 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1068 docdir=$ac_optarg ;;
1069
1070 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1071 ac_prev=dvidir ;;
1072 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1073 dvidir=$ac_optarg ;;
1074
1075 -enable-* | --enable-*)
1076 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1079 as_fn_error $? "invalid feature name: $ac_useropt"
1080 ac_useropt_orig=$ac_useropt
1081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1082 case $ac_user_opts in
1083 *"
1084 "enable_$ac_useropt"
1085 "*) ;;
1086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1087 ac_unrecognized_sep=', ';;
1088 esac
1089 eval enable_$ac_useropt=\$ac_optarg ;;
1090
1091 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1092 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1093 | --exec | --exe | --ex)
1094 ac_prev=exec_prefix ;;
1095 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1096 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1097 | --exec=* | --exe=* | --ex=*)
1098 exec_prefix=$ac_optarg ;;
1099
1100 -gas | --gas | --ga | --g)
1101 # Obsolete; use --with-gas.
1102 with_gas=yes ;;
1103
1104 -help | --help | --hel | --he | -h)
1105 ac_init_help=long ;;
1106 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1107 ac_init_help=recursive ;;
1108 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1109 ac_init_help=short ;;
1110
1111 -host | --host | --hos | --ho)
1112 ac_prev=host_alias ;;
1113 -host=* | --host=* | --hos=* | --ho=*)
1114 host_alias=$ac_optarg ;;
1115
1116 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1117 ac_prev=htmldir ;;
1118 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1119 | --ht=*)
1120 htmldir=$ac_optarg ;;
1121
1122 -includedir | --includedir | --includedi | --included | --include \
1123 | --includ | --inclu | --incl | --inc)
1124 ac_prev=includedir ;;
1125 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1126 | --includ=* | --inclu=* | --incl=* | --inc=*)
1127 includedir=$ac_optarg ;;
1128
1129 -infodir | --infodir | --infodi | --infod | --info | --inf)
1130 ac_prev=infodir ;;
1131 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1132 infodir=$ac_optarg ;;
1133
1134 -libdir | --libdir | --libdi | --libd)
1135 ac_prev=libdir ;;
1136 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1137 libdir=$ac_optarg ;;
1138
1139 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1140 | --libexe | --libex | --libe)
1141 ac_prev=libexecdir ;;
1142 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1143 | --libexe=* | --libex=* | --libe=*)
1144 libexecdir=$ac_optarg ;;
1145
1146 -localedir | --localedir | --localedi | --localed | --locale)
1147 ac_prev=localedir ;;
1148 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1149 localedir=$ac_optarg ;;
1150
1151 -localstatedir | --localstatedir | --localstatedi | --localstated \
1152 | --localstate | --localstat | --localsta | --localst | --locals)
1153 ac_prev=localstatedir ;;
1154 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1155 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1156 localstatedir=$ac_optarg ;;
1157
1158 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1159 ac_prev=mandir ;;
1160 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1161 mandir=$ac_optarg ;;
1162
1163 -nfp | --nfp | --nf)
1164 # Obsolete; use --without-fp.
1165 with_fp=no ;;
1166
1167 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1168 | --no-cr | --no-c | -n)
1169 no_create=yes ;;
1170
1171 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1172 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1173 no_recursion=yes ;;
1174
1175 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1176 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1177 | --oldin | --oldi | --old | --ol | --o)
1178 ac_prev=oldincludedir ;;
1179 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1180 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1181 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1182 oldincludedir=$ac_optarg ;;
1183
1184 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1185 ac_prev=prefix ;;
1186 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1187 prefix=$ac_optarg ;;
1188
1189 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1190 | --program-pre | --program-pr | --program-p)
1191 ac_prev=program_prefix ;;
1192 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1193 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1194 program_prefix=$ac_optarg ;;
1195
1196 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1197 | --program-suf | --program-su | --program-s)
1198 ac_prev=program_suffix ;;
1199 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1200 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1201 program_suffix=$ac_optarg ;;
1202
1203 -program-transform-name | --program-transform-name \
1204 | --program-transform-nam | --program-transform-na \
1205 | --program-transform-n | --program-transform- \
1206 | --program-transform | --program-transfor \
1207 | --program-transfo | --program-transf \
1208 | --program-trans | --program-tran \
1209 | --progr-tra | --program-tr | --program-t)
1210 ac_prev=program_transform_name ;;
1211 -program-transform-name=* | --program-transform-name=* \
1212 | --program-transform-nam=* | --program-transform-na=* \
1213 | --program-transform-n=* | --program-transform-=* \
1214 | --program-transform=* | --program-transfor=* \
1215 | --program-transfo=* | --program-transf=* \
1216 | --program-trans=* | --program-tran=* \
1217 | --progr-tra=* | --program-tr=* | --program-t=*)
1218 program_transform_name=$ac_optarg ;;
1219
1220 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1221 ac_prev=pdfdir ;;
1222 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1223 pdfdir=$ac_optarg ;;
1224
1225 -psdir | --psdir | --psdi | --psd | --ps)
1226 ac_prev=psdir ;;
1227 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1228 psdir=$ac_optarg ;;
1229
1230 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1231 | -silent | --silent | --silen | --sile | --sil)
1232 silent=yes ;;
1233
1234 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1235 ac_prev=sbindir ;;
1236 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1237 | --sbi=* | --sb=*)
1238 sbindir=$ac_optarg ;;
1239
1240 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1241 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1242 | --sharedst | --shareds | --shared | --share | --shar \
1243 | --sha | --sh)
1244 ac_prev=sharedstatedir ;;
1245 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1246 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1247 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1248 | --sha=* | --sh=*)
1249 sharedstatedir=$ac_optarg ;;
1250
1251 -site | --site | --sit)
1252 ac_prev=site ;;
1253 -site=* | --site=* | --sit=*)
1254 site=$ac_optarg ;;
1255
1256 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1257 ac_prev=srcdir ;;
1258 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1259 srcdir=$ac_optarg ;;
1260
1261 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1262 | --syscon | --sysco | --sysc | --sys | --sy)
1263 ac_prev=sysconfdir ;;
1264 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1265 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1266 sysconfdir=$ac_optarg ;;
1267
1268 -target | --target | --targe | --targ | --tar | --ta | --t)
1269 ac_prev=target_alias ;;
1270 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1271 target_alias=$ac_optarg ;;
1272
1273 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1274 verbose=yes ;;
1275
1276 -version | --version | --versio | --versi | --vers | -V)
1277 ac_init_version=: ;;
1278
1279 -with-* | --with-*)
1280 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1281 # Reject names that are not valid shell variable names.
1282 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1283 as_fn_error $? "invalid package name: $ac_useropt"
1284 ac_useropt_orig=$ac_useropt
1285 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1286 case $ac_user_opts in
1287 *"
1288 "with_$ac_useropt"
1289 "*) ;;
1290 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1291 ac_unrecognized_sep=', ';;
1292 esac
1293 eval with_$ac_useropt=\$ac_optarg ;;
1294
1295 -without-* | --without-*)
1296 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1297 # Reject names that are not valid shell variable names.
1298 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1299 as_fn_error $? "invalid package name: $ac_useropt"
1300 ac_useropt_orig=$ac_useropt
1301 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1302 case $ac_user_opts in
1303 *"
1304 "with_$ac_useropt"
1305 "*) ;;
1306 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1307 ac_unrecognized_sep=', ';;
1308 esac
1309 eval with_$ac_useropt=no ;;
1310
1311 --x)
1312 # Obsolete; use --with-x.
1313 with_x=yes ;;
1314
1315 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1316 | --x-incl | --x-inc | --x-in | --x-i)
1317 ac_prev=x_includes ;;
1318 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1319 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1320 x_includes=$ac_optarg ;;
1321
1322 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1323 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1324 ac_prev=x_libraries ;;
1325 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1326 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1327 x_libraries=$ac_optarg ;;
1328
1329 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1330 Try \`$0 --help' for more information"
1331 ;;
1332
1333 *=*)
1334 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1335 # Reject names that are not valid shell variable names.
1336 case $ac_envvar in #(
1337 '' | [0-9]* | *[!_$as_cr_alnum]* )
1338 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1339 esac
1340 eval $ac_envvar=\$ac_optarg
1341 export $ac_envvar ;;
1342
1343 *)
1344 # FIXME: should be removed in autoconf 3.0.
1345 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1346 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1347 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1348 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1349 ;;
1350
1351 esac
1352 done
1353
1354 if test -n "$ac_prev"; then
1355 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1356 as_fn_error $? "missing argument to $ac_option"
1357 fi
1358
1359 if test -n "$ac_unrecognized_opts"; then
1360 case $enable_option_checking in
1361 no) ;;
1362 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1363 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1364 esac
1365 fi
1366
1367 # Check all directory arguments for consistency.
1368 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1369 datadir sysconfdir sharedstatedir localstatedir includedir \
1370 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1371 libdir localedir mandir
1372 do
1373 eval ac_val=\$$ac_var
1374 # Remove trailing slashes.
1375 case $ac_val in
1376 */ )
1377 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1378 eval $ac_var=\$ac_val;;
1379 esac
1380 # Be sure to have absolute directory names.
1381 case $ac_val in
1382 [\\/$]* | ?:[\\/]* ) continue;;
1383 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1384 esac
1385 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1386 done
1387
1388 # There might be people who depend on the old broken behavior: `$host'
1389 # used to hold the argument of --host etc.
1390 # FIXME: To remove some day.
1391 build=$build_alias
1392 host=$host_alias
1393 target=$target_alias
1394
1395 # FIXME: To remove some day.
1396 if test "x$host_alias" != x; then
1397 if test "x$build_alias" = x; then
1398 cross_compiling=maybe
1399 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1400 If a cross compiler is detected then cross compile mode will be used" >&2
1401 elif test "x$build_alias" != "x$host_alias"; then
1402 cross_compiling=yes
1403 fi
1404 fi
1405
1406 ac_tool_prefix=
1407 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1408
1409 test "$silent" = yes && exec 6>/dev/null
1410
1411
1412 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1413 ac_ls_di=`ls -di .` &&
1414 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1415 as_fn_error $? "working directory cannot be determined"
1416 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1417 as_fn_error $? "pwd does not report name of working directory"
1418
1419
1420 # Find the source files, if location was not specified.
1421 if test -z "$srcdir"; then
1422 ac_srcdir_defaulted=yes
1423 # Try the directory containing this script, then the parent directory.
1424 ac_confdir=`$as_dirname -- "$as_myself" ||
1425 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1426 X"$as_myself" : 'X\(//\)[^/]' \| \
1427 X"$as_myself" : 'X\(//\)$' \| \
1428 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1429 $as_echo X"$as_myself" |
1430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1431 s//\1/
1432 q
1433 }
1434 /^X\(\/\/\)[^/].*/{
1435 s//\1/
1436 q
1437 }
1438 /^X\(\/\/\)$/{
1439 s//\1/
1440 q
1441 }
1442 /^X\(\/\).*/{
1443 s//\1/
1444 q
1445 }
1446 s/.*/./; q'`
1447 srcdir=$ac_confdir
1448 if test ! -r "$srcdir/$ac_unique_file"; then
1449 srcdir=..
1450 fi
1451 else
1452 ac_srcdir_defaulted=no
1453 fi
1454 if test ! -r "$srcdir/$ac_unique_file"; then
1455 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1456 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1457 fi
1458 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1459 ac_abs_confdir=`(
1460 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1461 pwd)`
1462 # When building in place, set srcdir=.
1463 if test "$ac_abs_confdir" = "$ac_pwd"; then
1464 srcdir=.
1465 fi
1466 # Remove unnecessary trailing slashes from srcdir.
1467 # Double slashes in file names in object file debugging info
1468 # mess up M-x gdb in Emacs.
1469 case $srcdir in
1470 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1471 esac
1472 for ac_var in $ac_precious_vars; do
1473 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1474 eval ac_env_${ac_var}_value=\$${ac_var}
1475 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1476 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1477 done
1478
1479 #
1480 # Report the --help message.
1481 #
1482 if test "$ac_init_help" = "long"; then
1483 # Omit some internal or obsolete options to make the list less imposing.
1484 # This message is too long to be a string in the A/UX 3.1 sh.
1485 cat <<_ACEOF
1486 \`configure' configures librostlab 1.0.20 to adapt to many kinds of systems.
1487
1488 Usage: $0 [OPTION]... [VAR=VALUE]...
1489
1490 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1491 VAR=VALUE. See below for descriptions of some of the useful variables.
1492
1493 Defaults for the options are specified in brackets.
1494
1495 Configuration:
1496 -h, --help display this help and exit
1497 --help=short display options specific to this package
1498 --help=recursive display the short help of all the included packages
1499 -V, --version display version information and exit
1500 -q, --quiet, --silent do not print \`checking ...' messages
1501 --cache-file=FILE cache test results in FILE [disabled]
1502 -C, --config-cache alias for \`--cache-file=config.cache'
1503 -n, --no-create do not create output files
1504 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1505
1506 Installation directories:
1507 --prefix=PREFIX install architecture-independent files in PREFIX
1508 [$ac_default_prefix]
1509 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1510 [PREFIX]
1511
1512 By default, \`make install' will install all the files in
1513 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1514 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1515 for instance \`--prefix=\$HOME'.
1516
1517 For better control, use the options below.
1518
1519 Fine tuning of the installation directories:
1520 --bindir=DIR user executables [EPREFIX/bin]
1521 --sbindir=DIR system admin executables [EPREFIX/sbin]
1522 --libexecdir=DIR program executables [EPREFIX/libexec]
1523 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1524 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1525 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1526 --libdir=DIR object code libraries [EPREFIX/lib]
1527 --includedir=DIR C header files [PREFIX/include]
1528 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1529 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1530 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1531 --infodir=DIR info documentation [DATAROOTDIR/info]
1532 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1533 --mandir=DIR man documentation [DATAROOTDIR/man]
1534 --docdir=DIR documentation root [DATAROOTDIR/doc/librostlab]
1535 --htmldir=DIR html documentation [DOCDIR]
1536 --dvidir=DIR dvi documentation [DOCDIR]
1537 --pdfdir=DIR pdf documentation [DOCDIR]
1538 --psdir=DIR ps documentation [DOCDIR]
1539 _ACEOF
1540
1541 cat <<\_ACEOF
1542
1543 Program names:
1544 --program-prefix=PREFIX prepend PREFIX to installed program names
1545 --program-suffix=SUFFIX append SUFFIX to installed program names
1546 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1547
1548 System types:
1549 --build=BUILD configure for building on BUILD [guessed]
1550 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1551 _ACEOF
1552 fi
1553
1554 if test -n "$ac_init_help"; then
1555 case $ac_init_help in
1556 short | recursive ) echo "Configuration of librostlab 1.0.20:";;
1557 esac
1558 cat <<\_ACEOF
1559
1560 Optional Features:
1561 --disable-option-checking ignore unrecognized --enable/--with options
1562 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1563 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1564 --disable-dependency-tracking speeds up one-time build
1565 --enable-dependency-tracking do not reject slow dependency extractors
1566 --enable-shared[=PKGS] build shared libraries [default=yes]
1567 --enable-static[=PKGS] build static libraries [default=yes]
1568 --enable-fast-install[=PKGS]
1569 optimize for fast installation [default=yes]
1570 --disable-libtool-lock avoid locking (might break parallel builds)
1571 --disable-doxygen-doc don't generate any doxygen documentation
1572 --disable-doxygen-dot don't generate graphics for doxygen documentation
1573 --enable-doxygen-man generate doxygen manual pages
1574 --enable-doxygen-rtf generate doxygen RTF documentation
1575 --enable-doxygen-xml generate doxygen XML documentation
1576 --enable-doxygen-chm generate doxygen compressed HTML help documentation
1577 --enable-doxygen-chi generate doxygen seperate compressed HTML help index
1578 file
1579 --disable-doxygen-html don't generate doxygen plain HTML documentation
1580 --enable-doxygen-ps generate doxygen PostScript documentation
1581 --enable-doxygen-pdf generate doxygen PDF documentation
1582
1583 Optional Packages:
1584 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1585 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1586 --with-pic try to use only PIC/non-PIC objects [default=use
1587 both]
1588 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1589
1590 Some influential environment variables:
1591 CC C compiler command
1592 CFLAGS C compiler flags
1593 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1594 nonstandard directory <lib dir>
1595 LIBS libraries to pass to the linker, e.g. -l<library>
1596 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1597 you have headers in a nonstandard directory <include dir>
1598 CXX C++ compiler command
1599 CXXFLAGS C++ compiler flags
1600 CPP C preprocessor
1601 CXXCPP C++ preprocessor
1602 DOXYGEN_PAPER_SIZE
1603 a4wide (default), a4, letter, legal or executive
1604
1605 Use these variables to override the choices made by `configure' or to help
1606 it to find libraries and programs with nonstandard names/locations.
1607
1608 Report bugs to <https://rostlab.org/cgi-bin/bugzilla3/enter_bug.cgi?product=librostlab>.
1609 _ACEOF
1610 ac_status=$?
1611 fi
1612
1613 if test "$ac_init_help" = "recursive"; then
1614 # If there are subdirs, report their specific --help.
1615 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1616 test -d "$ac_dir" ||
1617 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1618 continue
1619 ac_builddir=.
1620
1621 case "$ac_dir" in
1622 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1623 *)
1624 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1625 # A ".." for each directory in $ac_dir_suffix.
1626 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1627 case $ac_top_builddir_sub in
1628 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1630 esac ;;
1631 esac
1632 ac_abs_top_builddir=$ac_pwd
1633 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1634 # for backward compatibility:
1635 ac_top_builddir=$ac_top_build_prefix
1636
1637 case $srcdir in
1638 .) # We are building in place.
1639 ac_srcdir=.
1640 ac_top_srcdir=$ac_top_builddir_sub
1641 ac_abs_top_srcdir=$ac_pwd ;;
1642 [\\/]* | ?:[\\/]* ) # Absolute name.
1643 ac_srcdir=$srcdir$ac_dir_suffix;
1644 ac_top_srcdir=$srcdir
1645 ac_abs_top_srcdir=$srcdir ;;
1646 *) # Relative name.
1647 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1648 ac_top_srcdir=$ac_top_build_prefix$srcdir
1649 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1650 esac
1651 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1652
1653 cd "$ac_dir" || { ac_status=$?; continue; }
1654 # Check for guested configure.
1655 if test -f "$ac_srcdir/configure.gnu"; then
1656 echo &&
1657 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1658 elif test -f "$ac_srcdir/configure"; then
1659 echo &&
1660 $SHELL "$ac_srcdir/configure" --help=recursive
1661 else
1662 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1663 fi || ac_status=$?
1664 cd "$ac_pwd" || { ac_status=$?; break; }
1665 done
1666 fi
1667
1668 test -n "$ac_init_help" && exit $ac_status
1669 if $ac_init_version; then
1670 cat <<\_ACEOF
1671 librostlab configure 1.0.20
1672 generated by GNU Autoconf 2.67
1673
1674 Copyright (C) 2010 Free Software Foundation, Inc.
1675 This configure script is free software; the Free Software Foundation
1676 gives unlimited permission to copy, distribute and modify it.
1677 _ACEOF
1678 exit
1679 fi
1680
1681 ## ------------------------ ##
1682 ## Autoconf initialization. ##
1683 ## ------------------------ ##
1684
1685 # ac_fn_c_try_compile LINENO
1686 # --------------------------
1687 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1688 ac_fn_c_try_compile ()
1689 {
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 rm -f conftest.$ac_objext
1692 if { { ac_try="$ac_compile"
1693 case "(($ac_try" in
1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695 *) ac_try_echo=$ac_try;;
1696 esac
1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698 $as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_compile") 2>conftest.err
1700 ac_status=$?
1701 if test -s conftest.err; then
1702 grep -v '^ *+' conftest.err >conftest.er1
1703 cat conftest.er1 >&5
1704 mv -f conftest.er1 conftest.err
1705 fi
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && {
1708 test -z "$ac_c_werror_flag" ||
1709 test ! -s conftest.err
1710 } && test -s conftest.$ac_objext; then :
1711 ac_retval=0
1712 else
1713 $as_echo "$as_me: failed program was:" >&5
1714 sed 's/^/| /' conftest.$ac_ext >&5
1715
1716 ac_retval=1
1717 fi
1718 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1719 as_fn_set_status $ac_retval
1720
1721 } # ac_fn_c_try_compile
1722
1723 # ac_fn_cxx_try_compile LINENO
1724 # ----------------------------
1725 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1726 ac_fn_cxx_try_compile ()
1727 {
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 rm -f conftest.$ac_objext
1730 if { { ac_try="$ac_compile"
1731 case "(($ac_try" in
1732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1733 *) ac_try_echo=$ac_try;;
1734 esac
1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1736 $as_echo "$ac_try_echo"; } >&5
1737 (eval "$ac_compile") 2>conftest.err
1738 ac_status=$?
1739 if test -s conftest.err; then
1740 grep -v '^ *+' conftest.err >conftest.er1
1741 cat conftest.er1 >&5
1742 mv -f conftest.er1 conftest.err
1743 fi
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; } && {
1746 test -z "$ac_cxx_werror_flag" ||
1747 test ! -s conftest.err
1748 } && test -s conftest.$ac_objext; then :
1749 ac_retval=0
1750 else
1751 $as_echo "$as_me: failed program was:" >&5
1752 sed 's/^/| /' conftest.$ac_ext >&5
1753
1754 ac_retval=1
1755 fi
1756 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1757 as_fn_set_status $ac_retval
1758
1759 } # ac_fn_cxx_try_compile
1760
1761 # ac_fn_c_try_link LINENO
1762 # -----------------------
1763 # Try to link conftest.$ac_ext, and return whether this succeeded.
1764 ac_fn_c_try_link ()
1765 {
1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767 rm -f conftest.$ac_objext conftest$ac_exeext
1768 if { { ac_try="$ac_link"
1769 case "(($ac_try" in
1770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1771 *) ac_try_echo=$ac_try;;
1772 esac
1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774 $as_echo "$ac_try_echo"; } >&5
1775 (eval "$ac_link") 2>conftest.err
1776 ac_status=$?
1777 if test -s conftest.err; then
1778 grep -v '^ *+' conftest.err >conftest.er1
1779 cat conftest.er1 >&5
1780 mv -f conftest.er1 conftest.err
1781 fi
1782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1783 test $ac_status = 0; } && {
1784 test -z "$ac_c_werror_flag" ||
1785 test ! -s conftest.err
1786 } && test -s conftest$ac_exeext && {
1787 test "$cross_compiling" = yes ||
1788 $as_test_x conftest$ac_exeext
1789 }; then :
1790 ac_retval=0
1791 else
1792 $as_echo "$as_me: failed program was:" >&5
1793 sed 's/^/| /' conftest.$ac_ext >&5
1794
1795 ac_retval=1
1796 fi
1797 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1798 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1799 # interfere with the next link command; also delete a directory that is
1800 # left behind by Apple's compiler. We do this before executing the actions.
1801 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1802 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1803 as_fn_set_status $ac_retval
1804
1805 } # ac_fn_c_try_link
1806
1807 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1808 # -------------------------------------------------------
1809 # Tests whether HEADER exists and can be compiled using the include files in
1810 # INCLUDES, setting the cache variable VAR accordingly.
1811 ac_fn_c_check_header_compile ()
1812 {
1813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if eval "test \"\${$3+set}\"" = set; then :
1817 $as_echo_n "(cached) " >&6
1818 else
1819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820 /* end confdefs.h. */
1821 $4
1822 #include <$2>
1823 _ACEOF
1824 if ac_fn_c_try_compile "$LINENO"; then :
1825 eval "$3=yes"
1826 else
1827 eval "$3=no"
1828 fi
1829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1830 fi
1831 eval ac_res=\$$3
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1833 $as_echo "$ac_res" >&6; }
1834 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1835
1836 } # ac_fn_c_check_header_compile
1837
1838 # ac_fn_c_try_cpp LINENO
1839 # ----------------------
1840 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1841 ac_fn_c_try_cpp ()
1842 {
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 if { { ac_try="$ac_cpp conftest.$ac_ext"
1845 case "(($ac_try" in
1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847 *) ac_try_echo=$ac_try;;
1848 esac
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1852 ac_status=$?
1853 if test -s conftest.err; then
1854 grep -v '^ *+' conftest.err >conftest.er1
1855 cat conftest.er1 >&5
1856 mv -f conftest.er1 conftest.err
1857 fi
1858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859 test $ac_status = 0; } > conftest.i && {
1860 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1861 test ! -s conftest.err
1862 }; then :
1863 ac_retval=0
1864 else
1865 $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.$ac_ext >&5
1867
1868 ac_retval=1
1869 fi
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1871 as_fn_set_status $ac_retval
1872
1873 } # ac_fn_c_try_cpp
1874
1875 # ac_fn_c_try_run LINENO
1876 # ----------------------
1877 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1878 # that executables *can* be run.
1879 ac_fn_c_try_run ()
1880 {
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 if { { ac_try="$ac_link"
1883 case "(($ac_try" in
1884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885 *) ac_try_echo=$ac_try;;
1886 esac
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889 (eval "$ac_link") 2>&5
1890 ac_status=$?
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1893 { { case "(($ac_try" in
1894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1895 *) ac_try_echo=$ac_try;;
1896 esac
1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898 $as_echo "$ac_try_echo"; } >&5
1899 (eval "$ac_try") 2>&5
1900 ac_status=$?
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; }; }; then :
1903 ac_retval=0
1904 else
1905 $as_echo "$as_me: program exited with status $ac_status" >&5
1906 $as_echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1908
1909 ac_retval=$ac_status
1910 fi
1911 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1912 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1913 as_fn_set_status $ac_retval
1914
1915 } # ac_fn_c_try_run
1916
1917 # ac_fn_c_check_func LINENO FUNC VAR
1918 # ----------------------------------
1919 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1920 ac_fn_c_check_func ()
1921 {
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1924 $as_echo_n "checking for $2... " >&6; }
1925 if eval "test \"\${$3+set}\"" = set; then :
1926 $as_echo_n "(cached) " >&6
1927 else
1928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1929 /* end confdefs.h. */
1930 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1932 #define $2 innocuous_$2
1933
1934 /* System header to define __stub macros and hopefully few prototypes,
1935 which can conflict with char $2 (); below.
1936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1937 <limits.h> exists even on freestanding compilers. */
1938
1939 #ifdef __STDC__
1940 # include <limits.h>
1941 #else
1942 # include <assert.h>
1943 #endif
1944
1945 #undef $2
1946
1947 /* Override any GCC internal prototype to avoid an error.
1948 Use char because int might match the return type of a GCC
1949 builtin and then its argument prototype would still apply. */
1950 #ifdef __cplusplus
1951 extern "C"
1952 #endif
1953 char $2 ();
1954 /* The GNU C library defines this for functions which it implements
1955 to always fail with ENOSYS. Some functions are actually named
1956 something starting with __ and the normal name is an alias. */
1957 #if defined __stub_$2 || defined __stub___$2
1958 choke me
1959 #endif
1960
1961 int
1962 main ()
1963 {
1964 return $2 ();
1965 ;
1966 return 0;
1967 }
1968 _ACEOF
1969 if ac_fn_c_try_link "$LINENO"; then :
1970 eval "$3=yes"
1971 else
1972 eval "$3=no"
1973 fi
1974 rm -f core conftest.err conftest.$ac_objext \
1975 conftest$ac_exeext conftest.$ac_ext
1976 fi
1977 eval ac_res=\$$3
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1979 $as_echo "$ac_res" >&6; }
1980 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1981
1982 } # ac_fn_c_check_func
1983
1984 # ac_fn_cxx_try_cpp LINENO
1985 # ------------------------
1986 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1987 ac_fn_cxx_try_cpp ()
1988 {
1989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990 if { { ac_try="$ac_cpp conftest.$ac_ext"
1991 case "(($ac_try" in
1992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1993 *) ac_try_echo=$ac_try;;
1994 esac
1995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1996 $as_echo "$ac_try_echo"; } >&5
1997 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1998 ac_status=$?
1999 if test -s conftest.err; then
2000 grep -v '^ *+' conftest.err >conftest.er1
2001 cat conftest.er1 >&5
2002 mv -f conftest.er1 conftest.err
2003 fi
2004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2005 test $ac_status = 0; } > conftest.i && {
2006 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2007 test ! -s conftest.err
2008 }; then :
2009 ac_retval=0
2010 else
2011 $as_echo "$as_me: failed program was:" >&5
2012 sed 's/^/| /' conftest.$ac_ext >&5
2013
2014 ac_retval=1
2015 fi
2016 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2017 as_fn_set_status $ac_retval
2018
2019 } # ac_fn_cxx_try_cpp
2020
2021 # ac_fn_cxx_try_link LINENO
2022 # -------------------------
2023 # Try to link conftest.$ac_ext, and return whether this succeeded.
2024 ac_fn_cxx_try_link ()
2025 {
2026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2027 rm -f conftest.$ac_objext conftest$ac_exeext
2028 if { { ac_try="$ac_link"
2029 case "(($ac_try" in
2030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2031 *) ac_try_echo=$ac_try;;
2032 esac
2033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2034 $as_echo "$ac_try_echo"; } >&5
2035 (eval "$ac_link") 2>conftest.err
2036 ac_status=$?
2037 if test -s conftest.err; then
2038 grep -v '^ *+' conftest.err >conftest.er1
2039 cat conftest.er1 >&5
2040 mv -f conftest.er1 conftest.err
2041 fi
2042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2043 test $ac_status = 0; } && {
2044 test -z "$ac_cxx_werror_flag" ||
2045 test ! -s conftest.err
2046 } && test -s conftest$ac_exeext && {
2047 test "$cross_compiling" = yes ||
2048 $as_test_x conftest$ac_exeext
2049 }; then :
2050 ac_retval=0
2051 else
2052 $as_echo "$as_me: failed program was:" >&5
2053 sed 's/^/| /' conftest.$ac_ext >&5
2054
2055 ac_retval=1
2056 fi
2057 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2058 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2059 # interfere with the next link command; also delete a directory that is
2060 # left behind by Apple's compiler. We do this before executing the actions.
2061 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2062 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2063 as_fn_set_status $ac_retval
2064
2065 } # ac_fn_cxx_try_link
2066 cat >config.log <<_ACEOF
2067 This file contains any messages produced by compilers while
2068 running configure, to aid debugging if configure makes a mistake.
2069
2070 It was created by librostlab $as_me 1.0.20, which was
2071 generated by GNU Autoconf 2.67. Invocation command line was
2072
2073 $ $0 $@
2074
2075 _ACEOF
2076 exec 5>>config.log
2077 {
2078 cat <<_ASUNAME
2079 ## --------- ##
2080 ## Platform. ##
2081 ## --------- ##
2082
2083 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2084 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2085 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2086 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2087 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2088
2089 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2090 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2091
2092 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2093 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2094 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2095 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2096 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2097 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2098 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2099
2100 _ASUNAME
2101
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 for as_dir in $PATH
2104 do
2105 IFS=$as_save_IFS
2106 test -z "$as_dir" && as_dir=.
2107 $as_echo "PATH: $as_dir"
2108 done
2109 IFS=$as_save_IFS
2110
2111 } >&5
2112
2113 cat >&5 <<_ACEOF
2114
2115
2116 ## ----------- ##
2117 ## Core tests. ##
2118 ## ----------- ##
2119
2120 _ACEOF
2121
2122
2123 # Keep a trace of the command line.
2124 # Strip out --no-create and --no-recursion so they do not pile up.
2125 # Strip out --silent because we don't want to record it for future runs.
2126 # Also quote any args containing shell meta-characters.
2127 # Make two passes to allow for proper duplicate-argument suppression.
2128 ac_configure_args=
2129 ac_configure_args0=
2130 ac_configure_args1=
2131 ac_must_keep_next=false
2132 for ac_pass in 1 2
2133 do
2134 for ac_arg
2135 do
2136 case $ac_arg in
2137 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2138 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2139 | -silent | --silent | --silen | --sile | --sil)
2140 continue ;;
2141 *\'*)
2142 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2143 esac
2144 case $ac_pass in
2145 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2146 2)
2147 as_fn_append ac_configure_args1 " '$ac_arg'"
2148 if test $ac_must_keep_next = true; then
2149 ac_must_keep_next=false # Got value, back to normal.
2150 else
2151 case $ac_arg in
2152 *=* | --config-cache | -C | -disable-* | --disable-* \
2153 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2154 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2155 | -with-* | --with-* | -without-* | --without-* | --x)
2156 case "$ac_configure_args0 " in
2157 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2158 esac
2159 ;;
2160 -* ) ac_must_keep_next=true ;;
2161 esac
2162 fi
2163 as_fn_append ac_configure_args " '$ac_arg'"
2164 ;;
2165 esac
2166 done
2167 done
2168 { ac_configure_args0=; unset ac_configure_args0;}
2169 { ac_configure_args1=; unset ac_configure_args1;}
2170
2171 # When interrupted or exit'd, cleanup temporary files, and complete
2172 # config.log. We remove comments because anyway the quotes in there
2173 # would cause problems or look ugly.
2174 # WARNING: Use '\'' to represent an apostrophe within the trap.
2175 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2176 trap 'exit_status=$?
2177 # Save into config.log some information that might help in debugging.
2178 {
2179 echo
2180
2181 $as_echo "## ---------------- ##
2182 ## Cache variables. ##
2183 ## ---------------- ##"
2184 echo
2185 # The following way of writing the cache mishandles newlines in values,
2186 (
2187 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2188 eval ac_val=\$$ac_var
2189 case $ac_val in #(
2190 *${as_nl}*)
2191 case $ac_var in #(
2192 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2193 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2194 esac
2195 case $ac_var in #(
2196 _ | IFS | as_nl) ;; #(
2197 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2198 *) { eval $ac_var=; unset $ac_var;} ;;
2199 esac ;;
2200 esac
2201 done
2202 (set) 2>&1 |
2203 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2204 *${as_nl}ac_space=\ *)
2205 sed -n \
2206 "s/'\''/'\''\\\\'\'''\''/g;
2207 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2208 ;; #(
2209 *)
2210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2211 ;;
2212 esac |
2213 sort
2214 )
2215 echo
2216
2217 $as_echo "## ----------------- ##
2218 ## Output variables. ##
2219 ## ----------------- ##"
2220 echo
2221 for ac_var in $ac_subst_vars
2222 do
2223 eval ac_val=\$$ac_var
2224 case $ac_val in
2225 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 esac
2227 $as_echo "$ac_var='\''$ac_val'\''"
2228 done | sort
2229 echo
2230
2231 if test -n "$ac_subst_files"; then
2232 $as_echo "## ------------------- ##
2233 ## File substitutions. ##
2234 ## ------------------- ##"
2235 echo
2236 for ac_var in $ac_subst_files
2237 do
2238 eval ac_val=\$$ac_var
2239 case $ac_val in
2240 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2241 esac
2242 $as_echo "$ac_var='\''$ac_val'\''"
2243 done | sort
2244 echo
2245 fi
2246
2247 if test -s confdefs.h; then
2248 $as_echo "## ----------- ##
2249 ## confdefs.h. ##
2250 ## ----------- ##"
2251 echo
2252 cat confdefs.h
2253 echo
2254 fi
2255 test "$ac_signal" != 0 &&
2256 $as_echo "$as_me: caught signal $ac_signal"
2257 $as_echo "$as_me: exit $exit_status"
2258 } >&5
2259 rm -f core *.core core.conftest.* &&
2260 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2261 exit $exit_status
2262 ' 0
2263 for ac_signal in 1 2 13 15; do
2264 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2265 done
2266 ac_signal=0
2267
2268 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2269 rm -f -r conftest* confdefs.h
2270
2271 $as_echo "/* confdefs.h */" > confdefs.h
2272
2273 # Predefined preprocessor variables.
2274
2275 cat >>confdefs.h <<_ACEOF
2276 #define PACKAGE_NAME "$PACKAGE_NAME"
2277 _ACEOF
2278
2279 cat >>confdefs.h <<_ACEOF
2280 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2281 _ACEOF
2282
2283 cat >>confdefs.h <<_ACEOF
2284 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2285 _ACEOF
2286
2287 cat >>confdefs.h <<_ACEOF
2288 #define PACKAGE_STRING "$PACKAGE_STRING"
2289 _ACEOF
2290
2291 cat >>confdefs.h <<_ACEOF
2292 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2293 _ACEOF
2294
2295 cat >>confdefs.h <<_ACEOF
2296 #define PACKAGE_URL "$PACKAGE_URL"
2297 _ACEOF
2298
2299
2300 # Let the site file select an alternate cache file if it wants to.
2301 # Prefer an explicitly selected file to automatically selected ones.
2302 ac_site_file1=NONE
2303 ac_site_file2=NONE
2304 if test -n "$CONFIG_SITE"; then
2305 # We do not want a PATH search for config.site.
2306 case $CONFIG_SITE in #((
2307 -*) ac_site_file1=./$CONFIG_SITE;;
2308 */*) ac_site_file1=$CONFIG_SITE;;
2309 *) ac_site_file1=./$CONFIG_SITE;;
2310 esac
2311 elif test "x$prefix" != xNONE; then
2312 ac_site_file1=$prefix/share/config.site
2313 ac_site_file2=$prefix/etc/config.site
2314 else
2315 ac_site_file1=$ac_default_prefix/share/config.site
2316 ac_site_file2=$ac_default_prefix/etc/config.site
2317 fi
2318 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2319 do
2320 test "x$ac_site_file" = xNONE && continue
2321 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2323 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2324 sed 's/^/| /' "$ac_site_file" >&5
2325 . "$ac_site_file" \
2326 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2328 as_fn_error $? "failed to load site script $ac_site_file
2329 See \`config.log' for more details" "$LINENO" 5 ; }
2330 fi
2331 done
2332
2333 if test -r "$cache_file"; then
2334 # Some versions of bash will fail to source /dev/null (special files
2335 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2336 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2338 $as_echo "$as_me: loading cache $cache_file" >&6;}
2339 case $cache_file in
2340 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2341 *) . "./$cache_file";;
2342 esac
2343 fi
2344 else
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2346 $as_echo "$as_me: creating cache $cache_file" >&6;}
2347 >$cache_file
2348 fi
2349
2350 # Check that the precious variables saved in the cache have kept the same
2351 # value.
2352 ac_cache_corrupted=false
2353 for ac_var in $ac_precious_vars; do
2354 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2355 eval ac_new_set=\$ac_env_${ac_var}_set
2356 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2357 eval ac_new_val=\$ac_env_${ac_var}_value
2358 case $ac_old_set,$ac_new_set in
2359 set,)
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2361 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2362 ac_cache_corrupted=: ;;
2363 ,set)
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2365 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2366 ac_cache_corrupted=: ;;
2367 ,);;
2368 *)
2369 if test "x$ac_old_val" != "x$ac_new_val"; then
2370 # differences in whitespace do not lead to failure.
2371 ac_old_val_w=`echo x $ac_old_val`
2372 ac_new_val_w=`echo x $ac_new_val`
2373 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2375 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2376 ac_cache_corrupted=:
2377 else
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2379 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2380 eval $ac_var=\$ac_old_val
2381 fi
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2383 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2385 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2386 fi;;
2387 esac
2388 # Pass precious variables to config.status.
2389 if test "$ac_new_set" = set; then
2390 case $ac_new_val in
2391 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2392 *) ac_arg=$ac_var=$ac_new_val ;;
2393 esac
2394 case " $ac_configure_args " in
2395 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2396 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2397 esac
2398 fi
2399 done
2400 if $ac_cache_corrupted; then
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2404 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2405 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2406 fi
2407 ## -------------------- ##
2408 ## Main body of script. ##
2409 ## -------------------- ##
2410
2411 ac_ext=c
2412 ac_cpp='$CPP $CPPFLAGS'
2413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2416
2417
2418
2419
2420 ac_config_headers="$ac_config_headers config.h:config.hin"
2421
2422 am__api_version='1.11'
2423
2424 ac_aux_dir=
2425 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2426 if test -f "$ac_dir/install-sh"; then
2427 ac_aux_dir=$ac_dir
2428 ac_install_sh="$ac_aux_dir/install-sh -c"
2429 break
2430 elif test -f "$ac_dir/install.sh"; then
2431 ac_aux_dir=$ac_dir
2432 ac_install_sh="$ac_aux_dir/install.sh -c"
2433 break
2434 elif test -f "$ac_dir/shtool"; then
2435 ac_aux_dir=$ac_dir
2436 ac_install_sh="$ac_aux_dir/shtool install -c"
2437 break
2438 fi
2439 done
2440 if test -z "$ac_aux_dir"; then
2441 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2442 fi
2443
2444 # These three variables are undocumented and unsupported,
2445 # and are intended to be withdrawn in a future Autoconf release.
2446 # They can cause serious problems if a builder's source tree is in a directory
2447 # whose full name contains unusual characters.
2448 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2449 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2450 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2451
2452
2453 # Find a good install program. We prefer a C program (faster),
2454 # so one script is as good as another. But avoid the broken or
2455 # incompatible versions:
2456 # SysV /etc/install, /usr/sbin/install
2457 # SunOS /usr/etc/install
2458 # IRIX /sbin/install
2459 # AIX /bin/install
2460 # AmigaOS /C/install, which installs bootblocks on floppy discs
2461 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2462 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2463 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2464 # OS/2's system install, which has a completely different semantic
2465 # ./install, which can be erroneously created by make from ./install.sh.
2466 # Reject install programs that cannot install multiple files.
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2468 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2469 if test -z "$INSTALL"; then
2470 if test "${ac_cv_path_install+set}" = set; then :
2471 $as_echo_n "(cached) " >&6
2472 else
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 for as_dir in $PATH
2475 do
2476 IFS=$as_save_IFS
2477 test -z "$as_dir" && as_dir=.
2478 # Account for people who put trailing slashes in PATH elements.
2479 case $as_dir/ in #((
2480 ./ | .// | /[cC]/* | \
2481 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2482 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2483 /usr/ucb/* ) ;;
2484 *)
2485 # OSF1 and SCO ODT 3.0 have their own names for install.
2486 # Don't use installbsd from OSF since it installs stuff as root
2487 # by default.
2488 for ac_prog in ginstall scoinst install; do
2489 for ac_exec_ext in '' $ac_executable_extensions; do
2490 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2491 if test $ac_prog = install &&
2492 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2493 # AIX install. It has an incompatible calling convention.
2494 :
2495 elif test $ac_prog = install &&
2496 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2497 # program-specific install script used by HP pwplus--don't use.
2498 :
2499 else
2500 rm -rf conftest.one conftest.two conftest.dir
2501 echo one > conftest.one
2502 echo two > conftest.two
2503 mkdir conftest.dir
2504 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2505 test -s conftest.one && test -s conftest.two &&
2506 test -s conftest.dir/conftest.one &&
2507 test -s conftest.dir/conftest.two
2508 then
2509 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2510 break 3
2511 fi
2512 fi
2513 fi
2514 done
2515 done
2516 ;;
2517 esac
2518
2519 done
2520 IFS=$as_save_IFS
2521
2522 rm -rf conftest.one conftest.two conftest.dir
2523
2524 fi
2525 if test "${ac_cv_path_install+set}" = set; then
2526 INSTALL=$ac_cv_path_install
2527 else
2528 # As a last resort, use the slow shell script. Don't cache a
2529 # value for INSTALL within a source directory, because that will
2530 # break other packages using the cache if that directory is
2531 # removed, or if the value is a relative name.
2532 INSTALL=$ac_install_sh
2533 fi
2534 fi
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2536 $as_echo "$INSTALL" >&6; }
2537
2538 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2539 # It thinks the first close brace ends the variable substitution.
2540 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2541
2542 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2543
2544 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2545
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2547 $as_echo_n "checking whether build environment is sane... " >&6; }
2548 # Just in case
2549 sleep 1
2550 echo timestamp > conftest.file
2551 # Reject unsafe characters in $srcdir or the absolute working directory
2552 # name. Accept space and tab only in the latter.
2553 am_lf='
2554 '
2555 case `pwd` in
2556 *[\\\"\#\$\&\'\`$am_lf]*)
2557 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2558 esac
2559 case $srcdir in
2560 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2561 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2562 esac
2563
2564 # Do `set' in a subshell so we don't clobber the current shell's
2565 # arguments. Must try -L first in case configure is actually a
2566 # symlink; some systems play weird games with the mod time of symlinks
2567 # (eg FreeBSD returns the mod time of the symlink's containing
2568 # directory).
2569 if (
2570 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2571 if test "$*" = "X"; then
2572 # -L didn't work.
2573 set X `ls -t "$srcdir/configure" conftest.file`
2574 fi
2575 rm -f conftest.file
2576 if test "$*" != "X $srcdir/configure conftest.file" \
2577 && test "$*" != "X conftest.file $srcdir/configure"; then
2578
2579 # If neither matched, then we have a broken ls. This can happen
2580 # if, for instance, CONFIG_SHELL is bash and it inherits a
2581 # broken ls alias from the environment. This has actually
2582 # happened. Such a system could not be considered "sane".
2583 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2584 alias in your environment" "$LINENO" 5
2585 fi
2586
2587 test "$2" = conftest.file
2588 )
2589 then
2590 # Ok.
2591 :
2592 else
2593 as_fn_error $? "newly created file is older than distributed files!
2594 Check your system clock" "$LINENO" 5
2595 fi
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2597 $as_echo "yes" >&6; }
2598 test "$program_prefix" != NONE &&
2599 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2600 # Use a double $ so make ignores it.
2601 test "$program_suffix" != NONE &&
2602 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2603 # Double any \ or $.
2604 # By default was `s,x,x', remove it if useless.
2605 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2606 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2607
2608 # expand $ac_aux_dir to an absolute path
2609 am_aux_dir=`cd $ac_aux_dir && pwd`
2610
2611 if test x"${MISSING+set}" != xset; then
2612 case $am_aux_dir in
2613 *\ * | *\ *)
2614 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2615 *)
2616 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2617 esac
2618 fi
2619 # Use eval to expand $SHELL
2620 if eval "$MISSING --run true"; then
2621 am_missing_run="$MISSING --run "
2622 else
2623 am_missing_run=
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2625 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2626 fi
2627
2628 if test x"${install_sh}" != xset; then
2629 case $am_aux_dir in
2630 *\ * | *\ *)
2631 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2632 *)
2633 install_sh="\${SHELL} $am_aux_dir/install-sh"
2634 esac
2635 fi
2636
2637 # Installed binaries are usually stripped using `strip' when the user
2638 # run `make install-strip'. However `strip' might not be the right
2639 # tool to use in cross-compilation environments, therefore Automake
2640 # will honor the `STRIP' environment variable to overrule this program.
2641 if test "$cross_compiling" != no; then
2642 if test -n "$ac_tool_prefix"; then
2643 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2644 set dummy ${ac_tool_prefix}strip; ac_word=$2
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2646 $as_echo_n "checking for $ac_word... " >&6; }
2647 if test "${ac_cv_prog_STRIP+set}" = set; then :
2648 $as_echo_n "(cached) " >&6
2649 else
2650 if test -n "$STRIP"; then
2651 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2652 else
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 for as_dir in $PATH
2655 do
2656 IFS=$as_save_IFS
2657 test -z "$as_dir" && as_dir=.
2658 for ac_exec_ext in '' $ac_executable_extensions; do
2659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2660 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2662 break 2
2663 fi
2664 done
2665 done
2666 IFS=$as_save_IFS
2667
2668 fi
2669 fi
2670 STRIP=$ac_cv_prog_STRIP
2671 if test -n "$STRIP"; then
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2673 $as_echo "$STRIP" >&6; }
2674 else
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2676 $as_echo "no" >&6; }
2677 fi
2678
2679
2680 fi
2681 if test -z "$ac_cv_prog_STRIP"; then
2682 ac_ct_STRIP=$STRIP
2683 # Extract the first word of "strip", so it can be a program name with args.
2684 set dummy strip; ac_word=$2
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2686 $as_echo_n "checking for $ac_word... " >&6; }
2687 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2688 $as_echo_n "(cached) " >&6
2689 else
2690 if test -n "$ac_ct_STRIP"; then
2691 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2692 else
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 for as_dir in $PATH
2695 do
2696 IFS=$as_save_IFS
2697 test -z "$as_dir" && as_dir=.
2698 for ac_exec_ext in '' $ac_executable_extensions; do
2699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2700 ac_cv_prog_ac_ct_STRIP="strip"
2701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 break 2
2703 fi
2704 done
2705 done
2706 IFS=$as_save_IFS
2707
2708 fi
2709 fi
2710 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2711 if test -n "$ac_ct_STRIP"; then
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2713 $as_echo "$ac_ct_STRIP" >&6; }
2714 else
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2716 $as_echo "no" >&6; }
2717 fi
2718
2719 if test "x$ac_ct_STRIP" = x; then
2720 STRIP=":"
2721 else
2722 case $cross_compiling:$ac_tool_warned in
2723 yes:)
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2726 ac_tool_warned=yes ;;
2727 esac
2728 STRIP=$ac_ct_STRIP
2729 fi
2730 else
2731 STRIP="$ac_cv_prog_STRIP"
2732 fi
2733
2734 fi
2735 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2736
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2738 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2739 if test -z "$MKDIR_P"; then
2740 if test "${ac_cv_path_mkdir+set}" = set; then :
2741 $as_echo_n "(cached) " >&6
2742 else
2743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2744 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2745 do
2746 IFS=$as_save_IFS
2747 test -z "$as_dir" && as_dir=.
2748 for ac_prog in mkdir gmkdir; do
2749 for ac_exec_ext in '' $ac_executable_extensions; do
2750 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2751 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2752 'mkdir (GNU coreutils) '* | \
2753 'mkdir (coreutils) '* | \
2754 'mkdir (fileutils) '4.1*)
2755 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2756 break 3;;
2757 esac
2758 done
2759 done
2760 done
2761 IFS=$as_save_IFS
2762
2763 fi
2764
2765 test -d ./--version && rmdir ./--version
2766 if test "${ac_cv_path_mkdir+set}" = set; then
2767 MKDIR_P="$ac_cv_path_mkdir -p"
2768 else
2769 # As a last resort, use the slow shell script. Don't cache a
2770 # value for MKDIR_P within a source directory, because that will
2771 # break other packages using the cache if that directory is
2772 # removed, or if the value is a relative name.
2773 MKDIR_P="$ac_install_sh -d"
2774 fi
2775 fi
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2777 $as_echo "$MKDIR_P" >&6; }
2778
2779 mkdir_p="$MKDIR_P"
2780 case $mkdir_p in
2781 [\\/$]* | ?:[\\/]*) ;;
2782 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2783 esac
2784
2785 for ac_prog in gawk mawk nawk awk
2786 do
2787 # Extract the first word of "$ac_prog", so it can be a program name with args.
2788 set dummy $ac_prog; ac_word=$2
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2790 $as_echo_n "checking for $ac_word... " >&6; }
2791 if test "${ac_cv_prog_AWK+set}" = set; then :
2792 $as_echo_n "(cached) " >&6
2793 else
2794 if test -n "$AWK"; then
2795 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2796 else
2797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2798 for as_dir in $PATH
2799 do
2800 IFS=$as_save_IFS
2801 test -z "$as_dir" && as_dir=.
2802 for ac_exec_ext in '' $ac_executable_extensions; do
2803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2804 ac_cv_prog_AWK="$ac_prog"
2805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806 break 2
2807 fi
2808 done
2809 done
2810 IFS=$as_save_IFS
2811
2812 fi
2813 fi
2814 AWK=$ac_cv_prog_AWK
2815 if test -n "$AWK"; then
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2817 $as_echo "$AWK" >&6; }
2818 else
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2820 $as_echo "no" >&6; }
2821 fi
2822
2823
2824 test -n "$AWK" && break
2825 done
2826
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2828 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2829 set x ${MAKE-make}
2830 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2831 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2832 $as_echo_n "(cached) " >&6
2833 else
2834 cat >conftest.make <<\_ACEOF
2835 SHELL = /bin/sh
2836 all:
2837 @echo '@@@%%%=$(MAKE)=@@@%%%'
2838 _ACEOF
2839 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2840 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2841 *@@@%%%=?*=@@@%%%*)
2842 eval ac_cv_prog_make_${ac_make}_set=yes;;
2843 *)
2844 eval ac_cv_prog_make_${ac_make}_set=no;;
2845 esac
2846 rm -f conftest.make
2847 fi
2848 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2850 $as_echo "yes" >&6; }
2851 SET_MAKE=
2852 else
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 $as_echo "no" >&6; }
2855 SET_MAKE="MAKE=${MAKE-make}"
2856 fi
2857
2858 rm -rf .tst 2>/dev/null
2859 mkdir .tst 2>/dev/null
2860 if test -d .tst; then
2861 am__leading_dot=.
2862 else
2863 am__leading_dot=_
2864 fi
2865 rmdir .tst 2>/dev/null
2866
2867 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2868 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2869 # is not polluted with repeated "-I."
2870 am__isrc=' -I$(srcdir)'
2871 # test to see if srcdir already configured
2872 if test -f $srcdir/config.status; then
2873 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2874 fi
2875 fi
2876
2877 # test whether we have cygpath
2878 if test -z "$CYGPATH_W"; then
2879 if (cygpath --version) >/dev/null 2>/dev/null; then
2880 CYGPATH_W='cygpath -w'
2881 else
2882 CYGPATH_W=echo
2883 fi
2884 fi
2885
2886
2887 # Define the identity of the package.
2888 PACKAGE='librostlab'
2889 VERSION='1.0.20'
2890
2891
2892 cat >>confdefs.h <<_ACEOF
2893 #define PACKAGE "$PACKAGE"
2894 _ACEOF
2895
2896
2897 cat >>confdefs.h <<_ACEOF
2898 #define VERSION "$VERSION"
2899 _ACEOF
2900
2901 # Some tools Automake needs.
2902
2903 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2904
2905
2906 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2907
2908
2909 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2910
2911
2912 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2913
2914
2915 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2916
2917 # We need awk for the "check" target. The system "awk" is bad on
2918 # some platforms.
2919 # Always define AMTAR for backward compatibility.
2920
2921 AMTAR=${AMTAR-"${am_missing_run}tar"}
2922
2923 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2924
2925
2926
2927
2928
2929
2930 ac_ext=c
2931 ac_cpp='$CPP $CPPFLAGS'
2932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2935 if test -n "$ac_tool_prefix"; then
2936 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2937 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939 $as_echo_n "checking for $ac_word... " >&6; }
2940 if test "${ac_cv_prog_CC+set}" = set; then :
2941 $as_echo_n "(cached) " >&6
2942 else
2943 if test -n "$CC"; then
2944 ac_cv_prog_CC="$CC" # Let the user override the test.
2945 else
2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2947 for as_dir in $PATH
2948 do
2949 IFS=$as_save_IFS
2950 test -z "$as_dir" && as_dir=.
2951 for ac_exec_ext in '' $ac_executable_extensions; do
2952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2953 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2955 break 2
2956 fi
2957 done
2958 done
2959 IFS=$as_save_IFS
2960
2961 fi
2962 fi
2963 CC=$ac_cv_prog_CC
2964 if test -n "$CC"; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2966 $as_echo "$CC" >&6; }
2967 else
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2970 fi
2971
2972
2973 fi
2974 if test -z "$ac_cv_prog_CC"; then
2975 ac_ct_CC=$CC
2976 # Extract the first word of "gcc", so it can be a program name with args.
2977 set dummy gcc; ac_word=$2
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2979 $as_echo_n "checking for $ac_word... " >&6; }
2980 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2981 $as_echo_n "(cached) " >&6
2982 else
2983 if test -n "$ac_ct_CC"; then
2984 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2985 else
2986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987 for as_dir in $PATH
2988 do
2989 IFS=$as_save_IFS
2990 test -z "$as_dir" && as_dir=.
2991 for ac_exec_ext in '' $ac_executable_extensions; do
2992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2993 ac_cv_prog_ac_ct_CC="gcc"
2994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2995 break 2
2996 fi
2997 done
2998 done
2999 IFS=$as_save_IFS
3000
3001 fi
3002 fi
3003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3004 if test -n "$ac_ct_CC"; then
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3006 $as_echo "$ac_ct_CC" >&6; }
3007 else
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009 $as_echo "no" >&6; }
3010 fi
3011
3012 if test "x$ac_ct_CC" = x; then
3013 CC=""
3014 else
3015 case $cross_compiling:$ac_tool_warned in
3016 yes:)
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3019 ac_tool_warned=yes ;;
3020 esac
3021 CC=$ac_ct_CC
3022 fi
3023 else
3024 CC="$ac_cv_prog_CC"
3025 fi
3026
3027 if test -z "$CC"; then
3028 if test -n "$ac_tool_prefix"; then
3029 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3030 set dummy ${ac_tool_prefix}cc; ac_word=$2
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032 $as_echo_n "checking for $ac_word... " >&6; }
3033 if test "${ac_cv_prog_CC+set}" = set; then :
3034 $as_echo_n "(cached) " >&6
3035 else
3036 if test -n "$CC"; then
3037 ac_cv_prog_CC="$CC" # Let the user override the test.
3038 else
3039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040 for as_dir in $PATH
3041 do
3042 IFS=$as_save_IFS
3043 test -z "$as_dir" && as_dir=.
3044 for ac_exec_ext in '' $ac_executable_extensions; do
3045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3046 ac_cv_prog_CC="${ac_tool_prefix}cc"
3047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3048 break 2
3049 fi
3050 done
3051 done
3052 IFS=$as_save_IFS
3053
3054 fi
3055 fi
3056 CC=$ac_cv_prog_CC
3057 if test -n "$CC"; then
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3059 $as_echo "$CC" >&6; }
3060 else
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062 $as_echo "no" >&6; }
3063 fi
3064
3065
3066 fi
3067 fi
3068 if test -z "$CC"; then
3069 # Extract the first word of "cc", so it can be a program name with args.
3070 set dummy cc; ac_word=$2
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072 $as_echo_n "checking for $ac_word... " >&6; }
3073 if test "${ac_cv_prog_CC+set}" = set; then :
3074 $as_echo_n "(cached) " >&6
3075 else
3076 if test -n "$CC"; then
3077 ac_cv_prog_CC="$CC" # Let the user override the test.
3078 else
3079 ac_prog_rejected=no
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081 for as_dir in $PATH
3082 do
3083 IFS=$as_save_IFS
3084 test -z "$as_dir" && as_dir=.
3085 for ac_exec_ext in '' $ac_executable_extensions; do
3086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3087 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3088 ac_prog_rejected=yes
3089 continue
3090 fi
3091 ac_cv_prog_CC="cc"
3092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3093 break 2
3094 fi
3095 done
3096 done
3097 IFS=$as_save_IFS
3098
3099 if test $ac_prog_rejected = yes; then
3100 # We found a bogon in the path, so make sure we never use it.
3101 set dummy $ac_cv_prog_CC
3102 shift
3103 if test $# != 0; then
3104 # We chose a different compiler from the bogus one.
3105 # However, it has the same basename, so the bogon will be chosen
3106 # first if we set CC to just the basename; use the full file name.
3107 shift
3108 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3109 fi
3110 fi
3111 fi
3112 fi
3113 CC=$ac_cv_prog_CC
3114 if test -n "$CC"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3116 $as_echo "$CC" >&6; }
3117 else
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119 $as_echo "no" >&6; }
3120 fi
3121
3122
3123 fi
3124 if test -z "$CC"; then
3125 if test -n "$ac_tool_prefix"; then
3126 for ac_prog in cl.exe
3127 do
3128 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3129 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131 $as_echo_n "checking for $ac_word... " >&6; }
3132 if test "${ac_cv_prog_CC+set}" = set; then :
3133 $as_echo_n "(cached) " >&6
3134 else
3135 if test -n "$CC"; then
3136 ac_cv_prog_CC="$CC" # Let the user override the test.
3137 else
3138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3139 for as_dir in $PATH
3140 do
3141 IFS=$as_save_IFS
3142 test -z "$as_dir" && as_dir=.
3143 for ac_exec_ext in '' $ac_executable_extensions; do
3144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3145 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3147 break 2
3148 fi
3149 done
3150 done
3151 IFS=$as_save_IFS
3152
3153 fi
3154 fi
3155 CC=$ac_cv_prog_CC
3156 if test -n "$CC"; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3158 $as_echo "$CC" >&6; }
3159 else
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161 $as_echo "no" >&6; }
3162 fi
3163
3164
3165 test -n "$CC" && break
3166 done
3167 fi
3168 if test -z "$CC"; then
3169 ac_ct_CC=$CC
3170 for ac_prog in cl.exe
3171 do
3172 # Extract the first word of "$ac_prog", so it can be a program name with args.
3173 set dummy $ac_prog; ac_word=$2
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175 $as_echo_n "checking for $ac_word... " >&6; }
3176 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3177 $as_echo_n "(cached) " >&6
3178 else
3179 if test -n "$ac_ct_CC"; then
3180 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3181 else
3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183 for as_dir in $PATH
3184 do
3185 IFS=$as_save_IFS
3186 test -z "$as_dir" && as_dir=.
3187 for ac_exec_ext in '' $ac_executable_extensions; do
3188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3189 ac_cv_prog_ac_ct_CC="$ac_prog"
3190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 break 2
3192 fi
3193 done
3194 done
3195 IFS=$as_save_IFS
3196
3197 fi
3198 fi
3199 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3200 if test -n "$ac_ct_CC"; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3202 $as_echo "$ac_ct_CC" >&6; }
3203 else
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3206 fi
3207
3208
3209 test -n "$ac_ct_CC" && break
3210 done
3211
3212 if test "x$ac_ct_CC" = x; then
3213 CC=""
3214 else
3215 case $cross_compiling:$ac_tool_warned in
3216 yes:)
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3219 ac_tool_warned=yes ;;
3220 esac
3221 CC=$ac_ct_CC
3222 fi
3223 fi
3224
3225 fi
3226
3227
3228 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3230 as_fn_error $? "no acceptable C compiler found in \$PATH
3231 See \`config.log' for more details" "$LINENO" 5 ; }
3232
3233 # Provide some information about the compiler.
3234 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3235 set X $ac_compile
3236 ac_compiler=$2
3237 for ac_option in --version -v -V -qversion; do
3238 { { ac_try="$ac_compiler $ac_option >&5"
3239 case "(($ac_try" in
3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3242 esac
3243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3244 $as_echo "$ac_try_echo"; } >&5
3245 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3246 ac_status=$?
3247 if test -s conftest.err; then
3248 sed '10a\
3249 ... rest of stderr output deleted ...
3250 10q' conftest.err >conftest.er1
3251 cat conftest.er1 >&5
3252 fi
3253 rm -f conftest.er1 conftest.err
3254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3255 test $ac_status = 0; }
3256 done
3257
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3260
3261 int
3262 main ()
3263 {
3264
3265 ;
3266 return 0;
3267 }
3268 _ACEOF
3269 ac_clean_files_save=$ac_clean_files
3270 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3271 # Try to create an executable without -o first, disregard a.out.
3272 # It will help us diagnose broken compilers, and finding out an intuition
3273 # of exeext.
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3275 $as_echo_n "checking whether the C compiler works... " >&6; }
3276 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3277
3278 # The possible output files:
3279 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3280
3281 ac_rmfiles=
3282 for ac_file in $ac_files
3283 do
3284 case $ac_file in
3285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3286 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3287 esac
3288 done
3289 rm -f $ac_rmfiles
3290
3291 if { { ac_try="$ac_link_default"
3292 case "(($ac_try" in
3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3294 *) ac_try_echo=$ac_try;;
3295 esac
3296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3297 $as_echo "$ac_try_echo"; } >&5
3298 (eval "$ac_link_default") 2>&5
3299 ac_status=$?
3300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3301 test $ac_status = 0; }; then :
3302 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3303 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3304 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3305 # so that the user can short-circuit this test for compilers unknown to
3306 # Autoconf.
3307 for ac_file in $ac_files ''
3308 do
3309 test -f "$ac_file" || continue
3310 case $ac_file in
3311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3312 ;;
3313 [ab].out )
3314 # We found the default executable, but exeext='' is most
3315 # certainly right.
3316 break;;
3317 *.* )
3318 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3319 then :; else
3320 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3321 fi
3322 # We set ac_cv_exeext here because the later test for it is not
3323 # safe: cross compilers may not add the suffix if given an `-o'
3324 # argument, so we may need to know it at that point already.
3325 # Even if this section looks crufty: it has the advantage of
3326 # actually working.
3327 break;;
3328 * )
3329 break;;
3330 esac
3331 done
3332 test "$ac_cv_exeext" = no && ac_cv_exeext=
3333
3334 else
3335 ac_file=''
3336 fi
3337 if test -z "$ac_file"; then :
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3340 $as_echo "$as_me: failed program was:" >&5
3341 sed 's/^/| /' conftest.$ac_ext >&5
3342
3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345 as_fn_error 77 "C compiler cannot create executables
3346 See \`config.log' for more details" "$LINENO" 5 ; }
3347 else
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3349 $as_echo "yes" >&6; }
3350 fi
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3352 $as_echo_n "checking for C compiler default output file name... " >&6; }
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3354 $as_echo "$ac_file" >&6; }
3355 ac_exeext=$ac_cv_exeext
3356
3357 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3358 ac_clean_files=$ac_clean_files_save
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3360 $as_echo_n "checking for suffix of executables... " >&6; }
3361 if { { ac_try="$ac_link"
3362 case "(($ac_try" in
3363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3364 *) ac_try_echo=$ac_try;;
3365 esac
3366 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3367 $as_echo "$ac_try_echo"; } >&5
3368 (eval "$ac_link") 2>&5
3369 ac_status=$?
3370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3371 test $ac_status = 0; }; then :
3372 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3373 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3374 # work properly (i.e., refer to `conftest.exe'), while it won't with
3375 # `rm'.
3376 for ac_file in conftest.exe conftest conftest.*; do
3377 test -f "$ac_file" || continue
3378 case $ac_file in
3379 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3380 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3381 break;;
3382 * ) break;;
3383 esac
3384 done
3385 else
3386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3388 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3389 See \`config.log' for more details" "$LINENO" 5 ; }
3390 fi
3391 rm -f conftest conftest$ac_cv_exeext
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3393 $as_echo "$ac_cv_exeext" >&6; }
3394
3395 rm -f conftest.$ac_ext
3396 EXEEXT=$ac_cv_exeext
3397 ac_exeext=$EXEEXT
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3400 #include <stdio.h>
3401 int
3402 main ()
3403 {
3404 FILE *f = fopen ("conftest.out", "w");
3405 return ferror (f) || fclose (f) != 0;
3406
3407 ;
3408 return 0;
3409 }
3410 _ACEOF
3411 ac_clean_files="$ac_clean_files conftest.out"
3412 # Check that the compiler produces executables we can run. If not, either
3413 # the compiler is broken, or we cross compile.
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3415 $as_echo_n "checking whether we are cross compiling... " >&6; }
3416 if test "$cross_compiling" != yes; then
3417 { { ac_try="$ac_link"
3418 case "(($ac_try" in
3419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3420 *) ac_try_echo=$ac_try;;
3421 esac
3422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3423 $as_echo "$ac_try_echo"; } >&5
3424 (eval "$ac_link") 2>&5
3425 ac_status=$?
3426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3427 test $ac_status = 0; }
3428 if { ac_try='./conftest$ac_cv_exeext'
3429 { { case "(($ac_try" in
3430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431 *) ac_try_echo=$ac_try;;
3432 esac
3433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3434 $as_echo "$ac_try_echo"; } >&5
3435 (eval "$ac_try") 2>&5
3436 ac_status=$?
3437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438 test $ac_status = 0; }; }; then
3439 cross_compiling=no
3440 else
3441 if test "$cross_compiling" = maybe; then
3442 cross_compiling=yes
3443 else
3444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3446 as_fn_error $? "cannot run C compiled programs.
3447 If you meant to cross compile, use \`--host'.
3448 See \`config.log' for more details" "$LINENO" 5 ; }
3449 fi
3450 fi
3451 fi
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3453 $as_echo "$cross_compiling" >&6; }
3454
3455 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3456 ac_clean_files=$ac_clean_files_save
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3458 $as_echo_n "checking for suffix of object files... " >&6; }
3459 if test "${ac_cv_objext+set}" = set; then :
3460 $as_echo_n "(cached) " >&6
3461 else
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3464
3465 int
3466 main ()
3467 {
3468
3469 ;
3470 return 0;
3471 }
3472 _ACEOF
3473 rm -f conftest.o conftest.obj
3474 if { { ac_try="$ac_compile"
3475 case "(($ac_try" in
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3478 esac
3479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480 $as_echo "$ac_try_echo"; } >&5
3481 (eval "$ac_compile") 2>&5
3482 ac_status=$?
3483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484 test $ac_status = 0; }; then :
3485 for ac_file in conftest.o conftest.obj conftest.*; do
3486 test -f "$ac_file" || continue;
3487 case $ac_file in
3488 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3489 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3490 break;;
3491 esac
3492 done
3493 else
3494 $as_echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.$ac_ext >&5
3496
3497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3499 as_fn_error $? "cannot compute suffix of object files: cannot compile
3500 See \`config.log' for more details" "$LINENO" 5 ; }
3501 fi
3502 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3503 fi
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3505 $as_echo "$ac_cv_objext" >&6; }
3506 OBJEXT=$ac_cv_objext
3507 ac_objext=$OBJEXT
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3509 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3510 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3511 $as_echo_n "(cached) " >&6
3512 else
3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514 /* end confdefs.h. */
3515
3516 int
3517 main ()
3518 {
3519 #ifndef __GNUC__
3520 choke me
3521 #endif
3522
3523 ;
3524 return 0;
3525 }
3526 _ACEOF
3527 if ac_fn_c_try_compile "$LINENO"; then :
3528 ac_compiler_gnu=yes
3529 else
3530 ac_compiler_gnu=no
3531 fi
3532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3534
3535 fi
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3537 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3538 if test $ac_compiler_gnu = yes; then
3539 GCC=yes
3540 else
3541 GCC=
3542 fi
3543 ac_test_CFLAGS=${CFLAGS+set}
3544 ac_save_CFLAGS=$CFLAGS
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3546 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3547 if test "${ac_cv_prog_cc_g+set}" = set; then :
3548 $as_echo_n "(cached) " >&6
3549 else
3550 ac_save_c_werror_flag=$ac_c_werror_flag
3551 ac_c_werror_flag=yes
3552 ac_cv_prog_cc_g=no
3553 CFLAGS="-g"
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3556
3557 int
3558 main ()
3559 {
3560
3561 ;
3562 return 0;
3563 }
3564 _ACEOF
3565 if ac_fn_c_try_compile "$LINENO"; then :
3566 ac_cv_prog_cc_g=yes
3567 else
3568 CFLAGS=""
3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3571
3572 int
3573 main ()
3574 {
3575
3576 ;
3577 return 0;
3578 }
3579 _ACEOF
3580 if ac_fn_c_try_compile "$LINENO"; then :
3581
3582 else
3583 ac_c_werror_flag=$ac_save_c_werror_flag
3584 CFLAGS="-g"
3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3586 /* end confdefs.h. */
3587
3588 int
3589 main ()
3590 {
3591
3592 ;
3593 return 0;
3594 }
3595 _ACEOF
3596 if ac_fn_c_try_compile "$LINENO"; then :
3597 ac_cv_prog_cc_g=yes
3598 fi
3599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600 fi
3601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602 fi
3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604 ac_c_werror_flag=$ac_save_c_werror_flag
3605 fi
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3607 $as_echo "$ac_cv_prog_cc_g" >&6; }
3608 if test "$ac_test_CFLAGS" = set; then
3609 CFLAGS=$ac_save_CFLAGS
3610 elif test $ac_cv_prog_cc_g = yes; then
3611 if test "$GCC" = yes; then
3612 CFLAGS="-g -O2"
3613 else
3614 CFLAGS="-g"
3615 fi
3616 else
3617 if test "$GCC" = yes; then
3618 CFLAGS="-O2"
3619 else
3620 CFLAGS=
3621 fi
3622 fi
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3624 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3625 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3626 $as_echo_n "(cached) " >&6
3627 else
3628 ac_cv_prog_cc_c89=no
3629 ac_save_CC=$CC
3630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631 /* end confdefs.h. */
3632 #include <stdarg.h>
3633 #include <stdio.h>
3634 #include <sys/types.h>
3635 #include <sys/stat.h>
3636 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3637 struct buf { int x; };
3638 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3639 static char *e (p, i)
3640 char **p;
3641 int i;
3642 {
3643 return p[i];
3644 }
3645 static char *f (char * (*g) (char **, int), char **p, ...)
3646 {
3647 char *s;
3648 va_list v;
3649 va_start (v,p);
3650 s = g (p, va_arg (v,int));
3651 va_end (v);
3652 return s;
3653 }
3654
3655 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3656 function prototypes and stuff, but not '\xHH' hex character constants.
3657 These don't provoke an error unfortunately, instead are silently treated
3658 as 'x'. The following induces an error, until -std is added to get
3659 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3660 array size at least. It's necessary to write '\x00'==0 to get something
3661 that's true only with -std. */
3662 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3663
3664 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3665 inside strings and character constants. */
3666 #define FOO(x) 'x'
3667 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3668
3669 int test (int i, double x);
3670 struct s1 {int (*f) (int a);};
3671 struct s2 {int (*f) (double a);};
3672 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3673 int argc;
3674 char **argv;
3675 int
3676 main ()
3677 {
3678 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3679 ;
3680 return 0;
3681 }
3682 _ACEOF
3683 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3684 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3685 do
3686 CC="$ac_save_CC $ac_arg"
3687 if ac_fn_c_try_compile "$LINENO"; then :
3688 ac_cv_prog_cc_c89=$ac_arg
3689 fi
3690 rm -f core conftest.err conftest.$ac_objext
3691 test "x$ac_cv_prog_cc_c89" != "xno" && break
3692 done
3693 rm -f conftest.$ac_ext
3694 CC=$ac_save_CC
3695
3696 fi
3697 # AC_CACHE_VAL
3698 case "x$ac_cv_prog_cc_c89" in
3699 x)
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3701 $as_echo "none needed" >&6; } ;;
3702 xno)
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3704 $as_echo "unsupported" >&6; } ;;
3705 *)
3706 CC="$CC $ac_cv_prog_cc_c89"
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3708 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3709 esac
3710 if test "x$ac_cv_prog_cc_c89" != xno; then :
3711
3712 fi
3713
3714 ac_ext=c
3715 ac_cpp='$CPP $CPPFLAGS'
3716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3719 DEPDIR="${am__leading_dot}deps"
3720
3721 ac_config_commands="$ac_config_commands depfiles"
3722
3723
3724 am_make=${MAKE-make}
3725 cat > confinc << 'END'
3726 am__doit:
3727 @echo this is the am__doit target
3728 .PHONY: am__doit
3729 END
3730 # If we don't find an include directive, just comment out the code.
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3732 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3733 am__include="#"
3734 am__quote=
3735 _am_result=none
3736 # First try GNU make style include.
3737 echo "include confinc" > confmf
3738 # Ignore all kinds of additional output from `make'.
3739 case `$am_make -s -f confmf 2> /dev/null` in #(
3740 *the\ am__doit\ target*)
3741 am__include=include
3742 am__quote=
3743 _am_result=GNU
3744 ;;
3745 esac
3746 # Now try BSD make style include.
3747 if test "$am__include" = "#"; then
3748 echo '.include "confinc"' > confmf
3749 case `$am_make -s -f confmf 2> /dev/null` in #(
3750 *the\ am__doit\ target*)
3751 am__include=.include
3752 am__quote="\""
3753 _am_result=BSD
3754 ;;
3755 esac
3756 fi
3757
3758
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3760 $as_echo "$_am_result" >&6; }
3761 rm -f confinc confmf
3762
3763 # Check whether --enable-dependency-tracking was given.
3764 if test "${enable_dependency_tracking+set}" = set; then :
3765 enableval=$enable_dependency_tracking;
3766 fi
3767
3768 if test "x$enable_dependency_tracking" != xno; then
3769 am_depcomp="$ac_aux_dir/depcomp"
3770 AMDEPBACKSLASH='\'
3771 fi
3772 if test "x$enable_dependency_tracking" != xno; then
3773 AMDEP_TRUE=
3774 AMDEP_FALSE='#'
3775 else
3776 AMDEP_TRUE='#'
3777 AMDEP_FALSE=
3778 fi
3779
3780
3781
3782 depcc="$CC" am_compiler_list=
3783
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3785 $as_echo_n "checking dependency style of $depcc... " >&6; }
3786 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3787 $as_echo_n "(cached) " >&6
3788 else
3789 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3790 # We make a subdir and do the tests there. Otherwise we can end up
3791 # making bogus files that we don't know about and never remove. For
3792 # instance it was reported that on HP-UX the gcc test will end up
3793 # making a dummy file named `D' -- because `-MD' means `put the output
3794 # in D'.
3795 mkdir conftest.dir
3796 # Copy depcomp to subdir because otherwise we won't find it if we're
3797 # using a relative directory.
3798 cp "$am_depcomp" conftest.dir
3799 cd conftest.dir
3800 # We will build objects and dependencies in a subdirectory because
3801 # it helps to detect inapplicable dependency modes. For instance
3802 # both Tru64's cc and ICC support -MD to output dependencies as a
3803 # side effect of compilation, but ICC will put the dependencies in
3804 # the current directory while Tru64 will put them in the object
3805 # directory.
3806 mkdir sub
3807
3808 am_cv_CC_dependencies_compiler_type=none
3809 if test "$am_compiler_list" = ""; then
3810 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3811 fi
3812 am__universal=false
3813 case " $depcc " in #(
3814 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3815 esac
3816
3817 for depmode in $am_compiler_list; do
3818 # Setup a source with many dependencies, because some compilers
3819 # like to wrap large dependency lists on column 80 (with \), and
3820 # we should not choose a depcomp mode which is confused by this.
3821 #
3822 # We need to recreate these files for each test, as the compiler may
3823 # overwrite some of them when testing with obscure command lines.
3824 # This happens at least with the AIX C compiler.
3825 : > sub/conftest.c
3826 for i in 1 2 3 4 5 6; do
3827 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3828 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3829 # Solaris 8's {/usr,}/bin/sh.
3830 touch sub/conftst$i.h
3831 done
3832 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3833
3834 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3835 # mode. It turns out that the SunPro C++ compiler does not properly
3836 # handle `-M -o', and we need to detect this. Also, some Intel
3837 # versions had trouble with output in subdirs
3838 am__obj=sub/conftest.${OBJEXT-o}
3839 am__minus_obj="-o $am__obj"
3840 case $depmode in
3841 gcc)
3842 # This depmode causes a compiler race in universal mode.
3843 test "$am__universal" = false || continue
3844 ;;
3845 nosideeffect)
3846 # after this tag, mechanisms are not by side-effect, so they'll
3847 # only be used when explicitly requested
3848 if test "x$enable_dependency_tracking" = xyes; then
3849 continue
3850 else
3851 break
3852 fi
3853 ;;
3854 msvisualcpp | msvcmsys)
3855 # This compiler won't grok `-c -o', but also, the minuso test has
3856 # not run yet. These depmodes are late enough in the game, and
3857 # so weak that their functioning should not be impacted.
3858 am__obj=conftest.${OBJEXT-o}
3859 am__minus_obj=
3860 ;;
3861 none) break ;;
3862 esac
3863 if depmode=$depmode \
3864 source=sub/conftest.c object=$am__obj \
3865 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3866 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3867 >/dev/null 2>conftest.err &&
3868 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3869 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3870 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3871 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3872 # icc doesn't choke on unknown options, it will just issue warnings
3873 # or remarks (even with -Werror). So we grep stderr for any message
3874 # that says an option was ignored or not supported.
3875 # When given -MP, icc 7.0 and 7.1 complain thusly:
3876 # icc: Command line warning: ignoring option '-M'; no argument required
3877 # The diagnosis changed in icc 8.0:
3878 # icc: Command line remark: option '-MP' not supported
3879 if (grep 'ignoring option' conftest.err ||
3880 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3881 am_cv_CC_dependencies_compiler_type=$depmode
3882 break
3883 fi
3884 fi
3885 done
3886
3887 cd ..
3888 rm -rf conftest.dir
3889 else
3890 am_cv_CC_dependencies_compiler_type=none
3891 fi
3892
3893 fi
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3895 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3896 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3897
3898 if
3899 test "x$enable_dependency_tracking" != xno \
3900 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3901 am__fastdepCC_TRUE=
3902 am__fastdepCC_FALSE='#'
3903 else
3904 am__fastdepCC_TRUE='#'
3905 am__fastdepCC_FALSE=
3906 fi
3907
3908
3909 ac_ext=cpp
3910 ac_cpp='$CXXCPP $CPPFLAGS'
3911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3914 if test -z "$CXX"; then
3915 if test -n "$CCC"; then
3916 CXX=$CCC
3917 else
3918 if test -n "$ac_tool_prefix"; then
3919 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3920 do
3921 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3922 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924 $as_echo_n "checking for $ac_word... " >&6; }
3925 if test "${ac_cv_prog_CXX+set}" = set; then :
3926 $as_echo_n "(cached) " >&6
3927 else
3928 if test -n "$CXX"; then
3929 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3930 else
3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3932 for as_dir in $PATH
3933 do
3934 IFS=$as_save_IFS
3935 test -z "$as_dir" && as_dir=.
3936 for ac_exec_ext in '' $ac_executable_extensions; do
3937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3938 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3940 break 2
3941 fi
3942 done
3943 done
3944 IFS=$as_save_IFS
3945
3946 fi
3947 fi
3948 CXX=$ac_cv_prog_CXX
3949 if test -n "$CXX"; then
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3951 $as_echo "$CXX" >&6; }
3952 else
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3955 fi
3956
3957
3958 test -n "$CXX" && break
3959 done
3960 fi
3961 if test -z "$CXX"; then
3962 ac_ct_CXX=$CXX
3963 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3964 do
3965 # Extract the first word of "$ac_prog", so it can be a program name with args.
3966 set dummy $ac_prog; ac_word=$2
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3968 $as_echo_n "checking for $ac_word... " >&6; }
3969 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3970 $as_echo_n "(cached) " >&6
3971 else
3972 if test -n "$ac_ct_CXX"; then
3973 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3974 else
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976 for as_dir in $PATH
3977 do
3978 IFS=$as_save_IFS
3979 test -z "$as_dir" && as_dir=.
3980 for ac_exec_ext in '' $ac_executable_extensions; do
3981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3982 ac_cv_prog_ac_ct_CXX="$ac_prog"
3983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3984 break 2
3985 fi
3986 done
3987 done
3988 IFS=$as_save_IFS
3989
3990 fi
3991 fi
3992 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3993 if test -n "$ac_ct_CXX"; then
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3995 $as_echo "$ac_ct_CXX" >&6; }
3996 else
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 $as_echo "no" >&6; }
3999 fi
4000
4001
4002 test -n "$ac_ct_CXX" && break
4003 done
4004
4005 if test "x$ac_ct_CXX" = x; then
4006 CXX="g++"
4007 else
4008 case $cross_compiling:$ac_tool_warned in
4009 yes:)
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4012 ac_tool_warned=yes ;;
4013 esac
4014 CXX=$ac_ct_CXX
4015 fi
4016 fi
4017
4018 fi
4019 fi
4020 # Provide some information about the compiler.
4021 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4022 set X $ac_compile
4023 ac_compiler=$2
4024 for ac_option in --version -v -V -qversion; do
4025 { { ac_try="$ac_compiler $ac_option >&5"
4026 case "(($ac_try" in
4027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4029 esac
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
4032 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4033 ac_status=$?
4034 if test -s conftest.err; then
4035 sed '10a\
4036 ... rest of stderr output deleted ...
4037 10q' conftest.err >conftest.er1
4038 cat conftest.er1 >&5
4039 fi
4040 rm -f conftest.er1 conftest.err
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }
4043 done
4044
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4046 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4047 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4048 $as_echo_n "(cached) " >&6
4049 else
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4052
4053 int
4054 main ()
4055 {
4056 #ifndef __GNUC__
4057 choke me
4058 #endif
4059
4060 ;
4061 return 0;
4062 }
4063 _ACEOF
4064 if ac_fn_cxx_try_compile "$LINENO"; then :
4065 ac_compiler_gnu=yes
4066 else
4067 ac_compiler_gnu=no
4068 fi
4069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4070 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4071
4072 fi
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4074 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4075 if test $ac_compiler_gnu = yes; then
4076 GXX=yes
4077 else
4078 GXX=
4079 fi
4080 ac_test_CXXFLAGS=${CXXFLAGS+set}
4081 ac_save_CXXFLAGS=$CXXFLAGS
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4083 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4084 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4088 ac_cxx_werror_flag=yes
4089 ac_cv_prog_cxx_g=no
4090 CXXFLAGS="-g"
4091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4092 /* end confdefs.h. */
4093
4094 int
4095 main ()
4096 {
4097
4098 ;
4099 return 0;
4100 }
4101 _ACEOF
4102 if ac_fn_cxx_try_compile "$LINENO"; then :
4103 ac_cv_prog_cxx_g=yes
4104 else
4105 CXXFLAGS=""
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4108
4109 int
4110 main ()
4111 {
4112
4113 ;
4114 return 0;
4115 }
4116 _ACEOF
4117 if ac_fn_cxx_try_compile "$LINENO"; then :
4118
4119 else
4120 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4121 CXXFLAGS="-g"
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4124
4125 int
4126 main ()
4127 {
4128
4129 ;
4130 return 0;
4131 }
4132 _ACEOF
4133 if ac_fn_cxx_try_compile "$LINENO"; then :
4134 ac_cv_prog_cxx_g=yes
4135 fi
4136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4137 fi
4138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4139 fi
4140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4142 fi
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4144 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4145 if test "$ac_test_CXXFLAGS" = set; then
4146 CXXFLAGS=$ac_save_CXXFLAGS
4147 elif test $ac_cv_prog_cxx_g = yes; then
4148 if test "$GXX" = yes; then
4149 CXXFLAGS="-g -O2"
4150 else
4151 CXXFLAGS="-g"
4152 fi
4153 else
4154 if test "$GXX" = yes; then
4155 CXXFLAGS="-O2"
4156 else
4157 CXXFLAGS=
4158 fi
4159 fi
4160 ac_ext=c
4161 ac_cpp='$CPP $CPPFLAGS'
4162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4165
4166 depcc="$CXX" am_compiler_list=
4167
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4169 $as_echo_n "checking dependency style of $depcc... " >&6; }
4170 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4171 $as_echo_n "(cached) " >&6
4172 else
4173 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4174 # We make a subdir and do the tests there. Otherwise we can end up
4175 # making bogus files that we don't know about and never remove. For
4176 # instance it was reported that on HP-UX the gcc test will end up
4177 # making a dummy file named `D' -- because `-MD' means `put the output
4178 # in D'.
4179 mkdir conftest.dir
4180 # Copy depcomp to subdir because otherwise we won't find it if we're
4181 # using a relative directory.
4182 cp "$am_depcomp" conftest.dir
4183 cd conftest.dir
4184 # We will build objects and dependencies in a subdirectory because
4185 # it helps to detect inapplicable dependency modes. For instance
4186 # both Tru64's cc and ICC support -MD to output dependencies as a
4187 # side effect of compilation, but ICC will put the dependencies in
4188 # the current directory while Tru64 will put them in the object
4189 # directory.
4190 mkdir sub
4191
4192 am_cv_CXX_dependencies_compiler_type=none
4193 if test "$am_compiler_list" = ""; then
4194 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4195 fi
4196 am__universal=false
4197 case " $depcc " in #(
4198 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4199 esac
4200
4201 for depmode in $am_compiler_list; do
4202 # Setup a source with many dependencies, because some compilers
4203 # like to wrap large dependency lists on column 80 (with \), and
4204 # we should not choose a depcomp mode which is confused by this.
4205 #
4206 # We need to recreate these files for each test, as the compiler may
4207 # overwrite some of them when testing with obscure command lines.
4208 # This happens at least with the AIX C compiler.
4209 : > sub/conftest.c
4210 for i in 1 2 3 4 5 6; do
4211 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4212 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4213 # Solaris 8's {/usr,}/bin/sh.
4214 touch sub/conftst$i.h
4215 done
4216 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4217
4218 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4219 # mode. It turns out that the SunPro C++ compiler does not properly
4220 # handle `-M -o', and we need to detect this. Also, some Intel
4221 # versions had trouble with output in subdirs
4222 am__obj=sub/conftest.${OBJEXT-o}
4223 am__minus_obj="-o $am__obj"
4224 case $depmode in
4225 gcc)
4226 # This depmode causes a compiler race in universal mode.
4227 test "$am__universal" = false || continue
4228 ;;
4229 nosideeffect)
4230 # after this tag, mechanisms are not by side-effect, so they'll
4231 # only be used when explicitly requested
4232 if test "x$enable_dependency_tracking" = xyes; then
4233 continue
4234 else
4235 break
4236 fi
4237 ;;
4238 msvisualcpp | msvcmsys)
4239 # This compiler won't grok `-c -o', but also, the minuso test has
4240 # not run yet. These depmodes are late enough in the game, and
4241 # so weak that their functioning should not be impacted.
4242 am__obj=conftest.${OBJEXT-o}
4243 am__minus_obj=
4244 ;;
4245 none) break ;;
4246 esac
4247 if depmode=$depmode \
4248 source=sub/conftest.c object=$am__obj \
4249 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4250 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4251 >/dev/null 2>conftest.err &&
4252 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4253 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4254 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4255 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4256 # icc doesn't choke on unknown options, it will just issue warnings
4257 # or remarks (even with -Werror). So we grep stderr for any message
4258 # that says an option was ignored or not supported.
4259 # When given -MP, icc 7.0 and 7.1 complain thusly:
4260 # icc: Command line warning: ignoring option '-M'; no argument required
4261 # The diagnosis changed in icc 8.0:
4262 # icc: Command line remark: option '-MP' not supported
4263 if (grep 'ignoring option' conftest.err ||
4264 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4265 am_cv_CXX_dependencies_compiler_type=$depmode
4266 break
4267 fi
4268 fi
4269 done
4270
4271 cd ..
4272 rm -rf conftest.dir
4273 else
4274 am_cv_CXX_dependencies_compiler_type=none
4275 fi
4276
4277 fi
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4279 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4280 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4281
4282 if
4283 test "x$enable_dependency_tracking" != xno \
4284 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4285 am__fastdepCXX_TRUE=
4286 am__fastdepCXX_FALSE='#'
4287 else
4288 am__fastdepCXX_TRUE='#'
4289 am__fastdepCXX_FALSE=
4290 fi
4291
4292
4293 case `pwd` in
4294 *\ * | *\ *)
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4296 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4297 esac
4298
4299
4300
4301 macro_version='2.2.6b'
4302 macro_revision='1.3017'
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316 ltmain="$ac_aux_dir/ltmain.sh"
4317
4318 # Make sure we can run config.sub.
4319 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4320 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4321
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4323 $as_echo_n "checking build system type... " >&6; }
4324 if test "${ac_cv_build+set}" = set; then :
4325 $as_echo_n "(cached) " >&6
4326 else
4327 ac_build_alias=$build_alias
4328 test "x$ac_build_alias" = x &&
4329 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4330 test "x$ac_build_alias" = x &&
4331 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4332 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4333 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4334
4335 fi
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4337 $as_echo "$ac_cv_build" >&6; }
4338 case $ac_cv_build in
4339 *-*-*) ;;
4340 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
4341 esac
4342 build=$ac_cv_build
4343 ac_save_IFS=$IFS; IFS='-'
4344 set x $ac_cv_build
4345 shift
4346 build_cpu=$1
4347 build_vendor=$2
4348 shift; shift
4349 # Remember, the first character of IFS is used to create $*,
4350 # except with old shells:
4351 build_os=$*
4352 IFS=$ac_save_IFS
4353 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4354
4355
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4357 $as_echo_n "checking host system type... " >&6; }
4358 if test "${ac_cv_host+set}" = set; then :
4359 $as_echo_n "(cached) " >&6
4360 else
4361 if test "x$host_alias" = x; then
4362 ac_cv_host=$ac_cv_build
4363 else
4364 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4365 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4366 fi
4367
4368 fi
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4370 $as_echo "$ac_cv_host" >&6; }
4371 case $ac_cv_host in
4372 *-*-*) ;;
4373 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
4374 esac
4375 host=$ac_cv_host
4376 ac_save_IFS=$IFS; IFS='-'
4377 set x $ac_cv_host
4378 shift
4379 host_cpu=$1
4380 host_vendor=$2
4381 shift; shift
4382 # Remember, the first character of IFS is used to create $*,
4383 # except with old shells:
4384 host_os=$*
4385 IFS=$ac_save_IFS
4386 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4387
4388
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4390 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4391 if test "${ac_cv_path_SED+set}" = set; then :
4392 $as_echo_n "(cached) " >&6
4393 else
4394 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4395 for ac_i in 1 2 3 4 5 6 7; do
4396 ac_script="$ac_script$as_nl$ac_script"
4397 done
4398 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4399 { ac_script=; unset ac_script;}
4400 if test -z "$SED"; then
4401 ac_path_SED_found=false
4402 # Loop through the user's path and test for each of PROGNAME-LIST
4403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4404 for as_dir in $PATH
4405 do
4406 IFS=$as_save_IFS
4407 test -z "$as_dir" && as_dir=.
4408 for ac_prog in sed gsed; do
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4411 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4412 # Check for GNU ac_path_SED and select it if it is found.
4413 # Check for GNU $ac_path_SED
4414 case `"$ac_path_SED" --version 2>&1` in
4415 *GNU*)
4416 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4417 *)
4418 ac_count=0
4419 $as_echo_n 0123456789 >"conftest.in"
4420 while :
4421 do
4422 cat "conftest.in" "conftest.in" >"conftest.tmp"
4423 mv "conftest.tmp" "conftest.in"
4424 cp "conftest.in" "conftest.nl"
4425 $as_echo '' >> "conftest.nl"
4426 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4427 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4428 as_fn_arith $ac_count + 1 && ac_count=$as_val
4429 if test $ac_count -gt ${ac_path_SED_max-0}; then
4430 # Best one so far, save it but keep looking for a better one
4431 ac_cv_path_SED="$ac_path_SED"
4432 ac_path_SED_max=$ac_count
4433 fi
4434 # 10*(2^10) chars as input seems more than enough
4435 test $ac_count -gt 10 && break
4436 done
4437 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4438 esac
4439
4440 $ac_path_SED_found && break 3
4441 done
4442 done
4443 done
4444 IFS=$as_save_IFS
4445 if test -z "$ac_cv_path_SED"; then
4446 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4447 fi
4448 else
4449 ac_cv_path_SED=$SED
4450 fi
4451
4452 fi
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4454 $as_echo "$ac_cv_path_SED" >&6; }
4455 SED="$ac_cv_path_SED"
4456 rm -f conftest.sed
4457
4458 test -z "$SED" && SED=sed
4459 Xsed="$SED -e 1s/^X//"
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4472 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4473 if test "${ac_cv_path_GREP+set}" = set; then :
4474 $as_echo_n "(cached) " >&6
4475 else
4476 if test -z "$GREP"; then
4477 ac_path_GREP_found=false
4478 # Loop through the user's path and test for each of PROGNAME-LIST
4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4480 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4481 do
4482 IFS=$as_save_IFS
4483 test -z "$as_dir" && as_dir=.
4484 for ac_prog in grep ggrep; do
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4487 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4488 # Check for GNU ac_path_GREP and select it if it is found.
4489 # Check for GNU $ac_path_GREP
4490 case `"$ac_path_GREP" --version 2>&1` in
4491 *GNU*)
4492 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4493 *)
4494 ac_count=0
4495 $as_echo_n 0123456789 >"conftest.in"
4496 while :
4497 do
4498 cat "conftest.in" "conftest.in" >"conftest.tmp"
4499 mv "conftest.tmp" "conftest.in"
4500 cp "conftest.in" "conftest.nl"
4501 $as_echo 'GREP' >> "conftest.nl"
4502 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4503 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4504 as_fn_arith $ac_count + 1 && ac_count=$as_val
4505 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4506 # Best one so far, save it but keep looking for a better one
4507 ac_cv_path_GREP="$ac_path_GREP"
4508 ac_path_GREP_max=$ac_count
4509 fi
4510 # 10*(2^10) chars as input seems more than enough
4511 test $ac_count -gt 10 && break
4512 done
4513 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4514 esac
4515
4516 $ac_path_GREP_found && break 3
4517 done
4518 done
4519 done
4520 IFS=$as_save_IFS
4521 if test -z "$ac_cv_path_GREP"; then
4522 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4523 fi
4524 else
4525 ac_cv_path_GREP=$GREP
4526 fi
4527
4528 fi
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4530 $as_echo "$ac_cv_path_GREP" >&6; }
4531 GREP="$ac_cv_path_GREP"
4532
4533
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4535 $as_echo_n "checking for egrep... " >&6; }
4536 if test "${ac_cv_path_EGREP+set}" = set; then :
4537 $as_echo_n "(cached) " >&6
4538 else
4539 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4540 then ac_cv_path_EGREP="$GREP -E"
4541 else
4542 if test -z "$EGREP"; then
4543 ac_path_EGREP_found=false
4544 # Loop through the user's path and test for each of PROGNAME-LIST
4545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4546 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4547 do
4548 IFS=$as_save_IFS
4549 test -z "$as_dir" && as_dir=.
4550 for ac_prog in egrep; do
4551 for ac_exec_ext in '' $ac_executable_extensions; do
4552 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4553 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4554 # Check for GNU ac_path_EGREP and select it if it is found.
4555 # Check for GNU $ac_path_EGREP
4556 case `"$ac_path_EGREP" --version 2>&1` in
4557 *GNU*)
4558 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4559 *)
4560 ac_count=0
4561 $as_echo_n 0123456789 >"conftest.in"
4562 while :
4563 do
4564 cat "conftest.in" "conftest.in" >"conftest.tmp"
4565 mv "conftest.tmp" "conftest.in"
4566 cp "conftest.in" "conftest.nl"
4567 $as_echo 'EGREP' >> "conftest.nl"
4568 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4569 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4570 as_fn_arith $ac_count + 1 && ac_count=$as_val
4571 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4572 # Best one so far, save it but keep looking for a better one
4573 ac_cv_path_EGREP="$ac_path_EGREP"
4574 ac_path_EGREP_max=$ac_count
4575 fi
4576 # 10*(2^10) chars as input seems more than enough
4577 test $ac_count -gt 10 && break
4578 done
4579 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4580 esac
4581
4582 $ac_path_EGREP_found && break 3
4583 done
4584 done
4585 done
4586 IFS=$as_save_IFS
4587 if test -z "$ac_cv_path_EGREP"; then
4588 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4589 fi
4590 else
4591 ac_cv_path_EGREP=$EGREP
4592 fi
4593
4594 fi
4595 fi
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4597 $as_echo "$ac_cv_path_EGREP" >&6; }
4598 EGREP="$ac_cv_path_EGREP"
4599
4600
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4602 $as_echo_n "checking for fgrep... " >&6; }
4603 if test "${ac_cv_path_FGREP+set}" = set; then :
4604 $as_echo_n "(cached) " >&6
4605 else
4606 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4607 then ac_cv_path_FGREP="$GREP -F"
4608 else
4609 if test -z "$FGREP"; then
4610 ac_path_FGREP_found=false
4611 # Loop through the user's path and test for each of PROGNAME-LIST
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4614 do
4615 IFS=$as_save_IFS
4616 test -z "$as_dir" && as_dir=.
4617 for ac_prog in fgrep; do
4618 for ac_exec_ext in '' $ac_executable_extensions; do
4619 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4620 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4621 # Check for GNU ac_path_FGREP and select it if it is found.
4622 # Check for GNU $ac_path_FGREP
4623 case `"$ac_path_FGREP" --version 2>&1` in
4624 *GNU*)
4625 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4626 *)
4627 ac_count=0
4628 $as_echo_n 0123456789 >"conftest.in"
4629 while :
4630 do
4631 cat "conftest.in" "conftest.in" >"conftest.tmp"
4632 mv "conftest.tmp" "conftest.in"
4633 cp "conftest.in" "conftest.nl"
4634 $as_echo 'FGREP' >> "conftest.nl"
4635 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4636 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4637 as_fn_arith $ac_count + 1 && ac_count=$as_val
4638 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4639 # Best one so far, save it but keep looking for a better one
4640 ac_cv_path_FGREP="$ac_path_FGREP"
4641 ac_path_FGREP_max=$ac_count
4642 fi
4643 # 10*(2^10) chars as input seems more than enough
4644 test $ac_count -gt 10 && break
4645 done
4646 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4647 esac
4648
4649 $ac_path_FGREP_found && break 3
4650 done
4651 done
4652 done
4653 IFS=$as_save_IFS
4654 if test -z "$ac_cv_path_FGREP"; then
4655 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4656 fi
4657 else
4658 ac_cv_path_FGREP=$FGREP
4659 fi
4660
4661 fi
4662 fi
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4664 $as_echo "$ac_cv_path_FGREP" >&6; }
4665 FGREP="$ac_cv_path_FGREP"
4666
4667
4668 test -z "$GREP" && GREP=grep
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688 # Check whether --with-gnu-ld was given.
4689 if test "${with_gnu_ld+set}" = set; then :
4690 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4691 else
4692 with_gnu_ld=no
4693 fi
4694
4695 ac_prog=ld
4696 if test "$GCC" = yes; then
4697 # Check if gcc -print-prog-name=ld gives a path.
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4699 $as_echo_n "checking for ld used by $CC... " >&6; }
4700 case $host in
4701 *-*-mingw*)
4702 # gcc leaves a trailing carriage return which upsets mingw
4703 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4704 *)
4705 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4706 esac
4707 case $ac_prog in
4708 # Accept absolute paths.
4709 [\\/]* | ?:[\\/]*)
4710 re_direlt='/[^/][^/]*/\.\./'
4711 # Canonicalize the pathname of ld
4712 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4713 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4714 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4715 done
4716 test -z "$LD" && LD="$ac_prog"
4717 ;;
4718 "")
4719 # If it fails, then pretend we aren't using GCC.
4720 ac_prog=ld
4721 ;;
4722 *)
4723 # If it is relative, then search for the first ld in PATH.
4724 with_gnu_ld=unknown
4725 ;;
4726 esac
4727 elif test "$with_gnu_ld" = yes; then
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4729 $as_echo_n "checking for GNU ld... " >&6; }
4730 else
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4732 $as_echo_n "checking for non-GNU ld... " >&6; }
4733 fi
4734 if test "${lt_cv_path_LD+set}" = set; then :
4735 $as_echo_n "(cached) " >&6
4736 else
4737 if test -z "$LD"; then
4738 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4739 for ac_dir in $PATH; do
4740 IFS="$lt_save_ifs"
4741 test -z "$ac_dir" && ac_dir=.
4742 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4743 lt_cv_path_LD="$ac_dir/$ac_prog"
4744 # Check to see if the program is GNU ld. I'd rather use --version,
4745 # but apparently some variants of GNU ld only accept -v.
4746 # Break only if it was the GNU/non-GNU ld that we prefer.
4747 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4748 *GNU* | *'with BFD'*)
4749 test "$with_gnu_ld" != no && break
4750 ;;
4751 *)
4752 test "$with_gnu_ld" != yes && break
4753 ;;
4754 esac
4755 fi
4756 done
4757 IFS="$lt_save_ifs"
4758 else
4759 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4760 fi
4761 fi
4762
4763 LD="$lt_cv_path_LD"
4764 if test -n "$LD"; then
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4766 $as_echo "$LD" >&6; }
4767 else
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4770 fi
4771 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4773 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4774 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4775 $as_echo_n "(cached) " >&6
4776 else
4777 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4778 case `$LD -v 2>&1 </dev/null` in
4779 *GNU* | *'with BFD'*)
4780 lt_cv_prog_gnu_ld=yes
4781 ;;
4782 *)
4783 lt_cv_prog_gnu_ld=no
4784 ;;
4785 esac
4786 fi
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4788 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4789 with_gnu_ld=$lt_cv_prog_gnu_ld
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4800 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4801 if test "${lt_cv_path_NM+set}" = set; then :
4802 $as_echo_n "(cached) " >&6
4803 else
4804 if test -n "$NM"; then
4805 # Let the user override the test.
4806 lt_cv_path_NM="$NM"
4807 else
4808 lt_nm_to_check="${ac_tool_prefix}nm"
4809 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4810 lt_nm_to_check="$lt_nm_to_check nm"
4811 fi
4812 for lt_tmp_nm in $lt_nm_to_check; do
4813 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4814 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4815 IFS="$lt_save_ifs"
4816 test -z "$ac_dir" && ac_dir=.
4817 tmp_nm="$ac_dir/$lt_tmp_nm"
4818 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4819 # Check to see if the nm accepts a BSD-compat flag.
4820 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4821 # nm: unknown option "B" ignored
4822 # Tru64's nm complains that /dev/null is an invalid object file
4823 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4824 */dev/null* | *'Invalid file or object type'*)
4825 lt_cv_path_NM="$tmp_nm -B"
4826 break
4827 ;;
4828 *)
4829 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4830 */dev/null*)
4831 lt_cv_path_NM="$tmp_nm -p"
4832 break
4833 ;;
4834 *)
4835 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4836 continue # so that we can try to find one that supports BSD flags
4837 ;;
4838 esac
4839 ;;
4840 esac
4841 fi
4842 done
4843 IFS="$lt_save_ifs"
4844 done
4845 : ${lt_cv_path_NM=no}
4846 fi
4847 fi
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4849 $as_echo "$lt_cv_path_NM" >&6; }
4850 if test "$lt_cv_path_NM" != "no"; then
4851 NM="$lt_cv_path_NM"
4852 else
4853 # Didn't find any BSD compatible name lister, look for dumpbin.
4854 if test -n "$ac_tool_prefix"; then
4855 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4856 do
4857 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4858 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4860 $as_echo_n "checking for $ac_word... " >&6; }
4861 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4862 $as_echo_n "(cached) " >&6
4863 else
4864 if test -n "$DUMPBIN"; then
4865 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4866 else
4867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4868 for as_dir in $PATH
4869 do
4870 IFS=$as_save_IFS
4871 test -z "$as_dir" && as_dir=.
4872 for ac_exec_ext in '' $ac_executable_extensions; do
4873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4874 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 break 2
4877 fi
4878 done
4879 done
4880 IFS=$as_save_IFS
4881
4882 fi
4883 fi
4884 DUMPBIN=$ac_cv_prog_DUMPBIN
4885 if test -n "$DUMPBIN"; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4887 $as_echo "$DUMPBIN" >&6; }
4888 else
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4891 fi
4892
4893
4894 test -n "$DUMPBIN" && break
4895 done
4896 fi
4897 if test -z "$DUMPBIN"; then
4898 ac_ct_DUMPBIN=$DUMPBIN
4899 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4900 do
4901 # Extract the first word of "$ac_prog", so it can be a program name with args.
4902 set dummy $ac_prog; ac_word=$2
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4904 $as_echo_n "checking for $ac_word... " >&6; }
4905 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4906 $as_echo_n "(cached) " >&6
4907 else
4908 if test -n "$ac_ct_DUMPBIN"; then
4909 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4910 else
4911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4912 for as_dir in $PATH
4913 do
4914 IFS=$as_save_IFS
4915 test -z "$as_dir" && as_dir=.
4916 for ac_exec_ext in '' $ac_executable_extensions; do
4917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4918 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4920 break 2
4921 fi
4922 done
4923 done
4924 IFS=$as_save_IFS
4925
4926 fi
4927 fi
4928 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4929 if test -n "$ac_ct_DUMPBIN"; then
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4931 $as_echo "$ac_ct_DUMPBIN" >&6; }
4932 else
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4935 fi
4936
4937
4938 test -n "$ac_ct_DUMPBIN" && break
4939 done
4940
4941 if test "x$ac_ct_DUMPBIN" = x; then
4942 DUMPBIN=":"
4943 else
4944 case $cross_compiling:$ac_tool_warned in
4945 yes:)
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4947 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4948 ac_tool_warned=yes ;;
4949 esac
4950 DUMPBIN=$ac_ct_DUMPBIN
4951 fi
4952 fi
4953
4954
4955 if test "$DUMPBIN" != ":"; then
4956 NM="$DUMPBIN"
4957 fi
4958 fi
4959 test -z "$NM" && NM=nm
4960
4961
4962
4963
4964
4965
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4967 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4968 if test "${lt_cv_nm_interface+set}" = set; then :
4969 $as_echo_n "(cached) " >&6
4970 else
4971 lt_cv_nm_interface="BSD nm"
4972 echo "int some_variable = 0;" > conftest.$ac_ext
4973 (eval echo "\"\$as_me:4973: $ac_compile\"" >&5)
4974 (eval "$ac_compile" 2>conftest.err)
4975 cat conftest.err >&5
4976 (eval echo "\"\$as_me:4976: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4977 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4978 cat conftest.err >&5
4979 (eval echo "\"\$as_me:4979: output\"" >&5)
4980 cat conftest.out >&5
4981 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4982 lt_cv_nm_interface="MS dumpbin"
4983 fi
4984 rm -f conftest*
4985 fi
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4987 $as_echo "$lt_cv_nm_interface" >&6; }
4988
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4990 $as_echo_n "checking whether ln -s works... " >&6; }
4991 LN_S=$as_ln_s
4992 if test "$LN_S" = "ln -s"; then
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4994 $as_echo "yes" >&6; }
4995 else
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4997 $as_echo "no, using $LN_S" >&6; }
4998 fi
4999
5000 # find the maximum length of command line arguments
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5002 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5003 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5004 $as_echo_n "(cached) " >&6
5005 else
5006 i=0
5007 teststring="ABCD"
5008
5009 case $build_os in
5010 msdosdjgpp*)
5011 # On DJGPP, this test can blow up pretty badly due to problems in libc
5012 # (any single argument exceeding 2000 bytes causes a buffer overrun
5013 # during glob expansion). Even if it were fixed, the result of this
5014 # check would be larger than it should be.
5015 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5016 ;;
5017
5018 gnu*)
5019 # Under GNU Hurd, this test is not required because there is
5020 # no limit to the length of command line arguments.
5021 # Libtool will interpret -1 as no limit whatsoever
5022 lt_cv_sys_max_cmd_len=-1;
5023 ;;
5024
5025 cygwin* | mingw* | cegcc*)
5026 # On Win9x/ME, this test blows up -- it succeeds, but takes
5027 # about 5 minutes as the teststring grows exponentially.
5028 # Worse, since 9x/ME are not pre-emptively multitasking,
5029 # you end up with a "frozen" computer, even though with patience
5030 # the test eventually succeeds (with a max line length of 256k).
5031 # Instead, let's just punt: use the minimum linelength reported by
5032 # all of the supported platforms: 8192 (on NT/2K/XP).
5033 lt_cv_sys_max_cmd_len=8192;
5034 ;;
5035
5036 amigaos*)
5037 # On AmigaOS with pdksh, this test takes hours, literally.
5038 # So we just punt and use a minimum line length of 8192.
5039 lt_cv_sys_max_cmd_len=8192;
5040 ;;
5041
5042 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5043 # This has been around since 386BSD, at least. Likely further.
5044 if test -x /sbin/sysctl; then
5045 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5046 elif test -x /usr/sbin/sysctl; then
5047 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5048 else
5049 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5050 fi
5051 # And add a safety zone
5052 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5053 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5054 ;;
5055
5056 interix*)
5057 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5058 lt_cv_sys_max_cmd_len=196608
5059 ;;
5060
5061 osf*)
5062 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5063 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5064 # nice to cause kernel panics so lets avoid the loop below.
5065 # First set a reasonable default.
5066 lt_cv_sys_max_cmd_len=16384
5067 #
5068 if test -x /sbin/sysconfig; then
5069 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5070 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5071 esac
5072 fi
5073 ;;
5074 sco3.2v5*)
5075 lt_cv_sys_max_cmd_len=102400
5076 ;;
5077 sysv5* | sco5v6* | sysv4.2uw2*)
5078 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5079 if test -n "$kargmax"; then
5080 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5081 else
5082 lt_cv_sys_max_cmd_len=32768
5083 fi
5084 ;;
5085 *)
5086 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5087 if test -n "$lt_cv_sys_max_cmd_len"; then
5088 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5089 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5090 else
5091 # Make teststring a little bigger before we do anything with it.
5092 # a 1K string should be a reasonable start.
5093 for i in 1 2 3 4 5 6 7 8 ; do
5094 teststring=$teststring$teststring
5095 done
5096 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5097 # If test is not a shell built-in, we'll probably end up computing a
5098 # maximum length that is only half of the actual maximum length, but
5099 # we can't tell.
5100 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5101 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5102 test $i != 17 # 1/2 MB should be enough
5103 do
5104 i=`expr $i + 1`
5105 teststring=$teststring$teststring
5106 done
5107 # Only check the string length outside the loop.
5108 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5109 teststring=
5110 # Add a significant safety factor because C++ compilers can tack on
5111 # massive amounts of additional arguments before passing them to the
5112 # linker. It appears as though 1/2 is a usable value.
5113 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5114 fi
5115 ;;
5116 esac
5117
5118 fi
5119
5120 if test -n $lt_cv_sys_max_cmd_len ; then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5122 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5123 else
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5125 $as_echo "none" >&6; }
5126 fi
5127 max_cmd_len=$lt_cv_sys_max_cmd_len
5128
5129
5130
5131
5132
5133
5134 : ${CP="cp -f"}
5135 : ${MV="mv -f"}
5136 : ${RM="rm -f"}
5137
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5139 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5140 # Try some XSI features
5141 xsi_shell=no
5142 ( _lt_dummy="a/b/c"
5143 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5144 = c,a/b,, \
5145 && eval 'test $(( 1 + 1 )) -eq 2 \
5146 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5147 && xsi_shell=yes
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5149 $as_echo "$xsi_shell" >&6; }
5150
5151
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5153 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5154 lt_shell_append=no
5155 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5156 >/dev/null 2>&1 \
5157 && lt_shell_append=yes
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5159 $as_echo "$lt_shell_append" >&6; }
5160
5161
5162 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5163 lt_unset=unset
5164 else
5165 lt_unset=false
5166 fi
5167
5168
5169
5170
5171
5172 # test EBCDIC or ASCII
5173 case `echo X|tr X '\101'` in
5174 A) # ASCII based system
5175 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5176 lt_SP2NL='tr \040 \012'
5177 lt_NL2SP='tr \015\012 \040\040'
5178 ;;
5179 *) # EBCDIC based system
5180 lt_SP2NL='tr \100 \n'
5181 lt_NL2SP='tr \r\n \100\100'
5182 ;;
5183 esac
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5194 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5195 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5196 $as_echo_n "(cached) " >&6
5197 else
5198 lt_cv_ld_reload_flag='-r'
5199 fi
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5201 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5202 reload_flag=$lt_cv_ld_reload_flag
5203 case $reload_flag in
5204 "" | " "*) ;;
5205 *) reload_flag=" $reload_flag" ;;
5206 esac
5207 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5208 case $host_os in
5209 darwin*)
5210 if test "$GCC" = yes; then
5211 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5212 else
5213 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5214 fi
5215 ;;
5216 esac
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226 if test -n "$ac_tool_prefix"; then
5227 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5228 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230 $as_echo_n "checking for $ac_word... " >&6; }
5231 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5232 $as_echo_n "(cached) " >&6
5233 else
5234 if test -n "$OBJDUMP"; then
5235 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5239 do
5240 IFS=$as_save_IFS
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5244 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 break 2
5247 fi
5248 done
5249 done
5250 IFS=$as_save_IFS
5251
5252 fi
5253 fi
5254 OBJDUMP=$ac_cv_prog_OBJDUMP
5255 if test -n "$OBJDUMP"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5257 $as_echo "$OBJDUMP" >&6; }
5258 else
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5261 fi
5262
5263
5264 fi
5265 if test -z "$ac_cv_prog_OBJDUMP"; then
5266 ac_ct_OBJDUMP=$OBJDUMP
5267 # Extract the first word of "objdump", so it can be a program name with args.
5268 set dummy objdump; ac_word=$2
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5272 $as_echo_n "(cached) " >&6
5273 else
5274 if test -n "$ac_ct_OBJDUMP"; then
5275 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5276 else
5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5278 for as_dir in $PATH
5279 do
5280 IFS=$as_save_IFS
5281 test -z "$as_dir" && as_dir=.
5282 for ac_exec_ext in '' $ac_executable_extensions; do
5283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5284 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5286 break 2
5287 fi
5288 done
5289 done
5290 IFS=$as_save_IFS
5291
5292 fi
5293 fi
5294 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5295 if test -n "$ac_ct_OBJDUMP"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5297 $as_echo "$ac_ct_OBJDUMP" >&6; }
5298 else
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300 $as_echo "no" >&6; }
5301 fi
5302
5303 if test "x$ac_ct_OBJDUMP" = x; then
5304 OBJDUMP="false"
5305 else
5306 case $cross_compiling:$ac_tool_warned in
5307 yes:)
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310 ac_tool_warned=yes ;;
5311 esac
5312 OBJDUMP=$ac_ct_OBJDUMP
5313 fi
5314 else
5315 OBJDUMP="$ac_cv_prog_OBJDUMP"
5316 fi
5317
5318 test -z "$OBJDUMP" && OBJDUMP=objdump
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5329 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5330 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5331 $as_echo_n "(cached) " >&6
5332 else
5333 lt_cv_file_magic_cmd='$MAGIC_CMD'
5334 lt_cv_file_magic_test_file=
5335 lt_cv_deplibs_check_method='unknown'
5336 # Need to set the preceding variable on all platforms that support
5337 # interlibrary dependencies.
5338 # 'none' -- dependencies not supported.
5339 # `unknown' -- same as none, but documents that we really don't know.
5340 # 'pass_all' -- all dependencies passed with no checks.
5341 # 'test_compile' -- check by making test program.
5342 # 'file_magic [[regex]]' -- check by looking for files in library path
5343 # which responds to the $file_magic_cmd with a given extended regex.
5344 # If you have `file' or equivalent on your system and you're not sure
5345 # whether `pass_all' will *always* work, you probably want this one.
5346
5347 case $host_os in
5348 aix[4-9]*)
5349 lt_cv_deplibs_check_method=pass_all
5350 ;;
5351
5352 beos*)
5353 lt_cv_deplibs_check_method=pass_all
5354 ;;
5355
5356 bsdi[45]*)
5357 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5358 lt_cv_file_magic_cmd='/usr/bin/file -L'
5359 lt_cv_file_magic_test_file=/shlib/libc.so
5360 ;;
5361
5362 cygwin*)
5363 # func_win32_libid is a shell function defined in ltmain.sh
5364 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5365 lt_cv_file_magic_cmd='func_win32_libid'
5366 ;;
5367
5368 mingw* | pw32*)
5369 # Base MSYS/MinGW do not provide the 'file' command needed by
5370 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5371 # unless we find 'file', for example because we are cross-compiling.
5372 if ( file / ) >/dev/null 2>&1; then
5373 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5374 lt_cv_file_magic_cmd='func_win32_libid'
5375 else
5376 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5377 lt_cv_file_magic_cmd='$OBJDUMP -f'
5378 fi
5379 ;;
5380
5381 cegcc)
5382 # use the weaker test based on 'objdump'. See mingw*.
5383 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5384 lt_cv_file_magic_cmd='$OBJDUMP -f'
5385 ;;
5386
5387 darwin* | rhapsody*)
5388 lt_cv_deplibs_check_method=pass_all
5389 ;;
5390
5391 freebsd* | dragonfly*)
5392 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5393 case $host_cpu in
5394 i*86 )
5395 # Not sure whether the presence of OpenBSD here was a mistake.
5396 # Let's accept both of them until this is cleared up.
5397 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5398 lt_cv_file_magic_cmd=/usr/bin/file
5399 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5400 ;;
5401 esac
5402 else
5403 lt_cv_deplibs_check_method=pass_all
5404 fi
5405 ;;
5406
5407 gnu*)
5408 lt_cv_deplibs_check_method=pass_all
5409 ;;
5410
5411 hpux10.20* | hpux11*)
5412 lt_cv_file_magic_cmd=/usr/bin/file
5413 case $host_cpu in
5414 ia64*)
5415 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5416 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5417 ;;
5418 hppa*64*)
5419 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5420 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5421 ;;
5422 *)
5423 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5424 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5425 ;;
5426 esac
5427 ;;
5428
5429 interix[3-9]*)
5430 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5431 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5432 ;;
5433
5434 irix5* | irix6* | nonstopux*)
5435 case $LD in
5436 *-32|*"-32 ") libmagic=32-bit;;
5437 *-n32|*"-n32 ") libmagic=N32;;
5438 *-64|*"-64 ") libmagic=64-bit;;
5439 *) libmagic=never-match;;
5440 esac
5441 lt_cv_deplibs_check_method=pass_all
5442 ;;
5443
5444 # This must be Linux ELF.
5445 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5446 lt_cv_deplibs_check_method=pass_all
5447 ;;
5448
5449 netbsd* | netbsdelf*-gnu)
5450 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5451 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5452 else
5453 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5454 fi
5455 ;;
5456
5457 newos6*)
5458 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5459 lt_cv_file_magic_cmd=/usr/bin/file
5460 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5461 ;;
5462
5463 *nto* | *qnx*)
5464 lt_cv_deplibs_check_method=pass_all
5465 ;;
5466
5467 openbsd*)
5468 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5469 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5470 else
5471 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5472 fi
5473 ;;
5474
5475 osf3* | osf4* | osf5*)
5476 lt_cv_deplibs_check_method=pass_all
5477 ;;
5478
5479 rdos*)
5480 lt_cv_deplibs_check_method=pass_all
5481 ;;
5482
5483 solaris*)
5484 lt_cv_deplibs_check_method=pass_all
5485 ;;
5486
5487 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5488 lt_cv_deplibs_check_method=pass_all
5489 ;;
5490
5491 sysv4 | sysv4.3*)
5492 case $host_vendor in
5493 motorola)
5494 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]'
5495 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5496 ;;
5497 ncr)
5498 lt_cv_deplibs_check_method=pass_all
5499 ;;
5500 sequent)
5501 lt_cv_file_magic_cmd='/bin/file'
5502 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5503 ;;
5504 sni)
5505 lt_cv_file_magic_cmd='/bin/file'
5506 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5507 lt_cv_file_magic_test_file=/lib/libc.so
5508 ;;
5509 siemens)
5510 lt_cv_deplibs_check_method=pass_all
5511 ;;
5512 pc)
5513 lt_cv_deplibs_check_method=pass_all
5514 ;;
5515 esac
5516 ;;
5517
5518 tpf*)
5519 lt_cv_deplibs_check_method=pass_all
5520 ;;
5521 esac
5522
5523 fi
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5525 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5526 file_magic_cmd=$lt_cv_file_magic_cmd
5527 deplibs_check_method=$lt_cv_deplibs_check_method
5528 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541 if test -n "$ac_tool_prefix"; then
5542 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5543 set dummy ${ac_tool_prefix}ar; ac_word=$2
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5545 $as_echo_n "checking for $ac_word... " >&6; }
5546 if test "${ac_cv_prog_AR+set}" = set; then :
5547 $as_echo_n "(cached) " >&6
5548 else
5549 if test -n "$AR"; then
5550 ac_cv_prog_AR="$AR" # Let the user override the test.
5551 else
5552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553 for as_dir in $PATH
5554 do
5555 IFS=$as_save_IFS
5556 test -z "$as_dir" && as_dir=.
5557 for ac_exec_ext in '' $ac_executable_extensions; do
5558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5559 ac_cv_prog_AR="${ac_tool_prefix}ar"
5560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5561 break 2
5562 fi
5563 done
5564 done
5565 IFS=$as_save_IFS
5566
5567 fi
5568 fi
5569 AR=$ac_cv_prog_AR
5570 if test -n "$AR"; then
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5572 $as_echo "$AR" >&6; }
5573 else
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5575 $as_echo "no" >&6; }
5576 fi
5577
5578
5579 fi
5580 if test -z "$ac_cv_prog_AR"; then
5581 ac_ct_AR=$AR
5582 # Extract the first word of "ar", so it can be a program name with args.
5583 set dummy ar; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 if test -n "$ac_ct_AR"; then
5590 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5591 else
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in $PATH
5594 do
5595 IFS=$as_save_IFS
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5599 ac_cv_prog_ac_ct_AR="ar"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 break 2
5602 fi
5603 done
5604 done
5605 IFS=$as_save_IFS
5606
5607 fi
5608 fi
5609 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5610 if test -n "$ac_ct_AR"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5612 $as_echo "$ac_ct_AR" >&6; }
5613 else
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5616 fi
5617
5618 if test "x$ac_ct_AR" = x; then
5619 AR="false"
5620 else
5621 case $cross_compiling:$ac_tool_warned in
5622 yes:)
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5625 ac_tool_warned=yes ;;
5626 esac
5627 AR=$ac_ct_AR
5628 fi
5629 else
5630 AR="$ac_cv_prog_AR"
5631 fi
5632
5633 test -z "$AR" && AR=ar
5634 test -z "$AR_FLAGS" && AR_FLAGS=cru
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646 if test -n "$ac_tool_prefix"; then
5647 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5648 set dummy ${ac_tool_prefix}strip; ac_word=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 $as_echo_n "checking for $ac_word... " >&6; }
5651 if test "${ac_cv_prog_STRIP+set}" = set; then :
5652 $as_echo_n "(cached) " >&6
5653 else
5654 if test -n "$STRIP"; then
5655 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5656 else
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 for as_dir in $PATH
5659 do
5660 IFS=$as_save_IFS
5661 test -z "$as_dir" && as_dir=.
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5664 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 break 2
5667 fi
5668 done
5669 done
5670 IFS=$as_save_IFS
5671
5672 fi
5673 fi
5674 STRIP=$ac_cv_prog_STRIP
5675 if test -n "$STRIP"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5677 $as_echo "$STRIP" >&6; }
5678 else
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5681 fi
5682
5683
5684 fi
5685 if test -z "$ac_cv_prog_STRIP"; then
5686 ac_ct_STRIP=$STRIP
5687 # Extract the first word of "strip", so it can be a program name with args.
5688 set dummy strip; ac_word=$2
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690 $as_echo_n "checking for $ac_word... " >&6; }
5691 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5692 $as_echo_n "(cached) " >&6
5693 else
5694 if test -n "$ac_ct_STRIP"; then
5695 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5696 else
5697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 for as_dir in $PATH
5699 do
5700 IFS=$as_save_IFS
5701 test -z "$as_dir" && as_dir=.
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5704 ac_cv_prog_ac_ct_STRIP="strip"
5705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706 break 2
5707 fi
5708 done
5709 done
5710 IFS=$as_save_IFS
5711
5712 fi
5713 fi
5714 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5715 if test -n "$ac_ct_STRIP"; then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5717 $as_echo "$ac_ct_STRIP" >&6; }
5718 else
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 $as_echo "no" >&6; }
5721 fi
5722
5723 if test "x$ac_ct_STRIP" = x; then
5724 STRIP=":"
5725 else
5726 case $cross_compiling:$ac_tool_warned in
5727 yes:)
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5730 ac_tool_warned=yes ;;
5731 esac
5732 STRIP=$ac_ct_STRIP
5733 fi
5734 else
5735 STRIP="$ac_cv_prog_STRIP"
5736 fi
5737
5738 test -z "$STRIP" && STRIP=:
5739
5740
5741
5742
5743
5744
5745 if test -n "$ac_tool_prefix"; then
5746 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5747 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5749 $as_echo_n "checking for $ac_word... " >&6; }
5750 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if test -n "$RANLIB"; then
5754 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5755 else
5756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5757 for as_dir in $PATH
5758 do
5759 IFS=$as_save_IFS
5760 test -z "$as_dir" && as_dir=.
5761 for ac_exec_ext in '' $ac_executable_extensions; do
5762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5763 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 break 2
5766 fi
5767 done
5768 done
5769 IFS=$as_save_IFS
5770
5771 fi
5772 fi
5773 RANLIB=$ac_cv_prog_RANLIB
5774 if test -n "$RANLIB"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5776 $as_echo "$RANLIB" >&6; }
5777 else
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779 $as_echo "no" >&6; }
5780 fi
5781
5782
5783 fi
5784 if test -z "$ac_cv_prog_RANLIB"; then
5785 ac_ct_RANLIB=$RANLIB
5786 # Extract the first word of "ranlib", so it can be a program name with args.
5787 set dummy ranlib; ac_word=$2
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5789 $as_echo_n "checking for $ac_word... " >&6; }
5790 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5791 $as_echo_n "(cached) " >&6
5792 else
5793 if test -n "$ac_ct_RANLIB"; then
5794 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5795 else
5796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5797 for as_dir in $PATH
5798 do
5799 IFS=$as_save_IFS
5800 test -z "$as_dir" && as_dir=.
5801 for ac_exec_ext in '' $ac_executable_extensions; do
5802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5803 ac_cv_prog_ac_ct_RANLIB="ranlib"
5804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5805 break 2
5806 fi
5807 done
5808 done
5809 IFS=$as_save_IFS
5810
5811 fi
5812 fi
5813 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5814 if test -n "$ac_ct_RANLIB"; then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5816 $as_echo "$ac_ct_RANLIB" >&6; }
5817 else
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5819 $as_echo "no" >&6; }
5820 fi
5821
5822 if test "x$ac_ct_RANLIB" = x; then
5823 RANLIB=":"
5824 else
5825 case $cross_compiling:$ac_tool_warned in
5826 yes:)
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5829 ac_tool_warned=yes ;;
5830 esac
5831 RANLIB=$ac_ct_RANLIB
5832 fi
5833 else
5834 RANLIB="$ac_cv_prog_RANLIB"
5835 fi
5836
5837 test -z "$RANLIB" && RANLIB=:
5838
5839
5840
5841
5842
5843
5844 # Determine commands to create old-style static archives.
5845 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5846 old_postinstall_cmds='chmod 644 $oldlib'
5847 old_postuninstall_cmds=
5848
5849 if test -n "$RANLIB"; then
5850 case $host_os in
5851 openbsd*)
5852 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5853 ;;
5854 *)
5855 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5856 ;;
5857 esac
5858 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5859 fi
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894 # If no C compiler was specified, use CC.
5895 LTCC=${LTCC-"$CC"}
5896
5897 # If no C compiler flags were specified, use CFLAGS.
5898 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5899
5900 # Allow CC to be a program name with arguments.
5901 compiler=$CC
5902
5903
5904 # Check for command to grab the raw symbol name followed by C symbol from nm.
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5906 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5907 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5908 $as_echo_n "(cached) " >&6
5909 else
5910
5911 # These are sane defaults that work on at least a few old systems.
5912 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5913
5914 # Character class describing NM global symbol codes.
5915 symcode='[BCDEGRST]'
5916
5917 # Regexp to match symbols that can be accessed directly from C.
5918 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5919
5920 # Define system-specific variables.
5921 case $host_os in
5922 aix*)
5923 symcode='[BCDT]'
5924 ;;
5925 cygwin* | mingw* | pw32* | cegcc*)
5926 symcode='[ABCDGISTW]'
5927 ;;
5928 hpux*)
5929 if test "$host_cpu" = ia64; then
5930 symcode='[ABCDEGRST]'
5931 fi
5932 ;;
5933 irix* | nonstopux*)
5934 symcode='[BCDEGRST]'
5935 ;;
5936 osf*)
5937 symcode='[BCDEGQRST]'
5938 ;;
5939 solaris*)
5940 symcode='[BDRT]'
5941 ;;
5942 sco3.2v5*)
5943 symcode='[DT]'
5944 ;;
5945 sysv4.2uw2*)
5946 symcode='[DT]'
5947 ;;
5948 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5949 symcode='[ABDT]'
5950 ;;
5951 sysv4)
5952 symcode='[DFNSTU]'
5953 ;;
5954 esac
5955
5956 # If we're using GNU nm, then use its standard symbol codes.
5957 case `$NM -V 2>&1` in
5958 *GNU* | *'with BFD'*)
5959 symcode='[ABCDGIRSTW]' ;;
5960 esac
5961
5962 # Transform an extracted symbol line into a proper C declaration.
5963 # Some systems (esp. on ia64) link data and code symbols differently,
5964 # so use this general approach.
5965 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5966
5967 # Transform an extracted symbol line into symbol name and symbol address
5968 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5969 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'"
5970
5971 # Handle CRLF in mingw tool chain
5972 opt_cr=
5973 case $build_os in
5974 mingw*)
5975 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5976 ;;
5977 esac
5978
5979 # Try without a prefix underscore, then with it.
5980 for ac_symprfx in "" "_"; do
5981
5982 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5983 symxfrm="\\1 $ac_symprfx\\2 \\2"
5984
5985 # Write the raw and C identifiers.
5986 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5987 # Fake it for dumpbin and say T for any non-static function
5988 # and D for any global variable.
5989 # Also find C++ and __fastcall symbols from MSVC++,
5990 # which start with @ or ?.
5991 lt_cv_sys_global_symbol_pipe="$AWK '"\
5992 " {last_section=section; section=\$ 3};"\
5993 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5994 " \$ 0!~/External *\|/{next};"\
5995 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5996 " {if(hide[section]) next};"\
5997 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5998 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5999 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6000 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6001 " ' prfx=^$ac_symprfx"
6002 else
6003 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6004 fi
6005
6006 # Check to see that the pipe works correctly.
6007 pipe_works=no
6008
6009 rm -f conftest*
6010 cat > conftest.$ac_ext <<_LT_EOF
6011 #ifdef __cplusplus
6012 extern "C" {
6013 #endif
6014 char nm_test_var;
6015 void nm_test_func(void);
6016 void nm_test_func(void){}
6017 #ifdef __cplusplus
6018 }
6019 #endif
6020 int main(){nm_test_var='a';nm_test_func();return(0);}
6021 _LT_EOF
6022
6023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6024 (eval $ac_compile) 2>&5
6025 ac_status=$?
6026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6027 test $ac_status = 0; }; then
6028 # Now try to grab the symbols.
6029 nlist=conftest.nm
6030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6031 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6032 ac_status=$?
6033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6034 test $ac_status = 0; } && test -s "$nlist"; then
6035 # Try sorting and uniquifying the output.
6036 if sort "$nlist" | uniq > "$nlist"T; then
6037 mv -f "$nlist"T "$nlist"
6038 else
6039 rm -f "$nlist"T
6040 fi
6041
6042 # Make sure that we snagged all the symbols we need.
6043 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6044 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6045 cat <<_LT_EOF > conftest.$ac_ext
6046 #ifdef __cplusplus
6047 extern "C" {
6048 #endif
6049
6050 _LT_EOF
6051 # Now generate the symbol file.
6052 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6053
6054 cat <<_LT_EOF >> conftest.$ac_ext
6055
6056 /* The mapping between symbol names and symbols. */
6057 const struct {
6058 const char *name;
6059 void *address;
6060 }
6061 lt__PROGRAM__LTX_preloaded_symbols[] =
6062 {
6063 { "@PROGRAM@", (void *) 0 },
6064 _LT_EOF
6065 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6066 cat <<\_LT_EOF >> conftest.$ac_ext
6067 {0, (void *) 0}
6068 };
6069
6070 /* This works around a problem in FreeBSD linker */
6071 #ifdef FREEBSD_WORKAROUND
6072 static const void *lt_preloaded_setup() {
6073 return lt__PROGRAM__LTX_preloaded_symbols;
6074 }
6075 #endif
6076
6077 #ifdef __cplusplus
6078 }
6079 #endif
6080 _LT_EOF
6081 # Now try linking the two files.
6082 mv conftest.$ac_objext conftstm.$ac_objext
6083 lt_save_LIBS="$LIBS"
6084 lt_save_CFLAGS="$CFLAGS"
6085 LIBS="conftstm.$ac_objext"
6086 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6088 (eval $ac_link) 2>&5
6089 ac_status=$?
6090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6091 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6092 pipe_works=yes
6093 fi
6094 LIBS="$lt_save_LIBS"
6095 CFLAGS="$lt_save_CFLAGS"
6096 else
6097 echo "cannot find nm_test_func in $nlist" >&5
6098 fi
6099 else
6100 echo "cannot find nm_test_var in $nlist" >&5
6101 fi
6102 else
6103 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6104 fi
6105 else
6106 echo "$progname: failed program was:" >&5
6107 cat conftest.$ac_ext >&5
6108 fi
6109 rm -rf conftest* conftst*
6110
6111 # Do not use the global_symbol_pipe unless it works.
6112 if test "$pipe_works" = yes; then
6113 break
6114 else
6115 lt_cv_sys_global_symbol_pipe=
6116 fi
6117 done
6118
6119 fi
6120
6121 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6122 lt_cv_sys_global_symbol_to_cdecl=
6123 fi
6124 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6126 $as_echo "failed" >&6; }
6127 else
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6129 $as_echo "ok" >&6; }
6130 fi
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154 # Check whether --enable-libtool-lock was given.
6155 if test "${enable_libtool_lock+set}" = set; then :
6156 enableval=$enable_libtool_lock;
6157 fi
6158
6159 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6160
6161 # Some flags need to be propagated to the compiler or linker for good
6162 # libtool support.
6163 case $host in
6164 ia64-*-hpux*)
6165 # Find out which ABI we are using.
6166 echo 'int i;' > conftest.$ac_ext
6167 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6168 (eval $ac_compile) 2>&5
6169 ac_status=$?
6170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6171 test $ac_status = 0; }; then
6172 case `/usr/bin/file conftest.$ac_objext` in
6173 *ELF-32*)
6174 HPUX_IA64_MODE="32"
6175 ;;
6176 *ELF-64*)
6177 HPUX_IA64_MODE="64"
6178 ;;
6179 esac
6180 fi
6181 rm -rf conftest*
6182 ;;
6183 *-*-irix6*)
6184 # Find out which ABI we are using.
6185 echo '#line 6185 "configure"' > conftest.$ac_ext
6186 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6187 (eval $ac_compile) 2>&5
6188 ac_status=$?
6189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6190 test $ac_status = 0; }; then
6191 if test "$lt_cv_prog_gnu_ld" = yes; then
6192 case `/usr/bin/file conftest.$ac_objext` in
6193 *32-bit*)
6194 LD="${LD-ld} -melf32bsmip"
6195 ;;
6196 *N32*)
6197 LD="${LD-ld} -melf32bmipn32"
6198 ;;
6199 *64-bit*)
6200 LD="${LD-ld} -melf64bmip"
6201 ;;
6202 esac
6203 else
6204 case `/usr/bin/file conftest.$ac_objext` in
6205 *32-bit*)
6206 LD="${LD-ld} -32"
6207 ;;
6208 *N32*)
6209 LD="${LD-ld} -n32"
6210 ;;
6211 *64-bit*)
6212 LD="${LD-ld} -64"
6213 ;;
6214 esac
6215 fi
6216 fi
6217 rm -rf conftest*
6218 ;;
6219
6220 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6221 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6222 # Find out which ABI we are using.
6223 echo 'int i;' > conftest.$ac_ext
6224 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6225 (eval $ac_compile) 2>&5
6226 ac_status=$?
6227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6228 test $ac_status = 0; }; then
6229 case `/usr/bin/file conftest.o` in
6230 *32-bit*)
6231 case $host in
6232 x86_64-*kfreebsd*-gnu)
6233 LD="${LD-ld} -m elf_i386_fbsd"
6234 ;;
6235 x86_64-*linux*)
6236 LD="${LD-ld} -m elf_i386"
6237 ;;
6238 ppc64-*linux*|powerpc64-*linux*)
6239 LD="${LD-ld} -m elf32ppclinux"
6240 ;;
6241 s390x-*linux*)
6242 LD="${LD-ld} -m elf_s390"
6243 ;;
6244 sparc64-*linux*)
6245 LD="${LD-ld} -m elf32_sparc"
6246 ;;
6247 esac
6248 ;;
6249 *64-bit*)
6250 case $host in
6251 x86_64-*kfreebsd*-gnu)
6252 LD="${LD-ld} -m elf_x86_64_fbsd"
6253 ;;
6254 x86_64-*linux*)
6255 LD="${LD-ld} -m elf_x86_64"
6256 ;;
6257 ppc*-*linux*|powerpc*-*linux*)
6258 LD="${LD-ld} -m elf64ppc"
6259 ;;
6260 s390*-*linux*|s390*-*tpf*)
6261 LD="${LD-ld} -m elf64_s390"
6262 ;;
6263 sparc*-*linux*)
6264 LD="${LD-ld} -m elf64_sparc"
6265 ;;
6266 esac
6267 ;;
6268 esac
6269 fi
6270 rm -rf conftest*
6271 ;;
6272
6273 *-*-sco3.2v5*)
6274 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6275 SAVE_CFLAGS="$CFLAGS"
6276 CFLAGS="$CFLAGS -belf"
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6278 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6279 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6280 $as_echo_n "(cached) " >&6
6281 else
6282 ac_ext=c
6283 ac_cpp='$CPP $CPPFLAGS'
6284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6287
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6289 /* end confdefs.h. */
6290
6291 int
6292 main ()
6293 {
6294
6295 ;
6296 return 0;
6297 }
6298 _ACEOF
6299 if ac_fn_c_try_link "$LINENO"; then :
6300 lt_cv_cc_needs_belf=yes
6301 else
6302 lt_cv_cc_needs_belf=no
6303 fi
6304 rm -f core conftest.err conftest.$ac_objext \
6305 conftest$ac_exeext conftest.$ac_ext
6306 ac_ext=c
6307 ac_cpp='$CPP $CPPFLAGS'
6308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6311
6312 fi
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6314 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6315 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6316 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6317 CFLAGS="$SAVE_CFLAGS"
6318 fi
6319 ;;
6320 sparc*-*solaris*)
6321 # Find out which ABI we are using.
6322 echo 'int i;' > conftest.$ac_ext
6323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6324 (eval $ac_compile) 2>&5
6325 ac_status=$?
6326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6327 test $ac_status = 0; }; then
6328 case `/usr/bin/file conftest.o` in
6329 *64-bit*)
6330 case $lt_cv_prog_gnu_ld in
6331 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6332 *)
6333 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6334 LD="${LD-ld} -64"
6335 fi
6336 ;;
6337 esac
6338 ;;
6339 esac
6340 fi
6341 rm -rf conftest*
6342 ;;
6343 esac
6344
6345 need_locks="$enable_libtool_lock"
6346
6347
6348 case $host_os in
6349 rhapsody* | darwin*)
6350 if test -n "$ac_tool_prefix"; then
6351 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6352 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6354 $as_echo_n "checking for $ac_word... " >&6; }
6355 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6356 $as_echo_n "(cached) " >&6
6357 else
6358 if test -n "$DSYMUTIL"; then
6359 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6360 else
6361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6362 for as_dir in $PATH
6363 do
6364 IFS=$as_save_IFS
6365 test -z "$as_dir" && as_dir=.
6366 for ac_exec_ext in '' $ac_executable_extensions; do
6367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6368 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6370 break 2
6371 fi
6372 done
6373 done
6374 IFS=$as_save_IFS
6375
6376 fi
6377 fi
6378 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6379 if test -n "$DSYMUTIL"; then
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6381 $as_echo "$DSYMUTIL" >&6; }
6382 else
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6384 $as_echo "no" >&6; }
6385 fi
6386
6387
6388 fi
6389 if test -z "$ac_cv_prog_DSYMUTIL"; then
6390 ac_ct_DSYMUTIL=$DSYMUTIL
6391 # Extract the first word of "dsymutil", so it can be a program name with args.
6392 set dummy dsymutil; ac_word=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 $as_echo_n "checking for $ac_word... " >&6; }
6395 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6396 $as_echo_n "(cached) " >&6
6397 else
6398 if test -n "$ac_ct_DSYMUTIL"; then
6399 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6400 else
6401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402 for as_dir in $PATH
6403 do
6404 IFS=$as_save_IFS
6405 test -z "$as_dir" && as_dir=.
6406 for ac_exec_ext in '' $ac_executable_extensions; do
6407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6408 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6410 break 2
6411 fi
6412 done
6413 done
6414 IFS=$as_save_IFS
6415
6416 fi
6417 fi
6418 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6419 if test -n "$ac_ct_DSYMUTIL"; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6421 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6422 else
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424 $as_echo "no" >&6; }
6425 fi
6426
6427 if test "x$ac_ct_DSYMUTIL" = x; then
6428 DSYMUTIL=":"
6429 else
6430 case $cross_compiling:$ac_tool_warned in
6431 yes:)
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6434 ac_tool_warned=yes ;;
6435 esac
6436 DSYMUTIL=$ac_ct_DSYMUTIL
6437 fi
6438 else
6439 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6440 fi
6441
6442 if test -n "$ac_tool_prefix"; then
6443 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6444 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446 $as_echo_n "checking for $ac_word... " >&6; }
6447 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6448 $as_echo_n "(cached) " >&6
6449 else
6450 if test -n "$NMEDIT"; then
6451 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6452 else
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 for as_dir in $PATH
6455 do
6456 IFS=$as_save_IFS
6457 test -z "$as_dir" && as_dir=.
6458 for ac_exec_ext in '' $ac_executable_extensions; do
6459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6460 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6462 break 2
6463 fi
6464 done
6465 done
6466 IFS=$as_save_IFS
6467
6468 fi
6469 fi
6470 NMEDIT=$ac_cv_prog_NMEDIT
6471 if test -n "$NMEDIT"; then
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6473 $as_echo "$NMEDIT" >&6; }
6474 else
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476 $as_echo "no" >&6; }
6477 fi
6478
6479
6480 fi
6481 if test -z "$ac_cv_prog_NMEDIT"; then
6482 ac_ct_NMEDIT=$NMEDIT
6483 # Extract the first word of "nmedit", so it can be a program name with args.
6484 set dummy nmedit; ac_word=$2
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6486 $as_echo_n "checking for $ac_word... " >&6; }
6487 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6488 $as_echo_n "(cached) " >&6
6489 else
6490 if test -n "$ac_ct_NMEDIT"; then
6491 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6492 else
6493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6494 for as_dir in $PATH
6495 do
6496 IFS=$as_save_IFS
6497 test -z "$as_dir" && as_dir=.
6498 for ac_exec_ext in '' $ac_executable_extensions; do
6499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6500 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6502 break 2
6503 fi
6504 done
6505 done
6506 IFS=$as_save_IFS
6507
6508 fi
6509 fi
6510 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6511 if test -n "$ac_ct_NMEDIT"; then
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6513 $as_echo "$ac_ct_NMEDIT" >&6; }
6514 else
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6516 $as_echo "no" >&6; }
6517 fi
6518
6519 if test "x$ac_ct_NMEDIT" = x; then
6520 NMEDIT=":"
6521 else
6522 case $cross_compiling:$ac_tool_warned in
6523 yes:)
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6526 ac_tool_warned=yes ;;
6527 esac
6528 NMEDIT=$ac_ct_NMEDIT
6529 fi
6530 else
6531 NMEDIT="$ac_cv_prog_NMEDIT"
6532 fi
6533
6534 if test -n "$ac_tool_prefix"; then
6535 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6536 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538 $as_echo_n "checking for $ac_word... " >&6; }
6539 if test "${ac_cv_prog_LIPO+set}" = set; then :
6540 $as_echo_n "(cached) " >&6
6541 else
6542 if test -n "$LIPO"; then
6543 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6544 else
6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546 for as_dir in $PATH
6547 do
6548 IFS=$as_save_IFS
6549 test -z "$as_dir" && as_dir=.
6550 for ac_exec_ext in '' $ac_executable_extensions; do
6551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6552 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6554 break 2
6555 fi
6556 done
6557 done
6558 IFS=$as_save_IFS
6559
6560 fi
6561 fi
6562 LIPO=$ac_cv_prog_LIPO
6563 if test -n "$LIPO"; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6565 $as_echo "$LIPO" >&6; }
6566 else
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568 $as_echo "no" >&6; }
6569 fi
6570
6571
6572 fi
6573 if test -z "$ac_cv_prog_LIPO"; then
6574 ac_ct_LIPO=$LIPO
6575 # Extract the first word of "lipo", so it can be a program name with args.
6576 set dummy lipo; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 $as_echo_n "checking for $ac_word... " >&6; }
6579 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6580 $as_echo_n "(cached) " >&6
6581 else
6582 if test -n "$ac_ct_LIPO"; then
6583 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6584 else
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6586 for as_dir in $PATH
6587 do
6588 IFS=$as_save_IFS
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6592 ac_cv_prog_ac_ct_LIPO="lipo"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6594 break 2
6595 fi
6596 done
6597 done
6598 IFS=$as_save_IFS
6599
6600 fi
6601 fi
6602 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6603 if test -n "$ac_ct_LIPO"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6605 $as_echo "$ac_ct_LIPO" >&6; }
6606 else
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 $as_echo "no" >&6; }
6609 fi
6610
6611 if test "x$ac_ct_LIPO" = x; then
6612 LIPO=":"
6613 else
6614 case $cross_compiling:$ac_tool_warned in
6615 yes:)
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6618 ac_tool_warned=yes ;;
6619 esac
6620 LIPO=$ac_ct_LIPO
6621 fi
6622 else
6623 LIPO="$ac_cv_prog_LIPO"
6624 fi
6625
6626 if test -n "$ac_tool_prefix"; then
6627 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6628 set dummy ${ac_tool_prefix}otool; ac_word=$2
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630 $as_echo_n "checking for $ac_word... " >&6; }
6631 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6632 $as_echo_n "(cached) " >&6
6633 else
6634 if test -n "$OTOOL"; then
6635 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6636 else
6637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638 for as_dir in $PATH
6639 do
6640 IFS=$as_save_IFS
6641 test -z "$as_dir" && as_dir=.
6642 for ac_exec_ext in '' $ac_executable_extensions; do
6643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6644 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6646 break 2
6647 fi
6648 done
6649 done
6650 IFS=$as_save_IFS
6651
6652 fi
6653 fi
6654 OTOOL=$ac_cv_prog_OTOOL
6655 if test -n "$OTOOL"; then
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6657 $as_echo "$OTOOL" >&6; }
6658 else
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660 $as_echo "no" >&6; }
6661 fi
6662
6663
6664 fi
6665 if test -z "$ac_cv_prog_OTOOL"; then
6666 ac_ct_OTOOL=$OTOOL
6667 # Extract the first word of "otool", so it can be a program name with args.
6668 set dummy otool; ac_word=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6670 $as_echo_n "checking for $ac_word... " >&6; }
6671 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6672 $as_echo_n "(cached) " >&6
6673 else
6674 if test -n "$ac_ct_OTOOL"; then
6675 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6676 else
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678 for as_dir in $PATH
6679 do
6680 IFS=$as_save_IFS
6681 test -z "$as_dir" && as_dir=.
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6684 ac_cv_prog_ac_ct_OTOOL="otool"
6685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6686 break 2
6687 fi
6688 done
6689 done
6690 IFS=$as_save_IFS
6691
6692 fi
6693 fi
6694 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6695 if test -n "$ac_ct_OTOOL"; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6697 $as_echo "$ac_ct_OTOOL" >&6; }
6698 else
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 $as_echo "no" >&6; }
6701 fi
6702
6703 if test "x$ac_ct_OTOOL" = x; then
6704 OTOOL=":"
6705 else
6706 case $cross_compiling:$ac_tool_warned in
6707 yes:)
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6709 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6710 ac_tool_warned=yes ;;
6711 esac
6712 OTOOL=$ac_ct_OTOOL
6713 fi
6714 else
6715 OTOOL="$ac_cv_prog_OTOOL"
6716 fi
6717
6718 if test -n "$ac_tool_prefix"; then
6719 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6720 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6722 $as_echo_n "checking for $ac_word... " >&6; }
6723 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6724 $as_echo_n "(cached) " >&6
6725 else
6726 if test -n "$OTOOL64"; then
6727 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6728 else
6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6730 for as_dir in $PATH
6731 do
6732 IFS=$as_save_IFS
6733 test -z "$as_dir" && as_dir=.
6734 for ac_exec_ext in '' $ac_executable_extensions; do
6735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6736 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6738 break 2
6739 fi
6740 done
6741 done
6742 IFS=$as_save_IFS
6743
6744 fi
6745 fi
6746 OTOOL64=$ac_cv_prog_OTOOL64
6747 if test -n "$OTOOL64"; then
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6749 $as_echo "$OTOOL64" >&6; }
6750 else
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6752 $as_echo "no" >&6; }
6753 fi
6754
6755
6756 fi
6757 if test -z "$ac_cv_prog_OTOOL64"; then
6758 ac_ct_OTOOL64=$OTOOL64
6759 # Extract the first word of "otool64", so it can be a program name with args.
6760 set dummy otool64; ac_word=$2
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6762 $as_echo_n "checking for $ac_word... " >&6; }
6763 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6764 $as_echo_n "(cached) " >&6
6765 else
6766 if test -n "$ac_ct_OTOOL64"; then
6767 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6768 else
6769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6770 for as_dir in $PATH
6771 do
6772 IFS=$as_save_IFS
6773 test -z "$as_dir" && as_dir=.
6774 for ac_exec_ext in '' $ac_executable_extensions; do
6775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6776 ac_cv_prog_ac_ct_OTOOL64="otool64"
6777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6778 break 2
6779 fi
6780 done
6781 done
6782 IFS=$as_save_IFS
6783
6784 fi
6785 fi
6786 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6787 if test -n "$ac_ct_OTOOL64"; then
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6789 $as_echo "$ac_ct_OTOOL64" >&6; }
6790 else
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6792 $as_echo "no" >&6; }
6793 fi
6794
6795 if test "x$ac_ct_OTOOL64" = x; then
6796 OTOOL64=":"
6797 else
6798 case $cross_compiling:$ac_tool_warned in
6799 yes:)
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6802 ac_tool_warned=yes ;;
6803 esac
6804 OTOOL64=$ac_ct_OTOOL64
6805 fi
6806 else
6807 OTOOL64="$ac_cv_prog_OTOOL64"
6808 fi
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6837 $as_echo_n "checking for -single_module linker flag... " >&6; }
6838 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6839 $as_echo_n "(cached) " >&6
6840 else
6841 lt_cv_apple_cc_single_mod=no
6842 if test -z "${LT_MULTI_MODULE}"; then
6843 # By default we will add the -single_module flag. You can override
6844 # by either setting the environment variable LT_MULTI_MODULE
6845 # non-empty at configure time, or by adding -multi_module to the
6846 # link flags.
6847 rm -rf libconftest.dylib*
6848 echo "int foo(void){return 1;}" > conftest.c
6849 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6850 -dynamiclib -Wl,-single_module conftest.c" >&5
6851 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6852 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6853 _lt_result=$?
6854 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6855 lt_cv_apple_cc_single_mod=yes
6856 else
6857 cat conftest.err >&5
6858 fi
6859 rm -rf libconftest.dylib*
6860 rm -f conftest.*
6861 fi
6862 fi
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6864 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6866 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6867 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6868 $as_echo_n "(cached) " >&6
6869 else
6870 lt_cv_ld_exported_symbols_list=no
6871 save_LDFLAGS=$LDFLAGS
6872 echo "_main" > conftest.sym
6873 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6875 /* end confdefs.h. */
6876
6877 int
6878 main ()
6879 {
6880
6881 ;
6882 return 0;
6883 }
6884 _ACEOF
6885 if ac_fn_c_try_link "$LINENO"; then :
6886 lt_cv_ld_exported_symbols_list=yes
6887 else
6888 lt_cv_ld_exported_symbols_list=no
6889 fi
6890 rm -f core conftest.err conftest.$ac_objext \
6891 conftest$ac_exeext conftest.$ac_ext
6892 LDFLAGS="$save_LDFLAGS"
6893
6894 fi
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6896 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6897 case $host_os in
6898 rhapsody* | darwin1.[012])
6899 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6900 darwin1.*)
6901 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6902 darwin*) # darwin 5.x on
6903 # if running on 10.5 or later, the deployment target defaults
6904 # to the OS version, if on x86, and 10.4, the deployment
6905 # target defaults to 10.4. Don't you love it?
6906 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6907 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6908 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6909 10.[012]*)
6910 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6911 10.*)
6912 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6913 esac
6914 ;;
6915 esac
6916 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6917 _lt_dar_single_mod='$single_module'
6918 fi
6919 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6920 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6921 else
6922 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6923 fi
6924 if test "$DSYMUTIL" != ":"; then
6925 _lt_dsymutil='~$DSYMUTIL $lib || :'
6926 else
6927 _lt_dsymutil=
6928 fi
6929 ;;
6930 esac
6931
6932 ac_ext=c
6933 ac_cpp='$CPP $CPPFLAGS'
6934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6938 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6939 # On Suns, sometimes $CPP names a directory.
6940 if test -n "$CPP" && test -d "$CPP"; then
6941 CPP=
6942 fi
6943 if test -z "$CPP"; then
6944 if test "${ac_cv_prog_CPP+set}" = set; then :
6945 $as_echo_n "(cached) " >&6
6946 else
6947 # Double quotes because CPP needs to be expanded
6948 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6949 do
6950 ac_preproc_ok=false
6951 for ac_c_preproc_warn_flag in '' yes
6952 do
6953 # Use a header file that comes with gcc, so configuring glibc
6954 # with a fresh cross-compiler works.
6955 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6956 # <limits.h> exists even on freestanding compilers.
6957 # On the NeXT, cc -E runs the code through the compiler's parser,
6958 # not just through cpp. "Syntax error" is here to catch this case.
6959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6961 #ifdef __STDC__
6962 # include <limits.h>
6963 #else
6964 # include <assert.h>
6965 #endif
6966 Syntax error
6967 _ACEOF
6968 if ac_fn_c_try_cpp "$LINENO"; then :
6969
6970 else
6971 # Broken: fails on valid input.
6972 continue
6973 fi
6974 rm -f conftest.err conftest.i conftest.$ac_ext
6975
6976 # OK, works on sane cases. Now check whether nonexistent headers
6977 # can be detected and how.
6978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6979 /* end confdefs.h. */
6980 #include <ac_nonexistent.h>
6981 _ACEOF
6982 if ac_fn_c_try_cpp "$LINENO"; then :
6983 # Broken: success on invalid input.
6984 continue
6985 else
6986 # Passes both tests.
6987 ac_preproc_ok=:
6988 break
6989 fi
6990 rm -f conftest.err conftest.i conftest.$ac_ext
6991
6992 done
6993 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6994 rm -f conftest.i conftest.err conftest.$ac_ext
6995 if $ac_preproc_ok; then :
6996 break
6997 fi
6998
6999 done
7000 ac_cv_prog_CPP=$CPP
7001
7002 fi
7003 CPP=$ac_cv_prog_CPP
7004 else
7005 ac_cv_prog_CPP=$CPP
7006 fi
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7008 $as_echo "$CPP" >&6; }
7009 ac_preproc_ok=false
7010 for ac_c_preproc_warn_flag in '' yes
7011 do
7012 # Use a header file that comes with gcc, so configuring glibc
7013 # with a fresh cross-compiler works.
7014 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7015 # <limits.h> exists even on freestanding compilers.
7016 # On the NeXT, cc -E runs the code through the compiler's parser,
7017 # not just through cpp. "Syntax error" is here to catch this case.
7018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7019 /* end confdefs.h. */
7020 #ifdef __STDC__
7021 # include <limits.h>
7022 #else
7023 # include <assert.h>
7024 #endif
7025 Syntax error
7026 _ACEOF
7027 if ac_fn_c_try_cpp "$LINENO"; then :
7028
7029 else
7030 # Broken: fails on valid input.
7031 continue
7032 fi
7033 rm -f conftest.err conftest.i conftest.$ac_ext
7034
7035 # OK, works on sane cases. Now check whether nonexistent headers
7036 # can be detected and how.
7037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7038 /* end confdefs.h. */
7039 #include <ac_nonexistent.h>
7040 _ACEOF
7041 if ac_fn_c_try_cpp "$LINENO"; then :
7042 # Broken: success on invalid input.
7043 continue
7044 else
7045 # Passes both tests.
7046 ac_preproc_ok=:
7047 break
7048 fi
7049 rm -f conftest.err conftest.i conftest.$ac_ext
7050
7051 done
7052 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7053 rm -f conftest.i conftest.err conftest.$ac_ext
7054 if $ac_preproc_ok; then :
7055
7056 else
7057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7059 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7060 See \`config.log' for more details" "$LINENO" 5 ; }
7061 fi
7062
7063 ac_ext=c
7064 ac_cpp='$CPP $CPPFLAGS'
7065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7068
7069
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7071 $as_echo_n "checking for ANSI C header files... " >&6; }
7072 if test "${ac_cv_header_stdc+set}" = set; then :
7073 $as_echo_n "(cached) " >&6
7074 else
7075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7076 /* end confdefs.h. */
7077 #include <stdlib.h>
7078 #include <stdarg.h>
7079 #include <string.h>
7080 #include <float.h>
7081
7082 int
7083 main ()
7084 {
7085
7086 ;
7087 return 0;
7088 }
7089 _ACEOF
7090 if ac_fn_c_try_compile "$LINENO"; then :
7091 ac_cv_header_stdc=yes
7092 else
7093 ac_cv_header_stdc=no
7094 fi
7095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7096
7097 if test $ac_cv_header_stdc = yes; then
7098 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7100 /* end confdefs.h. */
7101 #include <string.h>
7102
7103 _ACEOF
7104 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7105 $EGREP "memchr" >/dev/null 2>&1; then :
7106
7107 else
7108 ac_cv_header_stdc=no
7109 fi
7110 rm -f conftest*
7111
7112 fi
7113
7114 if test $ac_cv_header_stdc = yes; then
7115 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7117 /* end confdefs.h. */
7118 #include <stdlib.h>
7119
7120 _ACEOF
7121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7122 $EGREP "free" >/dev/null 2>&1; then :
7123
7124 else
7125 ac_cv_header_stdc=no
7126 fi
7127 rm -f conftest*
7128
7129 fi
7130
7131 if test $ac_cv_header_stdc = yes; then
7132 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7133 if test "$cross_compiling" = yes; then :
7134 :
7135 else
7136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7137 /* end confdefs.h. */
7138 #include <ctype.h>
7139 #include <stdlib.h>
7140 #if ((' ' & 0x0FF) == 0x020)
7141 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7142 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7143 #else
7144 # define ISLOWER(c) \
7145 (('a' <= (c) && (c) <= 'i') \
7146 || ('j' <= (c) && (c) <= 'r') \
7147 || ('s' <= (c) && (c) <= 'z'))
7148 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7149 #endif
7150
7151 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7152 int
7153 main ()
7154 {
7155 int i;
7156 for (i = 0; i < 256; i++)
7157 if (XOR (islower (i), ISLOWER (i))
7158 || toupper (i) != TOUPPER (i))
7159 return 2;
7160 return 0;
7161 }
7162 _ACEOF
7163 if ac_fn_c_try_run "$LINENO"; then :
7164
7165 else
7166 ac_cv_header_stdc=no
7167 fi
7168 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7169 conftest.$ac_objext conftest.beam conftest.$ac_ext
7170 fi
7171
7172 fi
7173 fi
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7175 $as_echo "$ac_cv_header_stdc" >&6; }
7176 if test $ac_cv_header_stdc = yes; then
7177
7178 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7179
7180 fi
7181
7182 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7183 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7184 inttypes.h stdint.h unistd.h
7185 do :
7186 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7187 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7188 "
7189 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7190 cat >>confdefs.h <<_ACEOF
7191 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7192 _ACEOF
7193
7194 fi
7195
7196 done
7197
7198
7199 for ac_header in dlfcn.h
7200 do :
7201 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7202 "
7203 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7204 cat >>confdefs.h <<_ACEOF
7205 #define HAVE_DLFCN_H 1
7206 _ACEOF
7207
7208 fi
7209
7210 done
7211
7212
7213
7214 ac_ext=cpp
7215 ac_cpp='$CXXCPP $CPPFLAGS'
7216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7219 if test -z "$CXX"; then
7220 if test -n "$CCC"; then
7221 CXX=$CCC
7222 else
7223 if test -n "$ac_tool_prefix"; then
7224 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7225 do
7226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7229 $as_echo_n "checking for $ac_word... " >&6; }
7230 if test "${ac_cv_prog_CXX+set}" = set; then :
7231 $as_echo_n "(cached) " >&6
7232 else
7233 if test -n "$CXX"; then
7234 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7235 else
7236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7237 for as_dir in $PATH
7238 do
7239 IFS=$as_save_IFS
7240 test -z "$as_dir" && as_dir=.
7241 for ac_exec_ext in '' $ac_executable_extensions; do
7242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7243 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7245 break 2
7246 fi
7247 done
7248 done
7249 IFS=$as_save_IFS
7250
7251 fi
7252 fi
7253 CXX=$ac_cv_prog_CXX
7254 if test -n "$CXX"; then
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7256 $as_echo "$CXX" >&6; }
7257 else
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 $as_echo "no" >&6; }
7260 fi
7261
7262
7263 test -n "$CXX" && break
7264 done
7265 fi
7266 if test -z "$CXX"; then
7267 ac_ct_CXX=$CXX
7268 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7269 do
7270 # Extract the first word of "$ac_prog", so it can be a program name with args.
7271 set dummy $ac_prog; ac_word=$2
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273 $as_echo_n "checking for $ac_word... " >&6; }
7274 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7275 $as_echo_n "(cached) " >&6
7276 else
7277 if test -n "$ac_ct_CXX"; then
7278 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7279 else
7280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281 for as_dir in $PATH
7282 do
7283 IFS=$as_save_IFS
7284 test -z "$as_dir" && as_dir=.
7285 for ac_exec_ext in '' $ac_executable_extensions; do
7286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7287 ac_cv_prog_ac_ct_CXX="$ac_prog"
7288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7289 break 2
7290 fi
7291 done
7292 done
7293 IFS=$as_save_IFS
7294
7295 fi
7296 fi
7297 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7298 if test -n "$ac_ct_CXX"; then
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7300 $as_echo "$ac_ct_CXX" >&6; }
7301 else
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303 $as_echo "no" >&6; }
7304 fi
7305
7306
7307 test -n "$ac_ct_CXX" && break
7308 done
7309
7310 if test "x$ac_ct_CXX" = x; then
7311 CXX="g++"
7312 else
7313 case $cross_compiling:$ac_tool_warned in
7314 yes:)
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7317 ac_tool_warned=yes ;;
7318 esac
7319 CXX=$ac_ct_CXX
7320 fi
7321 fi
7322
7323 fi
7324 fi
7325 # Provide some information about the compiler.
7326 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7327 set X $ac_compile
7328 ac_compiler=$2
7329 for ac_option in --version -v -V -qversion; do
7330 { { ac_try="$ac_compiler $ac_option >&5"
7331 case "(($ac_try" in
7332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7333 *) ac_try_echo=$ac_try;;
7334 esac
7335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7336 $as_echo "$ac_try_echo"; } >&5
7337 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7338 ac_status=$?
7339 if test -s conftest.err; then
7340 sed '10a\
7341 ... rest of stderr output deleted ...
7342 10q' conftest.err >conftest.er1
7343 cat conftest.er1 >&5
7344 fi
7345 rm -f conftest.er1 conftest.err
7346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7347 test $ac_status = 0; }
7348 done
7349
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7351 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7352 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
7353 $as_echo_n "(cached) " >&6
7354 else
7355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7356 /* end confdefs.h. */
7357
7358 int
7359 main ()
7360 {
7361 #ifndef __GNUC__
7362 choke me
7363 #endif
7364
7365 ;
7366 return 0;
7367 }
7368 _ACEOF
7369 if ac_fn_cxx_try_compile "$LINENO"; then :
7370 ac_compiler_gnu=yes
7371 else
7372 ac_compiler_gnu=no
7373 fi
7374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7375 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7376
7377 fi
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7379 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7380 if test $ac_compiler_gnu = yes; then
7381 GXX=yes
7382 else
7383 GXX=
7384 fi
7385 ac_test_CXXFLAGS=${CXXFLAGS+set}
7386 ac_save_CXXFLAGS=$CXXFLAGS
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7388 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7389 if test "${ac_cv_prog_cxx_g+set}" = set; then :
7390 $as_echo_n "(cached) " >&6
7391 else
7392 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7393 ac_cxx_werror_flag=yes
7394 ac_cv_prog_cxx_g=no
7395 CXXFLAGS="-g"
7396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7397 /* end confdefs.h. */
7398
7399 int
7400 main ()
7401 {
7402
7403 ;
7404 return 0;
7405 }
7406 _ACEOF
7407 if ac_fn_cxx_try_compile "$LINENO"; then :
7408 ac_cv_prog_cxx_g=yes
7409 else
7410 CXXFLAGS=""
7411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7412 /* end confdefs.h. */
7413
7414 int
7415 main ()
7416 {
7417
7418 ;
7419 return 0;
7420 }
7421 _ACEOF
7422 if ac_fn_cxx_try_compile "$LINENO"; then :
7423
7424 else
7425 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7426 CXXFLAGS="-g"
7427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7428 /* end confdefs.h. */
7429
7430 int
7431 main ()
7432 {
7433
7434 ;
7435 return 0;
7436 }
7437 _ACEOF
7438 if ac_fn_cxx_try_compile "$LINENO"; then :
7439 ac_cv_prog_cxx_g=yes
7440 fi
7441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7442 fi
7443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7444 fi
7445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7446 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7447 fi
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7449 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7450 if test "$ac_test_CXXFLAGS" = set; then
7451 CXXFLAGS=$ac_save_CXXFLAGS
7452 elif test $ac_cv_prog_cxx_g = yes; then
7453 if test "$GXX" = yes; then
7454 CXXFLAGS="-g -O2"
7455 else
7456 CXXFLAGS="-g"
7457 fi
7458 else
7459 if test "$GXX" = yes; then
7460 CXXFLAGS="-O2"
7461 else
7462 CXXFLAGS=
7463 fi
7464 fi
7465 ac_ext=c
7466 ac_cpp='$CPP $CPPFLAGS'
7467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7470
7471 depcc="$CXX" am_compiler_list=
7472
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7474 $as_echo_n "checking dependency style of $depcc... " >&6; }
7475 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
7476 $as_echo_n "(cached) " >&6
7477 else
7478 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7479 # We make a subdir and do the tests there. Otherwise we can end up
7480 # making bogus files that we don't know about and never remove. For
7481 # instance it was reported that on HP-UX the gcc test will end up
7482 # making a dummy file named `D' -- because `-MD' means `put the output
7483 # in D'.
7484 mkdir conftest.dir
7485 # Copy depcomp to subdir because otherwise we won't find it if we're
7486 # using a relative directory.
7487 cp "$am_depcomp" conftest.dir
7488 cd conftest.dir
7489 # We will build objects and dependencies in a subdirectory because
7490 # it helps to detect inapplicable dependency modes. For instance
7491 # both Tru64's cc and ICC support -MD to output dependencies as a
7492 # side effect of compilation, but ICC will put the dependencies in
7493 # the current directory while Tru64 will put them in the object
7494 # directory.
7495 mkdir sub
7496
7497 am_cv_CXX_dependencies_compiler_type=none
7498 if test "$am_compiler_list" = ""; then
7499 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7500 fi
7501 am__universal=false
7502 case " $depcc " in #(
7503 *\ -arch\ *\ -arch\ *) am__universal=true ;;
7504 esac
7505
7506 for depmode in $am_compiler_list; do
7507 # Setup a source with many dependencies, because some compilers
7508 # like to wrap large dependency lists on column 80 (with \), and
7509 # we should not choose a depcomp mode which is confused by this.
7510 #
7511 # We need to recreate these files for each test, as the compiler may
7512 # overwrite some of them when testing with obscure command lines.
7513 # This happens at least with the AIX C compiler.
7514 : > sub/conftest.c
7515 for i in 1 2 3 4 5 6; do
7516 echo '#include "conftst'$i'.h"' >> sub/conftest.c
7517 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7518 # Solaris 8's {/usr,}/bin/sh.
7519 touch sub/conftst$i.h
7520 done
7521 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7522
7523 # We check with `-c' and `-o' for the sake of the "dashmstdout"
7524 # mode. It turns out that the SunPro C++ compiler does not properly
7525 # handle `-M -o', and we need to detect this. Also, some Intel
7526 # versions had trouble with output in subdirs
7527 am__obj=sub/conftest.${OBJEXT-o}
7528 am__minus_obj="-o $am__obj"
7529 case $depmode in
7530 gcc)
7531 # This depmode causes a compiler race in universal mode.
7532 test "$am__universal" = false || continue
7533 ;;
7534 nosideeffect)
7535 # after this tag, mechanisms are not by side-effect, so they'll
7536 # only be used when explicitly requested
7537 if test "x$enable_dependency_tracking" = xyes; then
7538 continue
7539 else
7540 break
7541 fi
7542 ;;
7543 msvisualcpp | msvcmsys)
7544 # This compiler won't grok `-c -o', but also, the minuso test has
7545 # not run yet. These depmodes are late enough in the game, and
7546 # so weak that their functioning should not be impacted.
7547 am__obj=conftest.${OBJEXT-o}
7548 am__minus_obj=
7549 ;;
7550 none) break ;;
7551 esac
7552 if depmode=$depmode \
7553 source=sub/conftest.c object=$am__obj \
7554 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7555 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7556 >/dev/null 2>conftest.err &&
7557 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7558 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7559 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7560 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7561 # icc doesn't choke on unknown options, it will just issue warnings
7562 # or remarks (even with -Werror). So we grep stderr for any message
7563 # that says an option was ignored or not supported.
7564 # When given -MP, icc 7.0 and 7.1 complain thusly:
7565 # icc: Command line warning: ignoring option '-M'; no argument required
7566 # The diagnosis changed in icc 8.0:
7567 # icc: Command line remark: option '-MP' not supported
7568 if (grep 'ignoring option' conftest.err ||
7569 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7570 am_cv_CXX_dependencies_compiler_type=$depmode
7571 break
7572 fi
7573 fi
7574 done
7575
7576 cd ..
7577 rm -rf conftest.dir
7578 else
7579 am_cv_CXX_dependencies_compiler_type=none
7580 fi
7581
7582 fi
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7584 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7585 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7586
7587 if
7588 test "x$enable_dependency_tracking" != xno \
7589 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7590 am__fastdepCXX_TRUE=
7591 am__fastdepCXX_FALSE='#'
7592 else
7593 am__fastdepCXX_TRUE='#'
7594 am__fastdepCXX_FALSE=
7595 fi
7596
7597
7598 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7599 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7600 (test "X$CXX" != "Xg++"))) ; then
7601 ac_ext=cpp
7602 ac_cpp='$CXXCPP $CPPFLAGS'
7603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7607 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7608 if test -z "$CXXCPP"; then
7609 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7610 $as_echo_n "(cached) " >&6
7611 else
7612 # Double quotes because CXXCPP needs to be expanded
7613 for CXXCPP in "$CXX -E" "/lib/cpp"
7614 do
7615 ac_preproc_ok=false
7616 for ac_cxx_preproc_warn_flag in '' yes
7617 do
7618 # Use a header file that comes with gcc, so configuring glibc
7619 # with a fresh cross-compiler works.
7620 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7621 # <limits.h> exists even on freestanding compilers.
7622 # On the NeXT, cc -E runs the code through the compiler's parser,
7623 # not just through cpp. "Syntax error" is here to catch this case.
7624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7626 #ifdef __STDC__
7627 # include <limits.h>
7628 #else
7629 # include <assert.h>
7630 #endif
7631 Syntax error
7632 _ACEOF
7633 if ac_fn_cxx_try_cpp "$LINENO"; then :
7634
7635 else
7636 # Broken: fails on valid input.
7637 continue
7638 fi
7639 rm -f conftest.err conftest.i conftest.$ac_ext
7640
7641 # OK, works on sane cases. Now check whether nonexistent headers
7642 # can be detected and how.
7643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7644 /* end confdefs.h. */
7645 #include <ac_nonexistent.h>
7646 _ACEOF
7647 if ac_fn_cxx_try_cpp "$LINENO"; then :
7648 # Broken: success on invalid input.
7649 continue
7650 else
7651 # Passes both tests.
7652 ac_preproc_ok=:
7653 break
7654 fi
7655 rm -f conftest.err conftest.i conftest.$ac_ext
7656
7657 done
7658 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7659 rm -f conftest.i conftest.err conftest.$ac_ext
7660 if $ac_preproc_ok; then :
7661 break
7662 fi
7663
7664 done
7665 ac_cv_prog_CXXCPP=$CXXCPP
7666
7667 fi
7668 CXXCPP=$ac_cv_prog_CXXCPP
7669 else
7670 ac_cv_prog_CXXCPP=$CXXCPP
7671 fi
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7673 $as_echo "$CXXCPP" >&6; }
7674 ac_preproc_ok=false
7675 for ac_cxx_preproc_warn_flag in '' yes
7676 do
7677 # Use a header file that comes with gcc, so configuring glibc
7678 # with a fresh cross-compiler works.
7679 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7680 # <limits.h> exists even on freestanding compilers.
7681 # On the NeXT, cc -E runs the code through the compiler's parser,
7682 # not just through cpp. "Syntax error" is here to catch this case.
7683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7684 /* end confdefs.h. */
7685 #ifdef __STDC__
7686 # include <limits.h>
7687 #else
7688 # include <assert.h>
7689 #endif
7690 Syntax error
7691 _ACEOF
7692 if ac_fn_cxx_try_cpp "$LINENO"; then :
7693
7694 else
7695 # Broken: fails on valid input.
7696 continue
7697 fi
7698 rm -f conftest.err conftest.i conftest.$ac_ext
7699
7700 # OK, works on sane cases. Now check whether nonexistent headers
7701 # can be detected and how.
7702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7703 /* end confdefs.h. */
7704 #include <ac_nonexistent.h>
7705 _ACEOF
7706 if ac_fn_cxx_try_cpp "$LINENO"; then :
7707 # Broken: success on invalid input.
7708 continue
7709 else
7710 # Passes both tests.
7711 ac_preproc_ok=:
7712 break
7713 fi
7714 rm -f conftest.err conftest.i conftest.$ac_ext
7715
7716 done
7717 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7718 rm -f conftest.i conftest.err conftest.$ac_ext
7719 if $ac_preproc_ok; then :
7720
7721 else
7722 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7724 _lt_caught_CXX_error=yes; }
7725 fi
7726
7727 ac_ext=c
7728 ac_cpp='$CPP $CPPFLAGS'
7729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7732
7733 else
7734 _lt_caught_CXX_error=yes
7735 fi
7736
7737
7738
7739
7740
7741 # Set options
7742
7743
7744
7745 enable_dlopen=no
7746
7747
7748 enable_win32_dll=no
7749
7750
7751 # Check whether --enable-shared was given.
7752 if test "${enable_shared+set}" = set; then :
7753 enableval=$enable_shared; p=${PACKAGE-default}
7754 case $enableval in
7755 yes) enable_shared=yes ;;
7756 no) enable_shared=no ;;
7757 *)
7758 enable_shared=no
7759 # Look at the argument we got. We use all the common list separators.
7760 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7761 for pkg in $enableval; do
7762 IFS="$lt_save_ifs"
7763 if test "X$pkg" = "X$p"; then
7764 enable_shared=yes
7765 fi
7766 done
7767 IFS="$lt_save_ifs"
7768 ;;
7769 esac
7770 else
7771 enable_shared=yes
7772 fi
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782 # Check whether --enable-static was given.
7783 if test "${enable_static+set}" = set; then :
7784 enableval=$enable_static; p=${PACKAGE-default}
7785 case $enableval in
7786 yes) enable_static=yes ;;
7787 no) enable_static=no ;;
7788 *)
7789 enable_static=no
7790 # Look at the argument we got. We use all the common list separators.
7791 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7792 for pkg in $enableval; do
7793 IFS="$lt_save_ifs"
7794 if test "X$pkg" = "X$p"; then
7795 enable_static=yes
7796 fi
7797 done
7798 IFS="$lt_save_ifs"
7799 ;;
7800 esac
7801 else
7802 enable_static=yes
7803 fi
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814 # Check whether --with-pic was given.
7815 if test "${with_pic+set}" = set; then :
7816 withval=$with_pic; pic_mode="$withval"
7817 else
7818 pic_mode=default
7819 fi
7820
7821
7822 test -z "$pic_mode" && pic_mode=default
7823
7824
7825
7826
7827
7828
7829
7830 # Check whether --enable-fast-install was given.
7831 if test "${enable_fast_install+set}" = set; then :
7832 enableval=$enable_fast_install; p=${PACKAGE-default}
7833 case $enableval in
7834 yes) enable_fast_install=yes ;;
7835 no) enable_fast_install=no ;;
7836 *)
7837 enable_fast_install=no
7838 # Look at the argument we got. We use all the common list separators.
7839 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7840 for pkg in $enableval; do
7841 IFS="$lt_save_ifs"
7842 if test "X$pkg" = "X$p"; then
7843 enable_fast_install=yes
7844 fi
7845 done
7846 IFS="$lt_save_ifs"
7847 ;;
7848 esac
7849 else
7850 enable_fast_install=yes
7851 fi
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863 # This can be used to rebuild libtool when needed
7864 LIBTOOL_DEPS="$ltmain"
7865
7866 # Always use our own libtool.
7867 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893 test -z "$LN_S" && LN_S="ln -s"
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908 if test -n "${ZSH_VERSION+set}" ; then
7909 setopt NO_GLOB_SUBST
7910 fi
7911
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7913 $as_echo_n "checking for objdir... " >&6; }
7914 if test "${lt_cv_objdir+set}" = set; then :
7915 $as_echo_n "(cached) " >&6
7916 else
7917 rm -f .libs 2>/dev/null
7918 mkdir .libs 2>/dev/null
7919 if test -d .libs; then
7920 lt_cv_objdir=.libs
7921 else
7922 # MS-DOS does not allow filenames that begin with a dot.
7923 lt_cv_objdir=_libs
7924 fi
7925 rmdir .libs 2>/dev/null
7926 fi
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7928 $as_echo "$lt_cv_objdir" >&6; }
7929 objdir=$lt_cv_objdir
7930
7931
7932
7933
7934
7935 cat >>confdefs.h <<_ACEOF
7936 #define LT_OBJDIR "$lt_cv_objdir/"
7937 _ACEOF
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955 case $host_os in
7956 aix3*)
7957 # AIX sometimes has problems with the GCC collect2 program. For some
7958 # reason, if we set the COLLECT_NAMES environment variable, the problems
7959 # vanish in a puff of smoke.
7960 if test "X${COLLECT_NAMES+set}" != Xset; then
7961 COLLECT_NAMES=
7962 export COLLECT_NAMES
7963 fi
7964 ;;
7965 esac
7966
7967 # Sed substitution that helps us do robust quoting. It backslashifies
7968 # metacharacters that are still active within double-quoted strings.
7969 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7970
7971 # Same as above, but do not quote variable references.
7972 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7973
7974 # Sed substitution to delay expansion of an escaped shell variable in a
7975 # double_quote_subst'ed string.
7976 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7977
7978 # Sed substitution to delay expansion of an escaped single quote.
7979 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7980
7981 # Sed substitution to avoid accidental globbing in evaled expressions
7982 no_glob_subst='s/\*/\\\*/g'
7983
7984 # Global variables:
7985 ofile=libtool
7986 can_build_shared=yes
7987
7988 # All known linkers require a `.a' archive for static linking (except MSVC,
7989 # which needs '.lib').
7990 libext=a
7991
7992 with_gnu_ld="$lt_cv_prog_gnu_ld"
7993
7994 old_CC="$CC"
7995 old_CFLAGS="$CFLAGS"
7996
7997 # Set sane defaults for various variables
7998 test -z "$CC" && CC=cc
7999 test -z "$LTCC" && LTCC=$CC
8000 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8001 test -z "$LD" && LD=ld
8002 test -z "$ac_objext" && ac_objext=o
8003
8004 for cc_temp in $compiler""; do
8005 case $cc_temp in
8006 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8007 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8008 \-*) ;;
8009 *) break;;
8010 esac
8011 done
8012 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8013
8014
8015 # Only perform the check for file, if the check method requires it
8016 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8017 case $deplibs_check_method in
8018 file_magic*)
8019 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8021 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8022 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8023 $as_echo_n "(cached) " >&6
8024 else
8025 case $MAGIC_CMD in
8026 [\\/*] | ?:[\\/]*)
8027 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8028 ;;
8029 *)
8030 lt_save_MAGIC_CMD="$MAGIC_CMD"
8031 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8032 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8033 for ac_dir in $ac_dummy; do
8034 IFS="$lt_save_ifs"
8035 test -z "$ac_dir" && ac_dir=.
8036 if test -f $ac_dir/${ac_tool_prefix}file; then
8037 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8038 if test -n "$file_magic_test_file"; then
8039 case $deplibs_check_method in
8040 "file_magic "*)
8041 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8042 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8043 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8044 $EGREP "$file_magic_regex" > /dev/null; then
8045 :
8046 else
8047 cat <<_LT_EOF 1>&2
8048
8049 *** Warning: the command libtool uses to detect shared libraries,
8050 *** $file_magic_cmd, produces output that libtool cannot recognize.
8051 *** The result is that libtool may fail to recognize shared libraries
8052 *** as such. This will affect the creation of libtool libraries that
8053 *** depend on shared libraries, but programs linked with such libtool
8054 *** libraries will work regardless of this problem. Nevertheless, you
8055 *** may want to report the problem to your system manager and/or to
8056 *** [email protected]
8057
8058 _LT_EOF
8059 fi ;;
8060 esac
8061 fi
8062 break
8063 fi
8064 done
8065 IFS="$lt_save_ifs"
8066 MAGIC_CMD="$lt_save_MAGIC_CMD"
8067 ;;
8068 esac
8069 fi
8070
8071 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8072 if test -n "$MAGIC_CMD"; then
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8074 $as_echo "$MAGIC_CMD" >&6; }
8075 else
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077 $as_echo "no" >&6; }
8078 fi
8079
8080
8081
8082
8083
8084 if test -z "$lt_cv_path_MAGIC_CMD"; then
8085 if test -n "$ac_tool_prefix"; then
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8087 $as_echo_n "checking for file... " >&6; }
8088 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8089 $as_echo_n "(cached) " >&6
8090 else
8091 case $MAGIC_CMD in
8092 [\\/*] | ?:[\\/]*)
8093 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8094 ;;
8095 *)
8096 lt_save_MAGIC_CMD="$MAGIC_CMD"
8097 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8098 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8099 for ac_dir in $ac_dummy; do
8100 IFS="$lt_save_ifs"
8101 test -z "$ac_dir" && ac_dir=.
8102 if test -f $ac_dir/file; then
8103 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8104 if test -n "$file_magic_test_file"; then
8105 case $deplibs_check_method in
8106 "file_magic "*)
8107 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8108 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8109 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8110 $EGREP "$file_magic_regex" > /dev/null; then
8111 :
8112 else
8113 cat <<_LT_EOF 1>&2
8114
8115 *** Warning: the command libtool uses to detect shared libraries,
8116 *** $file_magic_cmd, produces output that libtool cannot recognize.
8117 *** The result is that libtool may fail to recognize shared libraries
8118 *** as such. This will affect the creation of libtool libraries that
8119 *** depend on shared libraries, but programs linked with such libtool
8120 *** libraries will work regardless of this problem. Nevertheless, you
8121 *** may want to report the problem to your system manager and/or to
8122 *** [email protected]
8123
8124 _LT_EOF
8125 fi ;;
8126 esac
8127 fi
8128 break
8129 fi
8130 done
8131 IFS="$lt_save_ifs"
8132 MAGIC_CMD="$lt_save_MAGIC_CMD"
8133 ;;
8134 esac
8135 fi
8136
8137 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8138 if test -n "$MAGIC_CMD"; then
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8140 $as_echo "$MAGIC_CMD" >&6; }
8141 else
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8143 $as_echo "no" >&6; }
8144 fi
8145
8146
8147 else
8148 MAGIC_CMD=:
8149 fi
8150 fi
8151
8152 fi
8153 ;;
8154 esac
8155
8156 # Use C for the default configuration in the libtool script
8157
8158 lt_save_CC="$CC"
8159 ac_ext=c
8160 ac_cpp='$CPP $CPPFLAGS'
8161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8164
8165
8166 # Source file extension for C test sources.
8167 ac_ext=c
8168
8169 # Object file extension for compiled C test sources.
8170 objext=o
8171 objext=$objext
8172
8173 # Code to be used in simple compile tests
8174 lt_simple_compile_test_code="int some_variable = 0;"
8175
8176 # Code to be used in simple link tests
8177 lt_simple_link_test_code='int main(){return(0);}'
8178
8179
8180
8181
8182
8183
8184
8185 # If no C compiler was specified, use CC.
8186 LTCC=${LTCC-"$CC"}
8187
8188 # If no C compiler flags were specified, use CFLAGS.
8189 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8190
8191 # Allow CC to be a program name with arguments.
8192 compiler=$CC
8193
8194 # Save the default compiler, since it gets overwritten when the other
8195 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8196 compiler_DEFAULT=$CC
8197
8198 # save warnings/boilerplate of simple test code
8199 ac_outfile=conftest.$ac_objext
8200 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8201 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8202 _lt_compiler_boilerplate=`cat conftest.err`
8203 $RM conftest*
8204
8205 ac_outfile=conftest.$ac_objext
8206 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8207 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8208 _lt_linker_boilerplate=`cat conftest.err`
8209 $RM -r conftest*
8210
8211
8212 ## CAVEAT EMPTOR:
8213 ## There is no encapsulation within the following macros, do not change
8214 ## the running order or otherwise move them around unless you know exactly
8215 ## what you are doing...
8216 if test -n "$compiler"; then
8217
8218 lt_prog_compiler_no_builtin_flag=
8219
8220 if test "$GCC" = yes; then
8221 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8222
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8224 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8225 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8226 $as_echo_n "(cached) " >&6
8227 else
8228 lt_cv_prog_compiler_rtti_exceptions=no
8229 ac_outfile=conftest.$ac_objext
8230 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8231 lt_compiler_flag="-fno-rtti -fno-exceptions"
8232 # Insert the option either (1) after the last *FLAGS variable, or
8233 # (2) before a word containing "conftest.", or (3) at the end.
8234 # Note that $ac_compile itself does not contain backslashes and begins
8235 # with a dollar sign (not a hyphen), so the echo should work correctly.
8236 # The option is referenced via a variable to avoid confusing sed.
8237 lt_compile=`echo "$ac_compile" | $SED \
8238 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8239 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8240 -e 's:$: $lt_compiler_flag:'`
8241 (eval echo "\"\$as_me:8241: $lt_compile\"" >&5)
8242 (eval "$lt_compile" 2>conftest.err)
8243 ac_status=$?
8244 cat conftest.err >&5
8245 echo "$as_me:8245: \$? = $ac_status" >&5
8246 if (exit $ac_status) && test -s "$ac_outfile"; then
8247 # The compiler can only warn and ignore the option if not recognized
8248 # So say no if there are warnings other than the usual output.
8249 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8250 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8251 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8252 lt_cv_prog_compiler_rtti_exceptions=yes
8253 fi
8254 fi
8255 $RM conftest*
8256
8257 fi
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8259 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8260
8261 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8262 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8263 else
8264 :
8265 fi
8266
8267 fi
8268
8269
8270
8271
8272
8273
8274 lt_prog_compiler_wl=
8275 lt_prog_compiler_pic=
8276 lt_prog_compiler_static=
8277
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8279 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8280
8281 if test "$GCC" = yes; then
8282 lt_prog_compiler_wl='-Wl,'
8283 lt_prog_compiler_static='-static'
8284
8285 case $host_os in
8286 aix*)
8287 # All AIX code is PIC.
8288 if test "$host_cpu" = ia64; then
8289 # AIX 5 now supports IA64 processor
8290 lt_prog_compiler_static='-Bstatic'
8291 fi
8292 ;;
8293
8294 amigaos*)
8295 case $host_cpu in
8296 powerpc)
8297 # see comment about AmigaOS4 .so support
8298 lt_prog_compiler_pic='-fPIC'
8299 ;;
8300 m68k)
8301 # FIXME: we need at least 68020 code to build shared libraries, but
8302 # adding the `-m68020' flag to GCC prevents building anything better,
8303 # like `-m68040'.
8304 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8305 ;;
8306 esac
8307 ;;
8308
8309 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8310 # PIC is the default for these OSes.
8311 ;;
8312
8313 mingw* | cygwin* | pw32* | os2* | cegcc*)
8314 # This hack is so that the source file can tell whether it is being
8315 # built for inclusion in a dll (and should export symbols for example).
8316 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8317 # (--disable-auto-import) libraries
8318 lt_prog_compiler_pic='-DDLL_EXPORT'
8319 ;;
8320
8321 darwin* | rhapsody*)
8322 # PIC is the default on this platform
8323 # Common symbols not allowed in MH_DYLIB files
8324 lt_prog_compiler_pic='-fno-common'
8325 ;;
8326
8327 hpux*)
8328 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8329 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8330 # sets the default TLS model and affects inlining.
8331 case $host_cpu in
8332 hppa*64*)
8333 # +Z the default
8334 ;;
8335 *)
8336 lt_prog_compiler_pic='-fPIC'
8337 ;;
8338 esac
8339 ;;
8340
8341 interix[3-9]*)
8342 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8343 # Instead, we relocate shared libraries at runtime.
8344 ;;
8345
8346 msdosdjgpp*)
8347 # Just because we use GCC doesn't mean we suddenly get shared libraries
8348 # on systems that don't support them.
8349 lt_prog_compiler_can_build_shared=no
8350 enable_shared=no
8351 ;;
8352
8353 *nto* | *qnx*)
8354 # QNX uses GNU C++, but need to define -shared option too, otherwise
8355 # it will coredump.
8356 lt_prog_compiler_pic='-fPIC -shared'
8357 ;;
8358
8359 sysv4*MP*)
8360 if test -d /usr/nec; then
8361 lt_prog_compiler_pic=-Kconform_pic
8362 fi
8363 ;;
8364
8365 *)
8366 lt_prog_compiler_pic='-fPIC'
8367 ;;
8368 esac
8369 else
8370 # PORTME Check for flag to pass linker flags through the system compiler.
8371 case $host_os in
8372 aix*)
8373 lt_prog_compiler_wl='-Wl,'
8374 if test "$host_cpu" = ia64; then
8375 # AIX 5 now supports IA64 processor
8376 lt_prog_compiler_static='-Bstatic'
8377 else
8378 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8379 fi
8380 ;;
8381
8382 mingw* | cygwin* | pw32* | os2* | cegcc*)
8383 # This hack is so that the source file can tell whether it is being
8384 # built for inclusion in a dll (and should export symbols for example).
8385 lt_prog_compiler_pic='-DDLL_EXPORT'
8386 ;;
8387
8388 hpux9* | hpux10* | hpux11*)
8389 lt_prog_compiler_wl='-Wl,'
8390 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8391 # not for PA HP-UX.
8392 case $host_cpu in
8393 hppa*64*|ia64*)
8394 # +Z the default
8395 ;;
8396 *)
8397 lt_prog_compiler_pic='+Z'
8398 ;;
8399 esac
8400 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8401 lt_prog_compiler_static='${wl}-a ${wl}archive'
8402 ;;
8403
8404 irix5* | irix6* | nonstopux*)
8405 lt_prog_compiler_wl='-Wl,'
8406 # PIC (with -KPIC) is the default.
8407 lt_prog_compiler_static='-non_shared'
8408 ;;
8409
8410 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8411 case $cc_basename in
8412 # old Intel for x86_64 which still supported -KPIC.
8413 ecc*)
8414 lt_prog_compiler_wl='-Wl,'
8415 lt_prog_compiler_pic='-KPIC'
8416 lt_prog_compiler_static='-static'
8417 ;;
8418 # icc used to be incompatible with GCC.
8419 # ICC 10 doesn't accept -KPIC any more.
8420 icc* | ifort*)
8421 lt_prog_compiler_wl='-Wl,'
8422 lt_prog_compiler_pic='-fPIC'
8423 lt_prog_compiler_static='-static'
8424 ;;
8425 # Lahey Fortran 8.1.
8426 lf95*)
8427 lt_prog_compiler_wl='-Wl,'
8428 lt_prog_compiler_pic='--shared'
8429 lt_prog_compiler_static='--static'
8430 ;;
8431 pgcc* | pgf77* | pgf90* | pgf95*)
8432 # Portland Group compilers (*not* the Pentium gcc compiler,
8433 # which looks to be a dead project)
8434 lt_prog_compiler_wl='-Wl,'
8435 lt_prog_compiler_pic='-fpic'
8436 lt_prog_compiler_static='-Bstatic'
8437 ;;
8438 ccc*)
8439 lt_prog_compiler_wl='-Wl,'
8440 # All Alpha code is PIC.
8441 lt_prog_compiler_static='-non_shared'
8442 ;;
8443 xl*)
8444 # IBM XL C 8.0/Fortran 10.1 on PPC
8445 lt_prog_compiler_wl='-Wl,'
8446 lt_prog_compiler_pic='-qpic'
8447 lt_prog_compiler_static='-qstaticlink'
8448 ;;
8449 *)
8450 case `$CC -V 2>&1 | sed 5q` in
8451 *Sun\ C*)
8452 # Sun C 5.9
8453 lt_prog_compiler_pic='-KPIC'
8454 lt_prog_compiler_static='-Bstatic'
8455 lt_prog_compiler_wl='-Wl,'
8456 ;;
8457 *Sun\ F*)
8458 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8459 lt_prog_compiler_pic='-KPIC'
8460 lt_prog_compiler_static='-Bstatic'
8461 lt_prog_compiler_wl=''
8462 ;;
8463 esac
8464 ;;
8465 esac
8466 ;;
8467
8468 newsos6)
8469 lt_prog_compiler_pic='-KPIC'
8470 lt_prog_compiler_static='-Bstatic'
8471 ;;
8472
8473 *nto* | *qnx*)
8474 # QNX uses GNU C++, but need to define -shared option too, otherwise
8475 # it will coredump.
8476 lt_prog_compiler_pic='-fPIC -shared'
8477 ;;
8478
8479 osf3* | osf4* | osf5*)
8480 lt_prog_compiler_wl='-Wl,'
8481 # All OSF/1 code is PIC.
8482 lt_prog_compiler_static='-non_shared'
8483 ;;
8484
8485 rdos*)
8486 lt_prog_compiler_static='-non_shared'
8487 ;;
8488
8489 solaris*)
8490 lt_prog_compiler_pic='-KPIC'
8491 lt_prog_compiler_static='-Bstatic'
8492 case $cc_basename in
8493 f77* | f90* | f95*)
8494 lt_prog_compiler_wl='-Qoption ld ';;
8495 *)
8496 lt_prog_compiler_wl='-Wl,';;
8497 esac
8498 ;;
8499
8500 sunos4*)
8501 lt_prog_compiler_wl='-Qoption ld '
8502 lt_prog_compiler_pic='-PIC'
8503 lt_prog_compiler_static='-Bstatic'
8504 ;;
8505
8506 sysv4 | sysv4.2uw2* | sysv4.3*)
8507 lt_prog_compiler_wl='-Wl,'
8508 lt_prog_compiler_pic='-KPIC'
8509 lt_prog_compiler_static='-Bstatic'
8510 ;;
8511
8512 sysv4*MP*)
8513 if test -d /usr/nec ;then
8514 lt_prog_compiler_pic='-Kconform_pic'
8515 lt_prog_compiler_static='-Bstatic'
8516 fi
8517 ;;
8518
8519 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8520 lt_prog_compiler_wl='-Wl,'
8521 lt_prog_compiler_pic='-KPIC'
8522 lt_prog_compiler_static='-Bstatic'
8523 ;;
8524
8525 unicos*)
8526 lt_prog_compiler_wl='-Wl,'
8527 lt_prog_compiler_can_build_shared=no
8528 ;;
8529
8530 uts4*)
8531 lt_prog_compiler_pic='-pic'
8532 lt_prog_compiler_static='-Bstatic'
8533 ;;
8534
8535 *)
8536 lt_prog_compiler_can_build_shared=no
8537 ;;
8538 esac
8539 fi
8540
8541 case $host_os in
8542 # For platforms which do not support PIC, -DPIC is meaningless:
8543 *djgpp*)
8544 lt_prog_compiler_pic=
8545 ;;
8546 *)
8547 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8548 ;;
8549 esac
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8551 $as_echo "$lt_prog_compiler_pic" >&6; }
8552
8553
8554
8555
8556
8557
8558 #
8559 # Check to make sure the PIC flag actually works.
8560 #
8561 if test -n "$lt_prog_compiler_pic"; then
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8563 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8564 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8565 $as_echo_n "(cached) " >&6
8566 else
8567 lt_cv_prog_compiler_pic_works=no
8568 ac_outfile=conftest.$ac_objext
8569 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8570 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8571 # Insert the option either (1) after the last *FLAGS variable, or
8572 # (2) before a word containing "conftest.", or (3) at the end.
8573 # Note that $ac_compile itself does not contain backslashes and begins
8574 # with a dollar sign (not a hyphen), so the echo should work correctly.
8575 # The option is referenced via a variable to avoid confusing sed.
8576 lt_compile=`echo "$ac_compile" | $SED \
8577 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8578 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8579 -e 's:$: $lt_compiler_flag:'`
8580 (eval echo "\"\$as_me:8580: $lt_compile\"" >&5)
8581 (eval "$lt_compile" 2>conftest.err)
8582 ac_status=$?
8583 cat conftest.err >&5
8584 echo "$as_me:8584: \$? = $ac_status" >&5
8585 if (exit $ac_status) && test -s "$ac_outfile"; then
8586 # The compiler can only warn and ignore the option if not recognized
8587 # So say no if there are warnings other than the usual output.
8588 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8589 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8590 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8591 lt_cv_prog_compiler_pic_works=yes
8592 fi
8593 fi
8594 $RM conftest*
8595
8596 fi
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8598 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8599
8600 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8601 case $lt_prog_compiler_pic in
8602 "" | " "*) ;;
8603 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8604 esac
8605 else
8606 lt_prog_compiler_pic=
8607 lt_prog_compiler_can_build_shared=no
8608 fi
8609
8610 fi
8611
8612
8613
8614
8615
8616
8617 #
8618 # Check to make sure the static flag actually works.
8619 #
8620 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8622 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8623 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8624 $as_echo_n "(cached) " >&6
8625 else
8626 lt_cv_prog_compiler_static_works=no
8627 save_LDFLAGS="$LDFLAGS"
8628 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8629 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8630 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8631 # The linker can only warn and ignore the option if not recognized
8632 # So say no if there are warnings
8633 if test -s conftest.err; then
8634 # Append any errors to the config.log.
8635 cat conftest.err 1>&5
8636 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8637 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8638 if diff conftest.exp conftest.er2 >/dev/null; then
8639 lt_cv_prog_compiler_static_works=yes
8640 fi
8641 else
8642 lt_cv_prog_compiler_static_works=yes
8643 fi
8644 fi
8645 $RM -r conftest*
8646 LDFLAGS="$save_LDFLAGS"
8647
8648 fi
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8650 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8651
8652 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8653 :
8654 else
8655 lt_prog_compiler_static=
8656 fi
8657
8658
8659
8660
8661
8662
8663
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8665 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8666 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8667 $as_echo_n "(cached) " >&6
8668 else
8669 lt_cv_prog_compiler_c_o=no
8670 $RM -r conftest 2>/dev/null
8671 mkdir conftest
8672 cd conftest
8673 mkdir out
8674 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8675
8676 lt_compiler_flag="-o out/conftest2.$ac_objext"
8677 # Insert the option either (1) after the last *FLAGS variable, or
8678 # (2) before a word containing "conftest.", or (3) at the end.
8679 # Note that $ac_compile itself does not contain backslashes and begins
8680 # with a dollar sign (not a hyphen), so the echo should work correctly.
8681 lt_compile=`echo "$ac_compile" | $SED \
8682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8684 -e 's:$: $lt_compiler_flag:'`
8685 (eval echo "\"\$as_me:8685: $lt_compile\"" >&5)
8686 (eval "$lt_compile" 2>out/conftest.err)
8687 ac_status=$?
8688 cat out/conftest.err >&5
8689 echo "$as_me:8689: \$? = $ac_status" >&5
8690 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8691 then
8692 # The compiler can only warn and ignore the option if not recognized
8693 # So say no if there are warnings
8694 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8695 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8696 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8697 lt_cv_prog_compiler_c_o=yes
8698 fi
8699 fi
8700 chmod u+w . 2>&5
8701 $RM conftest*
8702 # SGI C++ compiler will create directory out/ii_files/ for
8703 # template instantiation
8704 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8705 $RM out/* && rmdir out
8706 cd ..
8707 $RM -r conftest
8708 $RM conftest*
8709
8710 fi
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8712 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8713
8714
8715
8716
8717
8718
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8720 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8721 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8722 $as_echo_n "(cached) " >&6
8723 else
8724 lt_cv_prog_compiler_c_o=no
8725 $RM -r conftest 2>/dev/null
8726 mkdir conftest
8727 cd conftest
8728 mkdir out
8729 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8730
8731 lt_compiler_flag="-o out/conftest2.$ac_objext"
8732 # Insert the option either (1) after the last *FLAGS variable, or
8733 # (2) before a word containing "conftest.", or (3) at the end.
8734 # Note that $ac_compile itself does not contain backslashes and begins
8735 # with a dollar sign (not a hyphen), so the echo should work correctly.
8736 lt_compile=`echo "$ac_compile" | $SED \
8737 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8738 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8739 -e 's:$: $lt_compiler_flag:'`
8740 (eval echo "\"\$as_me:8740: $lt_compile\"" >&5)
8741 (eval "$lt_compile" 2>out/conftest.err)
8742 ac_status=$?
8743 cat out/conftest.err >&5
8744 echo "$as_me:8744: \$? = $ac_status" >&5
8745 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8746 then
8747 # The compiler can only warn and ignore the option if not recognized
8748 # So say no if there are warnings
8749 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8750 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8751 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8752 lt_cv_prog_compiler_c_o=yes
8753 fi
8754 fi
8755 chmod u+w . 2>&5
8756 $RM conftest*
8757 # SGI C++ compiler will create directory out/ii_files/ for
8758 # template instantiation
8759 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8760 $RM out/* && rmdir out
8761 cd ..
8762 $RM -r conftest
8763 $RM conftest*
8764
8765 fi
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8767 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8768
8769
8770
8771
8772 hard_links="nottested"
8773 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8774 # do not overwrite the value of need_locks provided by the user
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8776 $as_echo_n "checking if we can lock with hard links... " >&6; }
8777 hard_links=yes
8778 $RM conftest*
8779 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8780 touch conftest.a
8781 ln conftest.a conftest.b 2>&5 || hard_links=no
8782 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8784 $as_echo "$hard_links" >&6; }
8785 if test "$hard_links" = no; then
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8787 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8788 need_locks=warn
8789 fi
8790 else
8791 need_locks=no
8792 fi
8793
8794
8795
8796
8797
8798
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8800 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8801
8802 runpath_var=
8803 allow_undefined_flag=
8804 always_export_symbols=no
8805 archive_cmds=
8806 archive_expsym_cmds=
8807 compiler_needs_object=no
8808 enable_shared_with_static_runtimes=no
8809 export_dynamic_flag_spec=
8810 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8811 hardcode_automatic=no
8812 hardcode_direct=no
8813 hardcode_direct_absolute=no
8814 hardcode_libdir_flag_spec=
8815 hardcode_libdir_flag_spec_ld=
8816 hardcode_libdir_separator=
8817 hardcode_minus_L=no
8818 hardcode_shlibpath_var=unsupported
8819 inherit_rpath=no
8820 link_all_deplibs=unknown
8821 module_cmds=
8822 module_expsym_cmds=
8823 old_archive_from_new_cmds=
8824 old_archive_from_expsyms_cmds=
8825 thread_safe_flag_spec=
8826 whole_archive_flag_spec=
8827 # include_expsyms should be a list of space-separated symbols to be *always*
8828 # included in the symbol list
8829 include_expsyms=
8830 # exclude_expsyms can be an extended regexp of symbols to exclude
8831 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8832 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8833 # as well as any symbol that contains `d'.
8834 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8835 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8836 # platforms (ab)use it in PIC code, but their linkers get confused if
8837 # the symbol is explicitly referenced. Since portable code cannot
8838 # rely on this symbol name, it's probably fine to never include it in
8839 # preloaded symbol tables.
8840 # Exclude shared library initialization/finalization symbols.
8841 extract_expsyms_cmds=
8842
8843 case $host_os in
8844 cygwin* | mingw* | pw32* | cegcc*)
8845 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8846 # When not using gcc, we currently assume that we are using
8847 # Microsoft Visual C++.
8848 if test "$GCC" != yes; then
8849 with_gnu_ld=no
8850 fi
8851 ;;
8852 interix*)
8853 # we just hope/assume this is gcc and not c89 (= MSVC++)
8854 with_gnu_ld=yes
8855 ;;
8856 openbsd*)
8857 with_gnu_ld=no
8858 ;;
8859 linux* | k*bsd*-gnu)
8860 link_all_deplibs=no
8861 ;;
8862 esac
8863
8864 ld_shlibs=yes
8865 if test "$with_gnu_ld" = yes; then
8866 # If archive_cmds runs LD, not CC, wlarc should be empty
8867 wlarc='${wl}'
8868
8869 # Set some defaults for GNU ld with shared library support. These
8870 # are reset later if shared libraries are not supported. Putting them
8871 # here allows them to be overridden if necessary.
8872 runpath_var=LD_RUN_PATH
8873 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8874 export_dynamic_flag_spec='${wl}--export-dynamic'
8875 # ancient GNU ld didn't support --whole-archive et. al.
8876 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8877 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8878 else
8879 whole_archive_flag_spec=
8880 fi
8881 supports_anon_versioning=no
8882 case `$LD -v 2>&1` in
8883 *GNU\ gold*) supports_anon_versioning=yes ;;
8884 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8885 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8886 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8887 *\ 2.11.*) ;; # other 2.11 versions
8888 *) supports_anon_versioning=yes ;;
8889 esac
8890
8891 # See if GNU ld supports shared libraries.
8892 case $host_os in
8893 aix[3-9]*)
8894 # On AIX/PPC, the GNU linker is very broken
8895 if test "$host_cpu" != ia64; then
8896 ld_shlibs=no
8897 cat <<_LT_EOF 1>&2
8898
8899 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8900 *** to be unable to reliably create shared libraries on AIX.
8901 *** Therefore, libtool is disabling shared libraries support. If you
8902 *** really care for shared libraries, you may want to modify your PATH
8903 *** so that a non-GNU linker is found, and then restart.
8904
8905 _LT_EOF
8906 fi
8907 ;;
8908
8909 amigaos*)
8910 case $host_cpu in
8911 powerpc)
8912 # see comment about AmigaOS4 .so support
8913 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8914 archive_expsym_cmds=''
8915 ;;
8916 m68k)
8917 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)'
8918 hardcode_libdir_flag_spec='-L$libdir'
8919 hardcode_minus_L=yes
8920 ;;
8921 esac
8922 ;;
8923
8924 beos*)
8925 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8926 allow_undefined_flag=unsupported
8927 # Joseph Beckenbach <[email protected]> says some releases of gcc
8928 # support --undefined. This deserves some investigation. FIXME
8929 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8930 else
8931 ld_shlibs=no
8932 fi
8933 ;;
8934
8935 cygwin* | mingw* | pw32* | cegcc*)
8936 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8937 # as there is no search path for DLLs.
8938 hardcode_libdir_flag_spec='-L$libdir'
8939 allow_undefined_flag=unsupported
8940 always_export_symbols=no
8941 enable_shared_with_static_runtimes=yes
8942 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8943
8944 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8945 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8946 # If the export-symbols file already is a .def file (1st line
8947 # is EXPORTS), use it as is; otherwise, prepend...
8948 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8949 cp $export_symbols $output_objdir/$soname.def;
8950 else
8951 echo EXPORTS > $output_objdir/$soname.def;
8952 cat $export_symbols >> $output_objdir/$soname.def;
8953 fi~
8954 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8955 else
8956 ld_shlibs=no
8957 fi
8958 ;;
8959
8960 interix[3-9]*)
8961 hardcode_direct=no
8962 hardcode_shlibpath_var=no
8963 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8964 export_dynamic_flag_spec='${wl}-E'
8965 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8966 # Instead, shared libraries are loaded at an image base (0x10000000 by
8967 # default) and relocated if they conflict, which is a slow very memory
8968 # consuming and fragmenting process. To avoid this, we pick a random,
8969 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8970 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8971 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8972 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'
8973 ;;
8974
8975 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8976 tmp_diet=no
8977 if test "$host_os" = linux-dietlibc; then
8978 case $cc_basename in
8979 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8980 esac
8981 fi
8982 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8983 && test "$tmp_diet" = no
8984 then
8985 tmp_addflag=
8986 tmp_sharedflag='-shared'
8987 case $cc_basename,$host_cpu in
8988 pgcc*) # Portland Group C compiler
8989 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8990 tmp_addflag=' $pic_flag'
8991 ;;
8992 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8993 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8994 tmp_addflag=' $pic_flag -Mnomain' ;;
8995 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8996 tmp_addflag=' -i_dynamic' ;;
8997 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8998 tmp_addflag=' -i_dynamic -nofor_main' ;;
8999 ifc* | ifort*) # Intel Fortran compiler
9000 tmp_addflag=' -nofor_main' ;;
9001 lf95*) # Lahey Fortran 8.1
9002 whole_archive_flag_spec=
9003 tmp_sharedflag='--shared' ;;
9004 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9005 tmp_sharedflag='-qmkshrobj'
9006 tmp_addflag= ;;
9007 esac
9008 case `$CC -V 2>&1 | sed 5q` in
9009 *Sun\ C*) # Sun C 5.9
9010 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9011 compiler_needs_object=yes
9012 tmp_sharedflag='-G' ;;
9013 *Sun\ F*) # Sun Fortran 8.3
9014 tmp_sharedflag='-G' ;;
9015 esac
9016 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9017
9018 if test "x$supports_anon_versioning" = xyes; then
9019 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9020 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9021 echo "local: *; };" >> $output_objdir/$libname.ver~
9022 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9023 fi
9024
9025 case $cc_basename in
9026 xlf*)
9027 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9028 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9029 hardcode_libdir_flag_spec=
9030 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9031 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9032 if test "x$supports_anon_versioning" = xyes; then
9033 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9034 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9035 echo "local: *; };" >> $output_objdir/$libname.ver~
9036 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9037 fi
9038 ;;
9039 esac
9040 else
9041 ld_shlibs=no
9042 fi
9043 ;;
9044
9045 netbsd* | netbsdelf*-gnu)
9046 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9047 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9048 wlarc=
9049 else
9050 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9051 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9052 fi
9053 ;;
9054
9055 solaris*)
9056 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9057 ld_shlibs=no
9058 cat <<_LT_EOF 1>&2
9059
9060 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9061 *** create shared libraries on Solaris systems. Therefore, libtool
9062 *** is disabling shared libraries support. We urge you to upgrade GNU
9063 *** binutils to release 2.9.1 or newer. Another option is to modify
9064 *** your PATH or compiler configuration so that the native linker is
9065 *** used, and then restart.
9066
9067 _LT_EOF
9068 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9069 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9070 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9071 else
9072 ld_shlibs=no
9073 fi
9074 ;;
9075
9076 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9077 case `$LD -v 2>&1` in
9078 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9079 ld_shlibs=no
9080 cat <<_LT_EOF 1>&2
9081
9082 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9083 *** reliably create shared libraries on SCO systems. Therefore, libtool
9084 *** is disabling shared libraries support. We urge you to upgrade GNU
9085 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9086 *** your PATH or compiler configuration so that the native linker is
9087 *** used, and then restart.
9088
9089 _LT_EOF
9090 ;;
9091 *)
9092 # For security reasons, it is highly recommended that you always
9093 # use absolute paths for naming shared libraries, and exclude the
9094 # DT_RUNPATH tag from executables and libraries. But doing so
9095 # requires that you compile everything twice, which is a pain.
9096 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9097 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9098 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9099 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9100 else
9101 ld_shlibs=no
9102 fi
9103 ;;
9104 esac
9105 ;;
9106
9107 sunos4*)
9108 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9109 wlarc=
9110 hardcode_direct=yes
9111 hardcode_shlibpath_var=no
9112 ;;
9113
9114 *)
9115 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9116 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9117 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9118 else
9119 ld_shlibs=no
9120 fi
9121 ;;
9122 esac
9123
9124 if test "$ld_shlibs" = no; then
9125 runpath_var=
9126 hardcode_libdir_flag_spec=
9127 export_dynamic_flag_spec=
9128 whole_archive_flag_spec=
9129 fi
9130 else
9131 # PORTME fill in a description of your system's linker (not GNU ld)
9132 case $host_os in
9133 aix3*)
9134 allow_undefined_flag=unsupported
9135 always_export_symbols=yes
9136 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'
9137 # Note: this linker hardcodes the directories in LIBPATH if there
9138 # are no directories specified by -L.
9139 hardcode_minus_L=yes
9140 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9141 # Neither direct hardcoding nor static linking is supported with a
9142 # broken collect2.
9143 hardcode_direct=unsupported
9144 fi
9145 ;;
9146
9147 aix[4-9]*)
9148 if test "$host_cpu" = ia64; then
9149 # On IA64, the linker does run time linking by default, so we don't
9150 # have to do anything special.
9151 aix_use_runtimelinking=no
9152 exp_sym_flag='-Bexport'
9153 no_entry_flag=""
9154 else
9155 # If we're using GNU nm, then we don't want the "-C" option.
9156 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9157 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9158 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9159 else
9160 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'
9161 fi
9162 aix_use_runtimelinking=no
9163
9164 # Test if we are trying to use run time linking or normal
9165 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9166 # need to do runtime linking.
9167 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9168 for ld_flag in $LDFLAGS; do
9169 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9170 aix_use_runtimelinking=yes
9171 break
9172 fi
9173 done
9174 ;;
9175 esac
9176
9177 exp_sym_flag='-bexport'
9178 no_entry_flag='-bnoentry'
9179 fi
9180
9181 # When large executables or shared objects are built, AIX ld can
9182 # have problems creating the table of contents. If linking a library
9183 # or program results in "error TOC overflow" add -mminimal-toc to
9184 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9185 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9186
9187 archive_cmds=''
9188 hardcode_direct=yes
9189 hardcode_direct_absolute=yes
9190 hardcode_libdir_separator=':'
9191 link_all_deplibs=yes
9192 file_list_spec='${wl}-f,'
9193
9194 if test "$GCC" = yes; then
9195 case $host_os in aix4.[012]|aix4.[012].*)
9196 # We only want to do this on AIX 4.2 and lower, the check
9197 # below for broken collect2 doesn't work under 4.3+
9198 collect2name=`${CC} -print-prog-name=collect2`
9199 if test -f "$collect2name" &&
9200 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9201 then
9202 # We have reworked collect2
9203 :
9204 else
9205 # We have old collect2
9206 hardcode_direct=unsupported
9207 # It fails to find uninstalled libraries when the uninstalled
9208 # path is not listed in the libpath. Setting hardcode_minus_L
9209 # to unsupported forces relinking
9210 hardcode_minus_L=yes
9211 hardcode_libdir_flag_spec='-L$libdir'
9212 hardcode_libdir_separator=
9213 fi
9214 ;;
9215 esac
9216 shared_flag='-shared'
9217 if test "$aix_use_runtimelinking" = yes; then
9218 shared_flag="$shared_flag "'${wl}-G'
9219 fi
9220 link_all_deplibs=no
9221 else
9222 # not using gcc
9223 if test "$host_cpu" = ia64; then
9224 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9225 # chokes on -Wl,-G. The following line is correct:
9226 shared_flag='-G'
9227 else
9228 if test "$aix_use_runtimelinking" = yes; then
9229 shared_flag='${wl}-G'
9230 else
9231 shared_flag='${wl}-bM:SRE'
9232 fi
9233 fi
9234 fi
9235
9236 export_dynamic_flag_spec='${wl}-bexpall'
9237 # It seems that -bexpall does not export symbols beginning with
9238 # underscore (_), so it is better to generate a list of symbols to export.
9239 always_export_symbols=yes
9240 if test "$aix_use_runtimelinking" = yes; then
9241 # Warning - without using the other runtime loading flags (-brtl),
9242 # -berok will link without error, but may produce a broken library.
9243 allow_undefined_flag='-berok'
9244 # Determine the default libpath from the value encoded in an
9245 # empty executable.
9246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9247 /* end confdefs.h. */
9248
9249 int
9250 main ()
9251 {
9252
9253 ;
9254 return 0;
9255 }
9256 _ACEOF
9257 if ac_fn_c_try_link "$LINENO"; then :
9258
9259 lt_aix_libpath_sed='
9260 /Import File Strings/,/^$/ {
9261 /^0/ {
9262 s/^0 *\(.*\)$/\1/
9263 p
9264 }
9265 }'
9266 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9267 # Check for a 64-bit object if we didn't find anything.
9268 if test -z "$aix_libpath"; then
9269 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9270 fi
9271 fi
9272 rm -f core conftest.err conftest.$ac_objext \
9273 conftest$ac_exeext conftest.$ac_ext
9274 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9275
9276 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9277 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9278 else
9279 if test "$host_cpu" = ia64; then
9280 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9281 allow_undefined_flag="-z nodefs"
9282 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"
9283 else
9284 # Determine the default libpath from the value encoded in an
9285 # empty executable.
9286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9287 /* end confdefs.h. */
9288
9289 int
9290 main ()
9291 {
9292
9293 ;
9294 return 0;
9295 }
9296 _ACEOF
9297 if ac_fn_c_try_link "$LINENO"; then :
9298
9299 lt_aix_libpath_sed='
9300 /Import File Strings/,/^$/ {
9301 /^0/ {
9302 s/^0 *\(.*\)$/\1/
9303 p
9304 }
9305 }'
9306 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9307 # Check for a 64-bit object if we didn't find anything.
9308 if test -z "$aix_libpath"; then
9309 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9310 fi
9311 fi
9312 rm -f core conftest.err conftest.$ac_objext \
9313 conftest$ac_exeext conftest.$ac_ext
9314 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9315
9316 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9317 # Warning - without using the other run time loading flags,
9318 # -berok will link without error, but may produce a broken library.
9319 no_undefined_flag=' ${wl}-bernotok'
9320 allow_undefined_flag=' ${wl}-berok'
9321 # Exported symbols can be pulled into shared objects from archives
9322 whole_archive_flag_spec='$convenience'
9323 archive_cmds_need_lc=yes
9324 # This is similar to how AIX traditionally builds its shared libraries.
9325 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'
9326 fi
9327 fi
9328 ;;
9329
9330 amigaos*)
9331 case $host_cpu in
9332 powerpc)
9333 # see comment about AmigaOS4 .so support
9334 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9335 archive_expsym_cmds=''
9336 ;;
9337 m68k)
9338 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)'
9339 hardcode_libdir_flag_spec='-L$libdir'
9340 hardcode_minus_L=yes
9341 ;;
9342 esac
9343 ;;
9344
9345 bsdi[45]*)
9346 export_dynamic_flag_spec=-rdynamic
9347 ;;
9348
9349 cygwin* | mingw* | pw32* | cegcc*)
9350 # When not using gcc, we currently assume that we are using
9351 # Microsoft Visual C++.
9352 # hardcode_libdir_flag_spec is actually meaningless, as there is
9353 # no search path for DLLs.
9354 hardcode_libdir_flag_spec=' '
9355 allow_undefined_flag=unsupported
9356 # Tell ltmain to make .lib files, not .a files.
9357 libext=lib
9358 # Tell ltmain to make .dll files, not .so files.
9359 shrext_cmds=".dll"
9360 # FIXME: Setting linknames here is a bad hack.
9361 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9362 # The linker will automatically build a .lib file if we build a DLL.
9363 old_archive_from_new_cmds='true'
9364 # FIXME: Should let the user specify the lib program.
9365 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9366 fix_srcfile_path='`cygpath -w "$srcfile"`'
9367 enable_shared_with_static_runtimes=yes
9368 ;;
9369
9370 darwin* | rhapsody*)
9371
9372
9373 archive_cmds_need_lc=no
9374 hardcode_direct=no
9375 hardcode_automatic=yes
9376 hardcode_shlibpath_var=unsupported
9377 whole_archive_flag_spec=''
9378 link_all_deplibs=yes
9379 allow_undefined_flag="$_lt_dar_allow_undefined"
9380 case $cc_basename in
9381 ifort*) _lt_dar_can_shared=yes ;;
9382 *) _lt_dar_can_shared=$GCC ;;
9383 esac
9384 if test "$_lt_dar_can_shared" = "yes"; then
9385 output_verbose_link_cmd=echo
9386 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9387 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9388 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}"
9389 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}"
9390
9391 else
9392 ld_shlibs=no
9393 fi
9394
9395 ;;
9396
9397 dgux*)
9398 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9399 hardcode_libdir_flag_spec='-L$libdir'
9400 hardcode_shlibpath_var=no
9401 ;;
9402
9403 freebsd1*)
9404 ld_shlibs=no
9405 ;;
9406
9407 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9408 # support. Future versions do this automatically, but an explicit c++rt0.o
9409 # does not break anything, and helps significantly (at the cost of a little
9410 # extra space).
9411 freebsd2.2*)
9412 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9413 hardcode_libdir_flag_spec='-R$libdir'
9414 hardcode_direct=yes
9415 hardcode_shlibpath_var=no
9416 ;;
9417
9418 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9419 freebsd2*)
9420 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9421 hardcode_direct=yes
9422 hardcode_minus_L=yes
9423 hardcode_shlibpath_var=no
9424 ;;
9425
9426 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9427 freebsd* | dragonfly*)
9428 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9429 hardcode_libdir_flag_spec='-R$libdir'
9430 hardcode_direct=yes
9431 hardcode_shlibpath_var=no
9432 ;;
9433
9434 hpux9*)
9435 if test "$GCC" = yes; then
9436 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9437 else
9438 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'
9439 fi
9440 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9441 hardcode_libdir_separator=:
9442 hardcode_direct=yes
9443
9444 # hardcode_minus_L: Not really in the search PATH,
9445 # but as the default location of the library.
9446 hardcode_minus_L=yes
9447 export_dynamic_flag_spec='${wl}-E'
9448 ;;
9449
9450 hpux10*)
9451 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9452 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9453 else
9454 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9455 fi
9456 if test "$with_gnu_ld" = no; then
9457 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9458 hardcode_libdir_flag_spec_ld='+b $libdir'
9459 hardcode_libdir_separator=:
9460 hardcode_direct=yes
9461 hardcode_direct_absolute=yes
9462 export_dynamic_flag_spec='${wl}-E'
9463 # hardcode_minus_L: Not really in the search PATH,
9464 # but as the default location of the library.
9465 hardcode_minus_L=yes
9466 fi
9467 ;;
9468
9469 hpux11*)
9470 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9471 case $host_cpu in
9472 hppa*64*)
9473 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9474 ;;
9475 ia64*)
9476 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9477 ;;
9478 *)
9479 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9480 ;;
9481 esac
9482 else
9483 case $host_cpu in
9484 hppa*64*)
9485 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9486 ;;
9487 ia64*)
9488 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9489 ;;
9490 *)
9491 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9492 ;;
9493 esac
9494 fi
9495 if test "$with_gnu_ld" = no; then
9496 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9497 hardcode_libdir_separator=:
9498
9499 case $host_cpu in
9500 hppa*64*|ia64*)
9501 hardcode_direct=no
9502 hardcode_shlibpath_var=no
9503 ;;
9504 *)
9505 hardcode_direct=yes
9506 hardcode_direct_absolute=yes
9507 export_dynamic_flag_spec='${wl}-E'
9508
9509 # hardcode_minus_L: Not really in the search PATH,
9510 # but as the default location of the library.
9511 hardcode_minus_L=yes
9512 ;;
9513 esac
9514 fi
9515 ;;
9516
9517 irix5* | irix6* | nonstopux*)
9518 if test "$GCC" = yes; then
9519 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9520 # Try to use the -exported_symbol ld option, if it does not
9521 # work, assume that -exports_file does not work either and
9522 # implicitly export all symbols.
9523 save_LDFLAGS="$LDFLAGS"
9524 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9527 int foo(void) {}
9528 _ACEOF
9529 if ac_fn_c_try_link "$LINENO"; then :
9530 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9531
9532 fi
9533 rm -f core conftest.err conftest.$ac_objext \
9534 conftest$ac_exeext conftest.$ac_ext
9535 LDFLAGS="$save_LDFLAGS"
9536 else
9537 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9538 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9539 fi
9540 archive_cmds_need_lc='no'
9541 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9542 hardcode_libdir_separator=:
9543 inherit_rpath=yes
9544 link_all_deplibs=yes
9545 ;;
9546
9547 netbsd* | netbsdelf*-gnu)
9548 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9549 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9550 else
9551 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9552 fi
9553 hardcode_libdir_flag_spec='-R$libdir'
9554 hardcode_direct=yes
9555 hardcode_shlibpath_var=no
9556 ;;
9557
9558 newsos6)
9559 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9560 hardcode_direct=yes
9561 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9562 hardcode_libdir_separator=:
9563 hardcode_shlibpath_var=no
9564 ;;
9565
9566 *nto* | *qnx*)
9567 ;;
9568
9569 openbsd*)
9570 if test -f /usr/libexec/ld.so; then
9571 hardcode_direct=yes
9572 hardcode_shlibpath_var=no
9573 hardcode_direct_absolute=yes
9574 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9575 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9576 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9577 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9578 export_dynamic_flag_spec='${wl}-E'
9579 else
9580 case $host_os in
9581 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9582 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9583 hardcode_libdir_flag_spec='-R$libdir'
9584 ;;
9585 *)
9586 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9587 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9588 ;;
9589 esac
9590 fi
9591 else
9592 ld_shlibs=no
9593 fi
9594 ;;
9595
9596 os2*)
9597 hardcode_libdir_flag_spec='-L$libdir'
9598 hardcode_minus_L=yes
9599 allow_undefined_flag=unsupported
9600 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'
9601 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9602 ;;
9603
9604 osf3*)
9605 if test "$GCC" = yes; then
9606 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9607 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9608 else
9609 allow_undefined_flag=' -expect_unresolved \*'
9610 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9611 fi
9612 archive_cmds_need_lc='no'
9613 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9614 hardcode_libdir_separator=:
9615 ;;
9616
9617 osf4* | osf5*) # as osf3* with the addition of -msym flag
9618 if test "$GCC" = yes; then
9619 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9620 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9621 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9622 else
9623 allow_undefined_flag=' -expect_unresolved \*'
9624 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9625 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~
9626 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9627
9628 # Both c and cxx compiler support -rpath directly
9629 hardcode_libdir_flag_spec='-rpath $libdir'
9630 fi
9631 archive_cmds_need_lc='no'
9632 hardcode_libdir_separator=:
9633 ;;
9634
9635 solaris*)
9636 no_undefined_flag=' -z defs'
9637 if test "$GCC" = yes; then
9638 wlarc='${wl}'
9639 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9640 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9641 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9642 else
9643 case `$CC -V 2>&1` in
9644 *"Compilers 5.0"*)
9645 wlarc=''
9646 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9647 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9648 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9649 ;;
9650 *)
9651 wlarc='${wl}'
9652 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9653 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9654 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9655 ;;
9656 esac
9657 fi
9658 hardcode_libdir_flag_spec='-R$libdir'
9659 hardcode_shlibpath_var=no
9660 case $host_os in
9661 solaris2.[0-5] | solaris2.[0-5].*) ;;
9662 *)
9663 # The compiler driver will combine and reorder linker options,
9664 # but understands `-z linker_flag'. GCC discards it without `$wl',
9665 # but is careful enough not to reorder.
9666 # Supported since Solaris 2.6 (maybe 2.5.1?)
9667 if test "$GCC" = yes; then
9668 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9669 else
9670 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9671 fi
9672 ;;
9673 esac
9674 link_all_deplibs=yes
9675 ;;
9676
9677 sunos4*)
9678 if test "x$host_vendor" = xsequent; then
9679 # Use $CC to link under sequent, because it throws in some extra .o
9680 # files that make .init and .fini sections work.
9681 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9682 else
9683 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9684 fi
9685 hardcode_libdir_flag_spec='-L$libdir'
9686 hardcode_direct=yes
9687 hardcode_minus_L=yes
9688 hardcode_shlibpath_var=no
9689 ;;
9690
9691 sysv4)
9692 case $host_vendor in
9693 sni)
9694 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9695 hardcode_direct=yes # is this really true???
9696 ;;
9697 siemens)
9698 ## LD is ld it makes a PLAMLIB
9699 ## CC just makes a GrossModule.
9700 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9701 reload_cmds='$CC -r -o $output$reload_objs'
9702 hardcode_direct=no
9703 ;;
9704 motorola)
9705 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9706 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9707 ;;
9708 esac
9709 runpath_var='LD_RUN_PATH'
9710 hardcode_shlibpath_var=no
9711 ;;
9712
9713 sysv4.3*)
9714 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9715 hardcode_shlibpath_var=no
9716 export_dynamic_flag_spec='-Bexport'
9717 ;;
9718
9719 sysv4*MP*)
9720 if test -d /usr/nec; then
9721 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9722 hardcode_shlibpath_var=no
9723 runpath_var=LD_RUN_PATH
9724 hardcode_runpath_var=yes
9725 ld_shlibs=yes
9726 fi
9727 ;;
9728
9729 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9730 no_undefined_flag='${wl}-z,text'
9731 archive_cmds_need_lc=no
9732 hardcode_shlibpath_var=no
9733 runpath_var='LD_RUN_PATH'
9734
9735 if test "$GCC" = yes; then
9736 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9737 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9738 else
9739 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9740 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9741 fi
9742 ;;
9743
9744 sysv5* | sco3.2v5* | sco5v6*)
9745 # Note: We can NOT use -z defs as we might desire, because we do not
9746 # link with -lc, and that would cause any symbols used from libc to
9747 # always be unresolved, which means just about no library would
9748 # ever link correctly. If we're not using GNU ld we use -z text
9749 # though, which does catch some bad symbols but isn't as heavy-handed
9750 # as -z defs.
9751 no_undefined_flag='${wl}-z,text'
9752 allow_undefined_flag='${wl}-z,nodefs'
9753 archive_cmds_need_lc=no
9754 hardcode_shlibpath_var=no
9755 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9756 hardcode_libdir_separator=':'
9757 link_all_deplibs=yes
9758 export_dynamic_flag_spec='${wl}-Bexport'
9759 runpath_var='LD_RUN_PATH'
9760
9761 if test "$GCC" = yes; then
9762 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9763 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9764 else
9765 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9766 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9767 fi
9768 ;;
9769
9770 uts4*)
9771 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9772 hardcode_libdir_flag_spec='-L$libdir'
9773 hardcode_shlibpath_var=no
9774 ;;
9775
9776 *)
9777 ld_shlibs=no
9778 ;;
9779 esac
9780
9781 if test x$host_vendor = xsni; then
9782 case $host in
9783 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9784 export_dynamic_flag_spec='${wl}-Blargedynsym'
9785 ;;
9786 esac
9787 fi
9788 fi
9789
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9791 $as_echo "$ld_shlibs" >&6; }
9792 test "$ld_shlibs" = no && can_build_shared=no
9793
9794 with_gnu_ld=$with_gnu_ld
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810 #
9811 # Do we need to explicitly link libc?
9812 #
9813 case "x$archive_cmds_need_lc" in
9814 x|xyes)
9815 # Assume -lc should be added
9816 archive_cmds_need_lc=yes
9817
9818 if test "$enable_shared" = yes && test "$GCC" = yes; then
9819 case $archive_cmds in
9820 *'~'*)
9821 # FIXME: we may have to deal with multi-command sequences.
9822 ;;
9823 '$CC '*)
9824 # Test whether the compiler implicitly links with -lc since on some
9825 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9826 # to ld, don't add -lc before -lgcc.
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9828 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9829 $RM conftest*
9830 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9831
9832 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9833 (eval $ac_compile) 2>&5
9834 ac_status=$?
9835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9836 test $ac_status = 0; } 2>conftest.err; then
9837 soname=conftest
9838 lib=conftest
9839 libobjs=conftest.$ac_objext
9840 deplibs=
9841 wl=$lt_prog_compiler_wl
9842 pic_flag=$lt_prog_compiler_pic
9843 compiler_flags=-v
9844 linker_flags=-v
9845 verstring=
9846 output_objdir=.
9847 libname=conftest
9848 lt_save_allow_undefined_flag=$allow_undefined_flag
9849 allow_undefined_flag=
9850 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9851 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9852 ac_status=$?
9853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9854 test $ac_status = 0; }
9855 then
9856 archive_cmds_need_lc=no
9857 else
9858 archive_cmds_need_lc=yes
9859 fi
9860 allow_undefined_flag=$lt_save_allow_undefined_flag
9861 else
9862 cat conftest.err 1>&5
9863 fi
9864 $RM conftest*
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9866 $as_echo "$archive_cmds_need_lc" >&6; }
9867 ;;
9868 esac
9869 fi
9870 ;;
9871 esac
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10030 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10031
10032 if test "$GCC" = yes; then
10033 case $host_os in
10034 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10035 *) lt_awk_arg="/^libraries:/" ;;
10036 esac
10037 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10038 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10039 # if the path contains ";" then we assume it to be the separator
10040 # otherwise default to the standard path separator (i.e. ":") - it is
10041 # assumed that no part of a normal pathname contains ";" but that should
10042 # okay in the real world where ";" in dirpaths is itself problematic.
10043 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10044 else
10045 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10046 fi
10047 # Ok, now we have the path, separated by spaces, we can step through it
10048 # and add multilib dir if necessary.
10049 lt_tmp_lt_search_path_spec=
10050 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10051 for lt_sys_path in $lt_search_path_spec; do
10052 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10053 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10054 else
10055 test -d "$lt_sys_path" && \
10056 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10057 fi
10058 done
10059 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10060 BEGIN {RS=" "; FS="/|\n";} {
10061 lt_foo="";
10062 lt_count=0;
10063 for (lt_i = NF; lt_i > 0; lt_i--) {
10064 if ($lt_i != "" && $lt_i != ".") {
10065 if ($lt_i == "..") {
10066 lt_count++;
10067 } else {
10068 if (lt_count == 0) {
10069 lt_foo="/" $lt_i lt_foo;
10070 } else {
10071 lt_count--;
10072 }
10073 }
10074 }
10075 }
10076 if (lt_foo != "") { lt_freq[lt_foo]++; }
10077 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10078 }'`
10079 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10080 else
10081 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10082 fi
10083 library_names_spec=
10084 libname_spec='lib$name'
10085 soname_spec=
10086 shrext_cmds=".so"
10087 postinstall_cmds=
10088 postuninstall_cmds=
10089 finish_cmds=
10090 finish_eval=
10091 shlibpath_var=
10092 shlibpath_overrides_runpath=unknown
10093 version_type=none
10094 dynamic_linker="$host_os ld.so"
10095 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10096 need_lib_prefix=unknown
10097 hardcode_into_libs=no
10098
10099 # when you set need_version to no, make sure it does not cause -set_version
10100 # flags to be left without arguments
10101 need_version=unknown
10102
10103 case $host_os in
10104 aix3*)
10105 version_type=linux
10106 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10107 shlibpath_var=LIBPATH
10108
10109 # AIX 3 has no versioning support, so we append a major version to the name.
10110 soname_spec='${libname}${release}${shared_ext}$major'
10111 ;;
10112
10113 aix[4-9]*)
10114 version_type=linux
10115 need_lib_prefix=no
10116 need_version=no
10117 hardcode_into_libs=yes
10118 if test "$host_cpu" = ia64; then
10119 # AIX 5 supports IA64
10120 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10121 shlibpath_var=LD_LIBRARY_PATH
10122 else
10123 # With GCC up to 2.95.x, collect2 would create an import file
10124 # for dependence libraries. The import file would start with
10125 # the line `#! .'. This would cause the generated library to
10126 # depend on `.', always an invalid library. This was fixed in
10127 # development snapshots of GCC prior to 3.0.
10128 case $host_os in
10129 aix4 | aix4.[01] | aix4.[01].*)
10130 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10131 echo ' yes '
10132 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10133 :
10134 else
10135 can_build_shared=no
10136 fi
10137 ;;
10138 esac
10139 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10140 # soname into executable. Probably we can add versioning support to
10141 # collect2, so additional links can be useful in future.
10142 if test "$aix_use_runtimelinking" = yes; then
10143 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10144 # instead of lib<name>.a to let people know that these are not
10145 # typical AIX shared libraries.
10146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10147 else
10148 # We preserve .a as extension for shared libraries through AIX4.2
10149 # and later when we are not doing run time linking.
10150 library_names_spec='${libname}${release}.a $libname.a'
10151 soname_spec='${libname}${release}${shared_ext}$major'
10152 fi
10153 shlibpath_var=LIBPATH
10154 fi
10155 ;;
10156
10157 amigaos*)
10158 case $host_cpu in
10159 powerpc)
10160 # Since July 2007 AmigaOS4 officially supports .so libraries.
10161 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10162 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10163 ;;
10164 m68k)
10165 library_names_spec='$libname.ixlibrary $libname.a'
10166 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10167 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10168 ;;
10169 esac
10170 ;;
10171
10172 beos*)
10173 library_names_spec='${libname}${shared_ext}'
10174 dynamic_linker="$host_os ld.so"
10175 shlibpath_var=LIBRARY_PATH
10176 ;;
10177
10178 bsdi[45]*)
10179 version_type=linux
10180 need_version=no
10181 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10182 soname_spec='${libname}${release}${shared_ext}$major'
10183 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10184 shlibpath_var=LD_LIBRARY_PATH
10185 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10186 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10187 # the default ld.so.conf also contains /usr/contrib/lib and
10188 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10189 # libtool to hard-code these into programs
10190 ;;
10191
10192 cygwin* | mingw* | pw32* | cegcc*)
10193 version_type=windows
10194 shrext_cmds=".dll"
10195 need_version=no
10196 need_lib_prefix=no
10197
10198 case $GCC,$host_os in
10199 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10200 library_names_spec='$libname.dll.a'
10201 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10202 postinstall_cmds='base_file=`basename \${file}`~
10203 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10204 dldir=$destdir/`dirname \$dlpath`~
10205 test -d \$dldir || mkdir -p \$dldir~
10206 $install_prog $dir/$dlname \$dldir/$dlname~
10207 chmod a+x \$dldir/$dlname~
10208 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10209 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10210 fi'
10211 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10212 dlpath=$dir/\$dldll~
10213 $RM \$dlpath'
10214 shlibpath_overrides_runpath=yes
10215
10216 case $host_os in
10217 cygwin*)
10218 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10219 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10220 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10221 ;;
10222 mingw* | cegcc*)
10223 # MinGW DLLs use traditional 'lib' prefix
10224 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10225 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10226 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10227 # It is most probably a Windows format PATH printed by
10228 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10229 # path with ; separators, and with drive letters. We can handle the
10230 # drive letters (cygwin fileutils understands them), so leave them,
10231 # especially as we might pass files found there to a mingw objdump,
10232 # which wouldn't understand a cygwinified path. Ahh.
10233 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10234 else
10235 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10236 fi
10237 ;;
10238 pw32*)
10239 # pw32 DLLs use 'pw' prefix rather than 'lib'
10240 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10241 ;;
10242 esac
10243 ;;
10244
10245 *)
10246 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10247 ;;
10248 esac
10249 dynamic_linker='Win32 ld.exe'
10250 # FIXME: first we should search . and the directory the executable is in
10251 shlibpath_var=PATH
10252 ;;
10253
10254 darwin* | rhapsody*)
10255 dynamic_linker="$host_os dyld"
10256 version_type=darwin
10257 need_lib_prefix=no
10258 need_version=no
10259 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10260 soname_spec='${libname}${release}${major}$shared_ext'
10261 shlibpath_overrides_runpath=yes
10262 shlibpath_var=DYLD_LIBRARY_PATH
10263 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10264
10265 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10266 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10267 ;;
10268
10269 dgux*)
10270 version_type=linux
10271 need_lib_prefix=no
10272 need_version=no
10273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10274 soname_spec='${libname}${release}${shared_ext}$major'
10275 shlibpath_var=LD_LIBRARY_PATH
10276 ;;
10277
10278 freebsd1*)
10279 dynamic_linker=no
10280 ;;
10281
10282 freebsd* | dragonfly*)
10283 # DragonFly does not have aout. When/if they implement a new
10284 # versioning mechanism, adjust this.
10285 if test -x /usr/bin/objformat; then
10286 objformat=`/usr/bin/objformat`
10287 else
10288 case $host_os in
10289 freebsd[123]*) objformat=aout ;;
10290 *) objformat=elf ;;
10291 esac
10292 fi
10293 version_type=freebsd-$objformat
10294 case $version_type in
10295 freebsd-elf*)
10296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10297 need_version=no
10298 need_lib_prefix=no
10299 ;;
10300 freebsd-*)
10301 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10302 need_version=yes
10303 ;;
10304 esac
10305 shlibpath_var=LD_LIBRARY_PATH
10306 case $host_os in
10307 freebsd2*)
10308 shlibpath_overrides_runpath=yes
10309 ;;
10310 freebsd3.[01]* | freebsdelf3.[01]*)
10311 shlibpath_overrides_runpath=yes
10312 hardcode_into_libs=yes
10313 ;;
10314 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10315 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10316 shlibpath_overrides_runpath=no
10317 hardcode_into_libs=yes
10318 ;;
10319 *) # from 4.6 on, and DragonFly
10320 shlibpath_overrides_runpath=yes
10321 hardcode_into_libs=yes
10322 ;;
10323 esac
10324 ;;
10325
10326 gnu*)
10327 version_type=linux
10328 need_lib_prefix=no
10329 need_version=no
10330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10331 soname_spec='${libname}${release}${shared_ext}$major'
10332 shlibpath_var=LD_LIBRARY_PATH
10333 hardcode_into_libs=yes
10334 ;;
10335
10336 hpux9* | hpux10* | hpux11*)
10337 # Give a soname corresponding to the major version so that dld.sl refuses to
10338 # link against other versions.
10339 version_type=sunos
10340 need_lib_prefix=no
10341 need_version=no
10342 case $host_cpu in
10343 ia64*)
10344 shrext_cmds='.so'
10345 hardcode_into_libs=yes
10346 dynamic_linker="$host_os dld.so"
10347 shlibpath_var=LD_LIBRARY_PATH
10348 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10350 soname_spec='${libname}${release}${shared_ext}$major'
10351 if test "X$HPUX_IA64_MODE" = X32; then
10352 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10353 else
10354 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10355 fi
10356 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10357 ;;
10358 hppa*64*)
10359 shrext_cmds='.sl'
10360 hardcode_into_libs=yes
10361 dynamic_linker="$host_os dld.sl"
10362 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10363 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10364 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10365 soname_spec='${libname}${release}${shared_ext}$major'
10366 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10367 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10368 ;;
10369 *)
10370 shrext_cmds='.sl'
10371 dynamic_linker="$host_os dld.sl"
10372 shlibpath_var=SHLIB_PATH
10373 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10375 soname_spec='${libname}${release}${shared_ext}$major'
10376 ;;
10377 esac
10378 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10379 postinstall_cmds='chmod 555 $lib'
10380 ;;
10381
10382 interix[3-9]*)
10383 version_type=linux
10384 need_lib_prefix=no
10385 need_version=no
10386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10387 soname_spec='${libname}${release}${shared_ext}$major'
10388 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10389 shlibpath_var=LD_LIBRARY_PATH
10390 shlibpath_overrides_runpath=no
10391 hardcode_into_libs=yes
10392 ;;
10393
10394 irix5* | irix6* | nonstopux*)
10395 case $host_os in
10396 nonstopux*) version_type=nonstopux ;;
10397 *)
10398 if test "$lt_cv_prog_gnu_ld" = yes; then
10399 version_type=linux
10400 else
10401 version_type=irix
10402 fi ;;
10403 esac
10404 need_lib_prefix=no
10405 need_version=no
10406 soname_spec='${libname}${release}${shared_ext}$major'
10407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10408 case $host_os in
10409 irix5* | nonstopux*)
10410 libsuff= shlibsuff=
10411 ;;
10412 *)
10413 case $LD in # libtool.m4 will add one of these switches to LD
10414 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10415 libsuff= shlibsuff= libmagic=32-bit;;
10416 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10417 libsuff=32 shlibsuff=N32 libmagic=N32;;
10418 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10419 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10420 *) libsuff= shlibsuff= libmagic=never-match;;
10421 esac
10422 ;;
10423 esac
10424 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10425 shlibpath_overrides_runpath=no
10426 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10427 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10428 hardcode_into_libs=yes
10429 ;;
10430
10431 # No shared lib support for Linux oldld, aout, or coff.
10432 linux*oldld* | linux*aout* | linux*coff*)
10433 dynamic_linker=no
10434 ;;
10435
10436 # This must be Linux ELF.
10437 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10438 version_type=linux
10439 need_lib_prefix=no
10440 need_version=no
10441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10442 soname_spec='${libname}${release}${shared_ext}$major'
10443 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10444 shlibpath_var=LD_LIBRARY_PATH
10445 shlibpath_overrides_runpath=no
10446 # Some binutils ld are patched to set DT_RUNPATH
10447 save_LDFLAGS=$LDFLAGS
10448 save_libdir=$libdir
10449 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10450 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10453
10454 int
10455 main ()
10456 {
10457
10458 ;
10459 return 0;
10460 }
10461 _ACEOF
10462 if ac_fn_c_try_link "$LINENO"; then :
10463 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10464 shlibpath_overrides_runpath=yes
10465 fi
10466 fi
10467 rm -f core conftest.err conftest.$ac_objext \
10468 conftest$ac_exeext conftest.$ac_ext
10469 LDFLAGS=$save_LDFLAGS
10470 libdir=$save_libdir
10471
10472 # This implies no fast_install, which is unacceptable.
10473 # Some rework will be needed to allow for fast_install
10474 # before this can be enabled.
10475 hardcode_into_libs=yes
10476
10477 # Append ld.so.conf contents to the search path
10478 if test -f /etc/ld.so.conf; then
10479 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10480 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10481 fi
10482
10483 # We used to test for /lib/ld.so.1 and disable shared libraries on
10484 # powerpc, because MkLinux only supported shared libraries with the
10485 # GNU dynamic linker. Since this was broken with cross compilers,
10486 # most powerpc-linux boxes support dynamic linking these days and
10487 # people can always --disable-shared, the test was removed, and we
10488 # assume the GNU/Linux dynamic linker is in use.
10489 dynamic_linker='GNU/Linux ld.so'
10490 ;;
10491
10492 netbsdelf*-gnu)
10493 version_type=linux
10494 need_lib_prefix=no
10495 need_version=no
10496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10497 soname_spec='${libname}${release}${shared_ext}$major'
10498 shlibpath_var=LD_LIBRARY_PATH
10499 shlibpath_overrides_runpath=no
10500 hardcode_into_libs=yes
10501 dynamic_linker='NetBSD ld.elf_so'
10502 ;;
10503
10504 netbsd*)
10505 version_type=sunos
10506 need_lib_prefix=no
10507 need_version=no
10508 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10510 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10511 dynamic_linker='NetBSD (a.out) ld.so'
10512 else
10513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10514 soname_spec='${libname}${release}${shared_ext}$major'
10515 dynamic_linker='NetBSD ld.elf_so'
10516 fi
10517 shlibpath_var=LD_LIBRARY_PATH
10518 shlibpath_overrides_runpath=yes
10519 hardcode_into_libs=yes
10520 ;;
10521
10522 newsos6)
10523 version_type=linux
10524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10525 shlibpath_var=LD_LIBRARY_PATH
10526 shlibpath_overrides_runpath=yes
10527 ;;
10528
10529 *nto* | *qnx*)
10530 version_type=qnx
10531 need_lib_prefix=no
10532 need_version=no
10533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10534 soname_spec='${libname}${release}${shared_ext}$major'
10535 shlibpath_var=LD_LIBRARY_PATH
10536 shlibpath_overrides_runpath=no
10537 hardcode_into_libs=yes
10538 dynamic_linker='ldqnx.so'
10539 ;;
10540
10541 openbsd*)
10542 version_type=sunos
10543 sys_lib_dlsearch_path_spec="/usr/lib"
10544 need_lib_prefix=no
10545 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10546 case $host_os in
10547 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10548 *) need_version=no ;;
10549 esac
10550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10551 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10552 shlibpath_var=LD_LIBRARY_PATH
10553 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10554 case $host_os in
10555 openbsd2.[89] | openbsd2.[89].*)
10556 shlibpath_overrides_runpath=no
10557 ;;
10558 *)
10559 shlibpath_overrides_runpath=yes
10560 ;;
10561 esac
10562 else
10563 shlibpath_overrides_runpath=yes
10564 fi
10565 ;;
10566
10567 os2*)
10568 libname_spec='$name'
10569 shrext_cmds=".dll"
10570 need_lib_prefix=no
10571 library_names_spec='$libname${shared_ext} $libname.a'
10572 dynamic_linker='OS/2 ld.exe'
10573 shlibpath_var=LIBPATH
10574 ;;
10575
10576 osf3* | osf4* | osf5*)
10577 version_type=osf
10578 need_lib_prefix=no
10579 need_version=no
10580 soname_spec='${libname}${release}${shared_ext}$major'
10581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10582 shlibpath_var=LD_LIBRARY_PATH
10583 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10584 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10585 ;;
10586
10587 rdos*)
10588 dynamic_linker=no
10589 ;;
10590
10591 solaris*)
10592 version_type=linux
10593 need_lib_prefix=no
10594 need_version=no
10595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10596 soname_spec='${libname}${release}${shared_ext}$major'
10597 shlibpath_var=LD_LIBRARY_PATH
10598 shlibpath_overrides_runpath=yes
10599 hardcode_into_libs=yes
10600 # ldd complains unless libraries are executable
10601 postinstall_cmds='chmod +x $lib'
10602 ;;
10603
10604 sunos4*)
10605 version_type=sunos
10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10607 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10608 shlibpath_var=LD_LIBRARY_PATH
10609 shlibpath_overrides_runpath=yes
10610 if test "$with_gnu_ld" = yes; then
10611 need_lib_prefix=no
10612 fi
10613 need_version=yes
10614 ;;
10615
10616 sysv4 | sysv4.3*)
10617 version_type=linux
10618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10619 soname_spec='${libname}${release}${shared_ext}$major'
10620 shlibpath_var=LD_LIBRARY_PATH
10621 case $host_vendor in
10622 sni)
10623 shlibpath_overrides_runpath=no
10624 need_lib_prefix=no
10625 runpath_var=LD_RUN_PATH
10626 ;;
10627 siemens)
10628 need_lib_prefix=no
10629 ;;
10630 motorola)
10631 need_lib_prefix=no
10632 need_version=no
10633 shlibpath_overrides_runpath=no
10634 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10635 ;;
10636 esac
10637 ;;
10638
10639 sysv4*MP*)
10640 if test -d /usr/nec ;then
10641 version_type=linux
10642 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10643 soname_spec='$libname${shared_ext}.$major'
10644 shlibpath_var=LD_LIBRARY_PATH
10645 fi
10646 ;;
10647
10648 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10649 version_type=freebsd-elf
10650 need_lib_prefix=no
10651 need_version=no
10652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10653 soname_spec='${libname}${release}${shared_ext}$major'
10654 shlibpath_var=LD_LIBRARY_PATH
10655 shlibpath_overrides_runpath=yes
10656 hardcode_into_libs=yes
10657 if test "$with_gnu_ld" = yes; then
10658 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10659 else
10660 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10661 case $host_os in
10662 sco3.2v5*)
10663 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10664 ;;
10665 esac
10666 fi
10667 sys_lib_dlsearch_path_spec='/usr/lib'
10668 ;;
10669
10670 tpf*)
10671 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10672 version_type=linux
10673 need_lib_prefix=no
10674 need_version=no
10675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10676 shlibpath_var=LD_LIBRARY_PATH
10677 shlibpath_overrides_runpath=no
10678 hardcode_into_libs=yes
10679 ;;
10680
10681 uts4*)
10682 version_type=linux
10683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10684 soname_spec='${libname}${release}${shared_ext}$major'
10685 shlibpath_var=LD_LIBRARY_PATH
10686 ;;
10687
10688 *)
10689 dynamic_linker=no
10690 ;;
10691 esac
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10693 $as_echo "$dynamic_linker" >&6; }
10694 test "$dynamic_linker" = no && can_build_shared=no
10695
10696 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10697 if test "$GCC" = yes; then
10698 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10699 fi
10700
10701 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10702 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10703 fi
10704 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10705 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10706 fi
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10795 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10796 hardcode_action=
10797 if test -n "$hardcode_libdir_flag_spec" ||
10798 test -n "$runpath_var" ||
10799 test "X$hardcode_automatic" = "Xyes" ; then
10800
10801 # We can hardcode non-existent directories.
10802 if test "$hardcode_direct" != no &&
10803 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10804 # have to relink, otherwise we might link with an installed library
10805 # when we should be linking with a yet-to-be-installed one
10806 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10807 test "$hardcode_minus_L" != no; then
10808 # Linking always hardcodes the temporary library directory.
10809 hardcode_action=relink
10810 else
10811 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10812 hardcode_action=immediate
10813 fi
10814 else
10815 # We cannot hardcode anything, or else we can only hardcode existing
10816 # directories.
10817 hardcode_action=unsupported
10818 fi
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10820 $as_echo "$hardcode_action" >&6; }
10821
10822 if test "$hardcode_action" = relink ||
10823 test "$inherit_rpath" = yes; then
10824 # Fast installation is not supported
10825 enable_fast_install=no
10826 elif test "$shlibpath_overrides_runpath" = yes ||
10827 test "$enable_shared" = no; then
10828 # Fast installation is not necessary
10829 enable_fast_install=needless
10830 fi
10831
10832
10833
10834
10835
10836
10837 if test "x$enable_dlopen" != xyes; then
10838 enable_dlopen=unknown
10839 enable_dlopen_self=unknown
10840 enable_dlopen_self_static=unknown
10841 else
10842 lt_cv_dlopen=no
10843 lt_cv_dlopen_libs=
10844
10845 case $host_os in
10846 beos*)
10847 lt_cv_dlopen="load_add_on"
10848 lt_cv_dlopen_libs=
10849 lt_cv_dlopen_self=yes
10850 ;;
10851
10852 mingw* | pw32* | cegcc*)
10853 lt_cv_dlopen="LoadLibrary"
10854 lt_cv_dlopen_libs=
10855 ;;
10856
10857 cygwin*)
10858 lt_cv_dlopen="dlopen"
10859 lt_cv_dlopen_libs=
10860 ;;
10861
10862 darwin*)
10863 # if libdl is installed we need to link against it
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10865 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10866 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10867 $as_echo_n "(cached) " >&6
10868 else
10869 ac_check_lib_save_LIBS=$LIBS
10870 LIBS="-ldl $LIBS"
10871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10873
10874 /* Override any GCC internal prototype to avoid an error.
10875 Use char because int might match the return type of a GCC
10876 builtin and then its argument prototype would still apply. */
10877 #ifdef __cplusplus
10878 extern "C"
10879 #endif
10880 char dlopen ();
10881 int
10882 main ()
10883 {
10884 return dlopen ();
10885 ;
10886 return 0;
10887 }
10888 _ACEOF
10889 if ac_fn_c_try_link "$LINENO"; then :
10890 ac_cv_lib_dl_dlopen=yes
10891 else
10892 ac_cv_lib_dl_dlopen=no
10893 fi
10894 rm -f core conftest.err conftest.$ac_objext \
10895 conftest$ac_exeext conftest.$ac_ext
10896 LIBS=$ac_check_lib_save_LIBS
10897 fi
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10899 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10900 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10901 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10902 else
10903
10904 lt_cv_dlopen="dyld"
10905 lt_cv_dlopen_libs=
10906 lt_cv_dlopen_self=yes
10907
10908 fi
10909
10910 ;;
10911
10912 *)
10913 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10914 if test "x$ac_cv_func_shl_load" = x""yes; then :
10915 lt_cv_dlopen="shl_load"
10916 else
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10918 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10919 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10920 $as_echo_n "(cached) " >&6
10921 else
10922 ac_check_lib_save_LIBS=$LIBS
10923 LIBS="-ldld $LIBS"
10924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10925 /* end confdefs.h. */
10926
10927 /* Override any GCC internal prototype to avoid an error.
10928 Use char because int might match the return type of a GCC
10929 builtin and then its argument prototype would still apply. */
10930 #ifdef __cplusplus
10931 extern "C"
10932 #endif
10933 char shl_load ();
10934 int
10935 main ()
10936 {
10937 return shl_load ();
10938 ;
10939 return 0;
10940 }
10941 _ACEOF
10942 if ac_fn_c_try_link "$LINENO"; then :
10943 ac_cv_lib_dld_shl_load=yes
10944 else
10945 ac_cv_lib_dld_shl_load=no
10946 fi
10947 rm -f core conftest.err conftest.$ac_objext \
10948 conftest$ac_exeext conftest.$ac_ext
10949 LIBS=$ac_check_lib_save_LIBS
10950 fi
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10952 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10953 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10954 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10955 else
10956 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10957 if test "x$ac_cv_func_dlopen" = x""yes; then :
10958 lt_cv_dlopen="dlopen"
10959 else
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10961 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10962 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10963 $as_echo_n "(cached) " >&6
10964 else
10965 ac_check_lib_save_LIBS=$LIBS
10966 LIBS="-ldl $LIBS"
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10969
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10973 #ifdef __cplusplus
10974 extern "C"
10975 #endif
10976 char dlopen ();
10977 int
10978 main ()
10979 {
10980 return dlopen ();
10981 ;
10982 return 0;
10983 }
10984 _ACEOF
10985 if ac_fn_c_try_link "$LINENO"; then :
10986 ac_cv_lib_dl_dlopen=yes
10987 else
10988 ac_cv_lib_dl_dlopen=no
10989 fi
10990 rm -f core conftest.err conftest.$ac_objext \
10991 conftest$ac_exeext conftest.$ac_ext
10992 LIBS=$ac_check_lib_save_LIBS
10993 fi
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10995 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10996 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10997 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10998 else
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11000 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11001 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11002 $as_echo_n "(cached) " >&6
11003 else
11004 ac_check_lib_save_LIBS=$LIBS
11005 LIBS="-lsvld $LIBS"
11006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007 /* end confdefs.h. */
11008
11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
11012 #ifdef __cplusplus
11013 extern "C"
11014 #endif
11015 char dlopen ();
11016 int
11017 main ()
11018 {
11019 return dlopen ();
11020 ;
11021 return 0;
11022 }
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"; then :
11025 ac_cv_lib_svld_dlopen=yes
11026 else
11027 ac_cv_lib_svld_dlopen=no
11028 fi
11029 rm -f core conftest.err conftest.$ac_objext \
11030 conftest$ac_exeext conftest.$ac_ext
11031 LIBS=$ac_check_lib_save_LIBS
11032 fi
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11034 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11035 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11036 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11037 else
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11039 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11040 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11041 $as_echo_n "(cached) " >&6
11042 else
11043 ac_check_lib_save_LIBS=$LIBS
11044 LIBS="-ldld $LIBS"
11045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11046 /* end confdefs.h. */
11047
11048 /* Override any GCC internal prototype to avoid an error.
11049 Use char because int might match the return type of a GCC
11050 builtin and then its argument prototype would still apply. */
11051 #ifdef __cplusplus
11052 extern "C"
11053 #endif
11054 char dld_link ();
11055 int
11056 main ()
11057 {
11058 return dld_link ();
11059 ;
11060 return 0;
11061 }
11062 _ACEOF
11063 if ac_fn_c_try_link "$LINENO"; then :
11064 ac_cv_lib_dld_dld_link=yes
11065 else
11066 ac_cv_lib_dld_dld_link=no
11067 fi
11068 rm -f core conftest.err conftest.$ac_objext \
11069 conftest$ac_exeext conftest.$ac_ext
11070 LIBS=$ac_check_lib_save_LIBS
11071 fi
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11073 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11074 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11075 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11076 fi
11077
11078
11079 fi
11080
11081
11082 fi
11083
11084
11085 fi
11086
11087
11088 fi
11089
11090
11091 fi
11092
11093 ;;
11094 esac
11095
11096 if test "x$lt_cv_dlopen" != xno; then
11097 enable_dlopen=yes
11098 else
11099 enable_dlopen=no
11100 fi
11101
11102 case $lt_cv_dlopen in
11103 dlopen)
11104 save_CPPFLAGS="$CPPFLAGS"
11105 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11106
11107 save_LDFLAGS="$LDFLAGS"
11108 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11109
11110 save_LIBS="$LIBS"
11111 LIBS="$lt_cv_dlopen_libs $LIBS"
11112
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11114 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11115 if test "${lt_cv_dlopen_self+set}" = set; then :
11116 $as_echo_n "(cached) " >&6
11117 else
11118 if test "$cross_compiling" = yes; then :
11119 lt_cv_dlopen_self=cross
11120 else
11121 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11122 lt_status=$lt_dlunknown
11123 cat > conftest.$ac_ext <<_LT_EOF
11124 #line 11124 "configure"
11125 #include "confdefs.h"
11126
11127 #if HAVE_DLFCN_H
11128 #include <dlfcn.h>
11129 #endif
11130
11131 #include <stdio.h>
11132
11133 #ifdef RTLD_GLOBAL
11134 # define LT_DLGLOBAL RTLD_GLOBAL
11135 #else
11136 # ifdef DL_GLOBAL
11137 # define LT_DLGLOBAL DL_GLOBAL
11138 # else
11139 # define LT_DLGLOBAL 0
11140 # endif
11141 #endif
11142
11143 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11144 find out it does not work in some platform. */
11145 #ifndef LT_DLLAZY_OR_NOW
11146 # ifdef RTLD_LAZY
11147 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11148 # else
11149 # ifdef DL_LAZY
11150 # define LT_DLLAZY_OR_NOW DL_LAZY
11151 # else
11152 # ifdef RTLD_NOW
11153 # define LT_DLLAZY_OR_NOW RTLD_NOW
11154 # else
11155 # ifdef DL_NOW
11156 # define LT_DLLAZY_OR_NOW DL_NOW
11157 # else
11158 # define LT_DLLAZY_OR_NOW 0
11159 # endif
11160 # endif
11161 # endif
11162 # endif
11163 #endif
11164
11165 void fnord() { int i=42;}
11166 int main ()
11167 {
11168 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11169 int status = $lt_dlunknown;
11170
11171 if (self)
11172 {
11173 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11174 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11175 /* dlclose (self); */
11176 }
11177 else
11178 puts (dlerror ());
11179
11180 return status;
11181 }
11182 _LT_EOF
11183 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11184 (eval $ac_link) 2>&5
11185 ac_status=$?
11186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11187 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11188 (./conftest; exit; ) >&5 2>/dev/null
11189 lt_status=$?
11190 case x$lt_status in
11191 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11192 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11193 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11194 esac
11195 else :
11196 # compilation failed
11197 lt_cv_dlopen_self=no
11198 fi
11199 fi
11200 rm -fr conftest*
11201
11202
11203 fi
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11205 $as_echo "$lt_cv_dlopen_self" >&6; }
11206
11207 if test "x$lt_cv_dlopen_self" = xyes; then
11208 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11210 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11211 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11212 $as_echo_n "(cached) " >&6
11213 else
11214 if test "$cross_compiling" = yes; then :
11215 lt_cv_dlopen_self_static=cross
11216 else
11217 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11218 lt_status=$lt_dlunknown
11219 cat > conftest.$ac_ext <<_LT_EOF
11220 #line 11220 "configure"
11221 #include "confdefs.h"
11222
11223 #if HAVE_DLFCN_H
11224 #include <dlfcn.h>
11225 #endif
11226
11227 #include <stdio.h>
11228
11229 #ifdef RTLD_GLOBAL
11230 # define LT_DLGLOBAL RTLD_GLOBAL
11231 #else
11232 # ifdef DL_GLOBAL
11233 # define LT_DLGLOBAL DL_GLOBAL
11234 # else
11235 # define LT_DLGLOBAL 0
11236 # endif
11237 #endif
11238
11239 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11240 find out it does not work in some platform. */
11241 #ifndef LT_DLLAZY_OR_NOW
11242 # ifdef RTLD_LAZY
11243 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11244 # else
11245 # ifdef DL_LAZY
11246 # define LT_DLLAZY_OR_NOW DL_LAZY
11247 # else
11248 # ifdef RTLD_NOW
11249 # define LT_DLLAZY_OR_NOW RTLD_NOW
11250 # else
11251 # ifdef DL_NOW
11252 # define LT_DLLAZY_OR_NOW DL_NOW
11253 # else
11254 # define LT_DLLAZY_OR_NOW 0
11255 # endif
11256 # endif
11257 # endif
11258 # endif
11259 #endif
11260
11261 void fnord() { int i=42;}
11262 int main ()
11263 {
11264 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11265 int status = $lt_dlunknown;
11266
11267 if (self)
11268 {
11269 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11270 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11271 /* dlclose (self); */
11272 }
11273 else
11274 puts (dlerror ());
11275
11276 return status;
11277 }
11278 _LT_EOF
11279 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11280 (eval $ac_link) 2>&5
11281 ac_status=$?
11282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11283 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11284 (./conftest; exit; ) >&5 2>/dev/null
11285 lt_status=$?
11286 case x$lt_status in
11287 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11288 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11289 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11290 esac
11291 else :
11292 # compilation failed
11293 lt_cv_dlopen_self_static=no
11294 fi
11295 fi
11296 rm -fr conftest*
11297
11298
11299 fi
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11301 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11302 fi
11303
11304 CPPFLAGS="$save_CPPFLAGS"
11305 LDFLAGS="$save_LDFLAGS"
11306 LIBS="$save_LIBS"
11307 ;;
11308 esac
11309
11310 case $lt_cv_dlopen_self in
11311 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11312 *) enable_dlopen_self=unknown ;;
11313 esac
11314
11315 case $lt_cv_dlopen_self_static in
11316 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11317 *) enable_dlopen_self_static=unknown ;;
11318 esac
11319 fi
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337 striplib=
11338 old_striplib=
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11340 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11341 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11342 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11343 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11345 $as_echo "yes" >&6; }
11346 else
11347 # FIXME - insert some real tests, host_os isn't really good enough
11348 case $host_os in
11349 darwin*)
11350 if test -n "$STRIP" ; then
11351 striplib="$STRIP -x"
11352 old_striplib="$STRIP -S"
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11354 $as_echo "yes" >&6; }
11355 else
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11357 $as_echo "no" >&6; }
11358 fi
11359 ;;
11360 *)
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11362 $as_echo "no" >&6; }
11363 ;;
11364 esac
11365 fi
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378 # Report which library types will actually be built
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11380 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11382 $as_echo "$can_build_shared" >&6; }
11383
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11385 $as_echo_n "checking whether to build shared libraries... " >&6; }
11386 test "$can_build_shared" = "no" && enable_shared=no
11387
11388 # On AIX, shared libraries and static libraries use the same namespace, and
11389 # are all built from PIC.
11390 case $host_os in
11391 aix3*)
11392 test "$enable_shared" = yes && enable_static=no
11393 if test -n "$RANLIB"; then
11394 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11395 postinstall_cmds='$RANLIB $lib'
11396 fi
11397 ;;
11398
11399 aix[4-9]*)
11400 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11401 test "$enable_shared" = yes && enable_static=no
11402 fi
11403 ;;
11404 esac
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11406 $as_echo "$enable_shared" >&6; }
11407
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11409 $as_echo_n "checking whether to build static libraries... " >&6; }
11410 # Make sure either enable_shared or enable_static is yes.
11411 test "$enable_shared" = yes || enable_static=yes
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11413 $as_echo "$enable_static" >&6; }
11414
11415
11416
11417
11418 fi
11419 ac_ext=c
11420 ac_cpp='$CPP $CPPFLAGS'
11421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11424
11425 CC="$lt_save_CC"
11426
11427
11428 ac_ext=cpp
11429 ac_cpp='$CXXCPP $CPPFLAGS'
11430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11433
11434 archive_cmds_need_lc_CXX=no
11435 allow_undefined_flag_CXX=
11436 always_export_symbols_CXX=no
11437 archive_expsym_cmds_CXX=
11438 compiler_needs_object_CXX=no
11439 export_dynamic_flag_spec_CXX=
11440 hardcode_direct_CXX=no
11441 hardcode_direct_absolute_CXX=no
11442 hardcode_libdir_flag_spec_CXX=
11443 hardcode_libdir_flag_spec_ld_CXX=
11444 hardcode_libdir_separator_CXX=
11445 hardcode_minus_L_CXX=no
11446 hardcode_shlibpath_var_CXX=unsupported
11447 hardcode_automatic_CXX=no
11448 inherit_rpath_CXX=no
11449 module_cmds_CXX=
11450 module_expsym_cmds_CXX=
11451 link_all_deplibs_CXX=unknown
11452 old_archive_cmds_CXX=$old_archive_cmds
11453 no_undefined_flag_CXX=
11454 whole_archive_flag_spec_CXX=
11455 enable_shared_with_static_runtimes_CXX=no
11456
11457 # Source file extension for C++ test sources.
11458 ac_ext=cpp
11459
11460 # Object file extension for compiled C++ test sources.
11461 objext=o
11462 objext_CXX=$objext
11463
11464 # No sense in running all these tests if we already determined that
11465 # the CXX compiler isn't working. Some variables (like enable_shared)
11466 # are currently assumed to apply to all compilers on this platform,
11467 # and will be corrupted by setting them based on a non-working compiler.
11468 if test "$_lt_caught_CXX_error" != yes; then
11469 # Code to be used in simple compile tests
11470 lt_simple_compile_test_code="int some_variable = 0;"
11471
11472 # Code to be used in simple link tests
11473 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11474
11475 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11476
11477
11478
11479
11480
11481
11482 # If no C compiler was specified, use CC.
11483 LTCC=${LTCC-"$CC"}
11484
11485 # If no C compiler flags were specified, use CFLAGS.
11486 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11487
11488 # Allow CC to be a program name with arguments.
11489 compiler=$CC
11490
11491
11492 # save warnings/boilerplate of simple test code
11493 ac_outfile=conftest.$ac_objext
11494 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11495 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11496 _lt_compiler_boilerplate=`cat conftest.err`
11497 $RM conftest*
11498
11499 ac_outfile=conftest.$ac_objext
11500 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11501 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11502 _lt_linker_boilerplate=`cat conftest.err`
11503 $RM -r conftest*
11504
11505
11506 # Allow CC to be a program name with arguments.
11507 lt_save_CC=$CC
11508 lt_save_LD=$LD
11509 lt_save_GCC=$GCC
11510 GCC=$GXX
11511 lt_save_with_gnu_ld=$with_gnu_ld
11512 lt_save_path_LD=$lt_cv_path_LD
11513 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11514 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11515 else
11516 $as_unset lt_cv_prog_gnu_ld
11517 fi
11518 if test -n "${lt_cv_path_LDCXX+set}"; then
11519 lt_cv_path_LD=$lt_cv_path_LDCXX
11520 else
11521 $as_unset lt_cv_path_LD
11522 fi
11523 test -z "${LDCXX+set}" || LD=$LDCXX
11524 CC=${CXX-"c++"}
11525 compiler=$CC
11526 compiler_CXX=$CC
11527 for cc_temp in $compiler""; do
11528 case $cc_temp in
11529 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11530 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11531 \-*) ;;
11532 *) break;;
11533 esac
11534 done
11535 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11536
11537
11538 if test -n "$compiler"; then
11539 # We don't want -fno-exception when compiling C++ code, so set the
11540 # no_builtin_flag separately
11541 if test "$GXX" = yes; then
11542 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11543 else
11544 lt_prog_compiler_no_builtin_flag_CXX=
11545 fi
11546
11547 if test "$GXX" = yes; then
11548 # Set up default GNU C++ configuration
11549
11550
11551
11552 # Check whether --with-gnu-ld was given.
11553 if test "${with_gnu_ld+set}" = set; then :
11554 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11555 else
11556 with_gnu_ld=no
11557 fi
11558
11559 ac_prog=ld
11560 if test "$GCC" = yes; then
11561 # Check if gcc -print-prog-name=ld gives a path.
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11563 $as_echo_n "checking for ld used by $CC... " >&6; }
11564 case $host in
11565 *-*-mingw*)
11566 # gcc leaves a trailing carriage return which upsets mingw
11567 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11568 *)
11569 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11570 esac
11571 case $ac_prog in
11572 # Accept absolute paths.
11573 [\\/]* | ?:[\\/]*)
11574 re_direlt='/[^/][^/]*/\.\./'
11575 # Canonicalize the pathname of ld
11576 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11577 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11578 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11579 done
11580 test -z "$LD" && LD="$ac_prog"
11581 ;;
11582 "")
11583 # If it fails, then pretend we aren't using GCC.
11584 ac_prog=ld
11585 ;;
11586 *)
11587 # If it is relative, then search for the first ld in PATH.
11588 with_gnu_ld=unknown
11589 ;;
11590 esac
11591 elif test "$with_gnu_ld" = yes; then
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11593 $as_echo_n "checking for GNU ld... " >&6; }
11594 else
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11596 $as_echo_n "checking for non-GNU ld... " >&6; }
11597 fi
11598 if test "${lt_cv_path_LD+set}" = set; then :
11599 $as_echo_n "(cached) " >&6
11600 else
11601 if test -z "$LD"; then
11602 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11603 for ac_dir in $PATH; do
11604 IFS="$lt_save_ifs"
11605 test -z "$ac_dir" && ac_dir=.
11606 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11607 lt_cv_path_LD="$ac_dir/$ac_prog"
11608 # Check to see if the program is GNU ld. I'd rather use --version,
11609 # but apparently some variants of GNU ld only accept -v.
11610 # Break only if it was the GNU/non-GNU ld that we prefer.
11611 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11612 *GNU* | *'with BFD'*)
11613 test "$with_gnu_ld" != no && break
11614 ;;
11615 *)
11616 test "$with_gnu_ld" != yes && break
11617 ;;
11618 esac
11619 fi
11620 done
11621 IFS="$lt_save_ifs"
11622 else
11623 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11624 fi
11625 fi
11626
11627 LD="$lt_cv_path_LD"
11628 if test -n "$LD"; then
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11630 $as_echo "$LD" >&6; }
11631 else
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11633 $as_echo "no" >&6; }
11634 fi
11635 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11637 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11638 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11639 $as_echo_n "(cached) " >&6
11640 else
11641 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11642 case `$LD -v 2>&1 </dev/null` in
11643 *GNU* | *'with BFD'*)
11644 lt_cv_prog_gnu_ld=yes
11645 ;;
11646 *)
11647 lt_cv_prog_gnu_ld=no
11648 ;;
11649 esac
11650 fi
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11652 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11653 with_gnu_ld=$lt_cv_prog_gnu_ld
11654
11655
11656
11657
11658
11659
11660
11661 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11662 # archiving commands below assume that GNU ld is being used.
11663 if test "$with_gnu_ld" = yes; then
11664 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11665 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11666
11667 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11668 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11669
11670 # If archive_cmds runs LD, not CC, wlarc should be empty
11671 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11672 # investigate it a little bit more. (MM)
11673 wlarc='${wl}'
11674
11675 # ancient GNU ld didn't support --whole-archive et. al.
11676 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11677 $GREP 'no-whole-archive' > /dev/null; then
11678 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11679 else
11680 whole_archive_flag_spec_CXX=
11681 fi
11682 else
11683 with_gnu_ld=no
11684 wlarc=
11685
11686 # A generic and very simple default shared library creation
11687 # command for GNU C++ for the case where it uses the native
11688 # linker, instead of GNU ld. If possible, this setting should
11689 # overridden to take advantage of the native linker features on
11690 # the platform it is being used on.
11691 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11692 fi
11693
11694 # Commands to make compiler produce verbose output that lists
11695 # what "hidden" libraries, object files and flags are used when
11696 # linking a shared library.
11697 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11698
11699 else
11700 GXX=no
11701 with_gnu_ld=no
11702 wlarc=
11703 fi
11704
11705 # PORTME: fill in a description of your system's C++ link characteristics
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11707 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11708 ld_shlibs_CXX=yes
11709 case $host_os in
11710 aix3*)
11711 # FIXME: insert proper C++ library support
11712 ld_shlibs_CXX=no
11713 ;;
11714 aix[4-9]*)
11715 if test "$host_cpu" = ia64; then
11716 # On IA64, the linker does run time linking by default, so we don't
11717 # have to do anything special.
11718 aix_use_runtimelinking=no
11719 exp_sym_flag='-Bexport'
11720 no_entry_flag=""
11721 else
11722 aix_use_runtimelinking=no
11723
11724 # Test if we are trying to use run time linking or normal
11725 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11726 # need to do runtime linking.
11727 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11728 for ld_flag in $LDFLAGS; do
11729 case $ld_flag in
11730 *-brtl*)
11731 aix_use_runtimelinking=yes
11732 break
11733 ;;
11734 esac
11735 done
11736 ;;
11737 esac
11738
11739 exp_sym_flag='-bexport'
11740 no_entry_flag='-bnoentry'
11741 fi
11742
11743 # When large executables or shared objects are built, AIX ld can
11744 # have problems creating the table of contents. If linking a library
11745 # or program results in "error TOC overflow" add -mminimal-toc to
11746 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11747 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11748
11749 archive_cmds_CXX=''
11750 hardcode_direct_CXX=yes
11751 hardcode_direct_absolute_CXX=yes
11752 hardcode_libdir_separator_CXX=':'
11753 link_all_deplibs_CXX=yes
11754 file_list_spec_CXX='${wl}-f,'
11755
11756 if test "$GXX" = yes; then
11757 case $host_os in aix4.[012]|aix4.[012].*)
11758 # We only want to do this on AIX 4.2 and lower, the check
11759 # below for broken collect2 doesn't work under 4.3+
11760 collect2name=`${CC} -print-prog-name=collect2`
11761 if test -f "$collect2name" &&
11762 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11763 then
11764 # We have reworked collect2
11765 :
11766 else
11767 # We have old collect2
11768 hardcode_direct_CXX=unsupported
11769 # It fails to find uninstalled libraries when the uninstalled
11770 # path is not listed in the libpath. Setting hardcode_minus_L
11771 # to unsupported forces relinking
11772 hardcode_minus_L_CXX=yes
11773 hardcode_libdir_flag_spec_CXX='-L$libdir'
11774 hardcode_libdir_separator_CXX=
11775 fi
11776 esac
11777 shared_flag='-shared'
11778 if test "$aix_use_runtimelinking" = yes; then
11779 shared_flag="$shared_flag "'${wl}-G'
11780 fi
11781 else
11782 # not using gcc
11783 if test "$host_cpu" = ia64; then
11784 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11785 # chokes on -Wl,-G. The following line is correct:
11786 shared_flag='-G'
11787 else
11788 if test "$aix_use_runtimelinking" = yes; then
11789 shared_flag='${wl}-G'
11790 else
11791 shared_flag='${wl}-bM:SRE'
11792 fi
11793 fi
11794 fi
11795
11796 export_dynamic_flag_spec_CXX='${wl}-bexpall'
11797 # It seems that -bexpall does not export symbols beginning with
11798 # underscore (_), so it is better to generate a list of symbols to
11799 # export.
11800 always_export_symbols_CXX=yes
11801 if test "$aix_use_runtimelinking" = yes; then
11802 # Warning - without using the other runtime loading flags (-brtl),
11803 # -berok will link without error, but may produce a broken library.
11804 allow_undefined_flag_CXX='-berok'
11805 # Determine the default libpath from the value encoded in an empty
11806 # executable.
11807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11808 /* end confdefs.h. */
11809
11810 int
11811 main ()
11812 {
11813
11814 ;
11815 return 0;
11816 }
11817 _ACEOF
11818 if ac_fn_cxx_try_link "$LINENO"; then :
11819
11820 lt_aix_libpath_sed='
11821 /Import File Strings/,/^$/ {
11822 /^0/ {
11823 s/^0 *\(.*\)$/\1/
11824 p
11825 }
11826 }'
11827 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11828 # Check for a 64-bit object if we didn't find anything.
11829 if test -z "$aix_libpath"; then
11830 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11831 fi
11832 fi
11833 rm -f core conftest.err conftest.$ac_objext \
11834 conftest$ac_exeext conftest.$ac_ext
11835 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11836
11837 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11838
11839 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11840 else
11841 if test "$host_cpu" = ia64; then
11842 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11843 allow_undefined_flag_CXX="-z nodefs"
11844 archive_expsym_cmds_CXX="\$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"
11845 else
11846 # Determine the default libpath from the value encoded in an
11847 # empty executable.
11848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h. */
11850
11851 int
11852 main ()
11853 {
11854
11855 ;
11856 return 0;
11857 }
11858 _ACEOF
11859 if ac_fn_cxx_try_link "$LINENO"; then :
11860
11861 lt_aix_libpath_sed='
11862 /Import File Strings/,/^$/ {
11863 /^0/ {
11864 s/^0 *\(.*\)$/\1/
11865 p
11866 }
11867 }'
11868 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11869 # Check for a 64-bit object if we didn't find anything.
11870 if test -z "$aix_libpath"; then
11871 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11872 fi
11873 fi
11874 rm -f core conftest.err conftest.$ac_objext \
11875 conftest$ac_exeext conftest.$ac_ext
11876 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11877
11878 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11879 # Warning - without using the other run time loading flags,
11880 # -berok will link without error, but may produce a broken library.
11881 no_undefined_flag_CXX=' ${wl}-bernotok'
11882 allow_undefined_flag_CXX=' ${wl}-berok'
11883 # Exported symbols can be pulled into shared objects from archives
11884 whole_archive_flag_spec_CXX='$convenience'
11885 archive_cmds_need_lc_CXX=yes
11886 # This is similar to how AIX traditionally builds its shared
11887 # libraries.
11888 archive_expsym_cmds_CXX="\$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'
11889 fi
11890 fi
11891 ;;
11892
11893 beos*)
11894 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11895 allow_undefined_flag_CXX=unsupported
11896 # Joseph Beckenbach <[email protected]> says some releases of gcc
11897 # support --undefined. This deserves some investigation. FIXME
11898 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11899 else
11900 ld_shlibs_CXX=no
11901 fi
11902 ;;
11903
11904 chorus*)
11905 case $cc_basename in
11906 *)
11907 # FIXME: insert proper C++ library support
11908 ld_shlibs_CXX=no
11909 ;;
11910 esac
11911 ;;
11912
11913 cygwin* | mingw* | pw32* | cegcc*)
11914 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11915 # as there is no search path for DLLs.
11916 hardcode_libdir_flag_spec_CXX='-L$libdir'
11917 allow_undefined_flag_CXX=unsupported
11918 always_export_symbols_CXX=no
11919 enable_shared_with_static_runtimes_CXX=yes
11920
11921 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11922 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11923 # If the export-symbols file already is a .def file (1st line
11924 # is EXPORTS), use it as is; otherwise, prepend...
11925 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11926 cp $export_symbols $output_objdir/$soname.def;
11927 else
11928 echo EXPORTS > $output_objdir/$soname.def;
11929 cat $export_symbols >> $output_objdir/$soname.def;
11930 fi~
11931 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11932 else
11933 ld_shlibs_CXX=no
11934 fi
11935 ;;
11936 darwin* | rhapsody*)
11937
11938
11939 archive_cmds_need_lc_CXX=no
11940 hardcode_direct_CXX=no
11941 hardcode_automatic_CXX=yes
11942 hardcode_shlibpath_var_CXX=unsupported
11943 whole_archive_flag_spec_CXX=''
11944 link_all_deplibs_CXX=yes
11945 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11946 case $cc_basename in
11947 ifort*) _lt_dar_can_shared=yes ;;
11948 *) _lt_dar_can_shared=$GCC ;;
11949 esac
11950 if test "$_lt_dar_can_shared" = "yes"; then
11951 output_verbose_link_cmd=echo
11952 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11953 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11954 archive_expsym_cmds_CXX="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}"
11955 module_expsym_cmds_CXX="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}"
11956 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11957 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
11958 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
11959 fi
11960
11961 else
11962 ld_shlibs_CXX=no
11963 fi
11964
11965 ;;
11966
11967 dgux*)
11968 case $cc_basename in
11969 ec++*)
11970 # FIXME: insert proper C++ library support
11971 ld_shlibs_CXX=no
11972 ;;
11973 ghcx*)
11974 # Green Hills C++ Compiler
11975 # FIXME: insert proper C++ library support
11976 ld_shlibs_CXX=no
11977 ;;
11978 *)
11979 # FIXME: insert proper C++ library support
11980 ld_shlibs_CXX=no
11981 ;;
11982 esac
11983 ;;
11984
11985 freebsd[12]*)
11986 # C++ shared libraries reported to be fairly broken before
11987 # switch to ELF
11988 ld_shlibs_CXX=no
11989 ;;
11990
11991 freebsd-elf*)
11992 archive_cmds_need_lc_CXX=no
11993 ;;
11994
11995 freebsd* | dragonfly*)
11996 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11997 # conventions
11998 ld_shlibs_CXX=yes
11999 ;;
12000
12001 gnu*)
12002 ;;
12003
12004 hpux9*)
12005 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12006 hardcode_libdir_separator_CXX=:
12007 export_dynamic_flag_spec_CXX='${wl}-E'
12008 hardcode_direct_CXX=yes
12009 hardcode_minus_L_CXX=yes # Not in the search PATH,
12010 # but as the default
12011 # location of the library.
12012
12013 case $cc_basename in
12014 CC*)
12015 # FIXME: insert proper C++ library support
12016 ld_shlibs_CXX=no
12017 ;;
12018 aCC*)
12019 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12020 # Commands to make compiler produce verbose output that lists
12021 # what "hidden" libraries, object files and flags are used when
12022 # linking a shared library.
12023 #
12024 # There doesn't appear to be a way to prevent this compiler from
12025 # explicitly linking system object files so we need to strip them
12026 # from the output so that they don't get included in the library
12027 # dependencies.
12028 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12029 ;;
12030 *)
12031 if test "$GXX" = yes; then
12032 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12033 else
12034 # FIXME: insert proper C++ library support
12035 ld_shlibs_CXX=no
12036 fi
12037 ;;
12038 esac
12039 ;;
12040
12041 hpux10*|hpux11*)
12042 if test $with_gnu_ld = no; then
12043 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12044 hardcode_libdir_separator_CXX=:
12045
12046 case $host_cpu in
12047 hppa*64*|ia64*)
12048 ;;
12049 *)
12050 export_dynamic_flag_spec_CXX='${wl}-E'
12051 ;;
12052 esac
12053 fi
12054 case $host_cpu in
12055 hppa*64*|ia64*)
12056 hardcode_direct_CXX=no
12057 hardcode_shlibpath_var_CXX=no
12058 ;;
12059 *)
12060 hardcode_direct_CXX=yes
12061 hardcode_direct_absolute_CXX=yes
12062 hardcode_minus_L_CXX=yes # Not in the search PATH,
12063 # but as the default
12064 # location of the library.
12065 ;;
12066 esac
12067
12068 case $cc_basename in
12069 CC*)
12070 # FIXME: insert proper C++ library support
12071 ld_shlibs_CXX=no
12072 ;;
12073 aCC*)
12074 case $host_cpu in
12075 hppa*64*)
12076 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12077 ;;
12078 ia64*)
12079 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12080 ;;
12081 *)
12082 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12083 ;;
12084 esac
12085 # Commands to make compiler produce verbose output that lists
12086 # what "hidden" libraries, object files and flags are used when
12087 # linking a shared library.
12088 #
12089 # There doesn't appear to be a way to prevent this compiler from
12090 # explicitly linking system object files so we need to strip them
12091 # from the output so that they don't get included in the library
12092 # dependencies.
12093 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12094 ;;
12095 *)
12096 if test "$GXX" = yes; then
12097 if test $with_gnu_ld = no; then
12098 case $host_cpu in
12099 hppa*64*)
12100 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12101 ;;
12102 ia64*)
12103 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12104 ;;
12105 *)
12106 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12107 ;;
12108 esac
12109 fi
12110 else
12111 # FIXME: insert proper C++ library support
12112 ld_shlibs_CXX=no
12113 fi
12114 ;;
12115 esac
12116 ;;
12117
12118 interix[3-9]*)
12119 hardcode_direct_CXX=no
12120 hardcode_shlibpath_var_CXX=no
12121 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12122 export_dynamic_flag_spec_CXX='${wl}-E'
12123 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12124 # Instead, shared libraries are loaded at an image base (0x10000000 by
12125 # default) and relocated if they conflict, which is a slow very memory
12126 # consuming and fragmenting process. To avoid this, we pick a random,
12127 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12128 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12129 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12130 archive_expsym_cmds_CXX='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'
12131 ;;
12132 irix5* | irix6*)
12133 case $cc_basename in
12134 CC*)
12135 # SGI C++
12136 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12137
12138 # Archives containing C++ object files must be created using
12139 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12140 # necessary to make sure instantiated templates are included
12141 # in the archive.
12142 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12143 ;;
12144 *)
12145 if test "$GXX" = yes; then
12146 if test "$with_gnu_ld" = no; then
12147 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12148 else
12149 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12150 fi
12151 fi
12152 link_all_deplibs_CXX=yes
12153 ;;
12154 esac
12155 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12156 hardcode_libdir_separator_CXX=:
12157 inherit_rpath_CXX=yes
12158 ;;
12159
12160 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12161 case $cc_basename in
12162 KCC*)
12163 # Kuck and Associates, Inc. (KAI) C++ Compiler
12164
12165 # KCC will only create a shared library if the output file
12166 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12167 # to its proper name (with version) after linking.
12168 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12169 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12170 # Commands to make compiler produce verbose output that lists
12171 # what "hidden" libraries, object files and flags are used when
12172 # linking a shared library.
12173 #
12174 # There doesn't appear to be a way to prevent this compiler from
12175 # explicitly linking system object files so we need to strip them
12176 # from the output so that they don't get included in the library
12177 # dependencies.
12178 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12179
12180 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12181 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12182
12183 # Archives containing C++ object files must be created using
12184 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12185 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12186 ;;
12187 icpc* | ecpc* )
12188 # Intel C++
12189 with_gnu_ld=yes
12190 # version 8.0 and above of icpc choke on multiply defined symbols
12191 # if we add $predep_objects and $postdep_objects, however 7.1 and
12192 # earlier do not add the objects themselves.
12193 case `$CC -V 2>&1` in
12194 *"Version 7."*)
12195 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12196 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12197 ;;
12198 *) # Version 8.0 or newer
12199 tmp_idyn=
12200 case $host_cpu in
12201 ia64*) tmp_idyn=' -i_dynamic';;
12202 esac
12203 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12204 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12205 ;;
12206 esac
12207 archive_cmds_need_lc_CXX=no
12208 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12209 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12210 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12211 ;;
12212 pgCC* | pgcpp*)
12213 # Portland Group C++ compiler
12214 case `$CC -V` in
12215 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12216 prelink_cmds_CXX='tpldir=Template.dir~
12217 rm -rf $tpldir~
12218 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12219 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12220 old_archive_cmds_CXX='tpldir=Template.dir~
12221 rm -rf $tpldir~
12222 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12223 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12224 $RANLIB $oldlib'
12225 archive_cmds_CXX='tpldir=Template.dir~
12226 rm -rf $tpldir~
12227 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12228 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12229 archive_expsym_cmds_CXX='tpldir=Template.dir~
12230 rm -rf $tpldir~
12231 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12232 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12233 ;;
12234 *) # Version 6 will use weak symbols
12235 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12236 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12237 ;;
12238 esac
12239
12240 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12241 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12242 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12243 ;;
12244 cxx*)
12245 # Compaq C++
12246 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12247 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12248
12249 runpath_var=LD_RUN_PATH
12250 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12251 hardcode_libdir_separator_CXX=:
12252
12253 # Commands to make compiler produce verbose output that lists
12254 # what "hidden" libraries, object files and flags are used when
12255 # linking a shared library.
12256 #
12257 # There doesn't appear to be a way to prevent this compiler from
12258 # explicitly linking system object files so we need to strip them
12259 # from the output so that they don't get included in the library
12260 # dependencies.
12261 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12262 ;;
12263 xl*)
12264 # IBM XL 8.0 on PPC, with GNU ld
12265 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12266 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12267 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12268 if test "x$supports_anon_versioning" = xyes; then
12269 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12270 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12271 echo "local: *; };" >> $output_objdir/$libname.ver~
12272 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12273 fi
12274 ;;
12275 *)
12276 case `$CC -V 2>&1 | sed 5q` in
12277 *Sun\ C*)
12278 # Sun C++ 5.9
12279 no_undefined_flag_CXX=' -zdefs'
12280 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12281 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12282 hardcode_libdir_flag_spec_CXX='-R$libdir'
12283 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12284 compiler_needs_object_CXX=yes
12285
12286 # Not sure whether something based on
12287 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12288 # would be better.
12289 output_verbose_link_cmd='echo'
12290
12291 # Archives containing C++ object files must be created using
12292 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12293 # necessary to make sure instantiated templates are included
12294 # in the archive.
12295 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12296 ;;
12297 esac
12298 ;;
12299 esac
12300 ;;
12301
12302 lynxos*)
12303 # FIXME: insert proper C++ library support
12304 ld_shlibs_CXX=no
12305 ;;
12306
12307 m88k*)
12308 # FIXME: insert proper C++ library support
12309 ld_shlibs_CXX=no
12310 ;;
12311
12312 mvs*)
12313 case $cc_basename in
12314 cxx*)
12315 # FIXME: insert proper C++ library support
12316 ld_shlibs_CXX=no
12317 ;;
12318 *)
12319 # FIXME: insert proper C++ library support
12320 ld_shlibs_CXX=no
12321 ;;
12322 esac
12323 ;;
12324
12325 netbsd*)
12326 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12327 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12328 wlarc=
12329 hardcode_libdir_flag_spec_CXX='-R$libdir'
12330 hardcode_direct_CXX=yes
12331 hardcode_shlibpath_var_CXX=no
12332 fi
12333 # Workaround some broken pre-1.5 toolchains
12334 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12335 ;;
12336
12337 *nto* | *qnx*)
12338 ld_shlibs_CXX=yes
12339 ;;
12340
12341 openbsd2*)
12342 # C++ shared libraries are fairly broken
12343 ld_shlibs_CXX=no
12344 ;;
12345
12346 openbsd*)
12347 if test -f /usr/libexec/ld.so; then
12348 hardcode_direct_CXX=yes
12349 hardcode_shlibpath_var_CXX=no
12350 hardcode_direct_absolute_CXX=yes
12351 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12352 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12353 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12354 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12355 export_dynamic_flag_spec_CXX='${wl}-E'
12356 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12357 fi
12358 output_verbose_link_cmd=echo
12359 else
12360 ld_shlibs_CXX=no
12361 fi
12362 ;;
12363
12364 osf3* | osf4* | osf5*)
12365 case $cc_basename in
12366 KCC*)
12367 # Kuck and Associates, Inc. (KAI) C++ Compiler
12368
12369 # KCC will only create a shared library if the output file
12370 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12371 # to its proper name (with version) after linking.
12372 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12373
12374 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12375 hardcode_libdir_separator_CXX=:
12376
12377 # Archives containing C++ object files must be created using
12378 # the KAI C++ compiler.
12379 case $host in
12380 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12381 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12382 esac
12383 ;;
12384 RCC*)
12385 # Rational C++ 2.4.1
12386 # FIXME: insert proper C++ library support
12387 ld_shlibs_CXX=no
12388 ;;
12389 cxx*)
12390 case $host in
12391 osf3*)
12392 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12393 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12394 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12395 ;;
12396 *)
12397 allow_undefined_flag_CXX=' -expect_unresolved \*'
12398 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12399 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12400 echo "-hidden">> $lib.exp~
12401 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
12402 $RM $lib.exp'
12403 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12404 ;;
12405 esac
12406
12407 hardcode_libdir_separator_CXX=:
12408
12409 # Commands to make compiler produce verbose output that lists
12410 # what "hidden" libraries, object files and flags are used when
12411 # linking a shared library.
12412 #
12413 # There doesn't appear to be a way to prevent this compiler from
12414 # explicitly linking system object files so we need to strip them
12415 # from the output so that they don't get included in the library
12416 # dependencies.
12417 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12418 ;;
12419 *)
12420 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12421 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12422 case $host in
12423 osf3*)
12424 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12425 ;;
12426 *)
12427 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12428 ;;
12429 esac
12430
12431 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12432 hardcode_libdir_separator_CXX=:
12433
12434 # Commands to make compiler produce verbose output that lists
12435 # what "hidden" libraries, object files and flags are used when
12436 # linking a shared library.
12437 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12438
12439 else
12440 # FIXME: insert proper C++ library support
12441 ld_shlibs_CXX=no
12442 fi
12443 ;;
12444 esac
12445 ;;
12446
12447 psos*)
12448 # FIXME: insert proper C++ library support
12449 ld_shlibs_CXX=no
12450 ;;
12451
12452 sunos4*)
12453 case $cc_basename in
12454 CC*)
12455 # Sun C++ 4.x
12456 # FIXME: insert proper C++ library support
12457 ld_shlibs_CXX=no
12458 ;;
12459 lcc*)
12460 # Lucid
12461 # FIXME: insert proper C++ library support
12462 ld_shlibs_CXX=no
12463 ;;
12464 *)
12465 # FIXME: insert proper C++ library support
12466 ld_shlibs_CXX=no
12467 ;;
12468 esac
12469 ;;
12470
12471 solaris*)
12472 case $cc_basename in
12473 CC*)
12474 # Sun C++ 4.2, 5.x and Centerline C++
12475 archive_cmds_need_lc_CXX=yes
12476 no_undefined_flag_CXX=' -zdefs'
12477 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12478 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12479 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12480
12481 hardcode_libdir_flag_spec_CXX='-R$libdir'
12482 hardcode_shlibpath_var_CXX=no
12483 case $host_os in
12484 solaris2.[0-5] | solaris2.[0-5].*) ;;
12485 *)
12486 # The compiler driver will combine and reorder linker options,
12487 # but understands `-z linker_flag'.
12488 # Supported since Solaris 2.6 (maybe 2.5.1?)
12489 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12490 ;;
12491 esac
12492 link_all_deplibs_CXX=yes
12493
12494 output_verbose_link_cmd='echo'
12495
12496 # Archives containing C++ object files must be created using
12497 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12498 # necessary to make sure instantiated templates are included
12499 # in the archive.
12500 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12501 ;;
12502 gcx*)
12503 # Green Hills C++ Compiler
12504 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12505
12506 # The C++ compiler must be used to create the archive.
12507 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12508 ;;
12509 *)
12510 # GNU C++ compiler with Solaris linker
12511 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12512 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12513 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12514 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12515 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12516 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12517
12518 # Commands to make compiler produce verbose output that lists
12519 # what "hidden" libraries, object files and flags are used when
12520 # linking a shared library.
12521 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12522 else
12523 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12524 # platform.
12525 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12526 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12527 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12528
12529 # Commands to make compiler produce verbose output that lists
12530 # what "hidden" libraries, object files and flags are used when
12531 # linking a shared library.
12532 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12533 fi
12534
12535 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12536 case $host_os in
12537 solaris2.[0-5] | solaris2.[0-5].*) ;;
12538 *)
12539 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12540 ;;
12541 esac
12542 fi
12543 ;;
12544 esac
12545 ;;
12546
12547 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12548 no_undefined_flag_CXX='${wl}-z,text'
12549 archive_cmds_need_lc_CXX=no
12550 hardcode_shlibpath_var_CXX=no
12551 runpath_var='LD_RUN_PATH'
12552
12553 case $cc_basename in
12554 CC*)
12555 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12556 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12557 ;;
12558 *)
12559 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12560 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12561 ;;
12562 esac
12563 ;;
12564
12565 sysv5* | sco3.2v5* | sco5v6*)
12566 # Note: We can NOT use -z defs as we might desire, because we do not
12567 # link with -lc, and that would cause any symbols used from libc to
12568 # always be unresolved, which means just about no library would
12569 # ever link correctly. If we're not using GNU ld we use -z text
12570 # though, which does catch some bad symbols but isn't as heavy-handed
12571 # as -z defs.
12572 no_undefined_flag_CXX='${wl}-z,text'
12573 allow_undefined_flag_CXX='${wl}-z,nodefs'
12574 archive_cmds_need_lc_CXX=no
12575 hardcode_shlibpath_var_CXX=no
12576 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12577 hardcode_libdir_separator_CXX=':'
12578 link_all_deplibs_CXX=yes
12579 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12580 runpath_var='LD_RUN_PATH'
12581
12582 case $cc_basename in
12583 CC*)
12584 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12585 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12586 ;;
12587 *)
12588 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12589 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12590 ;;
12591 esac
12592 ;;
12593
12594 tandem*)
12595 case $cc_basename in
12596 NCC*)
12597 # NonStop-UX NCC 3.20
12598 # FIXME: insert proper C++ library support
12599 ld_shlibs_CXX=no
12600 ;;
12601 *)
12602 # FIXME: insert proper C++ library support
12603 ld_shlibs_CXX=no
12604 ;;
12605 esac
12606 ;;
12607
12608 vxworks*)
12609 # FIXME: insert proper C++ library support
12610 ld_shlibs_CXX=no
12611 ;;
12612
12613 *)
12614 # FIXME: insert proper C++ library support
12615 ld_shlibs_CXX=no
12616 ;;
12617 esac
12618
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12620 $as_echo "$ld_shlibs_CXX" >&6; }
12621 test "$ld_shlibs_CXX" = no && can_build_shared=no
12622
12623 GCC_CXX="$GXX"
12624 LD_CXX="$LD"
12625
12626 ## CAVEAT EMPTOR:
12627 ## There is no encapsulation within the following macros, do not change
12628 ## the running order or otherwise move them around unless you know exactly
12629 ## what you are doing...
12630 # Dependencies to place before and after the object being linked:
12631 predep_objects_CXX=
12632 postdep_objects_CXX=
12633 predeps_CXX=
12634 postdeps_CXX=
12635 compiler_lib_search_path_CXX=
12636
12637 cat > conftest.$ac_ext <<_LT_EOF
12638 class Foo
12639 {
12640 public:
12641 Foo (void) { a = 0; }
12642 private:
12643 int a;
12644 };
12645 _LT_EOF
12646
12647 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12648 (eval $ac_compile) 2>&5
12649 ac_status=$?
12650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12651 test $ac_status = 0; }; then
12652 # Parse the compiler output and extract the necessary
12653 # objects, libraries and library flags.
12654
12655 # Sentinel used to keep track of whether or not we are before
12656 # the conftest object file.
12657 pre_test_object_deps_done=no
12658
12659 for p in `eval "$output_verbose_link_cmd"`; do
12660 case $p in
12661
12662 -L* | -R* | -l*)
12663 # Some compilers place space between "-{L,R}" and the path.
12664 # Remove the space.
12665 if test $p = "-L" ||
12666 test $p = "-R"; then
12667 prev=$p
12668 continue
12669 else
12670 prev=
12671 fi
12672
12673 if test "$pre_test_object_deps_done" = no; then
12674 case $p in
12675 -L* | -R*)
12676 # Internal compiler library paths should come after those
12677 # provided the user. The postdeps already come after the
12678 # user supplied libs so there is no need to process them.
12679 if test -z "$compiler_lib_search_path_CXX"; then
12680 compiler_lib_search_path_CXX="${prev}${p}"
12681 else
12682 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12683 fi
12684 ;;
12685 # The "-l" case would never come before the object being
12686 # linked, so don't bother handling this case.
12687 esac
12688 else
12689 if test -z "$postdeps_CXX"; then
12690 postdeps_CXX="${prev}${p}"
12691 else
12692 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12693 fi
12694 fi
12695 ;;
12696
12697 *.$objext)
12698 # This assumes that the test object file only shows up
12699 # once in the compiler output.
12700 if test "$p" = "conftest.$objext"; then
12701 pre_test_object_deps_done=yes
12702 continue
12703 fi
12704
12705 if test "$pre_test_object_deps_done" = no; then
12706 if test -z "$predep_objects_CXX"; then
12707 predep_objects_CXX="$p"
12708 else
12709 predep_objects_CXX="$predep_objects_CXX $p"
12710 fi
12711 else
12712 if test -z "$postdep_objects_CXX"; then
12713 postdep_objects_CXX="$p"
12714 else
12715 postdep_objects_CXX="$postdep_objects_CXX $p"
12716 fi
12717 fi
12718 ;;
12719
12720 *) ;; # Ignore the rest.
12721
12722 esac
12723 done
12724
12725 # Clean up.
12726 rm -f a.out a.exe
12727 else
12728 echo "libtool.m4: error: problem compiling CXX test program"
12729 fi
12730
12731 $RM -f confest.$objext
12732
12733 # PORTME: override above test on systems where it is broken
12734 case $host_os in
12735 interix[3-9]*)
12736 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12737 # hack all around it, let's just trust "g++" to DTRT.
12738 predep_objects_CXX=
12739 postdep_objects_CXX=
12740 postdeps_CXX=
12741 ;;
12742
12743 linux*)
12744 case `$CC -V 2>&1 | sed 5q` in
12745 *Sun\ C*)
12746 # Sun C++ 5.9
12747
12748 # The more standards-conforming stlport4 library is
12749 # incompatible with the Cstd library. Avoid specifying
12750 # it if it's in CXXFLAGS. Ignore libCrun as
12751 # -library=stlport4 depends on it.
12752 case " $CXX $CXXFLAGS " in
12753 *" -library=stlport4 "*)
12754 solaris_use_stlport4=yes
12755 ;;
12756 esac
12757
12758 if test "$solaris_use_stlport4" != yes; then
12759 postdeps_CXX='-library=Cstd -library=Crun'
12760 fi
12761 ;;
12762 esac
12763 ;;
12764
12765 solaris*)
12766 case $cc_basename in
12767 CC*)
12768 # The more standards-conforming stlport4 library is
12769 # incompatible with the Cstd library. Avoid specifying
12770 # it if it's in CXXFLAGS. Ignore libCrun as
12771 # -library=stlport4 depends on it.
12772 case " $CXX $CXXFLAGS " in
12773 *" -library=stlport4 "*)
12774 solaris_use_stlport4=yes
12775 ;;
12776 esac
12777
12778 # Adding this requires a known-good setup of shared libraries for
12779 # Sun compiler versions before 5.6, else PIC objects from an old
12780 # archive will be linked into the output, leading to subtle bugs.
12781 if test "$solaris_use_stlport4" != yes; then
12782 postdeps_CXX='-library=Cstd -library=Crun'
12783 fi
12784 ;;
12785 esac
12786 ;;
12787 esac
12788
12789
12790 case " $postdeps_CXX " in
12791 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12792 esac
12793 compiler_lib_search_dirs_CXX=
12794 if test -n "${compiler_lib_search_path_CXX}"; then
12795 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12796 fi
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828 lt_prog_compiler_wl_CXX=
12829 lt_prog_compiler_pic_CXX=
12830 lt_prog_compiler_static_CXX=
12831
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12833 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12834
12835 # C++ specific cases for pic, static, wl, etc.
12836 if test "$GXX" = yes; then
12837 lt_prog_compiler_wl_CXX='-Wl,'
12838 lt_prog_compiler_static_CXX='-static'
12839
12840 case $host_os in
12841 aix*)
12842 # All AIX code is PIC.
12843 if test "$host_cpu" = ia64; then
12844 # AIX 5 now supports IA64 processor
12845 lt_prog_compiler_static_CXX='-Bstatic'
12846 fi
12847 ;;
12848
12849 amigaos*)
12850 case $host_cpu in
12851 powerpc)
12852 # see comment about AmigaOS4 .so support
12853 lt_prog_compiler_pic_CXX='-fPIC'
12854 ;;
12855 m68k)
12856 # FIXME: we need at least 68020 code to build shared libraries, but
12857 # adding the `-m68020' flag to GCC prevents building anything better,
12858 # like `-m68040'.
12859 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12860 ;;
12861 esac
12862 ;;
12863
12864 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12865 # PIC is the default for these OSes.
12866 ;;
12867 mingw* | cygwin* | os2* | pw32* | cegcc*)
12868 # This hack is so that the source file can tell whether it is being
12869 # built for inclusion in a dll (and should export symbols for example).
12870 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12871 # (--disable-auto-import) libraries
12872 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12873 ;;
12874 darwin* | rhapsody*)
12875 # PIC is the default on this platform
12876 # Common symbols not allowed in MH_DYLIB files
12877 lt_prog_compiler_pic_CXX='-fno-common'
12878 ;;
12879 *djgpp*)
12880 # DJGPP does not support shared libraries at all
12881 lt_prog_compiler_pic_CXX=
12882 ;;
12883 interix[3-9]*)
12884 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12885 # Instead, we relocate shared libraries at runtime.
12886 ;;
12887 sysv4*MP*)
12888 if test -d /usr/nec; then
12889 lt_prog_compiler_pic_CXX=-Kconform_pic
12890 fi
12891 ;;
12892 hpux*)
12893 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12894 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12895 # sets the default TLS model and affects inlining.
12896 case $host_cpu in
12897 hppa*64*)
12898 ;;
12899 *)
12900 lt_prog_compiler_pic_CXX='-fPIC'
12901 ;;
12902 esac
12903 ;;
12904 *qnx* | *nto*)
12905 # QNX uses GNU C++, but need to define -shared option too, otherwise
12906 # it will coredump.
12907 lt_prog_compiler_pic_CXX='-fPIC -shared'
12908 ;;
12909 *)
12910 lt_prog_compiler_pic_CXX='-fPIC'
12911 ;;
12912 esac
12913 else
12914 case $host_os in
12915 aix[4-9]*)
12916 # All AIX code is PIC.
12917 if test "$host_cpu" = ia64; then
12918 # AIX 5 now supports IA64 processor
12919 lt_prog_compiler_static_CXX='-Bstatic'
12920 else
12921 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12922 fi
12923 ;;
12924 chorus*)
12925 case $cc_basename in
12926 cxch68*)
12927 # Green Hills C++ Compiler
12928 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12929 ;;
12930 esac
12931 ;;
12932 dgux*)
12933 case $cc_basename in
12934 ec++*)
12935 lt_prog_compiler_pic_CXX='-KPIC'
12936 ;;
12937 ghcx*)
12938 # Green Hills C++ Compiler
12939 lt_prog_compiler_pic_CXX='-pic'
12940 ;;
12941 *)
12942 ;;
12943 esac
12944 ;;
12945 freebsd* | dragonfly*)
12946 # FreeBSD uses GNU C++
12947 ;;
12948 hpux9* | hpux10* | hpux11*)
12949 case $cc_basename in
12950 CC*)
12951 lt_prog_compiler_wl_CXX='-Wl,'
12952 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12953 if test "$host_cpu" != ia64; then
12954 lt_prog_compiler_pic_CXX='+Z'
12955 fi
12956 ;;
12957 aCC*)
12958 lt_prog_compiler_wl_CXX='-Wl,'
12959 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12960 case $host_cpu in
12961 hppa*64*|ia64*)
12962 # +Z the default
12963 ;;
12964 *)
12965 lt_prog_compiler_pic_CXX='+Z'
12966 ;;
12967 esac
12968 ;;
12969 *)
12970 ;;
12971 esac
12972 ;;
12973 interix*)
12974 # This is c89, which is MS Visual C++ (no shared libs)
12975 # Anyone wants to do a port?
12976 ;;
12977 irix5* | irix6* | nonstopux*)
12978 case $cc_basename in
12979 CC*)
12980 lt_prog_compiler_wl_CXX='-Wl,'
12981 lt_prog_compiler_static_CXX='-non_shared'
12982 # CC pic flag -KPIC is the default.
12983 ;;
12984 *)
12985 ;;
12986 esac
12987 ;;
12988 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12989 case $cc_basename in
12990 KCC*)
12991 # KAI C++ Compiler
12992 lt_prog_compiler_wl_CXX='--backend -Wl,'
12993 lt_prog_compiler_pic_CXX='-fPIC'
12994 ;;
12995 ecpc* )
12996 # old Intel C++ for x86_64 which still supported -KPIC.
12997 lt_prog_compiler_wl_CXX='-Wl,'
12998 lt_prog_compiler_pic_CXX='-KPIC'
12999 lt_prog_compiler_static_CXX='-static'
13000 ;;
13001 icpc* )
13002 # Intel C++, used to be incompatible with GCC.
13003 # ICC 10 doesn't accept -KPIC any more.
13004 lt_prog_compiler_wl_CXX='-Wl,'
13005 lt_prog_compiler_pic_CXX='-fPIC'
13006 lt_prog_compiler_static_CXX='-static'
13007 ;;
13008 pgCC* | pgcpp*)
13009 # Portland Group C++ compiler
13010 lt_prog_compiler_wl_CXX='-Wl,'
13011 lt_prog_compiler_pic_CXX='-fpic'
13012 lt_prog_compiler_static_CXX='-Bstatic'
13013 ;;
13014 cxx*)
13015 # Compaq C++
13016 # Make sure the PIC flag is empty. It appears that all Alpha
13017 # Linux and Compaq Tru64 Unix objects are PIC.
13018 lt_prog_compiler_pic_CXX=
13019 lt_prog_compiler_static_CXX='-non_shared'
13020 ;;
13021 xlc* | xlC*)
13022 # IBM XL 8.0 on PPC
13023 lt_prog_compiler_wl_CXX='-Wl,'
13024 lt_prog_compiler_pic_CXX='-qpic'
13025 lt_prog_compiler_static_CXX='-qstaticlink'
13026 ;;
13027 *)
13028 case `$CC -V 2>&1 | sed 5q` in
13029 *Sun\ C*)
13030 # Sun C++ 5.9
13031 lt_prog_compiler_pic_CXX='-KPIC'
13032 lt_prog_compiler_static_CXX='-Bstatic'
13033 lt_prog_compiler_wl_CXX='-Qoption ld '
13034 ;;
13035 esac
13036 ;;
13037 esac
13038 ;;
13039 lynxos*)
13040 ;;
13041 m88k*)
13042 ;;
13043 mvs*)
13044 case $cc_basename in
13045 cxx*)
13046 lt_prog_compiler_pic_CXX='-W c,exportall'
13047 ;;
13048 *)
13049 ;;
13050 esac
13051 ;;
13052 netbsd* | netbsdelf*-gnu)
13053 ;;
13054 *qnx* | *nto*)
13055 # QNX uses GNU C++, but need to define -shared option too, otherwise
13056 # it will coredump.
13057 lt_prog_compiler_pic_CXX='-fPIC -shared'
13058 ;;
13059 osf3* | osf4* | osf5*)
13060 case $cc_basename in
13061 KCC*)
13062 lt_prog_compiler_wl_CXX='--backend -Wl,'
13063 ;;
13064 RCC*)
13065 # Rational C++ 2.4.1
13066 lt_prog_compiler_pic_CXX='-pic'
13067 ;;
13068 cxx*)
13069 # Digital/Compaq C++
13070 lt_prog_compiler_wl_CXX='-Wl,'
13071 # Make sure the PIC flag is empty. It appears that all Alpha
13072 # Linux and Compaq Tru64 Unix objects are PIC.
13073 lt_prog_compiler_pic_CXX=
13074 lt_prog_compiler_static_CXX='-non_shared'
13075 ;;
13076 *)
13077 ;;
13078 esac
13079 ;;
13080 psos*)
13081 ;;
13082 solaris*)
13083 case $cc_basename in
13084 CC*)
13085 # Sun C++ 4.2, 5.x and Centerline C++
13086 lt_prog_compiler_pic_CXX='-KPIC'
13087 lt_prog_compiler_static_CXX='-Bstatic'
13088 lt_prog_compiler_wl_CXX='-Qoption ld '
13089 ;;
13090 gcx*)
13091 # Green Hills C++ Compiler
13092 lt_prog_compiler_pic_CXX='-PIC'
13093 ;;
13094 *)
13095 ;;
13096 esac
13097 ;;
13098 sunos4*)
13099 case $cc_basename in
13100 CC*)
13101 # Sun C++ 4.x
13102 lt_prog_compiler_pic_CXX='-pic'
13103 lt_prog_compiler_static_CXX='-Bstatic'
13104 ;;
13105 lcc*)
13106 # Lucid
13107 lt_prog_compiler_pic_CXX='-pic'
13108 ;;
13109 *)
13110 ;;
13111 esac
13112 ;;
13113 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13114 case $cc_basename in
13115 CC*)
13116 lt_prog_compiler_wl_CXX='-Wl,'
13117 lt_prog_compiler_pic_CXX='-KPIC'
13118 lt_prog_compiler_static_CXX='-Bstatic'
13119 ;;
13120 esac
13121 ;;
13122 tandem*)
13123 case $cc_basename in
13124 NCC*)
13125 # NonStop-UX NCC 3.20
13126 lt_prog_compiler_pic_CXX='-KPIC'
13127 ;;
13128 *)
13129 ;;
13130 esac
13131 ;;
13132 vxworks*)
13133 ;;
13134 *)
13135 lt_prog_compiler_can_build_shared_CXX=no
13136 ;;
13137 esac
13138 fi
13139
13140 case $host_os in
13141 # For platforms which do not support PIC, -DPIC is meaningless:
13142 *djgpp*)
13143 lt_prog_compiler_pic_CXX=
13144 ;;
13145 *)
13146 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13147 ;;
13148 esac
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13150 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13151
13152
13153
13154 #
13155 # Check to make sure the PIC flag actually works.
13156 #
13157 if test -n "$lt_prog_compiler_pic_CXX"; then
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13159 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13160 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13161 $as_echo_n "(cached) " >&6
13162 else
13163 lt_cv_prog_compiler_pic_works_CXX=no
13164 ac_outfile=conftest.$ac_objext
13165 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13166 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13167 # Insert the option either (1) after the last *FLAGS variable, or
13168 # (2) before a word containing "conftest.", or (3) at the end.
13169 # Note that $ac_compile itself does not contain backslashes and begins
13170 # with a dollar sign (not a hyphen), so the echo should work correctly.
13171 # The option is referenced via a variable to avoid confusing sed.
13172 lt_compile=`echo "$ac_compile" | $SED \
13173 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13175 -e 's:$: $lt_compiler_flag:'`
13176 (eval echo "\"\$as_me:13176: $lt_compile\"" >&5)
13177 (eval "$lt_compile" 2>conftest.err)
13178 ac_status=$?
13179 cat conftest.err >&5
13180 echo "$as_me:13180: \$? = $ac_status" >&5
13181 if (exit $ac_status) && test -s "$ac_outfile"; then
13182 # The compiler can only warn and ignore the option if not recognized
13183 # So say no if there are warnings other than the usual output.
13184 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13185 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13186 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13187 lt_cv_prog_compiler_pic_works_CXX=yes
13188 fi
13189 fi
13190 $RM conftest*
13191
13192 fi
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13194 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13195
13196 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13197 case $lt_prog_compiler_pic_CXX in
13198 "" | " "*) ;;
13199 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13200 esac
13201 else
13202 lt_prog_compiler_pic_CXX=
13203 lt_prog_compiler_can_build_shared_CXX=no
13204 fi
13205
13206 fi
13207
13208
13209
13210 #
13211 # Check to make sure the static flag actually works.
13212 #
13213 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13215 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13216 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13217 $as_echo_n "(cached) " >&6
13218 else
13219 lt_cv_prog_compiler_static_works_CXX=no
13220 save_LDFLAGS="$LDFLAGS"
13221 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13222 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13223 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13224 # The linker can only warn and ignore the option if not recognized
13225 # So say no if there are warnings
13226 if test -s conftest.err; then
13227 # Append any errors to the config.log.
13228 cat conftest.err 1>&5
13229 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13230 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13231 if diff conftest.exp conftest.er2 >/dev/null; then
13232 lt_cv_prog_compiler_static_works_CXX=yes
13233 fi
13234 else
13235 lt_cv_prog_compiler_static_works_CXX=yes
13236 fi
13237 fi
13238 $RM -r conftest*
13239 LDFLAGS="$save_LDFLAGS"
13240
13241 fi
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13243 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13244
13245 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13246 :
13247 else
13248 lt_prog_compiler_static_CXX=
13249 fi
13250
13251
13252
13253
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13255 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13256 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13257 $as_echo_n "(cached) " >&6
13258 else
13259 lt_cv_prog_compiler_c_o_CXX=no
13260 $RM -r conftest 2>/dev/null
13261 mkdir conftest
13262 cd conftest
13263 mkdir out
13264 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13265
13266 lt_compiler_flag="-o out/conftest2.$ac_objext"
13267 # Insert the option either (1) after the last *FLAGS variable, or
13268 # (2) before a word containing "conftest.", or (3) at the end.
13269 # Note that $ac_compile itself does not contain backslashes and begins
13270 # with a dollar sign (not a hyphen), so the echo should work correctly.
13271 lt_compile=`echo "$ac_compile" | $SED \
13272 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13273 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13274 -e 's:$: $lt_compiler_flag:'`
13275 (eval echo "\"\$as_me:13275: $lt_compile\"" >&5)
13276 (eval "$lt_compile" 2>out/conftest.err)
13277 ac_status=$?
13278 cat out/conftest.err >&5
13279 echo "$as_me:13279: \$? = $ac_status" >&5
13280 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13281 then
13282 # The compiler can only warn and ignore the option if not recognized
13283 # So say no if there are warnings
13284 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13285 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13286 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13287 lt_cv_prog_compiler_c_o_CXX=yes
13288 fi
13289 fi
13290 chmod u+w . 2>&5
13291 $RM conftest*
13292 # SGI C++ compiler will create directory out/ii_files/ for
13293 # template instantiation
13294 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13295 $RM out/* && rmdir out
13296 cd ..
13297 $RM -r conftest
13298 $RM conftest*
13299
13300 fi
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13302 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13303
13304
13305
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13307 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13308 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13309 $as_echo_n "(cached) " >&6
13310 else
13311 lt_cv_prog_compiler_c_o_CXX=no
13312 $RM -r conftest 2>/dev/null
13313 mkdir conftest
13314 cd conftest
13315 mkdir out
13316 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13317
13318 lt_compiler_flag="-o out/conftest2.$ac_objext"
13319 # Insert the option either (1) after the last *FLAGS variable, or
13320 # (2) before a word containing "conftest.", or (3) at the end.
13321 # Note that $ac_compile itself does not contain backslashes and begins
13322 # with a dollar sign (not a hyphen), so the echo should work correctly.
13323 lt_compile=`echo "$ac_compile" | $SED \
13324 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13325 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13326 -e 's:$: $lt_compiler_flag:'`
13327 (eval echo "\"\$as_me:13327: $lt_compile\"" >&5)
13328 (eval "$lt_compile" 2>out/conftest.err)
13329 ac_status=$?
13330 cat out/conftest.err >&5
13331 echo "$as_me:13331: \$? = $ac_status" >&5
13332 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13333 then
13334 # The compiler can only warn and ignore the option if not recognized
13335 # So say no if there are warnings
13336 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13337 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13338 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13339 lt_cv_prog_compiler_c_o_CXX=yes
13340 fi
13341 fi
13342 chmod u+w . 2>&5
13343 $RM conftest*
13344 # SGI C++ compiler will create directory out/ii_files/ for
13345 # template instantiation
13346 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13347 $RM out/* && rmdir out
13348 cd ..
13349 $RM -r conftest
13350 $RM conftest*
13351
13352 fi
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13354 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13355
13356
13357
13358
13359 hard_links="nottested"
13360 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13361 # do not overwrite the value of need_locks provided by the user
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13363 $as_echo_n "checking if we can lock with hard links... " >&6; }
13364 hard_links=yes
13365 $RM conftest*
13366 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13367 touch conftest.a
13368 ln conftest.a conftest.b 2>&5 || hard_links=no
13369 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13371 $as_echo "$hard_links" >&6; }
13372 if test "$hard_links" = no; then
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13374 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13375 need_locks=warn
13376 fi
13377 else
13378 need_locks=no
13379 fi
13380
13381
13382
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13384 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13385
13386 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13387 case $host_os in
13388 aix[4-9]*)
13389 # If we're using GNU nm, then we don't want the "-C" option.
13390 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13391 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13392 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13393 else
13394 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13395 fi
13396 ;;
13397 pw32*)
13398 export_symbols_cmds_CXX="$ltdll_cmds"
13399 ;;
13400 cygwin* | mingw* | cegcc*)
13401 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13402 ;;
13403 linux* | k*bsd*-gnu)
13404 link_all_deplibs_CXX=no
13405 ;;
13406 *)
13407 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13408 ;;
13409 esac
13410 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13411
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13413 $as_echo "$ld_shlibs_CXX" >&6; }
13414 test "$ld_shlibs_CXX" = no && can_build_shared=no
13415
13416 with_gnu_ld_CXX=$with_gnu_ld
13417
13418
13419
13420
13421
13422
13423 #
13424 # Do we need to explicitly link libc?
13425 #
13426 case "x$archive_cmds_need_lc_CXX" in
13427 x|xyes)
13428 # Assume -lc should be added
13429 archive_cmds_need_lc_CXX=yes
13430
13431 if test "$enable_shared" = yes && test "$GCC" = yes; then
13432 case $archive_cmds_CXX in
13433 *'~'*)
13434 # FIXME: we may have to deal with multi-command sequences.
13435 ;;
13436 '$CC '*)
13437 # Test whether the compiler implicitly links with -lc since on some
13438 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13439 # to ld, don't add -lc before -lgcc.
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13441 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13442 $RM conftest*
13443 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13444
13445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13446 (eval $ac_compile) 2>&5
13447 ac_status=$?
13448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13449 test $ac_status = 0; } 2>conftest.err; then
13450 soname=conftest
13451 lib=conftest
13452 libobjs=conftest.$ac_objext
13453 deplibs=
13454 wl=$lt_prog_compiler_wl_CXX
13455 pic_flag=$lt_prog_compiler_pic_CXX
13456 compiler_flags=-v
13457 linker_flags=-v
13458 verstring=
13459 output_objdir=.
13460 libname=conftest
13461 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13462 allow_undefined_flag_CXX=
13463 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13464 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13465 ac_status=$?
13466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13467 test $ac_status = 0; }
13468 then
13469 archive_cmds_need_lc_CXX=no
13470 else
13471 archive_cmds_need_lc_CXX=yes
13472 fi
13473 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13474 else
13475 cat conftest.err 1>&5
13476 fi
13477 $RM conftest*
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13479 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13480 ;;
13481 esac
13482 fi
13483 ;;
13484 esac
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13550 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13551
13552 library_names_spec=
13553 libname_spec='lib$name'
13554 soname_spec=
13555 shrext_cmds=".so"
13556 postinstall_cmds=
13557 postuninstall_cmds=
13558 finish_cmds=
13559 finish_eval=
13560 shlibpath_var=
13561 shlibpath_overrides_runpath=unknown
13562 version_type=none
13563 dynamic_linker="$host_os ld.so"
13564 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13565 need_lib_prefix=unknown
13566 hardcode_into_libs=no
13567
13568 # when you set need_version to no, make sure it does not cause -set_version
13569 # flags to be left without arguments
13570 need_version=unknown
13571
13572 case $host_os in
13573 aix3*)
13574 version_type=linux
13575 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13576 shlibpath_var=LIBPATH
13577
13578 # AIX 3 has no versioning support, so we append a major version to the name.
13579 soname_spec='${libname}${release}${shared_ext}$major'
13580 ;;
13581
13582 aix[4-9]*)
13583 version_type=linux
13584 need_lib_prefix=no
13585 need_version=no
13586 hardcode_into_libs=yes
13587 if test "$host_cpu" = ia64; then
13588 # AIX 5 supports IA64
13589 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13590 shlibpath_var=LD_LIBRARY_PATH
13591 else
13592 # With GCC up to 2.95.x, collect2 would create an import file
13593 # for dependence libraries. The import file would start with
13594 # the line `#! .'. This would cause the generated library to
13595 # depend on `.', always an invalid library. This was fixed in
13596 # development snapshots of GCC prior to 3.0.
13597 case $host_os in
13598 aix4 | aix4.[01] | aix4.[01].*)
13599 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13600 echo ' yes '
13601 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13602 :
13603 else
13604 can_build_shared=no
13605 fi
13606 ;;
13607 esac
13608 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13609 # soname into executable. Probably we can add versioning support to
13610 # collect2, so additional links can be useful in future.
13611 if test "$aix_use_runtimelinking" = yes; then
13612 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13613 # instead of lib<name>.a to let people know that these are not
13614 # typical AIX shared libraries.
13615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13616 else
13617 # We preserve .a as extension for shared libraries through AIX4.2
13618 # and later when we are not doing run time linking.
13619 library_names_spec='${libname}${release}.a $libname.a'
13620 soname_spec='${libname}${release}${shared_ext}$major'
13621 fi
13622 shlibpath_var=LIBPATH
13623 fi
13624 ;;
13625
13626 amigaos*)
13627 case $host_cpu in
13628 powerpc)
13629 # Since July 2007 AmigaOS4 officially supports .so libraries.
13630 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13632 ;;
13633 m68k)
13634 library_names_spec='$libname.ixlibrary $libname.a'
13635 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13636 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13637 ;;
13638 esac
13639 ;;
13640
13641 beos*)
13642 library_names_spec='${libname}${shared_ext}'
13643 dynamic_linker="$host_os ld.so"
13644 shlibpath_var=LIBRARY_PATH
13645 ;;
13646
13647 bsdi[45]*)
13648 version_type=linux
13649 need_version=no
13650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13651 soname_spec='${libname}${release}${shared_ext}$major'
13652 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13653 shlibpath_var=LD_LIBRARY_PATH
13654 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13655 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13656 # the default ld.so.conf also contains /usr/contrib/lib and
13657 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13658 # libtool to hard-code these into programs
13659 ;;
13660
13661 cygwin* | mingw* | pw32* | cegcc*)
13662 version_type=windows
13663 shrext_cmds=".dll"
13664 need_version=no
13665 need_lib_prefix=no
13666
13667 case $GCC,$host_os in
13668 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13669 library_names_spec='$libname.dll.a'
13670 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13671 postinstall_cmds='base_file=`basename \${file}`~
13672 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13673 dldir=$destdir/`dirname \$dlpath`~
13674 test -d \$dldir || mkdir -p \$dldir~
13675 $install_prog $dir/$dlname \$dldir/$dlname~
13676 chmod a+x \$dldir/$dlname~
13677 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13678 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13679 fi'
13680 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13681 dlpath=$dir/\$dldll~
13682 $RM \$dlpath'
13683 shlibpath_overrides_runpath=yes
13684
13685 case $host_os in
13686 cygwin*)
13687 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13688 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13689 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13690 ;;
13691 mingw* | cegcc*)
13692 # MinGW DLLs use traditional 'lib' prefix
13693 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13694 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13695 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13696 # It is most probably a Windows format PATH printed by
13697 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13698 # path with ; separators, and with drive letters. We can handle the
13699 # drive letters (cygwin fileutils understands them), so leave them,
13700 # especially as we might pass files found there to a mingw objdump,
13701 # which wouldn't understand a cygwinified path. Ahh.
13702 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13703 else
13704 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13705 fi
13706 ;;
13707 pw32*)
13708 # pw32 DLLs use 'pw' prefix rather than 'lib'
13709 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13710 ;;
13711 esac
13712 ;;
13713
13714 *)
13715 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13716 ;;
13717 esac
13718 dynamic_linker='Win32 ld.exe'
13719 # FIXME: first we should search . and the directory the executable is in
13720 shlibpath_var=PATH
13721 ;;
13722
13723 darwin* | rhapsody*)
13724 dynamic_linker="$host_os dyld"
13725 version_type=darwin
13726 need_lib_prefix=no
13727 need_version=no
13728 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13729 soname_spec='${libname}${release}${major}$shared_ext'
13730 shlibpath_overrides_runpath=yes
13731 shlibpath_var=DYLD_LIBRARY_PATH
13732 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13733
13734 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13735 ;;
13736
13737 dgux*)
13738 version_type=linux
13739 need_lib_prefix=no
13740 need_version=no
13741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13742 soname_spec='${libname}${release}${shared_ext}$major'
13743 shlibpath_var=LD_LIBRARY_PATH
13744 ;;
13745
13746 freebsd1*)
13747 dynamic_linker=no
13748 ;;
13749
13750 freebsd* | dragonfly*)
13751 # DragonFly does not have aout. When/if they implement a new
13752 # versioning mechanism, adjust this.
13753 if test -x /usr/bin/objformat; then
13754 objformat=`/usr/bin/objformat`
13755 else
13756 case $host_os in
13757 freebsd[123]*) objformat=aout ;;
13758 *) objformat=elf ;;
13759 esac
13760 fi
13761 version_type=freebsd-$objformat
13762 case $version_type in
13763 freebsd-elf*)
13764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13765 need_version=no
13766 need_lib_prefix=no
13767 ;;
13768 freebsd-*)
13769 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13770 need_version=yes
13771 ;;
13772 esac
13773 shlibpath_var=LD_LIBRARY_PATH
13774 case $host_os in
13775 freebsd2*)
13776 shlibpath_overrides_runpath=yes
13777 ;;
13778 freebsd3.[01]* | freebsdelf3.[01]*)
13779 shlibpath_overrides_runpath=yes
13780 hardcode_into_libs=yes
13781 ;;
13782 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13783 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13784 shlibpath_overrides_runpath=no
13785 hardcode_into_libs=yes
13786 ;;
13787 *) # from 4.6 on, and DragonFly
13788 shlibpath_overrides_runpath=yes
13789 hardcode_into_libs=yes
13790 ;;
13791 esac
13792 ;;
13793
13794 gnu*)
13795 version_type=linux
13796 need_lib_prefix=no
13797 need_version=no
13798 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13799 soname_spec='${libname}${release}${shared_ext}$major'
13800 shlibpath_var=LD_LIBRARY_PATH
13801 hardcode_into_libs=yes
13802 ;;
13803
13804 hpux9* | hpux10* | hpux11*)
13805 # Give a soname corresponding to the major version so that dld.sl refuses to
13806 # link against other versions.
13807 version_type=sunos
13808 need_lib_prefix=no
13809 need_version=no
13810 case $host_cpu in
13811 ia64*)
13812 shrext_cmds='.so'
13813 hardcode_into_libs=yes
13814 dynamic_linker="$host_os dld.so"
13815 shlibpath_var=LD_LIBRARY_PATH
13816 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13818 soname_spec='${libname}${release}${shared_ext}$major'
13819 if test "X$HPUX_IA64_MODE" = X32; then
13820 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13821 else
13822 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13823 fi
13824 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13825 ;;
13826 hppa*64*)
13827 shrext_cmds='.sl'
13828 hardcode_into_libs=yes
13829 dynamic_linker="$host_os dld.sl"
13830 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13831 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13833 soname_spec='${libname}${release}${shared_ext}$major'
13834 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13835 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13836 ;;
13837 *)
13838 shrext_cmds='.sl'
13839 dynamic_linker="$host_os dld.sl"
13840 shlibpath_var=SHLIB_PATH
13841 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13843 soname_spec='${libname}${release}${shared_ext}$major'
13844 ;;
13845 esac
13846 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13847 postinstall_cmds='chmod 555 $lib'
13848 ;;
13849
13850 interix[3-9]*)
13851 version_type=linux
13852 need_lib_prefix=no
13853 need_version=no
13854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13855 soname_spec='${libname}${release}${shared_ext}$major'
13856 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13857 shlibpath_var=LD_LIBRARY_PATH
13858 shlibpath_overrides_runpath=no
13859 hardcode_into_libs=yes
13860 ;;
13861
13862 irix5* | irix6* | nonstopux*)
13863 case $host_os in
13864 nonstopux*) version_type=nonstopux ;;
13865 *)
13866 if test "$lt_cv_prog_gnu_ld" = yes; then
13867 version_type=linux
13868 else
13869 version_type=irix
13870 fi ;;
13871 esac
13872 need_lib_prefix=no
13873 need_version=no
13874 soname_spec='${libname}${release}${shared_ext}$major'
13875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13876 case $host_os in
13877 irix5* | nonstopux*)
13878 libsuff= shlibsuff=
13879 ;;
13880 *)
13881 case $LD in # libtool.m4 will add one of these switches to LD
13882 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13883 libsuff= shlibsuff= libmagic=32-bit;;
13884 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13885 libsuff=32 shlibsuff=N32 libmagic=N32;;
13886 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13887 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13888 *) libsuff= shlibsuff= libmagic=never-match;;
13889 esac
13890 ;;
13891 esac
13892 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13893 shlibpath_overrides_runpath=no
13894 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13895 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13896 hardcode_into_libs=yes
13897 ;;
13898
13899 # No shared lib support for Linux oldld, aout, or coff.
13900 linux*oldld* | linux*aout* | linux*coff*)
13901 dynamic_linker=no
13902 ;;
13903
13904 # This must be Linux ELF.
13905 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13906 version_type=linux
13907 need_lib_prefix=no
13908 need_version=no
13909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13910 soname_spec='${libname}${release}${shared_ext}$major'
13911 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13912 shlibpath_var=LD_LIBRARY_PATH
13913 shlibpath_overrides_runpath=no
13914 # Some binutils ld are patched to set DT_RUNPATH
13915 save_LDFLAGS=$LDFLAGS
13916 save_libdir=$libdir
13917 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13918 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13920 /* end confdefs.h. */
13921
13922 int
13923 main ()
13924 {
13925
13926 ;
13927 return 0;
13928 }
13929 _ACEOF
13930 if ac_fn_cxx_try_link "$LINENO"; then :
13931 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13932 shlibpath_overrides_runpath=yes
13933 fi
13934 fi
13935 rm -f core conftest.err conftest.$ac_objext \
13936 conftest$ac_exeext conftest.$ac_ext
13937 LDFLAGS=$save_LDFLAGS
13938 libdir=$save_libdir
13939
13940 # This implies no fast_install, which is unacceptable.
13941 # Some rework will be needed to allow for fast_install
13942 # before this can be enabled.
13943 hardcode_into_libs=yes
13944
13945 # Append ld.so.conf contents to the search path
13946 if test -f /etc/ld.so.conf; then
13947 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13948 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13949 fi
13950
13951 # We used to test for /lib/ld.so.1 and disable shared libraries on
13952 # powerpc, because MkLinux only supported shared libraries with the
13953 # GNU dynamic linker. Since this was broken with cross compilers,
13954 # most powerpc-linux boxes support dynamic linking these days and
13955 # people can always --disable-shared, the test was removed, and we
13956 # assume the GNU/Linux dynamic linker is in use.
13957 dynamic_linker='GNU/Linux ld.so'
13958 ;;
13959
13960 netbsdelf*-gnu)
13961 version_type=linux
13962 need_lib_prefix=no
13963 need_version=no
13964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13965 soname_spec='${libname}${release}${shared_ext}$major'
13966 shlibpath_var=LD_LIBRARY_PATH
13967 shlibpath_overrides_runpath=no
13968 hardcode_into_libs=yes
13969 dynamic_linker='NetBSD ld.elf_so'
13970 ;;
13971
13972 netbsd*)
13973 version_type=sunos
13974 need_lib_prefix=no
13975 need_version=no
13976 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13978 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13979 dynamic_linker='NetBSD (a.out) ld.so'
13980 else
13981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13982 soname_spec='${libname}${release}${shared_ext}$major'
13983 dynamic_linker='NetBSD ld.elf_so'
13984 fi
13985 shlibpath_var=LD_LIBRARY_PATH
13986 shlibpath_overrides_runpath=yes
13987 hardcode_into_libs=yes
13988 ;;
13989
13990 newsos6)
13991 version_type=linux
13992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13993 shlibpath_var=LD_LIBRARY_PATH
13994 shlibpath_overrides_runpath=yes
13995 ;;
13996
13997 *nto* | *qnx*)
13998 version_type=qnx
13999 need_lib_prefix=no
14000 need_version=no
14001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14002 soname_spec='${libname}${release}${shared_ext}$major'
14003 shlibpath_var=LD_LIBRARY_PATH
14004 shlibpath_overrides_runpath=no
14005 hardcode_into_libs=yes
14006 dynamic_linker='ldqnx.so'
14007 ;;
14008
14009 openbsd*)
14010 version_type=sunos
14011 sys_lib_dlsearch_path_spec="/usr/lib"
14012 need_lib_prefix=no
14013 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14014 case $host_os in
14015 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14016 *) need_version=no ;;
14017 esac
14018 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14019 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14020 shlibpath_var=LD_LIBRARY_PATH
14021 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14022 case $host_os in
14023 openbsd2.[89] | openbsd2.[89].*)
14024 shlibpath_overrides_runpath=no
14025 ;;
14026 *)
14027 shlibpath_overrides_runpath=yes
14028 ;;
14029 esac
14030 else
14031 shlibpath_overrides_runpath=yes
14032 fi
14033 ;;
14034
14035 os2*)
14036 libname_spec='$name'
14037 shrext_cmds=".dll"
14038 need_lib_prefix=no
14039 library_names_spec='$libname${shared_ext} $libname.a'
14040 dynamic_linker='OS/2 ld.exe'
14041 shlibpath_var=LIBPATH
14042 ;;
14043
14044 osf3* | osf4* | osf5*)
14045 version_type=osf
14046 need_lib_prefix=no
14047 need_version=no
14048 soname_spec='${libname}${release}${shared_ext}$major'
14049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14050 shlibpath_var=LD_LIBRARY_PATH
14051 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14052 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14053 ;;
14054
14055 rdos*)
14056 dynamic_linker=no
14057 ;;
14058
14059 solaris*)
14060 version_type=linux
14061 need_lib_prefix=no
14062 need_version=no
14063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14064 soname_spec='${libname}${release}${shared_ext}$major'
14065 shlibpath_var=LD_LIBRARY_PATH
14066 shlibpath_overrides_runpath=yes
14067 hardcode_into_libs=yes
14068 # ldd complains unless libraries are executable
14069 postinstall_cmds='chmod +x $lib'
14070 ;;
14071
14072 sunos4*)
14073 version_type=sunos
14074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14075 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14076 shlibpath_var=LD_LIBRARY_PATH
14077 shlibpath_overrides_runpath=yes
14078 if test "$with_gnu_ld" = yes; then
14079 need_lib_prefix=no
14080 fi
14081 need_version=yes
14082 ;;
14083
14084 sysv4 | sysv4.3*)
14085 version_type=linux
14086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14087 soname_spec='${libname}${release}${shared_ext}$major'
14088 shlibpath_var=LD_LIBRARY_PATH
14089 case $host_vendor in
14090 sni)
14091 shlibpath_overrides_runpath=no
14092 need_lib_prefix=no
14093 runpath_var=LD_RUN_PATH
14094 ;;
14095 siemens)
14096 need_lib_prefix=no
14097 ;;
14098 motorola)
14099 need_lib_prefix=no
14100 need_version=no
14101 shlibpath_overrides_runpath=no
14102 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14103 ;;
14104 esac
14105 ;;
14106
14107 sysv4*MP*)
14108 if test -d /usr/nec ;then
14109 version_type=linux
14110 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14111 soname_spec='$libname${shared_ext}.$major'
14112 shlibpath_var=LD_LIBRARY_PATH
14113 fi
14114 ;;
14115
14116 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14117 version_type=freebsd-elf
14118 need_lib_prefix=no
14119 need_version=no
14120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14121 soname_spec='${libname}${release}${shared_ext}$major'
14122 shlibpath_var=LD_LIBRARY_PATH
14123 shlibpath_overrides_runpath=yes
14124 hardcode_into_libs=yes
14125 if test "$with_gnu_ld" = yes; then
14126 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14127 else
14128 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14129 case $host_os in
14130 sco3.2v5*)
14131 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14132 ;;
14133 esac
14134 fi
14135 sys_lib_dlsearch_path_spec='/usr/lib'
14136 ;;
14137
14138 tpf*)
14139 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14140 version_type=linux
14141 need_lib_prefix=no
14142 need_version=no
14143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14144 shlibpath_var=LD_LIBRARY_PATH
14145 shlibpath_overrides_runpath=no
14146 hardcode_into_libs=yes
14147 ;;
14148
14149 uts4*)
14150 version_type=linux
14151 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14152 soname_spec='${libname}${release}${shared_ext}$major'
14153 shlibpath_var=LD_LIBRARY_PATH
14154 ;;
14155
14156 *)
14157 dynamic_linker=no
14158 ;;
14159 esac
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14161 $as_echo "$dynamic_linker" >&6; }
14162 test "$dynamic_linker" = no && can_build_shared=no
14163
14164 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14165 if test "$GCC" = yes; then
14166 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14167 fi
14168
14169 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14170 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14171 fi
14172 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14173 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14174 fi
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14212 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14213 hardcode_action_CXX=
14214 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14215 test -n "$runpath_var_CXX" ||
14216 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14217
14218 # We can hardcode non-existent directories.
14219 if test "$hardcode_direct_CXX" != no &&
14220 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14221 # have to relink, otherwise we might link with an installed library
14222 # when we should be linking with a yet-to-be-installed one
14223 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14224 test "$hardcode_minus_L_CXX" != no; then
14225 # Linking always hardcodes the temporary library directory.
14226 hardcode_action_CXX=relink
14227 else
14228 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14229 hardcode_action_CXX=immediate
14230 fi
14231 else
14232 # We cannot hardcode anything, or else we can only hardcode existing
14233 # directories.
14234 hardcode_action_CXX=unsupported
14235 fi
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14237 $as_echo "$hardcode_action_CXX" >&6; }
14238
14239 if test "$hardcode_action_CXX" = relink ||
14240 test "$inherit_rpath_CXX" = yes; then
14241 # Fast installation is not supported
14242 enable_fast_install=no
14243 elif test "$shlibpath_overrides_runpath" = yes ||
14244 test "$enable_shared" = no; then
14245 # Fast installation is not necessary
14246 enable_fast_install=needless
14247 fi
14248
14249
14250
14251
14252
14253
14254
14255 fi # test -n "$compiler"
14256
14257 CC=$lt_save_CC
14258 LDCXX=$LD
14259 LD=$lt_save_LD
14260 GCC=$lt_save_GCC
14261 with_gnu_ld=$lt_save_with_gnu_ld
14262 lt_cv_path_LDCXX=$lt_cv_path_LD
14263 lt_cv_path_LD=$lt_save_path_LD
14264 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14265 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14266 fi # test "$_lt_caught_CXX_error" != yes
14267
14268 ac_ext=c
14269 ac_cpp='$CPP $CPPFLAGS'
14270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286 ac_config_commands="$ac_config_commands libtool"
14287
14288
14289
14290
14291 # Only expand once:
14292
14293
14294 ac_ext=cpp
14295 ac_cpp='$CXXCPP $CPPFLAGS'
14296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14299
14300
14301
14302
14303
14304 # Files:
14305 DX_PROJECT=librostlab
14306
14307 DX_CONFIG=Doxyfile
14308
14309 DX_DOCDIR=../doxygen-doc
14310
14311
14312 # Environment variables used inside doxygen.cfg:
14313 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
14314
14315 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
14316
14317 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
14318
14319 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
14320
14321
14322 # Doxygen itself:
14323
14324
14325
14326 # Check whether --enable-doxygen-doc was given.
14327 if test "${enable_doxygen_doc+set}" = set; then :
14328 enableval=$enable_doxygen_doc;
14329 case "$enableval" in
14330 #(
14331 y|Y|yes|Yes|YES)
14332 DX_FLAG_doc=1
14333
14334
14335 ;; #(
14336 n|N|no|No|NO)
14337 DX_FLAG_doc=0
14338
14339 ;; #(
14340 *)
14341 as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
14342 ;;
14343 esac
14344
14345 else
14346
14347 DX_FLAG_doc=1
14348
14349
14350
14351 fi
14352
14353 if test "$DX_FLAG_doc" = 1; then
14354
14355 if test -n "$ac_tool_prefix"; then
14356 # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
14357 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14359 $as_echo_n "checking for $ac_word... " >&6; }
14360 if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then :
14361 $as_echo_n "(cached) " >&6
14362 else
14363 case $DX_DOXYGEN in
14364 [\\/]* | ?:[\\/]*)
14365 ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
14366 ;;
14367 *)
14368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14369 for as_dir in $PATH
14370 do
14371 IFS=$as_save_IFS
14372 test -z "$as_dir" && as_dir=.
14373 for ac_exec_ext in '' $ac_executable_extensions; do
14374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14375 ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
14376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14377 break 2
14378 fi
14379 done
14380 done
14381 IFS=$as_save_IFS
14382
14383 ;;
14384 esac
14385 fi
14386 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
14387 if test -n "$DX_DOXYGEN"; then
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
14389 $as_echo "$DX_DOXYGEN" >&6; }
14390 else
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14392 $as_echo "no" >&6; }
14393 fi
14394
14395
14396 fi
14397 if test -z "$ac_cv_path_DX_DOXYGEN"; then
14398 ac_pt_DX_DOXYGEN=$DX_DOXYGEN
14399 # Extract the first word of "doxygen", so it can be a program name with args.
14400 set dummy doxygen; ac_word=$2
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14402 $as_echo_n "checking for $ac_word... " >&6; }
14403 if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then :
14404 $as_echo_n "(cached) " >&6
14405 else
14406 case $ac_pt_DX_DOXYGEN in
14407 [\\/]* | ?:[\\/]*)
14408 ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
14409 ;;
14410 *)
14411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14412 for as_dir in $PATH
14413 do
14414 IFS=$as_save_IFS
14415 test -z "$as_dir" && as_dir=.
14416 for ac_exec_ext in '' $ac_executable_extensions; do
14417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14418 ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
14419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14420 break 2
14421 fi
14422 done
14423 done
14424 IFS=$as_save_IFS
14425
14426 ;;
14427 esac
14428 fi
14429 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
14430 if test -n "$ac_pt_DX_DOXYGEN"; then
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
14432 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
14433 else
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14435 $as_echo "no" >&6; }
14436 fi
14437
14438 if test "x$ac_pt_DX_DOXYGEN" = x; then
14439 DX_DOXYGEN=""
14440 else
14441 case $cross_compiling:$ac_tool_warned in
14442 yes:)
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14445 ac_tool_warned=yes ;;
14446 esac
14447 DX_DOXYGEN=$ac_pt_DX_DOXYGEN
14448 fi
14449 else
14450 DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
14451 fi
14452
14453 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
14455 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
14456 DX_FLAG_doc=0
14457
14458 fi
14459
14460
14461 if test -n "$ac_tool_prefix"; then
14462 # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
14463 set dummy ${ac_tool_prefix}perl; ac_word=$2
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14465 $as_echo_n "checking for $ac_word... " >&6; }
14466 if test "${ac_cv_path_DX_PERL+set}" = set; then :
14467 $as_echo_n "(cached) " >&6
14468 else
14469 case $DX_PERL in
14470 [\\/]* | ?:[\\/]*)
14471 ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
14472 ;;
14473 *)
14474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14475 for as_dir in $PATH
14476 do
14477 IFS=$as_save_IFS
14478 test -z "$as_dir" && as_dir=.
14479 for ac_exec_ext in '' $ac_executable_extensions; do
14480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14481 ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
14482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14483 break 2
14484 fi
14485 done
14486 done
14487 IFS=$as_save_IFS
14488
14489 ;;
14490 esac
14491 fi
14492 DX_PERL=$ac_cv_path_DX_PERL
14493 if test -n "$DX_PERL"; then
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
14495 $as_echo "$DX_PERL" >&6; }
14496 else
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14498 $as_echo "no" >&6; }
14499 fi
14500
14501
14502 fi
14503 if test -z "$ac_cv_path_DX_PERL"; then
14504 ac_pt_DX_PERL=$DX_PERL
14505 # Extract the first word of "perl", so it can be a program name with args.
14506 set dummy perl; ac_word=$2
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14508 $as_echo_n "checking for $ac_word... " >&6; }
14509 if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then :
14510 $as_echo_n "(cached) " >&6
14511 else
14512 case $ac_pt_DX_PERL in
14513 [\\/]* | ?:[\\/]*)
14514 ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
14515 ;;
14516 *)
14517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14518 for as_dir in $PATH
14519 do
14520 IFS=$as_save_IFS
14521 test -z "$as_dir" && as_dir=.
14522 for ac_exec_ext in '' $ac_executable_extensions; do
14523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14524 ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
14525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14526 break 2
14527 fi
14528 done
14529 done
14530 IFS=$as_save_IFS
14531
14532 ;;
14533 esac
14534 fi
14535 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
14536 if test -n "$ac_pt_DX_PERL"; then
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
14538 $as_echo "$ac_pt_DX_PERL" >&6; }
14539 else
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14541 $as_echo "no" >&6; }
14542 fi
14543
14544 if test "x$ac_pt_DX_PERL" = x; then
14545 DX_PERL=""
14546 else
14547 case $cross_compiling:$ac_tool_warned in
14548 yes:)
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14551 ac_tool_warned=yes ;;
14552 esac
14553 DX_PERL=$ac_pt_DX_PERL
14554 fi
14555 else
14556 DX_PERL="$ac_cv_path_DX_PERL"
14557 fi
14558
14559 if test "$DX_FLAG_doc$DX_PERL" = 1; then
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
14561 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
14562 DX_FLAG_doc=0
14563
14564 fi
14565
14566 :
14567 fi
14568 if test "$DX_FLAG_doc" = 1; then
14569 if :; then
14570 DX_COND_doc_TRUE=
14571 DX_COND_doc_FALSE='#'
14572 else
14573 DX_COND_doc_TRUE='#'
14574 DX_COND_doc_FALSE=
14575 fi
14576
14577 DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
14578
14579 :
14580 else
14581 if false; then
14582 DX_COND_doc_TRUE=
14583 DX_COND_doc_FALSE='#'
14584 else
14585 DX_COND_doc_TRUE='#'
14586 DX_COND_doc_FALSE=
14587 fi
14588
14589
14590 :
14591 fi
14592
14593
14594 # Dot for graphics:
14595
14596
14597
14598 # Check whether --enable-doxygen-dot was given.
14599 if test "${enable_doxygen_dot+set}" = set; then :
14600 enableval=$enable_doxygen_dot;
14601 case "$enableval" in
14602 #(
14603 y|Y|yes|Yes|YES)
14604 DX_FLAG_dot=1
14605
14606
14607 test "$DX_FLAG_doc" = "1" \
14608 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
14609
14610 ;; #(
14611 n|N|no|No|NO)
14612 DX_FLAG_dot=0
14613
14614 ;; #(
14615 *)
14616 as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
14617 ;;
14618 esac
14619
14620 else
14621
14622 DX_FLAG_dot=1
14623
14624
14625 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
14626
14627
14628
14629 fi
14630
14631 if test "$DX_FLAG_dot" = 1; then
14632
14633 if test -n "$ac_tool_prefix"; then
14634 # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
14635 set dummy ${ac_tool_prefix}dot; ac_word=$2
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14637 $as_echo_n "checking for $ac_word... " >&6; }
14638 if test "${ac_cv_path_DX_DOT+set}" = set; then :
14639 $as_echo_n "(cached) " >&6
14640 else
14641 case $DX_DOT in
14642 [\\/]* | ?:[\\/]*)
14643 ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
14644 ;;
14645 *)
14646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14647 for as_dir in $PATH
14648 do
14649 IFS=$as_save_IFS
14650 test -z "$as_dir" && as_dir=.
14651 for ac_exec_ext in '' $ac_executable_extensions; do
14652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14653 ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
14654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14655 break 2
14656 fi
14657 done
14658 done
14659 IFS=$as_save_IFS
14660
14661 ;;
14662 esac
14663 fi
14664 DX_DOT=$ac_cv_path_DX_DOT
14665 if test -n "$DX_DOT"; then
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
14667 $as_echo "$DX_DOT" >&6; }
14668 else
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14670 $as_echo "no" >&6; }
14671 fi
14672
14673
14674 fi
14675 if test -z "$ac_cv_path_DX_DOT"; then
14676 ac_pt_DX_DOT=$DX_DOT
14677 # Extract the first word of "dot", so it can be a program name with args.
14678 set dummy dot; ac_word=$2
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14680 $as_echo_n "checking for $ac_word... " >&6; }
14681 if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then :
14682 $as_echo_n "(cached) " >&6
14683 else
14684 case $ac_pt_DX_DOT in
14685 [\\/]* | ?:[\\/]*)
14686 ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
14687 ;;
14688 *)
14689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14690 for as_dir in $PATH
14691 do
14692 IFS=$as_save_IFS
14693 test -z "$as_dir" && as_dir=.
14694 for ac_exec_ext in '' $ac_executable_extensions; do
14695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14696 ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
14697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14698 break 2
14699 fi
14700 done
14701 done
14702 IFS=$as_save_IFS
14703
14704 ;;
14705 esac
14706 fi
14707 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
14708 if test -n "$ac_pt_DX_DOT"; then
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
14710 $as_echo "$ac_pt_DX_DOT" >&6; }
14711 else
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14713 $as_echo "no" >&6; }
14714 fi
14715
14716 if test "x$ac_pt_DX_DOT" = x; then
14717 DX_DOT=""
14718 else
14719 case $cross_compiling:$ac_tool_warned in
14720 yes:)
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14723 ac_tool_warned=yes ;;
14724 esac
14725 DX_DOT=$ac_pt_DX_DOT
14726 fi
14727 else
14728 DX_DOT="$ac_cv_path_DX_DOT"
14729 fi
14730
14731 if test "$DX_FLAG_dot$DX_DOT" = 1; then
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
14733 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
14734 DX_FLAG_dot=0
14735
14736 fi
14737
14738 :
14739 fi
14740 if test "$DX_FLAG_dot" = 1; then
14741 if :; then
14742 DX_COND_dot_TRUE=
14743 DX_COND_dot_FALSE='#'
14744 else
14745 DX_COND_dot_TRUE='#'
14746 DX_COND_dot_FALSE=
14747 fi
14748
14749 DX_ENV="$DX_ENV HAVE_DOT='YES'"
14750
14751 DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
14752
14753 :
14754 else
14755 if false; then
14756 DX_COND_dot_TRUE=
14757 DX_COND_dot_FALSE='#'
14758 else
14759 DX_COND_dot_TRUE='#'
14760 DX_COND_dot_FALSE=
14761 fi
14762
14763 DX_ENV="$DX_ENV HAVE_DOT='NO'"
14764
14765 :
14766 fi
14767
14768
14769 # Man pages generation:
14770
14771
14772
14773 # Check whether --enable-doxygen-man was given.
14774 if test "${enable_doxygen_man+set}" = set; then :
14775 enableval=$enable_doxygen_man;
14776 case "$enableval" in
14777 #(
14778 y|Y|yes|Yes|YES)
14779 DX_FLAG_man=1
14780
14781
14782 test "$DX_FLAG_doc" = "1" \
14783 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
14784
14785 ;; #(
14786 n|N|no|No|NO)
14787 DX_FLAG_man=0
14788
14789 ;; #(
14790 *)
14791 as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
14792 ;;
14793 esac
14794
14795 else
14796
14797 DX_FLAG_man=0
14798
14799
14800 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
14801
14802
14803
14804 fi
14805
14806 if test "$DX_FLAG_man" = 1; then
14807
14808 :
14809 fi
14810 if test "$DX_FLAG_man" = 1; then
14811 if :; then
14812 DX_COND_man_TRUE=
14813 DX_COND_man_FALSE='#'
14814 else
14815 DX_COND_man_TRUE='#'
14816 DX_COND_man_FALSE=
14817 fi
14818
14819 DX_ENV="$DX_ENV GENERATE_MAN='YES'"
14820
14821 :
14822 else
14823 if false; then
14824 DX_COND_man_TRUE=
14825 DX_COND_man_FALSE='#'
14826 else
14827 DX_COND_man_TRUE='#'
14828 DX_COND_man_FALSE=
14829 fi
14830
14831 DX_ENV="$DX_ENV GENERATE_MAN='NO'"
14832
14833 :
14834 fi
14835
14836
14837 # RTF file generation:
14838
14839
14840
14841 # Check whether --enable-doxygen-rtf was given.
14842 if test "${enable_doxygen_rtf+set}" = set; then :
14843 enableval=$enable_doxygen_rtf;
14844 case "$enableval" in
14845 #(
14846 y|Y|yes|Yes|YES)
14847 DX_FLAG_rtf=1
14848
14849
14850 test "$DX_FLAG_doc" = "1" \
14851 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
14852
14853 ;; #(
14854 n|N|no|No|NO)
14855 DX_FLAG_rtf=0
14856
14857 ;; #(
14858 *)
14859 as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
14860 ;;
14861 esac
14862
14863 else
14864
14865 DX_FLAG_rtf=0
14866
14867
14868 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
14869
14870
14871
14872 fi
14873
14874 if test "$DX_FLAG_rtf" = 1; then
14875
14876 :
14877 fi
14878 if test "$DX_FLAG_rtf" = 1; then
14879 if :; then
14880 DX_COND_rtf_TRUE=
14881 DX_COND_rtf_FALSE='#'
14882 else
14883 DX_COND_rtf_TRUE='#'
14884 DX_COND_rtf_FALSE=
14885 fi
14886
14887 DX_ENV="$DX_ENV GENERATE_RTF='YES'"
14888
14889 :
14890 else
14891 if false; then
14892 DX_COND_rtf_TRUE=
14893 DX_COND_rtf_FALSE='#'
14894 else
14895 DX_COND_rtf_TRUE='#'
14896 DX_COND_rtf_FALSE=
14897 fi
14898
14899 DX_ENV="$DX_ENV GENERATE_RTF='NO'"
14900
14901 :
14902 fi
14903
14904
14905 # XML file generation:
14906
14907
14908
14909 # Check whether --enable-doxygen-xml was given.
14910 if test "${enable_doxygen_xml+set}" = set; then :
14911 enableval=$enable_doxygen_xml;
14912 case "$enableval" in
14913 #(
14914 y|Y|yes|Yes|YES)
14915 DX_FLAG_xml=1
14916
14917
14918 test "$DX_FLAG_doc" = "1" \
14919 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
14920
14921 ;; #(
14922 n|N|no|No|NO)
14923 DX_FLAG_xml=0
14924
14925 ;; #(
14926 *)
14927 as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
14928 ;;
14929 esac
14930
14931 else
14932
14933 DX_FLAG_xml=0
14934
14935
14936 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
14937
14938
14939
14940 fi
14941
14942 if test "$DX_FLAG_xml" = 1; then
14943
14944 :
14945 fi
14946 if test "$DX_FLAG_xml" = 1; then
14947 if :; then
14948 DX_COND_xml_TRUE=
14949 DX_COND_xml_FALSE='#'
14950 else
14951 DX_COND_xml_TRUE='#'
14952 DX_COND_xml_FALSE=
14953 fi
14954
14955 DX_ENV="$DX_ENV GENERATE_XML='YES'"
14956
14957 :
14958 else
14959 if false; then
14960 DX_COND_xml_TRUE=
14961 DX_COND_xml_FALSE='#'
14962 else
14963 DX_COND_xml_TRUE='#'
14964 DX_COND_xml_FALSE=
14965 fi
14966
14967 DX_ENV="$DX_ENV GENERATE_XML='NO'"
14968
14969 :
14970 fi
14971
14972
14973 # (Compressed) HTML help generation:
14974
14975
14976
14977 # Check whether --enable-doxygen-chm was given.
14978 if test "${enable_doxygen_chm+set}" = set; then :
14979 enableval=$enable_doxygen_chm;
14980 case "$enableval" in
14981 #(
14982 y|Y|yes|Yes|YES)
14983 DX_FLAG_chm=1
14984
14985
14986 test "$DX_FLAG_doc" = "1" \
14987 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
14988
14989 ;; #(
14990 n|N|no|No|NO)
14991 DX_FLAG_chm=0
14992
14993 ;; #(
14994 *)
14995 as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
14996 ;;
14997 esac
14998
14999 else
15000
15001 DX_FLAG_chm=0
15002
15003
15004 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
15005
15006
15007
15008 fi
15009
15010 if test "$DX_FLAG_chm" = 1; then
15011
15012 if test -n "$ac_tool_prefix"; then
15013 # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
15014 set dummy ${ac_tool_prefix}hhc; ac_word=$2
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15016 $as_echo_n "checking for $ac_word... " >&6; }
15017 if test "${ac_cv_path_DX_HHC+set}" = set; then :
15018 $as_echo_n "(cached) " >&6
15019 else
15020 case $DX_HHC in
15021 [\\/]* | ?:[\\/]*)
15022 ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
15023 ;;
15024 *)
15025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15026 for as_dir in $PATH
15027 do
15028 IFS=$as_save_IFS
15029 test -z "$as_dir" && as_dir=.
15030 for ac_exec_ext in '' $ac_executable_extensions; do
15031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15032 ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
15033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15034 break 2
15035 fi
15036 done
15037 done
15038 IFS=$as_save_IFS
15039
15040 ;;
15041 esac
15042 fi
15043 DX_HHC=$ac_cv_path_DX_HHC
15044 if test -n "$DX_HHC"; then
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
15046 $as_echo "$DX_HHC" >&6; }
15047 else
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15049 $as_echo "no" >&6; }
15050 fi
15051
15052
15053 fi
15054 if test -z "$ac_cv_path_DX_HHC"; then
15055 ac_pt_DX_HHC=$DX_HHC
15056 # Extract the first word of "hhc", so it can be a program name with args.
15057 set dummy hhc; ac_word=$2
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15059 $as_echo_n "checking for $ac_word... " >&6; }
15060 if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then :
15061 $as_echo_n "(cached) " >&6
15062 else
15063 case $ac_pt_DX_HHC in
15064 [\\/]* | ?:[\\/]*)
15065 ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
15066 ;;
15067 *)
15068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15069 for as_dir in $PATH
15070 do
15071 IFS=$as_save_IFS
15072 test -z "$as_dir" && as_dir=.
15073 for ac_exec_ext in '' $ac_executable_extensions; do
15074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15075 ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
15076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15077 break 2
15078 fi
15079 done
15080 done
15081 IFS=$as_save_IFS
15082
15083 ;;
15084 esac
15085 fi
15086 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
15087 if test -n "$ac_pt_DX_HHC"; then
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
15089 $as_echo "$ac_pt_DX_HHC" >&6; }
15090 else
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15092 $as_echo "no" >&6; }
15093 fi
15094
15095 if test "x$ac_pt_DX_HHC" = x; then
15096 DX_HHC=""
15097 else
15098 case $cross_compiling:$ac_tool_warned in
15099 yes:)
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15102 ac_tool_warned=yes ;;
15103 esac
15104 DX_HHC=$ac_pt_DX_HHC
15105 fi
15106 else
15107 DX_HHC="$ac_cv_path_DX_HHC"
15108 fi
15109
15110 if test "$DX_FLAG_chm$DX_HHC" = 1; then
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
15112 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
15113 DX_FLAG_chm=0
15114
15115 fi
15116
15117 :
15118 fi
15119 if test "$DX_FLAG_chm" = 1; then
15120 if :; then
15121 DX_COND_chm_TRUE=
15122 DX_COND_chm_FALSE='#'
15123 else
15124 DX_COND_chm_TRUE='#'
15125 DX_COND_chm_FALSE=
15126 fi
15127
15128 DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
15129
15130 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
15131
15132 DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
15133
15134 :
15135 else
15136 if false; then
15137 DX_COND_chm_TRUE=
15138 DX_COND_chm_FALSE='#'
15139 else
15140 DX_COND_chm_TRUE='#'
15141 DX_COND_chm_FALSE=
15142 fi
15143
15144 DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
15145
15146 :
15147 fi
15148
15149
15150 # Seperate CHI file generation.
15151
15152
15153
15154 # Check whether --enable-doxygen-chi was given.
15155 if test "${enable_doxygen_chi+set}" = set; then :
15156 enableval=$enable_doxygen_chi;
15157 case "$enableval" in
15158 #(
15159 y|Y|yes|Yes|YES)
15160 DX_FLAG_chi=1
15161
15162
15163 test "$DX_FLAG_chm" = "1" \
15164 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
15165
15166 ;; #(
15167 n|N|no|No|NO)
15168 DX_FLAG_chi=0
15169
15170 ;; #(
15171 *)
15172 as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
15173 ;;
15174 esac
15175
15176 else
15177
15178 DX_FLAG_chi=0
15179
15180
15181 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
15182
15183
15184
15185 fi
15186
15187 if test "$DX_FLAG_chi" = 1; then
15188
15189 :
15190 fi
15191 if test "$DX_FLAG_chi" = 1; then
15192 if :; then
15193 DX_COND_chi_TRUE=
15194 DX_COND_chi_FALSE='#'
15195 else
15196 DX_COND_chi_TRUE='#'
15197 DX_COND_chi_FALSE=
15198 fi
15199
15200 DX_ENV="$DX_ENV GENERATE_CHI='YES'"
15201
15202 :
15203 else
15204 if false; then
15205 DX_COND_chi_TRUE=
15206 DX_COND_chi_FALSE='#'
15207 else
15208 DX_COND_chi_TRUE='#'
15209 DX_COND_chi_FALSE=
15210 fi
15211
15212 DX_ENV="$DX_ENV GENERATE_CHI='NO'"
15213
15214 :
15215 fi
15216
15217
15218 # Plain HTML pages generation:
15219
15220
15221
15222 # Check whether --enable-doxygen-html was given.
15223 if test "${enable_doxygen_html+set}" = set; then :
15224 enableval=$enable_doxygen_html;
15225 case "$enableval" in
15226 #(
15227 y|Y|yes|Yes|YES)
15228 DX_FLAG_html=1
15229
15230
15231 test "$DX_FLAG_doc" = "1" \
15232 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
15233
15234 test "$DX_FLAG_chm" = "0" \
15235 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
15236
15237 ;; #(
15238 n|N|no|No|NO)
15239 DX_FLAG_html=0
15240
15241 ;; #(
15242 *)
15243 as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
15244 ;;
15245 esac
15246
15247 else
15248
15249 DX_FLAG_html=1
15250
15251
15252 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
15253
15254
15255 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
15256
15257
15258
15259 fi
15260
15261 if test "$DX_FLAG_html" = 1; then
15262
15263 :
15264 fi
15265 if test "$DX_FLAG_html" = 1; then
15266 if :; then
15267 DX_COND_html_TRUE=
15268 DX_COND_html_FALSE='#'
15269 else
15270 DX_COND_html_TRUE='#'
15271 DX_COND_html_FALSE=
15272 fi
15273
15274 DX_ENV="$DX_ENV GENERATE_HTML='YES'"
15275
15276 :
15277 else
15278 if false; then
15279 DX_COND_html_TRUE=
15280 DX_COND_html_FALSE='#'
15281 else
15282 DX_COND_html_TRUE='#'
15283 DX_COND_html_FALSE=
15284 fi
15285
15286 test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
15287
15288 :
15289 fi
15290
15291
15292 # PostScript file generation:
15293
15294
15295
15296 # Check whether --enable-doxygen-ps was given.
15297 if test "${enable_doxygen_ps+set}" = set; then :
15298 enableval=$enable_doxygen_ps;
15299 case "$enableval" in
15300 #(
15301 y|Y|yes|Yes|YES)
15302 DX_FLAG_ps=1
15303
15304
15305 test "$DX_FLAG_doc" = "1" \
15306 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
15307
15308 ;; #(
15309 n|N|no|No|NO)
15310 DX_FLAG_ps=0
15311
15312 ;; #(
15313 *)
15314 as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
15315 ;;
15316 esac
15317
15318 else
15319
15320 DX_FLAG_ps=0
15321
15322
15323 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
15324
15325
15326
15327 fi
15328
15329 if test "$DX_FLAG_ps" = 1; then
15330
15331 if test -n "$ac_tool_prefix"; then
15332 # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
15333 set dummy ${ac_tool_prefix}latex; ac_word=$2
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15335 $as_echo_n "checking for $ac_word... " >&6; }
15336 if test "${ac_cv_path_DX_LATEX+set}" = set; then :
15337 $as_echo_n "(cached) " >&6
15338 else
15339 case $DX_LATEX in
15340 [\\/]* | ?:[\\/]*)
15341 ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
15342 ;;
15343 *)
15344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15345 for as_dir in $PATH
15346 do
15347 IFS=$as_save_IFS
15348 test -z "$as_dir" && as_dir=.
15349 for ac_exec_ext in '' $ac_executable_extensions; do
15350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15351 ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
15352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15353 break 2
15354 fi
15355 done
15356 done
15357 IFS=$as_save_IFS
15358
15359 ;;
15360 esac
15361 fi
15362 DX_LATEX=$ac_cv_path_DX_LATEX
15363 if test -n "$DX_LATEX"; then
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
15365 $as_echo "$DX_LATEX" >&6; }
15366 else
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15368 $as_echo "no" >&6; }
15369 fi
15370
15371
15372 fi
15373 if test -z "$ac_cv_path_DX_LATEX"; then
15374 ac_pt_DX_LATEX=$DX_LATEX
15375 # Extract the first word of "latex", so it can be a program name with args.
15376 set dummy latex; ac_word=$2
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15378 $as_echo_n "checking for $ac_word... " >&6; }
15379 if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then :
15380 $as_echo_n "(cached) " >&6
15381 else
15382 case $ac_pt_DX_LATEX in
15383 [\\/]* | ?:[\\/]*)
15384 ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
15385 ;;
15386 *)
15387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15388 for as_dir in $PATH
15389 do
15390 IFS=$as_save_IFS
15391 test -z "$as_dir" && as_dir=.
15392 for ac_exec_ext in '' $ac_executable_extensions; do
15393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15394 ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
15395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15396 break 2
15397 fi
15398 done
15399 done
15400 IFS=$as_save_IFS
15401
15402 ;;
15403 esac
15404 fi
15405 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
15406 if test -n "$ac_pt_DX_LATEX"; then
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
15408 $as_echo "$ac_pt_DX_LATEX" >&6; }
15409 else
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15411 $as_echo "no" >&6; }
15412 fi
15413
15414 if test "x$ac_pt_DX_LATEX" = x; then
15415 DX_LATEX=""
15416 else
15417 case $cross_compiling:$ac_tool_warned in
15418 yes:)
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15421 ac_tool_warned=yes ;;
15422 esac
15423 DX_LATEX=$ac_pt_DX_LATEX
15424 fi
15425 else
15426 DX_LATEX="$ac_cv_path_DX_LATEX"
15427 fi
15428
15429 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
15431 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
15432 DX_FLAG_ps=0
15433
15434 fi
15435
15436
15437 if test -n "$ac_tool_prefix"; then
15438 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
15439 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15441 $as_echo_n "checking for $ac_word... " >&6; }
15442 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
15443 $as_echo_n "(cached) " >&6
15444 else
15445 case $DX_MAKEINDEX in
15446 [\\/]* | ?:[\\/]*)
15447 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
15448 ;;
15449 *)
15450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15451 for as_dir in $PATH
15452 do
15453 IFS=$as_save_IFS
15454 test -z "$as_dir" && as_dir=.
15455 for ac_exec_ext in '' $ac_executable_extensions; do
15456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15457 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
15458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15459 break 2
15460 fi
15461 done
15462 done
15463 IFS=$as_save_IFS
15464
15465 ;;
15466 esac
15467 fi
15468 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
15469 if test -n "$DX_MAKEINDEX"; then
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
15471 $as_echo "$DX_MAKEINDEX" >&6; }
15472 else
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15474 $as_echo "no" >&6; }
15475 fi
15476
15477
15478 fi
15479 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
15480 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
15481 # Extract the first word of "makeindex", so it can be a program name with args.
15482 set dummy makeindex; ac_word=$2
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15484 $as_echo_n "checking for $ac_word... " >&6; }
15485 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
15486 $as_echo_n "(cached) " >&6
15487 else
15488 case $ac_pt_DX_MAKEINDEX in
15489 [\\/]* | ?:[\\/]*)
15490 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
15491 ;;
15492 *)
15493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15494 for as_dir in $PATH
15495 do
15496 IFS=$as_save_IFS
15497 test -z "$as_dir" && as_dir=.
15498 for ac_exec_ext in '' $ac_executable_extensions; do
15499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15500 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
15501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15502 break 2
15503 fi
15504 done
15505 done
15506 IFS=$as_save_IFS
15507
15508 ;;
15509 esac
15510 fi
15511 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
15512 if test -n "$ac_pt_DX_MAKEINDEX"; then
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
15514 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
15515 else
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15517 $as_echo "no" >&6; }
15518 fi
15519
15520 if test "x$ac_pt_DX_MAKEINDEX" = x; then
15521 DX_MAKEINDEX=""
15522 else
15523 case $cross_compiling:$ac_tool_warned in
15524 yes:)
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15527 ac_tool_warned=yes ;;
15528 esac
15529 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
15530 fi
15531 else
15532 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
15533 fi
15534
15535 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
15537 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
15538 DX_FLAG_ps=0
15539
15540 fi
15541
15542
15543 if test -n "$ac_tool_prefix"; then
15544 # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
15545 set dummy ${ac_tool_prefix}dvips; ac_word=$2
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15547 $as_echo_n "checking for $ac_word... " >&6; }
15548 if test "${ac_cv_path_DX_DVIPS+set}" = set; then :
15549 $as_echo_n "(cached) " >&6
15550 else
15551 case $DX_DVIPS in
15552 [\\/]* | ?:[\\/]*)
15553 ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
15554 ;;
15555 *)
15556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15557 for as_dir in $PATH
15558 do
15559 IFS=$as_save_IFS
15560 test -z "$as_dir" && as_dir=.
15561 for ac_exec_ext in '' $ac_executable_extensions; do
15562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15563 ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
15564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15565 break 2
15566 fi
15567 done
15568 done
15569 IFS=$as_save_IFS
15570
15571 ;;
15572 esac
15573 fi
15574 DX_DVIPS=$ac_cv_path_DX_DVIPS
15575 if test -n "$DX_DVIPS"; then
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
15577 $as_echo "$DX_DVIPS" >&6; }
15578 else
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15580 $as_echo "no" >&6; }
15581 fi
15582
15583
15584 fi
15585 if test -z "$ac_cv_path_DX_DVIPS"; then
15586 ac_pt_DX_DVIPS=$DX_DVIPS
15587 # Extract the first word of "dvips", so it can be a program name with args.
15588 set dummy dvips; ac_word=$2
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15590 $as_echo_n "checking for $ac_word... " >&6; }
15591 if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then :
15592 $as_echo_n "(cached) " >&6
15593 else
15594 case $ac_pt_DX_DVIPS in
15595 [\\/]* | ?:[\\/]*)
15596 ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
15597 ;;
15598 *)
15599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15600 for as_dir in $PATH
15601 do
15602 IFS=$as_save_IFS
15603 test -z "$as_dir" && as_dir=.
15604 for ac_exec_ext in '' $ac_executable_extensions; do
15605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15606 ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
15607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15608 break 2
15609 fi
15610 done
15611 done
15612 IFS=$as_save_IFS
15613
15614 ;;
15615 esac
15616 fi
15617 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
15618 if test -n "$ac_pt_DX_DVIPS"; then
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
15620 $as_echo "$ac_pt_DX_DVIPS" >&6; }
15621 else
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15623 $as_echo "no" >&6; }
15624 fi
15625
15626 if test "x$ac_pt_DX_DVIPS" = x; then
15627 DX_DVIPS=""
15628 else
15629 case $cross_compiling:$ac_tool_warned in
15630 yes:)
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15633 ac_tool_warned=yes ;;
15634 esac
15635 DX_DVIPS=$ac_pt_DX_DVIPS
15636 fi
15637 else
15638 DX_DVIPS="$ac_cv_path_DX_DVIPS"
15639 fi
15640
15641 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
15643 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
15644 DX_FLAG_ps=0
15645
15646 fi
15647
15648
15649 if test -n "$ac_tool_prefix"; then
15650 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
15651 set dummy ${ac_tool_prefix}egrep; ac_word=$2
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15653 $as_echo_n "checking for $ac_word... " >&6; }
15654 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
15655 $as_echo_n "(cached) " >&6
15656 else
15657 case $DX_EGREP in
15658 [\\/]* | ?:[\\/]*)
15659 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
15660 ;;
15661 *)
15662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15663 for as_dir in $PATH
15664 do
15665 IFS=$as_save_IFS
15666 test -z "$as_dir" && as_dir=.
15667 for ac_exec_ext in '' $ac_executable_extensions; do
15668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15669 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
15670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15671 break 2
15672 fi
15673 done
15674 done
15675 IFS=$as_save_IFS
15676
15677 ;;
15678 esac
15679 fi
15680 DX_EGREP=$ac_cv_path_DX_EGREP
15681 if test -n "$DX_EGREP"; then
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
15683 $as_echo "$DX_EGREP" >&6; }
15684 else
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15686 $as_echo "no" >&6; }
15687 fi
15688
15689
15690 fi
15691 if test -z "$ac_cv_path_DX_EGREP"; then
15692 ac_pt_DX_EGREP=$DX_EGREP
15693 # Extract the first word of "egrep", so it can be a program name with args.
15694 set dummy egrep; ac_word=$2
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15696 $as_echo_n "checking for $ac_word... " >&6; }
15697 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
15698 $as_echo_n "(cached) " >&6
15699 else
15700 case $ac_pt_DX_EGREP in
15701 [\\/]* | ?:[\\/]*)
15702 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
15703 ;;
15704 *)
15705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15706 for as_dir in $PATH
15707 do
15708 IFS=$as_save_IFS
15709 test -z "$as_dir" && as_dir=.
15710 for ac_exec_ext in '' $ac_executable_extensions; do
15711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15712 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
15713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15714 break 2
15715 fi
15716 done
15717 done
15718 IFS=$as_save_IFS
15719
15720 ;;
15721 esac
15722 fi
15723 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
15724 if test -n "$ac_pt_DX_EGREP"; then
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
15726 $as_echo "$ac_pt_DX_EGREP" >&6; }
15727 else
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15729 $as_echo "no" >&6; }
15730 fi
15731
15732 if test "x$ac_pt_DX_EGREP" = x; then
15733 DX_EGREP=""
15734 else
15735 case $cross_compiling:$ac_tool_warned in
15736 yes:)
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15739 ac_tool_warned=yes ;;
15740 esac
15741 DX_EGREP=$ac_pt_DX_EGREP
15742 fi
15743 else
15744 DX_EGREP="$ac_cv_path_DX_EGREP"
15745 fi
15746
15747 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
15749 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
15750 DX_FLAG_ps=0
15751
15752 fi
15753
15754 :
15755 fi
15756 if test "$DX_FLAG_ps" = 1; then
15757 if :; then
15758 DX_COND_ps_TRUE=
15759 DX_COND_ps_FALSE='#'
15760 else
15761 DX_COND_ps_TRUE='#'
15762 DX_COND_ps_FALSE=
15763 fi
15764
15765
15766 :
15767 else
15768 if false; then
15769 DX_COND_ps_TRUE=
15770 DX_COND_ps_FALSE='#'
15771 else
15772 DX_COND_ps_TRUE='#'
15773 DX_COND_ps_FALSE=
15774 fi
15775
15776
15777 :
15778 fi
15779
15780
15781 # PDF file generation:
15782
15783
15784
15785 # Check whether --enable-doxygen-pdf was given.
15786 if test "${enable_doxygen_pdf+set}" = set; then :
15787 enableval=$enable_doxygen_pdf;
15788 case "$enableval" in
15789 #(
15790 y|Y|yes|Yes|YES)
15791 DX_FLAG_pdf=1
15792
15793
15794 test "$DX_FLAG_doc" = "1" \
15795 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
15796
15797 ;; #(
15798 n|N|no|No|NO)
15799 DX_FLAG_pdf=0
15800
15801 ;; #(
15802 *)
15803 as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
15804 ;;
15805 esac
15806
15807 else
15808
15809 DX_FLAG_pdf=0
15810
15811
15812 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
15813
15814
15815
15816 fi
15817
15818 if test "$DX_FLAG_pdf" = 1; then
15819
15820 if test -n "$ac_tool_prefix"; then
15821 # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
15822 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15824 $as_echo_n "checking for $ac_word... " >&6; }
15825 if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then :
15826 $as_echo_n "(cached) " >&6
15827 else
15828 case $DX_PDFLATEX in
15829 [\\/]* | ?:[\\/]*)
15830 ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
15831 ;;
15832 *)
15833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15834 for as_dir in $PATH
15835 do
15836 IFS=$as_save_IFS
15837 test -z "$as_dir" && as_dir=.
15838 for ac_exec_ext in '' $ac_executable_extensions; do
15839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15840 ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
15841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15842 break 2
15843 fi
15844 done
15845 done
15846 IFS=$as_save_IFS
15847
15848 ;;
15849 esac
15850 fi
15851 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
15852 if test -n "$DX_PDFLATEX"; then
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
15854 $as_echo "$DX_PDFLATEX" >&6; }
15855 else
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15857 $as_echo "no" >&6; }
15858 fi
15859
15860
15861 fi
15862 if test -z "$ac_cv_path_DX_PDFLATEX"; then
15863 ac_pt_DX_PDFLATEX=$DX_PDFLATEX
15864 # Extract the first word of "pdflatex", so it can be a program name with args.
15865 set dummy pdflatex; ac_word=$2
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15867 $as_echo_n "checking for $ac_word... " >&6; }
15868 if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then :
15869 $as_echo_n "(cached) " >&6
15870 else
15871 case $ac_pt_DX_PDFLATEX in
15872 [\\/]* | ?:[\\/]*)
15873 ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
15874 ;;
15875 *)
15876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15877 for as_dir in $PATH
15878 do
15879 IFS=$as_save_IFS
15880 test -z "$as_dir" && as_dir=.
15881 for ac_exec_ext in '' $ac_executable_extensions; do
15882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15883 ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
15884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15885 break 2
15886 fi
15887 done
15888 done
15889 IFS=$as_save_IFS
15890
15891 ;;
15892 esac
15893 fi
15894 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
15895 if test -n "$ac_pt_DX_PDFLATEX"; then
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
15897 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
15898 else
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15900 $as_echo "no" >&6; }
15901 fi
15902
15903 if test "x$ac_pt_DX_PDFLATEX" = x; then
15904 DX_PDFLATEX=""
15905 else
15906 case $cross_compiling:$ac_tool_warned in
15907 yes:)
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15910 ac_tool_warned=yes ;;
15911 esac
15912 DX_PDFLATEX=$ac_pt_DX_PDFLATEX
15913 fi
15914 else
15915 DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
15916 fi
15917
15918 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
15920 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
15921 DX_FLAG_pdf=0
15922
15923 fi
15924
15925
15926 if test -n "$ac_tool_prefix"; then
15927 # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
15928 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15930 $as_echo_n "checking for $ac_word... " >&6; }
15931 if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then :
15932 $as_echo_n "(cached) " >&6
15933 else
15934 case $DX_MAKEINDEX in
15935 [\\/]* | ?:[\\/]*)
15936 ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
15937 ;;
15938 *)
15939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15940 for as_dir in $PATH
15941 do
15942 IFS=$as_save_IFS
15943 test -z "$as_dir" && as_dir=.
15944 for ac_exec_ext in '' $ac_executable_extensions; do
15945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15946 ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
15947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15948 break 2
15949 fi
15950 done
15951 done
15952 IFS=$as_save_IFS
15953
15954 ;;
15955 esac
15956 fi
15957 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
15958 if test -n "$DX_MAKEINDEX"; then
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
15960 $as_echo "$DX_MAKEINDEX" >&6; }
15961 else
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15963 $as_echo "no" >&6; }
15964 fi
15965
15966
15967 fi
15968 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
15969 ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
15970 # Extract the first word of "makeindex", so it can be a program name with args.
15971 set dummy makeindex; ac_word=$2
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15973 $as_echo_n "checking for $ac_word... " >&6; }
15974 if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then :
15975 $as_echo_n "(cached) " >&6
15976 else
15977 case $ac_pt_DX_MAKEINDEX in
15978 [\\/]* | ?:[\\/]*)
15979 ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
15980 ;;
15981 *)
15982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15983 for as_dir in $PATH
15984 do
15985 IFS=$as_save_IFS
15986 test -z "$as_dir" && as_dir=.
15987 for ac_exec_ext in '' $ac_executable_extensions; do
15988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15989 ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
15990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15991 break 2
15992 fi
15993 done
15994 done
15995 IFS=$as_save_IFS
15996
15997 ;;
15998 esac
15999 fi
16000 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
16001 if test -n "$ac_pt_DX_MAKEINDEX"; then
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
16003 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
16004 else
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16006 $as_echo "no" >&6; }
16007 fi
16008
16009 if test "x$ac_pt_DX_MAKEINDEX" = x; then
16010 DX_MAKEINDEX=""
16011 else
16012 case $cross_compiling:$ac_tool_warned in
16013 yes:)
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16016 ac_tool_warned=yes ;;
16017 esac
16018 DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
16019 fi
16020 else
16021 DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
16022 fi
16023
16024 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
16026 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
16027 DX_FLAG_pdf=0
16028
16029 fi
16030
16031
16032 if test -n "$ac_tool_prefix"; then
16033 # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
16034 set dummy ${ac_tool_prefix}egrep; ac_word=$2
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16036 $as_echo_n "checking for $ac_word... " >&6; }
16037 if test "${ac_cv_path_DX_EGREP+set}" = set; then :
16038 $as_echo_n "(cached) " >&6
16039 else
16040 case $DX_EGREP in
16041 [\\/]* | ?:[\\/]*)
16042 ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
16043 ;;
16044 *)
16045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16046 for as_dir in $PATH
16047 do
16048 IFS=$as_save_IFS
16049 test -z "$as_dir" && as_dir=.
16050 for ac_exec_ext in '' $ac_executable_extensions; do
16051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16052 ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
16053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16054 break 2
16055 fi
16056 done
16057 done
16058 IFS=$as_save_IFS
16059
16060 ;;
16061 esac
16062 fi
16063 DX_EGREP=$ac_cv_path_DX_EGREP
16064 if test -n "$DX_EGREP"; then
16065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
16066 $as_echo "$DX_EGREP" >&6; }
16067 else
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16069 $as_echo "no" >&6; }
16070 fi
16071
16072
16073 fi
16074 if test -z "$ac_cv_path_DX_EGREP"; then
16075 ac_pt_DX_EGREP=$DX_EGREP
16076 # Extract the first word of "egrep", so it can be a program name with args.
16077 set dummy egrep; ac_word=$2
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16079 $as_echo_n "checking for $ac_word... " >&6; }
16080 if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then :
16081 $as_echo_n "(cached) " >&6
16082 else
16083 case $ac_pt_DX_EGREP in
16084 [\\/]* | ?:[\\/]*)
16085 ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
16086 ;;
16087 *)
16088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16089 for as_dir in $PATH
16090 do
16091 IFS=$as_save_IFS
16092 test -z "$as_dir" && as_dir=.
16093 for ac_exec_ext in '' $ac_executable_extensions; do
16094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16095 ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
16096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16097 break 2
16098 fi
16099 done
16100 done
16101 IFS=$as_save_IFS
16102
16103 ;;
16104 esac
16105 fi
16106 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
16107 if test -n "$ac_pt_DX_EGREP"; then
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
16109 $as_echo "$ac_pt_DX_EGREP" >&6; }
16110 else
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16112 $as_echo "no" >&6; }
16113 fi
16114
16115 if test "x$ac_pt_DX_EGREP" = x; then
16116 DX_EGREP=""
16117 else
16118 case $cross_compiling:$ac_tool_warned in
16119 yes:)
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16122 ac_tool_warned=yes ;;
16123 esac
16124 DX_EGREP=$ac_pt_DX_EGREP
16125 fi
16126 else
16127 DX_EGREP="$ac_cv_path_DX_EGREP"
16128 fi
16129
16130 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
16132 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
16133 DX_FLAG_pdf=0
16134
16135 fi
16136
16137 :
16138 fi
16139 if test "$DX_FLAG_pdf" = 1; then
16140 if :; then
16141 DX_COND_pdf_TRUE=
16142 DX_COND_pdf_FALSE='#'
16143 else
16144 DX_COND_pdf_TRUE='#'
16145 DX_COND_pdf_FALSE=
16146 fi
16147
16148
16149 :
16150 else
16151 if false; then
16152 DX_COND_pdf_TRUE=
16153 DX_COND_pdf_FALSE='#'
16154 else
16155 DX_COND_pdf_TRUE='#'
16156 DX_COND_pdf_FALSE=
16157 fi
16158
16159
16160 :
16161 fi
16162
16163
16164 # LaTeX generation for PS and/or PDF:
16165 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
16166 if :; then
16167 DX_COND_latex_TRUE=
16168 DX_COND_latex_FALSE='#'
16169 else
16170 DX_COND_latex_TRUE='#'
16171 DX_COND_latex_FALSE=
16172 fi
16173
16174 DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
16175
16176 else
16177 if false; then
16178 DX_COND_latex_TRUE=
16179 DX_COND_latex_FALSE='#'
16180 else
16181 DX_COND_latex_TRUE='#'
16182 DX_COND_latex_FALSE=
16183 fi
16184
16185 DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
16186
16187 fi
16188
16189 # Paper size for PS and/or PDF:
16190
16191 case "$DOXYGEN_PAPER_SIZE" in
16192 #(
16193 "")
16194 DOXYGEN_PAPER_SIZE=""
16195
16196 ;; #(
16197 a4wide|a4|letter|legal|executive)
16198 DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
16199
16200 ;; #(
16201 *)
16202 as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
16203 ;;
16204 esac
16205
16206 #For debugging:
16207 #echo DX_FLAG_doc=$DX_FLAG_doc
16208 #echo DX_FLAG_dot=$DX_FLAG_dot
16209 #echo DX_FLAG_man=$DX_FLAG_man
16210 #echo DX_FLAG_html=$DX_FLAG_html
16211 #echo DX_FLAG_chm=$DX_FLAG_chm
16212 #echo DX_FLAG_chi=$DX_FLAG_chi
16213 #echo DX_FLAG_rtf=$DX_FLAG_rtf
16214 #echo DX_FLAG_xml=$DX_FLAG_xml
16215 #echo DX_FLAG_pdf=$DX_FLAG_pdf
16216 #echo DX_FLAG_ps=$DX_FLAG_ps
16217 #echo DX_ENV=$DX_ENV
16218
16219
16220 ac_config_files="$ac_config_files Makefile lib/Makefile lib/Doxyfile"
16221
16222 cat >confcache <<\_ACEOF
16223 # This file is a shell script that caches the results of configure
16224 # tests run on this system so they can be shared between configure
16225 # scripts and configure runs, see configure's option --config-cache.
16226 # It is not useful on other systems. If it contains results you don't
16227 # want to keep, you may remove or edit it.
16228 #
16229 # config.status only pays attention to the cache file if you give it
16230 # the --recheck option to rerun configure.
16231 #
16232 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16233 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16234 # following values.
16235
16236 _ACEOF
16237
16238 # The following way of writing the cache mishandles newlines in values,
16239 # but we know of no workaround that is simple, portable, and efficient.
16240 # So, we kill variables containing newlines.
16241 # Ultrix sh set writes to stderr and can't be redirected directly,
16242 # and sets the high bit in the cache file unless we assign to the vars.
16243 (
16244 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16245 eval ac_val=\$$ac_var
16246 case $ac_val in #(
16247 *${as_nl}*)
16248 case $ac_var in #(
16249 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16250 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16251 esac
16252 case $ac_var in #(
16253 _ | IFS | as_nl) ;; #(
16254 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16255 *) { eval $ac_var=; unset $ac_var;} ;;
16256 esac ;;
16257 esac
16258 done
16259
16260 (set) 2>&1 |
16261 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16262 *${as_nl}ac_space=\ *)
16263 # `set' does not quote correctly, so add quotes: double-quote
16264 # substitution turns \\\\ into \\, and sed turns \\ into \.
16265 sed -n \
16266 "s/'/'\\\\''/g;
16267 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16268 ;; #(
16269 *)
16270 # `set' quotes correctly as required by POSIX, so do not add quotes.
16271 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16272 ;;
16273 esac |
16274 sort
16275 ) |
16276 sed '
16277 /^ac_cv_env_/b end
16278 t clear
16279 :clear
16280 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16281 t end
16282 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16283 :end' >>confcache
16284 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16285 if test -w "$cache_file"; then
16286 test "x$cache_file" != "x/dev/null" &&
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16288 $as_echo "$as_me: updating cache $cache_file" >&6;}
16289 cat confcache >$cache_file
16290 else
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16292 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16293 fi
16294 fi
16295 rm -f confcache
16296
16297 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16298 # Let make expand exec_prefix.
16299 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16300
16301 DEFS=-DHAVE_CONFIG_H
16302
16303 ac_libobjs=
16304 ac_ltlibobjs=
16305 U=
16306 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16307 # 1. Remove the extension, and $U if already installed.
16308 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16309 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16310 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16311 # will be set to the directory where LIBOBJS objects are built.
16312 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16313 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16314 done
16315 LIBOBJS=$ac_libobjs
16316
16317 LTLIBOBJS=$ac_ltlibobjs
16318
16319
16320 if test -n "$EXEEXT"; then
16321 am__EXEEXT_TRUE=
16322 am__EXEEXT_FALSE='#'
16323 else
16324 am__EXEEXT_TRUE='#'
16325 am__EXEEXT_FALSE=
16326 fi
16327
16328 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16329 as_fn_error $? "conditional \"AMDEP\" was never defined.
16330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16331 fi
16332 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16333 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16335 fi
16336 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16337 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16339 fi
16340 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16341 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16343 fi
16344 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
16345 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
16346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16347 fi
16348 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
16349 as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
16350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16351 fi
16352 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
16353 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
16354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16355 fi
16356 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
16357 as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
16358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16359 fi
16360 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
16361 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
16362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16363 fi
16364 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
16365 as_fn_error $? "conditional \"DX_COND_man\" was never defined.
16366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16367 fi
16368 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
16369 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
16370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16371 fi
16372 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
16373 as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
16374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16375 fi
16376 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
16377 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
16378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16379 fi
16380 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
16381 as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
16382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16383 fi
16384 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
16385 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
16386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16387 fi
16388 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
16389 as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
16390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16391 fi
16392 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
16393 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
16394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16395 fi
16396 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
16397 as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
16398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16399 fi
16400 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
16401 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
16402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16403 fi
16404 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
16405 as_fn_error $? "conditional \"DX_COND_html\" was never defined.
16406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16407 fi
16408 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
16409 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
16410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16411 fi
16412 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
16413 as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
16414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16415 fi
16416 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
16417 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
16418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16419 fi
16420 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
16421 as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
16422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16423 fi
16424 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
16425 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
16426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16427 fi
16428 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
16429 as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
16430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16431 fi
16432
16433 : ${CONFIG_STATUS=./config.status}
16434 ac_write_fail=0
16435 ac_clean_files_save=$ac_clean_files
16436 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16438 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16439 as_write_fail=0
16440 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16441 #! $SHELL
16442 # Generated by $as_me.
16443 # Run this file to recreate the current configuration.
16444 # Compiler output produced by configure, useful for debugging
16445 # configure, is in config.log if it exists.
16446
16447 debug=false
16448 ac_cs_recheck=false
16449 ac_cs_silent=false
16450
16451 SHELL=\${CONFIG_SHELL-$SHELL}
16452 export SHELL
16453 _ASEOF
16454 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16455 ## -------------------- ##
16456 ## M4sh Initialization. ##
16457 ## -------------------- ##
16458
16459 # Be more Bourne compatible
16460 DUALCASE=1; export DUALCASE # for MKS sh
16461 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16462 emulate sh
16463 NULLCMD=:
16464 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16465 # is contrary to our usage. Disable this feature.
16466 alias -g '${1+"$@"}'='"$@"'
16467 setopt NO_GLOB_SUBST
16468 else
16469 case `(set -o) 2>/dev/null` in #(
16470 *posix*) :
16471 set -o posix ;; #(
16472 *) :
16473 ;;
16474 esac
16475 fi
16476
16477
16478 as_nl='
16479 '
16480 export as_nl
16481 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16482 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16483 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16484 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16485 # Prefer a ksh shell builtin over an external printf program on Solaris,
16486 # but without wasting forks for bash or zsh.
16487 if test -z "$BASH_VERSION$ZSH_VERSION" \
16488 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16489 as_echo='print -r --'
16490 as_echo_n='print -rn --'
16491 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16492 as_echo='printf %s\n'
16493 as_echo_n='printf %s'
16494 else
16495 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16496 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16497 as_echo_n='/usr/ucb/echo -n'
16498 else
16499 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16500 as_echo_n_body='eval
16501 arg=$1;
16502 case $arg in #(
16503 *"$as_nl"*)
16504 expr "X$arg" : "X\\(.*\\)$as_nl";
16505 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16506 esac;
16507 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16508 '
16509 export as_echo_n_body
16510 as_echo_n='sh -c $as_echo_n_body as_echo'
16511 fi
16512 export as_echo_body
16513 as_echo='sh -c $as_echo_body as_echo'
16514 fi
16515
16516 # The user is always right.
16517 if test "${PATH_SEPARATOR+set}" != set; then
16518 PATH_SEPARATOR=:
16519 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16520 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16521 PATH_SEPARATOR=';'
16522 }
16523 fi
16524
16525
16526 # IFS
16527 # We need space, tab and new line, in precisely that order. Quoting is
16528 # there to prevent editors from complaining about space-tab.
16529 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16530 # splitting by setting IFS to empty value.)
16531 IFS=" "" $as_nl"
16532
16533 # Find who we are. Look in the path if we contain no directory separator.
16534 case $0 in #((
16535 *[\\/]* ) as_myself=$0 ;;
16536 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16537 for as_dir in $PATH
16538 do
16539 IFS=$as_save_IFS
16540 test -z "$as_dir" && as_dir=.
16541 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16542 done
16543 IFS=$as_save_IFS
16544
16545 ;;
16546 esac
16547 # We did not find ourselves, most probably we were run as `sh COMMAND'
16548 # in which case we are not to be found in the path.
16549 if test "x$as_myself" = x; then
16550 as_myself=$0
16551 fi
16552 if test ! -f "$as_myself"; then
16553 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16554 exit 1
16555 fi
16556
16557 # Unset variables that we do not need and which cause bugs (e.g. in
16558 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16559 # suppresses any "Segmentation fault" message there. '((' could
16560 # trigger a bug in pdksh 5.2.14.
16561 for as_var in BASH_ENV ENV MAIL MAILPATH
16562 do eval test x\${$as_var+set} = xset \
16563 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16564 done
16565 PS1='$ '
16566 PS2='> '
16567 PS4='+ '
16568
16569 # NLS nuisances.
16570 LC_ALL=C
16571 export LC_ALL
16572 LANGUAGE=C
16573 export LANGUAGE
16574
16575 # CDPATH.
16576 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16577
16578
16579 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16580 # ----------------------------------------
16581 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16582 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16583 # script with STATUS, using 1 if that was 0.
16584 as_fn_error ()
16585 {
16586 as_status=$1; test $as_status -eq 0 && as_status=1
16587 if test "$4"; then
16588 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16589 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16590 fi
16591 $as_echo "$as_me: error: $2" >&2
16592 as_fn_exit $as_status
16593 } # as_fn_error
16594
16595
16596 # as_fn_set_status STATUS
16597 # -----------------------
16598 # Set $? to STATUS, without forking.
16599 as_fn_set_status ()
16600 {
16601 return $1
16602 } # as_fn_set_status
16603
16604 # as_fn_exit STATUS
16605 # -----------------
16606 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16607 as_fn_exit ()
16608 {
16609 set +e
16610 as_fn_set_status $1
16611 exit $1
16612 } # as_fn_exit
16613
16614 # as_fn_unset VAR
16615 # ---------------
16616 # Portably unset VAR.
16617 as_fn_unset ()
16618 {
16619 { eval $1=; unset $1;}
16620 }
16621 as_unset=as_fn_unset
16622 # as_fn_append VAR VALUE
16623 # ----------------------
16624 # Append the text in VALUE to the end of the definition contained in VAR. Take
16625 # advantage of any shell optimizations that allow amortized linear growth over
16626 # repeated appends, instead of the typical quadratic growth present in naive
16627 # implementations.
16628 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16629 eval 'as_fn_append ()
16630 {
16631 eval $1+=\$2
16632 }'
16633 else
16634 as_fn_append ()
16635 {
16636 eval $1=\$$1\$2
16637 }
16638 fi # as_fn_append
16639
16640 # as_fn_arith ARG...
16641 # ------------------
16642 # Perform arithmetic evaluation on the ARGs, and store the result in the
16643 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16644 # must be portable across $(()) and expr.
16645 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16646 eval 'as_fn_arith ()
16647 {
16648 as_val=$(( $* ))
16649 }'
16650 else
16651 as_fn_arith ()
16652 {
16653 as_val=`expr "$@" || test $? -eq 1`
16654 }
16655 fi # as_fn_arith
16656
16657
16658 if expr a : '\(a\)' >/dev/null 2>&1 &&
16659 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16660 as_expr=expr
16661 else
16662 as_expr=false
16663 fi
16664
16665 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16666 as_basename=basename
16667 else
16668 as_basename=false
16669 fi
16670
16671 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16672 as_dirname=dirname
16673 else
16674 as_dirname=false
16675 fi
16676
16677 as_me=`$as_basename -- "$0" ||
16678 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16679 X"$0" : 'X\(//\)$' \| \
16680 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16681 $as_echo X/"$0" |
16682 sed '/^.*\/\([^/][^/]*\)\/*$/{
16683 s//\1/
16684 q
16685 }
16686 /^X\/\(\/\/\)$/{
16687 s//\1/
16688 q
16689 }
16690 /^X\/\(\/\).*/{
16691 s//\1/
16692 q
16693 }
16694 s/.*/./; q'`
16695
16696 # Avoid depending upon Character Ranges.
16697 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16698 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16699 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16700 as_cr_digits='0123456789'
16701 as_cr_alnum=$as_cr_Letters$as_cr_digits
16702
16703 ECHO_C= ECHO_N= ECHO_T=
16704 case `echo -n x` in #(((((
16705 -n*)
16706 case `echo 'xy\c'` in
16707 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16708 xy) ECHO_C='\c';;
16709 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16710 ECHO_T=' ';;
16711 esac;;
16712 *)
16713 ECHO_N='-n';;
16714 esac
16715
16716 rm -f conf$$ conf$$.exe conf$$.file
16717 if test -d conf$$.dir; then
16718 rm -f conf$$.dir/conf$$.file
16719 else
16720 rm -f conf$$.dir
16721 mkdir conf$$.dir 2>/dev/null
16722 fi
16723 if (echo >conf$$.file) 2>/dev/null; then
16724 if ln -s conf$$.file conf$$ 2>/dev/null; then
16725 as_ln_s='ln -s'
16726 # ... but there are two gotchas:
16727 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16728 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16729 # In both cases, we have to default to `cp -p'.
16730 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16731 as_ln_s='cp -p'
16732 elif ln conf$$.file conf$$ 2>/dev/null; then
16733 as_ln_s=ln
16734 else
16735 as_ln_s='cp -p'
16736 fi
16737 else
16738 as_ln_s='cp -p'
16739 fi
16740 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16741 rmdir conf$$.dir 2>/dev/null
16742
16743
16744 # as_fn_mkdir_p
16745 # -------------
16746 # Create "$as_dir" as a directory, including parents if necessary.
16747 as_fn_mkdir_p ()
16748 {
16749
16750 case $as_dir in #(
16751 -*) as_dir=./$as_dir;;
16752 esac
16753 test -d "$as_dir" || eval $as_mkdir_p || {
16754 as_dirs=
16755 while :; do
16756 case $as_dir in #(
16757 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16758 *) as_qdir=$as_dir;;
16759 esac
16760 as_dirs="'$as_qdir' $as_dirs"
16761 as_dir=`$as_dirname -- "$as_dir" ||
16762 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16763 X"$as_dir" : 'X\(//\)[^/]' \| \
16764 X"$as_dir" : 'X\(//\)$' \| \
16765 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16766 $as_echo X"$as_dir" |
16767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16768 s//\1/
16769 q
16770 }
16771 /^X\(\/\/\)[^/].*/{
16772 s//\1/
16773 q
16774 }
16775 /^X\(\/\/\)$/{
16776 s//\1/
16777 q
16778 }
16779 /^X\(\/\).*/{
16780 s//\1/
16781 q
16782 }
16783 s/.*/./; q'`
16784 test -d "$as_dir" && break
16785 done
16786 test -z "$as_dirs" || eval "mkdir $as_dirs"
16787 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16788
16789
16790 } # as_fn_mkdir_p
16791 if mkdir -p . 2>/dev/null; then
16792 as_mkdir_p='mkdir -p "$as_dir"'
16793 else
16794 test -d ./-p && rmdir ./-p
16795 as_mkdir_p=false
16796 fi
16797
16798 if test -x / >/dev/null 2>&1; then
16799 as_test_x='test -x'
16800 else
16801 if ls -dL / >/dev/null 2>&1; then
16802 as_ls_L_option=L
16803 else
16804 as_ls_L_option=
16805 fi
16806 as_test_x='
16807 eval sh -c '\''
16808 if test -d "$1"; then
16809 test -d "$1/.";
16810 else
16811 case $1 in #(
16812 -*)set "./$1";;
16813 esac;
16814 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16815 ???[sx]*):;;*)false;;esac;fi
16816 '\'' sh
16817 '
16818 fi
16819 as_executable_p=$as_test_x
16820
16821 # Sed expression to map a string onto a valid CPP name.
16822 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16823
16824 # Sed expression to map a string onto a valid variable name.
16825 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16826
16827
16828 exec 6>&1
16829 ## ----------------------------------- ##
16830 ## Main body of $CONFIG_STATUS script. ##
16831 ## ----------------------------------- ##
16832 _ASEOF
16833 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16834
16835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16836 # Save the log message, to keep $0 and so on meaningful, and to
16837 # report actual input values of CONFIG_FILES etc. instead of their
16838 # values after options handling.
16839 ac_log="
16840 This file was extended by librostlab $as_me 1.0.20, which was
16841 generated by GNU Autoconf 2.67. Invocation command line was
16842
16843 CONFIG_FILES = $CONFIG_FILES
16844 CONFIG_HEADERS = $CONFIG_HEADERS
16845 CONFIG_LINKS = $CONFIG_LINKS
16846 CONFIG_COMMANDS = $CONFIG_COMMANDS
16847 $ $0 $@
16848
16849 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16850 "
16851
16852 _ACEOF
16853
16854 case $ac_config_files in *"
16855 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16856 esac
16857
16858 case $ac_config_headers in *"
16859 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16860 esac
16861
16862
16863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16864 # Files that config.status was made for.
16865 config_files="$ac_config_files"
16866 config_headers="$ac_config_headers"
16867 config_commands="$ac_config_commands"
16868
16869 _ACEOF
16870
16871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16872 ac_cs_usage="\
16873 \`$as_me' instantiates files and other configuration actions
16874 from templates according to the current configuration. Unless the files
16875 and actions are specified as TAGs, all are instantiated by default.
16876
16877 Usage: $0 [OPTION]... [TAG]...
16878
16879 -h, --help print this help, then exit
16880 -V, --version print version number and configuration settings, then exit
16881 --config print configuration, then exit
16882 -q, --quiet, --silent
16883 do not print progress messages
16884 -d, --debug don't remove temporary files
16885 --recheck update $as_me by reconfiguring in the same conditions
16886 --file=FILE[:TEMPLATE]
16887 instantiate the configuration file FILE
16888 --header=FILE[:TEMPLATE]
16889 instantiate the configuration header FILE
16890
16891 Configuration files:
16892 $config_files
16893
16894 Configuration headers:
16895 $config_headers
16896
16897 Configuration commands:
16898 $config_commands
16899
16900 Report bugs to <https://rostlab.org/cgi-bin/bugzilla3/enter_bug.cgi?product=librostlab>."
16901
16902 _ACEOF
16903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16904 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16905 ac_cs_version="\\
16906 librostlab config.status 1.0.20
16907 configured by $0, generated by GNU Autoconf 2.67,
16908 with options \\"\$ac_cs_config\\"
16909
16910 Copyright (C) 2010 Free Software Foundation, Inc.
16911 This config.status script is free software; the Free Software Foundation
16912 gives unlimited permission to copy, distribute and modify it."
16913
16914 ac_pwd='$ac_pwd'
16915 srcdir='$srcdir'
16916 INSTALL='$INSTALL'
16917 MKDIR_P='$MKDIR_P'
16918 AWK='$AWK'
16919 test -n "\$AWK" || AWK=awk
16920 _ACEOF
16921
16922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16923 # The default lists apply if the user does not specify any file.
16924 ac_need_defaults=:
16925 while test $# != 0
16926 do
16927 case $1 in
16928 --*=?*)
16929 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16930 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16931 ac_shift=:
16932 ;;
16933 --*=)
16934 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16935 ac_optarg=
16936 ac_shift=:
16937 ;;
16938 *)
16939 ac_option=$1
16940 ac_optarg=$2
16941 ac_shift=shift
16942 ;;
16943 esac
16944
16945 case $ac_option in
16946 # Handling of the options.
16947 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16948 ac_cs_recheck=: ;;
16949 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16950 $as_echo "$ac_cs_version"; exit ;;
16951 --config | --confi | --conf | --con | --co | --c )
16952 $as_echo "$ac_cs_config"; exit ;;
16953 --debug | --debu | --deb | --de | --d | -d )
16954 debug=: ;;
16955 --file | --fil | --fi | --f )
16956 $ac_shift
16957 case $ac_optarg in
16958 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16959 '') as_fn_error $? "missing file argument" ;;
16960 esac
16961 as_fn_append CONFIG_FILES " '$ac_optarg'"
16962 ac_need_defaults=false;;
16963 --header | --heade | --head | --hea )
16964 $ac_shift
16965 case $ac_optarg in
16966 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16967 esac
16968 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16969 ac_need_defaults=false;;
16970 --he | --h)
16971 # Conflict between --help and --header
16972 as_fn_error $? "ambiguous option: \`$1'
16973 Try \`$0 --help' for more information.";;
16974 --help | --hel | -h )
16975 $as_echo "$ac_cs_usage"; exit ;;
16976 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16977 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16978 ac_cs_silent=: ;;
16979
16980 # This is an error.
16981 -*) as_fn_error $? "unrecognized option: \`$1'
16982 Try \`$0 --help' for more information." ;;
16983
16984 *) as_fn_append ac_config_targets " $1"
16985 ac_need_defaults=false ;;
16986
16987 esac
16988 shift
16989 done
16990
16991 ac_configure_extra_args=
16992
16993 if $ac_cs_silent; then
16994 exec 6>/dev/null
16995 ac_configure_extra_args="$ac_configure_extra_args --silent"
16996 fi
16997
16998 _ACEOF
16999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17000 if \$ac_cs_recheck; then
17001 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17002 shift
17003 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17004 CONFIG_SHELL='$SHELL'
17005 export CONFIG_SHELL
17006 exec "\$@"
17007 fi
17008
17009 _ACEOF
17010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17011 exec 5>>config.log
17012 {
17013 echo
17014 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17015 ## Running $as_me. ##
17016 _ASBOX
17017 $as_echo "$ac_log"
17018 } >&5
17019
17020 _ACEOF
17021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17022 #
17023 # INIT-COMMANDS
17024 #
17025 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17026
17027
17028 # The HP-UX ksh and POSIX shell print the target directory to stdout
17029 # if CDPATH is set.
17030 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17031
17032 sed_quote_subst='$sed_quote_subst'
17033 double_quote_subst='$double_quote_subst'
17034 delay_variable_subst='$delay_variable_subst'
17035 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17036 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17037 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17038 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17039 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17040 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17041 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17042 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17043 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17044 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17045 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17046 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17047 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17048 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17049 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17050 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17051 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17052 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17053 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17054 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17055 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17056 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17057 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17058 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17059 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17060 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17061 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17062 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17063 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17064 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17065 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17066 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17067 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17068 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17069 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17070 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17071 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17072 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17073 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17074 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17075 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17076 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17077 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17078 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17079 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
17080 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17081 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17082 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17083 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17084 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17085 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17086 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17087 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17088 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17089 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17090 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17091 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17092 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17093 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17094 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17095 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17096 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17097 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17098 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17099 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17100 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17101 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17102 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17103 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17104 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17105 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17106 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17107 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17108 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17109 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17110 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17111 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17112 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17113 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17114 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17115 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17116 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17117 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17118 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17119 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17120 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17121 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17122 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17123 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17124 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17125 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17126 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17127 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17128 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17129 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17130 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17131 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17132 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17133 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17134 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17135 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17136 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17137 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17138 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17139 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17140 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17141 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17142 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17143 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17144 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17145 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17146 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17147 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17148 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17149 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17150 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17151 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17152 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17153 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17154 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17155 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17156 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17157 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17158 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17159 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17160 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17161 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17162 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17163 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17164 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17165 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17166 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17167 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17168 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17169 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17170 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17171 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17172 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17173 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17174 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17175 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17176 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17177 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17178 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17179 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17180 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17181 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17182 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17183 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17184 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17185 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17186 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17187 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17188 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17189 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17190 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17191 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17192 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17193 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17194 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17195 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17196 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17197 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17198 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17199 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17200 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17201 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17202 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17203 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17204 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17205 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17206
17207 LTCC='$LTCC'
17208 LTCFLAGS='$LTCFLAGS'
17209 compiler='$compiler_DEFAULT'
17210
17211 # Quote evaled strings.
17212 for var in SED \
17213 GREP \
17214 EGREP \
17215 FGREP \
17216 LD \
17217 NM \
17218 LN_S \
17219 lt_SP2NL \
17220 lt_NL2SP \
17221 reload_flag \
17222 OBJDUMP \
17223 deplibs_check_method \
17224 file_magic_cmd \
17225 AR \
17226 AR_FLAGS \
17227 STRIP \
17228 RANLIB \
17229 CC \
17230 CFLAGS \
17231 compiler \
17232 lt_cv_sys_global_symbol_pipe \
17233 lt_cv_sys_global_symbol_to_cdecl \
17234 lt_cv_sys_global_symbol_to_c_name_address \
17235 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17236 SHELL \
17237 ECHO \
17238 lt_prog_compiler_no_builtin_flag \
17239 lt_prog_compiler_wl \
17240 lt_prog_compiler_pic \
17241 lt_prog_compiler_static \
17242 lt_cv_prog_compiler_c_o \
17243 need_locks \
17244 DSYMUTIL \
17245 NMEDIT \
17246 LIPO \
17247 OTOOL \
17248 OTOOL64 \
17249 shrext_cmds \
17250 export_dynamic_flag_spec \
17251 whole_archive_flag_spec \
17252 compiler_needs_object \
17253 with_gnu_ld \
17254 allow_undefined_flag \
17255 no_undefined_flag \
17256 hardcode_libdir_flag_spec \
17257 hardcode_libdir_flag_spec_ld \
17258 hardcode_libdir_separator \
17259 fix_srcfile_path \
17260 exclude_expsyms \
17261 include_expsyms \
17262 file_list_spec \
17263 variables_saved_for_relink \
17264 libname_spec \
17265 library_names_spec \
17266 soname_spec \
17267 finish_eval \
17268 old_striplib \
17269 striplib \
17270 compiler_lib_search_dirs \
17271 predep_objects \
17272 postdep_objects \
17273 predeps \
17274 postdeps \
17275 compiler_lib_search_path \
17276 LD_CXX \
17277 compiler_CXX \
17278 lt_prog_compiler_no_builtin_flag_CXX \
17279 lt_prog_compiler_wl_CXX \
17280 lt_prog_compiler_pic_CXX \
17281 lt_prog_compiler_static_CXX \
17282 lt_cv_prog_compiler_c_o_CXX \
17283 export_dynamic_flag_spec_CXX \
17284 whole_archive_flag_spec_CXX \
17285 compiler_needs_object_CXX \
17286 with_gnu_ld_CXX \
17287 allow_undefined_flag_CXX \
17288 no_undefined_flag_CXX \
17289 hardcode_libdir_flag_spec_CXX \
17290 hardcode_libdir_flag_spec_ld_CXX \
17291 hardcode_libdir_separator_CXX \
17292 fix_srcfile_path_CXX \
17293 exclude_expsyms_CXX \
17294 include_expsyms_CXX \
17295 file_list_spec_CXX \
17296 compiler_lib_search_dirs_CXX \
17297 predep_objects_CXX \
17298 postdep_objects_CXX \
17299 predeps_CXX \
17300 postdeps_CXX \
17301 compiler_lib_search_path_CXX; do
17302 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17303 *[\\\\\\\`\\"\\\$]*)
17304 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17305 ;;
17306 *)
17307 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17308 ;;
17309 esac
17310 done
17311
17312 # Double-quote double-evaled strings.
17313 for var in reload_cmds \
17314 old_postinstall_cmds \
17315 old_postuninstall_cmds \
17316 old_archive_cmds \
17317 extract_expsyms_cmds \
17318 old_archive_from_new_cmds \
17319 old_archive_from_expsyms_cmds \
17320 archive_cmds \
17321 archive_expsym_cmds \
17322 module_cmds \
17323 module_expsym_cmds \
17324 export_symbols_cmds \
17325 prelink_cmds \
17326 postinstall_cmds \
17327 postuninstall_cmds \
17328 finish_cmds \
17329 sys_lib_search_path_spec \
17330 sys_lib_dlsearch_path_spec \
17331 old_archive_cmds_CXX \
17332 old_archive_from_new_cmds_CXX \
17333 old_archive_from_expsyms_cmds_CXX \
17334 archive_cmds_CXX \
17335 archive_expsym_cmds_CXX \
17336 module_cmds_CXX \
17337 module_expsym_cmds_CXX \
17338 export_symbols_cmds_CXX \
17339 prelink_cmds_CXX; do
17340 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17341 *[\\\\\\\`\\"\\\$]*)
17342 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17343 ;;
17344 *)
17345 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17346 ;;
17347 esac
17348 done
17349
17350 # Fix-up fallback echo if it was mangled by the above quoting rules.
17351 case \$lt_ECHO in
17352 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17353 ;;
17354 esac
17355
17356 ac_aux_dir='$ac_aux_dir'
17357 xsi_shell='$xsi_shell'
17358 lt_shell_append='$lt_shell_append'
17359
17360 # See if we are running on zsh, and set the options which allow our
17361 # commands through without removal of \ escapes INIT.
17362 if test -n "\${ZSH_VERSION+set}" ; then
17363 setopt NO_GLOB_SUBST
17364 fi
17365
17366
17367 PACKAGE='$PACKAGE'
17368 VERSION='$VERSION'
17369 TIMESTAMP='$TIMESTAMP'
17370 RM='$RM'
17371 ofile='$ofile'
17372
17373
17374
17375
17376
17377
17378 _ACEOF
17379
17380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17381
17382 # Handling of arguments.
17383 for ac_config_target in $ac_config_targets
17384 do
17385 case $ac_config_target in
17386 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
17387 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17388 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17389 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17390 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
17391 "lib/Doxyfile") CONFIG_FILES="$CONFIG_FILES lib/Doxyfile" ;;
17392
17393 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
17394 esac
17395 done
17396
17397
17398 # If the user did not use the arguments to specify the items to instantiate,
17399 # then the envvar interface is used. Set only those that are not.
17400 # We use the long form for the default assignment because of an extremely
17401 # bizarre bug on SunOS 4.1.3.
17402 if $ac_need_defaults; then
17403 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17404 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17405 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17406 fi
17407
17408 # Have a temporary directory for convenience. Make it in the build tree
17409 # simply because there is no reason against having it here, and in addition,
17410 # creating and moving files from /tmp can sometimes cause problems.
17411 # Hook for its removal unless debugging.
17412 # Note that there is a small window in which the directory will not be cleaned:
17413 # after its creation but before its name has been assigned to `$tmp'.
17414 $debug ||
17415 {
17416 tmp=
17417 trap 'exit_status=$?
17418 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17419 ' 0
17420 trap 'as_fn_exit 1' 1 2 13 15
17421 }
17422 # Create a (secure) tmp directory for tmp files.
17423
17424 {
17425 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17426 test -n "$tmp" && test -d "$tmp"
17427 } ||
17428 {
17429 tmp=./conf$$-$RANDOM
17430 (umask 077 && mkdir "$tmp")
17431 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17432
17433 # Set up the scripts for CONFIG_FILES section.
17434 # No need to generate them if there are no CONFIG_FILES.
17435 # This happens for instance with `./config.status config.h'.
17436 if test -n "$CONFIG_FILES"; then
17437
17438
17439 ac_cr=`echo X | tr X '\015'`
17440 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17441 # But we know of no other shell where ac_cr would be empty at this
17442 # point, so we can use a bashism as a fallback.
17443 if test "x$ac_cr" = x; then
17444 eval ac_cr=\$\'\\r\'
17445 fi
17446 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17447 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17448 ac_cs_awk_cr='\\r'
17449 else
17450 ac_cs_awk_cr=$ac_cr
17451 fi
17452
17453 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17454 _ACEOF
17455
17456
17457 {
17458 echo "cat >conf$$subs.awk <<_ACEOF" &&
17459 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17460 echo "_ACEOF"
17461 } >conf$$subs.sh ||
17462 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17463 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17464 ac_delim='%!_!# '
17465 for ac_last_try in false false false false false :; do
17466 . ./conf$$subs.sh ||
17467 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17468
17469 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17470 if test $ac_delim_n = $ac_delim_num; then
17471 break
17472 elif $ac_last_try; then
17473 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17474 else
17475 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17476 fi
17477 done
17478 rm -f conf$$subs.sh
17479
17480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17481 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17482 _ACEOF
17483 sed -n '
17484 h
17485 s/^/S["/; s/!.*/"]=/
17486 p
17487 g
17488 s/^[^!]*!//
17489 :repl
17490 t repl
17491 s/'"$ac_delim"'$//
17492 t delim
17493 :nl
17494 h
17495 s/\(.\{148\}\)..*/\1/
17496 t more1
17497 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17498 p
17499 n
17500 b repl
17501 :more1
17502 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17503 p
17504 g
17505 s/.\{148\}//
17506 t nl
17507 :delim
17508 h
17509 s/\(.\{148\}\)..*/\1/
17510 t more2
17511 s/["\\]/\\&/g; s/^/"/; s/$/"/
17512 p
17513 b
17514 :more2
17515 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17516 p
17517 g
17518 s/.\{148\}//
17519 t delim
17520 ' <conf$$subs.awk | sed '
17521 /^[^""]/{
17522 N
17523 s/\n//
17524 }
17525 ' >>$CONFIG_STATUS || ac_write_fail=1
17526 rm -f conf$$subs.awk
17527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17528 _ACAWK
17529 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17530 for (key in S) S_is_set[key] = 1
17531 FS = ""
17532
17533 }
17534 {
17535 line = $ 0
17536 nfields = split(line, field, "@")
17537 substed = 0
17538 len = length(field[1])
17539 for (i = 2; i < nfields; i++) {
17540 key = field[i]
17541 keylen = length(key)
17542 if (S_is_set[key]) {
17543 value = S[key]
17544 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17545 len += length(value) + length(field[++i])
17546 substed = 1
17547 } else
17548 len += 1 + keylen
17549 }
17550
17551 print line
17552 }
17553
17554 _ACAWK
17555 _ACEOF
17556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17557 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17558 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17559 else
17560 cat
17561 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17562 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17563 _ACEOF
17564
17565 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17566 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17567 # trailing colons and then remove the whole line if VPATH becomes empty
17568 # (actually we leave an empty line to preserve line numbers).
17569 if test "x$srcdir" = x.; then
17570 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17571 h
17572 s///
17573 s/^/:/
17574 s/[ ]*$/:/
17575 s/:\$(srcdir):/:/g
17576 s/:\${srcdir}:/:/g
17577 s/:@srcdir@:/:/g
17578 s/^:*//
17579 s/:*$//
17580 x
17581 s/\(=[ ]*\).*/\1/
17582 G
17583 s/\n//
17584 s/^[^=]*=[ ]*$//
17585 }'
17586 fi
17587
17588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17589 fi # test -n "$CONFIG_FILES"
17590
17591 # Set up the scripts for CONFIG_HEADERS section.
17592 # No need to generate them if there are no CONFIG_HEADERS.
17593 # This happens for instance with `./config.status Makefile'.
17594 if test -n "$CONFIG_HEADERS"; then
17595 cat >"$tmp/defines.awk" <<\_ACAWK ||
17596 BEGIN {
17597 _ACEOF
17598
17599 # Transform confdefs.h into an awk script `defines.awk', embedded as
17600 # here-document in config.status, that substitutes the proper values into
17601 # config.h.in to produce config.h.
17602
17603 # Create a delimiter string that does not exist in confdefs.h, to ease
17604 # handling of long lines.
17605 ac_delim='%!_!# '
17606 for ac_last_try in false false :; do
17607 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17608 if test -z "$ac_t"; then
17609 break
17610 elif $ac_last_try; then
17611 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17612 else
17613 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17614 fi
17615 done
17616
17617 # For the awk script, D is an array of macro values keyed by name,
17618 # likewise P contains macro parameters if any. Preserve backslash
17619 # newline sequences.
17620
17621 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17622 sed -n '
17623 s/.\{148\}/&'"$ac_delim"'/g
17624 t rset
17625 :rset
17626 s/^[ ]*#[ ]*define[ ][ ]*/ /
17627 t def
17628 d
17629 :def
17630 s/\\$//
17631 t bsnl
17632 s/["\\]/\\&/g
17633 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17634 D["\1"]=" \3"/p
17635 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17636 d
17637 :bsnl
17638 s/["\\]/\\&/g
17639 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17640 D["\1"]=" \3\\\\\\n"\\/p
17641 t cont
17642 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17643 t cont
17644 d
17645 :cont
17646 n
17647 s/.\{148\}/&'"$ac_delim"'/g
17648 t clear
17649 :clear
17650 s/\\$//
17651 t bsnlc
17652 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17653 d
17654 :bsnlc
17655 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17656 b cont
17657 ' <confdefs.h | sed '
17658 s/'"$ac_delim"'/"\\\
17659 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17660
17661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17662 for (key in D) D_is_set[key] = 1
17663 FS = ""
17664 }
17665 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17666 line = \$ 0
17667 split(line, arg, " ")
17668 if (arg[1] == "#") {
17669 defundef = arg[2]
17670 mac1 = arg[3]
17671 } else {
17672 defundef = substr(arg[1], 2)
17673 mac1 = arg[2]
17674 }
17675 split(mac1, mac2, "(") #)
17676 macro = mac2[1]
17677 prefix = substr(line, 1, index(line, defundef) - 1)
17678 if (D_is_set[macro]) {
17679 # Preserve the white space surrounding the "#".
17680 print prefix "define", macro P[macro] D[macro]
17681 next
17682 } else {
17683 # Replace #undef with comments. This is necessary, for example,
17684 # in the case of _POSIX_SOURCE, which is predefined and required
17685 # on some systems where configure will not decide to define it.
17686 if (defundef == "undef") {
17687 print "/*", prefix defundef, macro, "*/"
17688 next
17689 }
17690 }
17691 }
17692 { print }
17693 _ACAWK
17694 _ACEOF
17695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17696 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17697 fi # test -n "$CONFIG_HEADERS"
17698
17699
17700 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17701 shift
17702 for ac_tag
17703 do
17704 case $ac_tag in
17705 :[FHLC]) ac_mode=$ac_tag; continue;;
17706 esac
17707 case $ac_mode$ac_tag in
17708 :[FHL]*:*);;
17709 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
17710 :[FH]-) ac_tag=-:-;;
17711 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17712 esac
17713 ac_save_IFS=$IFS
17714 IFS=:
17715 set x $ac_tag
17716 IFS=$ac_save_IFS
17717 shift
17718 ac_file=$1
17719 shift
17720
17721 case $ac_mode in
17722 :L) ac_source=$1;;
17723 :[FH])
17724 ac_file_inputs=
17725 for ac_f
17726 do
17727 case $ac_f in
17728 -) ac_f="$tmp/stdin";;
17729 *) # Look for the file first in the build tree, then in the source tree
17730 # (if the path is not absolute). The absolute path cannot be DOS-style,
17731 # because $ac_f cannot contain `:'.
17732 test -f "$ac_f" ||
17733 case $ac_f in
17734 [\\/$]*) false;;
17735 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17736 esac ||
17737 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
17738 esac
17739 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17740 as_fn_append ac_file_inputs " '$ac_f'"
17741 done
17742
17743 # Let's still pretend it is `configure' which instantiates (i.e., don't
17744 # use $as_me), people would be surprised to read:
17745 # /* config.h. Generated by config.status. */
17746 configure_input='Generated from '`
17747 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17748 `' by configure.'
17749 if test x"$ac_file" != x-; then
17750 configure_input="$ac_file. $configure_input"
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17752 $as_echo "$as_me: creating $ac_file" >&6;}
17753 fi
17754 # Neutralize special characters interpreted by sed in replacement strings.
17755 case $configure_input in #(
17756 *\&* | *\|* | *\\* )
17757 ac_sed_conf_input=`$as_echo "$configure_input" |
17758 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17759 *) ac_sed_conf_input=$configure_input;;
17760 esac
17761
17762 case $ac_tag in
17763 *:-:* | *:-) cat >"$tmp/stdin" \
17764 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17765 esac
17766 ;;
17767 esac
17768
17769 ac_dir=`$as_dirname -- "$ac_file" ||
17770 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17771 X"$ac_file" : 'X\(//\)[^/]' \| \
17772 X"$ac_file" : 'X\(//\)$' \| \
17773 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17774 $as_echo X"$ac_file" |
17775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17776 s//\1/
17777 q
17778 }
17779 /^X\(\/\/\)[^/].*/{
17780 s//\1/
17781 q
17782 }
17783 /^X\(\/\/\)$/{
17784 s//\1/
17785 q
17786 }
17787 /^X\(\/\).*/{
17788 s//\1/
17789 q
17790 }
17791 s/.*/./; q'`
17792 as_dir="$ac_dir"; as_fn_mkdir_p
17793 ac_builddir=.
17794
17795 case "$ac_dir" in
17796 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17797 *)
17798 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17799 # A ".." for each directory in $ac_dir_suffix.
17800 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17801 case $ac_top_builddir_sub in
17802 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17803 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17804 esac ;;
17805 esac
17806 ac_abs_top_builddir=$ac_pwd
17807 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17808 # for backward compatibility:
17809 ac_top_builddir=$ac_top_build_prefix
17810
17811 case $srcdir in
17812 .) # We are building in place.
17813 ac_srcdir=.
17814 ac_top_srcdir=$ac_top_builddir_sub
17815 ac_abs_top_srcdir=$ac_pwd ;;
17816 [\\/]* | ?:[\\/]* ) # Absolute name.
17817 ac_srcdir=$srcdir$ac_dir_suffix;
17818 ac_top_srcdir=$srcdir
17819 ac_abs_top_srcdir=$srcdir ;;
17820 *) # Relative name.
17821 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17822 ac_top_srcdir=$ac_top_build_prefix$srcdir
17823 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17824 esac
17825 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17826
17827
17828 case $ac_mode in
17829 :F)
17830 #
17831 # CONFIG_FILE
17832 #
17833
17834 case $INSTALL in
17835 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17836 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17837 esac
17838 ac_MKDIR_P=$MKDIR_P
17839 case $MKDIR_P in
17840 [\\/$]* | ?:[\\/]* ) ;;
17841 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17842 esac
17843 _ACEOF
17844
17845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17846 # If the template does not know about datarootdir, expand it.
17847 # FIXME: This hack should be removed a few years after 2.60.
17848 ac_datarootdir_hack=; ac_datarootdir_seen=
17849 ac_sed_dataroot='
17850 /datarootdir/ {
17851 p
17852 q
17853 }
17854 /@datadir@/p
17855 /@docdir@/p
17856 /@infodir@/p
17857 /@localedir@/p
17858 /@mandir@/p'
17859 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17860 *datarootdir*) ac_datarootdir_seen=yes;;
17861 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17863 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17864 _ACEOF
17865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17866 ac_datarootdir_hack='
17867 s&@datadir@&$datadir&g
17868 s&@docdir@&$docdir&g
17869 s&@infodir@&$infodir&g
17870 s&@localedir@&$localedir&g
17871 s&@mandir@&$mandir&g
17872 s&\\\${datarootdir}&$datarootdir&g' ;;
17873 esac
17874 _ACEOF
17875
17876 # Neutralize VPATH when `$srcdir' = `.'.
17877 # Shell code in configure.ac might set extrasub.
17878 # FIXME: do we really want to maintain this feature?
17879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17880 ac_sed_extra="$ac_vpsub
17881 $extrasub
17882 _ACEOF
17883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17884 :t
17885 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17886 s|@configure_input@|$ac_sed_conf_input|;t t
17887 s&@top_builddir@&$ac_top_builddir_sub&;t t
17888 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17889 s&@srcdir@&$ac_srcdir&;t t
17890 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17891 s&@top_srcdir@&$ac_top_srcdir&;t t
17892 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17893 s&@builddir@&$ac_builddir&;t t
17894 s&@abs_builddir@&$ac_abs_builddir&;t t
17895 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17896 s&@INSTALL@&$ac_INSTALL&;t t
17897 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17898 $ac_datarootdir_hack
17899 "
17900 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17901 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17902
17903 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17904 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17905 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17907 which seems to be undefined. Please make sure it is defined" >&5
17908 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17909 which seems to be undefined. Please make sure it is defined" >&2;}
17910
17911 rm -f "$tmp/stdin"
17912 case $ac_file in
17913 -) cat "$tmp/out" && rm -f "$tmp/out";;
17914 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17915 esac \
17916 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17917 ;;
17918 :H)
17919 #
17920 # CONFIG_HEADER
17921 #
17922 if test x"$ac_file" != x-; then
17923 {
17924 $as_echo "/* $configure_input */" \
17925 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17926 } >"$tmp/config.h" \
17927 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17928 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17930 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17931 else
17932 rm -f "$ac_file"
17933 mv "$tmp/config.h" "$ac_file" \
17934 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17935 fi
17936 else
17937 $as_echo "/* $configure_input */" \
17938 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17939 || as_fn_error $? "could not create -" "$LINENO" 5
17940 fi
17941 # Compute "$ac_file"'s index in $config_headers.
17942 _am_arg="$ac_file"
17943 _am_stamp_count=1
17944 for _am_header in $config_headers :; do
17945 case $_am_header in
17946 $_am_arg | $_am_arg:* )
17947 break ;;
17948 * )
17949 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17950 esac
17951 done
17952 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17953 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17954 X"$_am_arg" : 'X\(//\)[^/]' \| \
17955 X"$_am_arg" : 'X\(//\)$' \| \
17956 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17957 $as_echo X"$_am_arg" |
17958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17959 s//\1/
17960 q
17961 }
17962 /^X\(\/\/\)[^/].*/{
17963 s//\1/
17964 q
17965 }
17966 /^X\(\/\/\)$/{
17967 s//\1/
17968 q
17969 }
17970 /^X\(\/\).*/{
17971 s//\1/
17972 q
17973 }
17974 s/.*/./; q'`/stamp-h$_am_stamp_count
17975 ;;
17976
17977 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17978 $as_echo "$as_me: executing $ac_file commands" >&6;}
17979 ;;
17980 esac
17981
17982
17983 case $ac_file$ac_mode in
17984 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17985 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17986 # are listed without --file. Let's play safe and only enable the eval
17987 # if we detect the quoting.
17988 case $CONFIG_FILES in
17989 *\'*) eval set x "$CONFIG_FILES" ;;
17990 *) set x $CONFIG_FILES ;;
17991 esac
17992 shift
17993 for mf
17994 do
17995 # Strip MF so we end up with the name of the file.
17996 mf=`echo "$mf" | sed -e 's/:.*$//'`
17997 # Check whether this is an Automake generated Makefile or not.
17998 # We used to match only the files named `Makefile.in', but
17999 # some people rename them; so instead we look at the file content.
18000 # Grep'ing the first line is not enough: some people post-process
18001 # each Makefile.in and add a new line on top of each file to say so.
18002 # Grep'ing the whole file is not good either: AIX grep has a line
18003 # limit of 2048, but all sed's we know have understand at least 4000.
18004 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18005 dirpart=`$as_dirname -- "$mf" ||
18006 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18007 X"$mf" : 'X\(//\)[^/]' \| \
18008 X"$mf" : 'X\(//\)$' \| \
18009 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18010 $as_echo X"$mf" |
18011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18012 s//\1/
18013 q
18014 }
18015 /^X\(\/\/\)[^/].*/{
18016 s//\1/
18017 q
18018 }
18019 /^X\(\/\/\)$/{
18020 s//\1/
18021 q
18022 }
18023 /^X\(\/\).*/{
18024 s//\1/
18025 q
18026 }
18027 s/.*/./; q'`
18028 else
18029 continue
18030 fi
18031 # Extract the definition of DEPDIR, am__include, and am__quote
18032 # from the Makefile without running `make'.
18033 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18034 test -z "$DEPDIR" && continue
18035 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18036 test -z "am__include" && continue
18037 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18038 # When using ansi2knr, U may be empty or an underscore; expand it
18039 U=`sed -n 's/^U = //p' < "$mf"`
18040 # Find all dependency output files, they are included files with
18041 # $(DEPDIR) in their names. We invoke sed twice because it is the
18042 # simplest approach to changing $(DEPDIR) to its actual value in the
18043 # expansion.
18044 for file in `sed -n "
18045 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18046 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18047 # Make sure the directory exists.
18048 test -f "$dirpart/$file" && continue
18049 fdir=`$as_dirname -- "$file" ||
18050 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18051 X"$file" : 'X\(//\)[^/]' \| \
18052 X"$file" : 'X\(//\)$' \| \
18053 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18054 $as_echo X"$file" |
18055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18056 s//\1/
18057 q
18058 }
18059 /^X\(\/\/\)[^/].*/{
18060 s//\1/
18061 q
18062 }
18063 /^X\(\/\/\)$/{
18064 s//\1/
18065 q
18066 }
18067 /^X\(\/\).*/{
18068 s//\1/
18069 q
18070 }
18071 s/.*/./; q'`
18072 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18073 # echo "creating $dirpart/$file"
18074 echo '# dummy' > "$dirpart/$file"
18075 done
18076 done
18077 }
18078 ;;
18079 "libtool":C)
18080
18081 # See if we are running on zsh, and set the options which allow our
18082 # commands through without removal of \ escapes.
18083 if test -n "${ZSH_VERSION+set}" ; then
18084 setopt NO_GLOB_SUBST
18085 fi
18086
18087 cfgfile="${ofile}T"
18088 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18089 $RM "$cfgfile"
18090
18091 cat <<_LT_EOF >> "$cfgfile"
18092 #! $SHELL
18093
18094 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18095 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18096 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18097 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18098 #
18099 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18100 # 2006, 2007, 2008 Free Software Foundation, Inc.
18101 # Written by Gordon Matzigkeit, 1996
18102 #
18103 # This file is part of GNU Libtool.
18104 #
18105 # GNU Libtool is free software; you can redistribute it and/or
18106 # modify it under the terms of the GNU General Public License as
18107 # published by the Free Software Foundation; either version 2 of
18108 # the License, or (at your option) any later version.
18109 #
18110 # As a special exception to the GNU General Public License,
18111 # if you distribute this file as part of a program or library that
18112 # is built using GNU Libtool, you may include this file under the
18113 # same distribution terms that you use for the rest of that program.
18114 #
18115 # GNU Libtool is distributed in the hope that it will be useful,
18116 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18117 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18118 # GNU General Public License for more details.
18119 #
18120 # You should have received a copy of the GNU General Public License
18121 # along with GNU Libtool; see the file COPYING. If not, a copy
18122 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18123 # obtained by writing to the Free Software Foundation, Inc.,
18124 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18125
18126
18127 # The names of the tagged configurations supported by this script.
18128 available_tags="CXX "
18129
18130 # ### BEGIN LIBTOOL CONFIG
18131
18132 # Which release of libtool.m4 was used?
18133 macro_version=$macro_version
18134 macro_revision=$macro_revision
18135
18136 # Whether or not to build shared libraries.
18137 build_libtool_libs=$enable_shared
18138
18139 # Whether or not to build static libraries.
18140 build_old_libs=$enable_static
18141
18142 # What type of objects to build.
18143 pic_mode=$pic_mode
18144
18145 # Whether or not to optimize for fast installation.
18146 fast_install=$enable_fast_install
18147
18148 # The host system.
18149 host_alias=$host_alias
18150 host=$host
18151 host_os=$host_os
18152
18153 # The build system.
18154 build_alias=$build_alias
18155 build=$build
18156 build_os=$build_os
18157
18158 # A sed program that does not truncate output.
18159 SED=$lt_SED
18160
18161 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18162 Xsed="\$SED -e 1s/^X//"
18163
18164 # A grep program that handles long lines.
18165 GREP=$lt_GREP
18166
18167 # An ERE matcher.
18168 EGREP=$lt_EGREP
18169
18170 # A literal string matcher.
18171 FGREP=$lt_FGREP
18172
18173 # A BSD- or MS-compatible name lister.
18174 NM=$lt_NM
18175
18176 # Whether we need soft or hard links.
18177 LN_S=$lt_LN_S
18178
18179 # What is the maximum length of a command?
18180 max_cmd_len=$max_cmd_len
18181
18182 # Object file suffix (normally "o").
18183 objext=$ac_objext
18184
18185 # Executable file suffix (normally "").
18186 exeext=$exeext
18187
18188 # whether the shell understands "unset".
18189 lt_unset=$lt_unset
18190
18191 # turn spaces into newlines.
18192 SP2NL=$lt_lt_SP2NL
18193
18194 # turn newlines into spaces.
18195 NL2SP=$lt_lt_NL2SP
18196
18197 # How to create reloadable object files.
18198 reload_flag=$lt_reload_flag
18199 reload_cmds=$lt_reload_cmds
18200
18201 # An object symbol dumper.
18202 OBJDUMP=$lt_OBJDUMP
18203
18204 # Method to check whether dependent libraries are shared objects.
18205 deplibs_check_method=$lt_deplibs_check_method
18206
18207 # Command to use when deplibs_check_method == "file_magic".
18208 file_magic_cmd=$lt_file_magic_cmd
18209
18210 # The archiver.
18211 AR=$lt_AR
18212 AR_FLAGS=$lt_AR_FLAGS
18213
18214 # A symbol stripping program.
18215 STRIP=$lt_STRIP
18216
18217 # Commands used to install an old-style archive.
18218 RANLIB=$lt_RANLIB
18219 old_postinstall_cmds=$lt_old_postinstall_cmds
18220 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18221
18222 # A C compiler.
18223 LTCC=$lt_CC
18224
18225 # LTCC compiler flags.
18226 LTCFLAGS=$lt_CFLAGS
18227
18228 # Take the output of nm and produce a listing of raw symbols and C names.
18229 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18230
18231 # Transform the output of nm in a proper C declaration.
18232 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18233
18234 # Transform the output of nm in a C name address pair.
18235 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18236
18237 # Transform the output of nm in a C name address pair when lib prefix is needed.
18238 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18239
18240 # The name of the directory that contains temporary libtool files.
18241 objdir=$objdir
18242
18243 # Shell to use when invoking shell scripts.
18244 SHELL=$lt_SHELL
18245
18246 # An echo program that does not interpret backslashes.
18247 ECHO=$lt_ECHO
18248
18249 # Used to examine libraries when file_magic_cmd begins with "file".
18250 MAGIC_CMD=$MAGIC_CMD
18251
18252 # Must we lock files when doing compilation?
18253 need_locks=$lt_need_locks
18254
18255 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18256 DSYMUTIL=$lt_DSYMUTIL
18257
18258 # Tool to change global to local symbols on Mac OS X.
18259 NMEDIT=$lt_NMEDIT
18260
18261 # Tool to manipulate fat objects and archives on Mac OS X.
18262 LIPO=$lt_LIPO
18263
18264 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18265 OTOOL=$lt_OTOOL
18266
18267 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18268 OTOOL64=$lt_OTOOL64
18269
18270 # Old archive suffix (normally "a").
18271 libext=$libext
18272
18273 # Shared library suffix (normally ".so").
18274 shrext_cmds=$lt_shrext_cmds
18275
18276 # The commands to extract the exported symbol list from a shared archive.
18277 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18278
18279 # Variables whose values should be saved in libtool wrapper scripts and
18280 # restored at link time.
18281 variables_saved_for_relink=$lt_variables_saved_for_relink
18282
18283 # Do we need the "lib" prefix for modules?
18284 need_lib_prefix=$need_lib_prefix
18285
18286 # Do we need a version for libraries?
18287 need_version=$need_version
18288
18289 # Library versioning type.
18290 version_type=$version_type
18291
18292 # Shared library runtime path variable.
18293 runpath_var=$runpath_var
18294
18295 # Shared library path variable.
18296 shlibpath_var=$shlibpath_var
18297
18298 # Is shlibpath searched before the hard-coded library search path?
18299 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18300
18301 # Format of library name prefix.
18302 libname_spec=$lt_libname_spec
18303
18304 # List of archive names. First name is the real one, the rest are links.
18305 # The last name is the one that the linker finds with -lNAME
18306 library_names_spec=$lt_library_names_spec
18307
18308 # The coded name of the library, if different from the real name.
18309 soname_spec=$lt_soname_spec
18310
18311 # Command to use after installation of a shared archive.
18312 postinstall_cmds=$lt_postinstall_cmds
18313
18314 # Command to use after uninstallation of a shared archive.
18315 postuninstall_cmds=$lt_postuninstall_cmds
18316
18317 # Commands used to finish a libtool library installation in a directory.
18318 finish_cmds=$lt_finish_cmds
18319
18320 # As "finish_cmds", except a single script fragment to be evaled but
18321 # not shown.
18322 finish_eval=$lt_finish_eval
18323
18324 # Whether we should hardcode library paths into libraries.
18325 hardcode_into_libs=$hardcode_into_libs
18326
18327 # Compile-time system search path for libraries.
18328 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18329
18330 # Run-time system search path for libraries.
18331 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18332
18333 # Whether dlopen is supported.
18334 dlopen_support=$enable_dlopen
18335
18336 # Whether dlopen of programs is supported.
18337 dlopen_self=$enable_dlopen_self
18338
18339 # Whether dlopen of statically linked programs is supported.
18340 dlopen_self_static=$enable_dlopen_self_static
18341
18342 # Commands to strip libraries.
18343 old_striplib=$lt_old_striplib
18344 striplib=$lt_striplib
18345
18346
18347 # The linker used to build libraries.
18348 LD=$lt_LD
18349
18350 # Commands used to build an old-style archive.
18351 old_archive_cmds=$lt_old_archive_cmds
18352
18353 # A language specific compiler.
18354 CC=$lt_compiler
18355
18356 # Is the compiler the GNU compiler?
18357 with_gcc=$GCC
18358
18359 # Compiler flag to turn off builtin functions.
18360 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18361
18362 # How to pass a linker flag through the compiler.
18363 wl=$lt_lt_prog_compiler_wl
18364
18365 # Additional compiler flags for building library objects.
18366 pic_flag=$lt_lt_prog_compiler_pic
18367
18368 # Compiler flag to prevent dynamic linking.
18369 link_static_flag=$lt_lt_prog_compiler_static
18370
18371 # Does compiler simultaneously support -c and -o options?
18372 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18373
18374 # Whether or not to add -lc for building shared libraries.
18375 build_libtool_need_lc=$archive_cmds_need_lc
18376
18377 # Whether or not to disallow shared libs when runtime libs are static.
18378 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18379
18380 # Compiler flag to allow reflexive dlopens.
18381 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18382
18383 # Compiler flag to generate shared objects directly from archives.
18384 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18385
18386 # Whether the compiler copes with passing no objects directly.
18387 compiler_needs_object=$lt_compiler_needs_object
18388
18389 # Create an old-style archive from a shared archive.
18390 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18391
18392 # Create a temporary old-style archive to link instead of a shared archive.
18393 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18394
18395 # Commands used to build a shared archive.
18396 archive_cmds=$lt_archive_cmds
18397 archive_expsym_cmds=$lt_archive_expsym_cmds
18398
18399 # Commands used to build a loadable module if different from building
18400 # a shared archive.
18401 module_cmds=$lt_module_cmds
18402 module_expsym_cmds=$lt_module_expsym_cmds
18403
18404 # Whether we are building with GNU ld or not.
18405 with_gnu_ld=$lt_with_gnu_ld
18406
18407 # Flag that allows shared libraries with undefined symbols to be built.
18408 allow_undefined_flag=$lt_allow_undefined_flag
18409
18410 # Flag that enforces no undefined symbols.
18411 no_undefined_flag=$lt_no_undefined_flag
18412
18413 # Flag to hardcode \$libdir into a binary during linking.
18414 # This must work even if \$libdir does not exist
18415 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18416
18417 # If ld is used when linking, flag to hardcode \$libdir into a binary
18418 # during linking. This must work even if \$libdir does not exist.
18419 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18420
18421 # Whether we need a single "-rpath" flag with a separated argument.
18422 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18423
18424 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18425 # DIR into the resulting binary.
18426 hardcode_direct=$hardcode_direct
18427
18428 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18429 # DIR into the resulting binary and the resulting library dependency is
18430 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18431 # library is relocated.
18432 hardcode_direct_absolute=$hardcode_direct_absolute
18433
18434 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18435 # into the resulting binary.
18436 hardcode_minus_L=$hardcode_minus_L
18437
18438 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18439 # into the resulting binary.
18440 hardcode_shlibpath_var=$hardcode_shlibpath_var
18441
18442 # Set to "yes" if building a shared library automatically hardcodes DIR
18443 # into the library and all subsequent libraries and executables linked
18444 # against it.
18445 hardcode_automatic=$hardcode_automatic
18446
18447 # Set to yes if linker adds runtime paths of dependent libraries
18448 # to runtime path list.
18449 inherit_rpath=$inherit_rpath
18450
18451 # Whether libtool must link a program against all its dependency libraries.
18452 link_all_deplibs=$link_all_deplibs
18453
18454 # Fix the shell variable \$srcfile for the compiler.
18455 fix_srcfile_path=$lt_fix_srcfile_path
18456
18457 # Set to "yes" if exported symbols are required.
18458 always_export_symbols=$always_export_symbols
18459
18460 # The commands to list exported symbols.
18461 export_symbols_cmds=$lt_export_symbols_cmds
18462
18463 # Symbols that should not be listed in the preloaded symbols.
18464 exclude_expsyms=$lt_exclude_expsyms
18465
18466 # Symbols that must always be exported.
18467 include_expsyms=$lt_include_expsyms
18468
18469 # Commands necessary for linking programs (against libraries) with templates.
18470 prelink_cmds=$lt_prelink_cmds
18471
18472 # Specify filename containing input files.
18473 file_list_spec=$lt_file_list_spec
18474
18475 # How to hardcode a shared library path into an executable.
18476 hardcode_action=$hardcode_action
18477
18478 # The directories searched by this compiler when creating a shared library.
18479 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18480
18481 # Dependencies to place before and after the objects being linked to
18482 # create a shared library.
18483 predep_objects=$lt_predep_objects
18484 postdep_objects=$lt_postdep_objects
18485 predeps=$lt_predeps
18486 postdeps=$lt_postdeps
18487
18488 # The library search path used internally by the compiler when linking
18489 # a shared library.
18490 compiler_lib_search_path=$lt_compiler_lib_search_path
18491
18492 # ### END LIBTOOL CONFIG
18493
18494 _LT_EOF
18495
18496 case $host_os in
18497 aix3*)
18498 cat <<\_LT_EOF >> "$cfgfile"
18499 # AIX sometimes has problems with the GCC collect2 program. For some
18500 # reason, if we set the COLLECT_NAMES environment variable, the problems
18501 # vanish in a puff of smoke.
18502 if test "X${COLLECT_NAMES+set}" != Xset; then
18503 COLLECT_NAMES=
18504 export COLLECT_NAMES
18505 fi
18506 _LT_EOF
18507 ;;
18508 esac
18509
18510
18511 ltmain="$ac_aux_dir/ltmain.sh"
18512
18513
18514 # We use sed instead of cat because bash on DJGPP gets confused if
18515 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18516 # text mode, it properly converts lines to CR/LF. This bash problem
18517 # is reportedly fixed, but why not run on old versions too?
18518 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18519 || (rm -f "$cfgfile"; exit 1)
18520
18521 case $xsi_shell in
18522 yes)
18523 cat << \_LT_EOF >> "$cfgfile"
18524
18525 # func_dirname file append nondir_replacement
18526 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18527 # otherwise set result to NONDIR_REPLACEMENT.
18528 func_dirname ()
18529 {
18530 case ${1} in
18531 */*) func_dirname_result="${1%/*}${2}" ;;
18532 * ) func_dirname_result="${3}" ;;
18533 esac
18534 }
18535
18536 # func_basename file
18537 func_basename ()
18538 {
18539 func_basename_result="${1##*/}"
18540 }
18541
18542 # func_dirname_and_basename file append nondir_replacement
18543 # perform func_basename and func_dirname in a single function
18544 # call:
18545 # dirname: Compute the dirname of FILE. If nonempty,
18546 # add APPEND to the result, otherwise set result
18547 # to NONDIR_REPLACEMENT.
18548 # value returned in "$func_dirname_result"
18549 # basename: Compute filename of FILE.
18550 # value retuned in "$func_basename_result"
18551 # Implementation must be kept synchronized with func_dirname
18552 # and func_basename. For efficiency, we do not delegate to
18553 # those functions but instead duplicate the functionality here.
18554 func_dirname_and_basename ()
18555 {
18556 case ${1} in
18557 */*) func_dirname_result="${1%/*}${2}" ;;
18558 * ) func_dirname_result="${3}" ;;
18559 esac
18560 func_basename_result="${1##*/}"
18561 }
18562
18563 # func_stripname prefix suffix name
18564 # strip PREFIX and SUFFIX off of NAME.
18565 # PREFIX and SUFFIX must not contain globbing or regex special
18566 # characters, hashes, percent signs, but SUFFIX may contain a leading
18567 # dot (in which case that matches only a dot).
18568 func_stripname ()
18569 {
18570 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18571 # positional parameters, so assign one to ordinary parameter first.
18572 func_stripname_result=${3}
18573 func_stripname_result=${func_stripname_result#"${1}"}
18574 func_stripname_result=${func_stripname_result%"${2}"}
18575 }
18576
18577 # func_opt_split
18578 func_opt_split ()
18579 {
18580 func_opt_split_opt=${1%%=*}
18581 func_opt_split_arg=${1#*=}
18582 }
18583
18584 # func_lo2o object
18585 func_lo2o ()
18586 {
18587 case ${1} in
18588 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18589 *) func_lo2o_result=${1} ;;
18590 esac
18591 }
18592
18593 # func_xform libobj-or-source
18594 func_xform ()
18595 {
18596 func_xform_result=${1%.*}.lo
18597 }
18598
18599 # func_arith arithmetic-term...
18600 func_arith ()
18601 {
18602 func_arith_result=$(( $* ))
18603 }
18604
18605 # func_len string
18606 # STRING may not start with a hyphen.
18607 func_len ()
18608 {
18609 func_len_result=${#1}
18610 }
18611
18612 _LT_EOF
18613 ;;
18614 *) # Bourne compatible functions.
18615 cat << \_LT_EOF >> "$cfgfile"
18616
18617 # func_dirname file append nondir_replacement
18618 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18619 # otherwise set result to NONDIR_REPLACEMENT.
18620 func_dirname ()
18621 {
18622 # Extract subdirectory from the argument.
18623 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18624 if test "X$func_dirname_result" = "X${1}"; then
18625 func_dirname_result="${3}"
18626 else
18627 func_dirname_result="$func_dirname_result${2}"
18628 fi
18629 }
18630
18631 # func_basename file
18632 func_basename ()
18633 {
18634 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18635 }
18636
18637
18638 # func_stripname prefix suffix name
18639 # strip PREFIX and SUFFIX off of NAME.
18640 # PREFIX and SUFFIX must not contain globbing or regex special
18641 # characters, hashes, percent signs, but SUFFIX may contain a leading
18642 # dot (in which case that matches only a dot).
18643 # func_strip_suffix prefix name
18644 func_stripname ()
18645 {
18646 case ${2} in
18647 .*) func_stripname_result=`$ECHO "X${3}" \
18648 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18649 *) func_stripname_result=`$ECHO "X${3}" \
18650 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18651 esac
18652 }
18653
18654 # sed scripts:
18655 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18656 my_sed_long_arg='1s/^-[^=]*=//'
18657
18658 # func_opt_split
18659 func_opt_split ()
18660 {
18661 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18662 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18663 }
18664
18665 # func_lo2o object
18666 func_lo2o ()
18667 {
18668 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18669 }
18670
18671 # func_xform libobj-or-source
18672 func_xform ()
18673 {
18674 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18675 }
18676
18677 # func_arith arithmetic-term...
18678 func_arith ()
18679 {
18680 func_arith_result=`expr "$@"`
18681 }
18682
18683 # func_len string
18684 # STRING may not start with a hyphen.
18685 func_len ()
18686 {
18687 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18688 }
18689
18690 _LT_EOF
18691 esac
18692
18693 case $lt_shell_append in
18694 yes)
18695 cat << \_LT_EOF >> "$cfgfile"
18696
18697 # func_append var value
18698 # Append VALUE to the end of shell variable VAR.
18699 func_append ()
18700 {
18701 eval "$1+=\$2"
18702 }
18703 _LT_EOF
18704 ;;
18705 *)
18706 cat << \_LT_EOF >> "$cfgfile"
18707
18708 # func_append var value
18709 # Append VALUE to the end of shell variable VAR.
18710 func_append ()
18711 {
18712 eval "$1=\$$1\$2"
18713 }
18714
18715 _LT_EOF
18716 ;;
18717 esac
18718
18719
18720 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18721 || (rm -f "$cfgfile"; exit 1)
18722
18723 mv -f "$cfgfile" "$ofile" ||
18724 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18725 chmod +x "$ofile"
18726
18727
18728 cat <<_LT_EOF >> "$ofile"
18729
18730 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18731
18732 # The linker used to build libraries.
18733 LD=$lt_LD_CXX
18734
18735 # Commands used to build an old-style archive.
18736 old_archive_cmds=$lt_old_archive_cmds_CXX
18737
18738 # A language specific compiler.
18739 CC=$lt_compiler_CXX
18740
18741 # Is the compiler the GNU compiler?
18742 with_gcc=$GCC_CXX
18743
18744 # Compiler flag to turn off builtin functions.
18745 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18746
18747 # How to pass a linker flag through the compiler.
18748 wl=$lt_lt_prog_compiler_wl_CXX
18749
18750 # Additional compiler flags for building library objects.
18751 pic_flag=$lt_lt_prog_compiler_pic_CXX
18752
18753 # Compiler flag to prevent dynamic linking.
18754 link_static_flag=$lt_lt_prog_compiler_static_CXX
18755
18756 # Does compiler simultaneously support -c and -o options?
18757 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18758
18759 # Whether or not to add -lc for building shared libraries.
18760 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18761
18762 # Whether or not to disallow shared libs when runtime libs are static.
18763 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18764
18765 # Compiler flag to allow reflexive dlopens.
18766 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18767
18768 # Compiler flag to generate shared objects directly from archives.
18769 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18770
18771 # Whether the compiler copes with passing no objects directly.
18772 compiler_needs_object=$lt_compiler_needs_object_CXX
18773
18774 # Create an old-style archive from a shared archive.
18775 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18776
18777 # Create a temporary old-style archive to link instead of a shared archive.
18778 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18779
18780 # Commands used to build a shared archive.
18781 archive_cmds=$lt_archive_cmds_CXX
18782 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18783
18784 # Commands used to build a loadable module if different from building
18785 # a shared archive.
18786 module_cmds=$lt_module_cmds_CXX
18787 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18788
18789 # Whether we are building with GNU ld or not.
18790 with_gnu_ld=$lt_with_gnu_ld_CXX
18791
18792 # Flag that allows shared libraries with undefined symbols to be built.
18793 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18794
18795 # Flag that enforces no undefined symbols.
18796 no_undefined_flag=$lt_no_undefined_flag_CXX
18797
18798 # Flag to hardcode \$libdir into a binary during linking.
18799 # This must work even if \$libdir does not exist
18800 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18801
18802 # If ld is used when linking, flag to hardcode \$libdir into a binary
18803 # during linking. This must work even if \$libdir does not exist.
18804 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18805
18806 # Whether we need a single "-rpath" flag with a separated argument.
18807 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18808
18809 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18810 # DIR into the resulting binary.
18811 hardcode_direct=$hardcode_direct_CXX
18812
18813 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18814 # DIR into the resulting binary and the resulting library dependency is
18815 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18816 # library is relocated.
18817 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18818
18819 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18820 # into the resulting binary.
18821 hardcode_minus_L=$hardcode_minus_L_CXX
18822
18823 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18824 # into the resulting binary.
18825 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18826
18827 # Set to "yes" if building a shared library automatically hardcodes DIR
18828 # into the library and all subsequent libraries and executables linked
18829 # against it.
18830 hardcode_automatic=$hardcode_automatic_CXX
18831
18832 # Set to yes if linker adds runtime paths of dependent libraries
18833 # to runtime path list.
18834 inherit_rpath=$inherit_rpath_CXX
18835
18836 # Whether libtool must link a program against all its dependency libraries.
18837 link_all_deplibs=$link_all_deplibs_CXX
18838
18839 # Fix the shell variable \$srcfile for the compiler.
18840 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18841
18842 # Set to "yes" if exported symbols are required.
18843 always_export_symbols=$always_export_symbols_CXX
18844
18845 # The commands to list exported symbols.
18846 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18847
18848 # Symbols that should not be listed in the preloaded symbols.
18849 exclude_expsyms=$lt_exclude_expsyms_CXX
18850
18851 # Symbols that must always be exported.
18852 include_expsyms=$lt_include_expsyms_CXX
18853
18854 # Commands necessary for linking programs (against libraries) with templates.
18855 prelink_cmds=$lt_prelink_cmds_CXX
18856
18857 # Specify filename containing input files.
18858 file_list_spec=$lt_file_list_spec_CXX
18859
18860 # How to hardcode a shared library path into an executable.
18861 hardcode_action=$hardcode_action_CXX
18862
18863 # The directories searched by this compiler when creating a shared library.
18864 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18865
18866 # Dependencies to place before and after the objects being linked to
18867 # create a shared library.
18868 predep_objects=$lt_predep_objects_CXX
18869 postdep_objects=$lt_postdep_objects_CXX
18870 predeps=$lt_predeps_CXX
18871 postdeps=$lt_postdeps_CXX
18872
18873 # The library search path used internally by the compiler when linking
18874 # a shared library.
18875 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18876
18877 # ### END LIBTOOL TAG CONFIG: CXX
18878 _LT_EOF
18879
18880 ;;
18881
18882 esac
18883 done # for ac_tag
18884
18885
18886 as_fn_exit 0
18887 _ACEOF
18888 ac_clean_files=$ac_clean_files_save
18889
18890 test $ac_write_fail = 0 ||
18891 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18892
18893
18894 # configure is writing to config.log, and then calls config.status.
18895 # config.status does its own redirection, appending to config.log.
18896 # Unfortunately, on DOS this fails, as config.log is still kept open
18897 # by configure, so config.status won't be able to write to it; its
18898 # output is simply discarded. So we exec the FD to /dev/null,
18899 # effectively closing config.log, so it can be properly (re)opened and
18900 # appended to by config.status. When coming back to configure, we
18901 # need to make the FD available again.
18902 if test "$no_create" != yes; then
18903 ac_cs_success=:
18904 ac_config_status_args=
18905 test "$silent" = yes &&
18906 ac_config_status_args="$ac_config_status_args --quiet"
18907 exec 5>/dev/null
18908 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18909 exec 5>>config.log
18910 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18911 # would make configure fail if this is the last instruction.
18912 $ac_cs_success || as_fn_exit 1
18913 fi
18914 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18916 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18917 fi
18918